]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commitdiff
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 c59c5292d10e84a87b1c1ac0cb7e9f379c95eb6c..5a00022383e74d7e457c34be0331eb3edf7c0521 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 ffec26fdc1dcf5bde606e23cae1fafad91e29556..f723fe13d0f032c48126c1e745c894e296d7ccbf 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);