Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a458926e authored by Sebastian Hesselbarth's avatar Sebastian Hesselbarth Committed by Jason Cooper
Browse files

ARM: dove: Add crypto engine to DT



Make use of DT support for the crypto engine on dove and remove
the obsolete init call.

Signed-off-by: default avatarSebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Signed-off-by: default avatarJason Cooper <jason@lakedaemon.net>
parent dfdc16fa
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -145,5 +145,14 @@
			nr-ports = <1>;
			status = "disabled";
		};

		crypto: crypto@30000 {
			compatible = "marvell,orion-crypto";
			reg = <0x30000 0x10000>,
			      <0xc8000000 0x800>;
			reg-names = "regs", "sram";
			interrupts = <31>;
			status = "okay";
		};
	};
};
+0 −1
Original line number Diff line number Diff line
@@ -416,7 +416,6 @@ static void __init dove_dt_init(void)
	dove_ehci0_init();
	dove_ehci1_init();
	dove_pcie_init(1, 1);
	dove_crypto_init();

	of_platform_populate(NULL, of_default_bus_match_table,
			     dove_auxdata_lookup, NULL);