ARM: dove: Add crypto engine to DT
authorSebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Tue, 25 Sep 2012 00:02:18 +0000 (02:02 +0200)
committerJason Cooper <jason@lakedaemon.net>
Wed, 17 Oct 2012 17:20:01 +0000 (17:20 +0000)
Make use of DT support for the crypto engine on dove and remove
the obsolete init call.

Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
arch/arm/boot/dts/dove.dtsi
arch/arm/mach-dove/common.c

index c59c529..5a00022 100644 (file)
                        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";
+               };
        };
 };
index ffec26f..f723fe1 100644 (file)
@@ -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);