ARM: sun5i: add a cryptographic engine node
authorAntoine Tenart <antoine.tenart@free-electrons.com>
Thu, 1 Jun 2017 19:39:04 +0000 (21:39 +0200)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Wed, 7 Jun 2017 13:27:37 +0000 (15:27 +0200)
Add a node for the cryptographic engine that can be found on sun5i SoCs.
This cryptographic engine is compatible with the Allwinner cryptographic
accelerator driver.

Signed-off-by: Antoine Tenart <antoine.tenart@free-electrons.com>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
arch/arm/boot/dts/sun5i.dtsi

index 0e29f1d98a9e0eddaa93a9fad8a7c8e187ab4c29..98cc00341b005486a800394797696ea4675a060a 100644 (file)
                        status = "disabled";
                };
 
+               crypto: crypto-engine@01c15000 {
+                       compatible = "allwinner,sun5i-a13-crypto",
+                                    "allwinner,sun4i-a10-crypto";
+                       reg = <0x01c15000 0x1000>;
+                       interrupts = <54>;
+                       clocks = <&ccu CLK_AHB_SS>, <&ccu CLK_SS>;
+                       clock-names = "ahb", "mod";
+               };
+
                spi2: spi@01c17000 {
                        compatible = "allwinner,sun4i-a10-spi";
                        reg = <0x01c17000 0x1000>;