ARM: dts: sun8i: v3s: Enable crypto engine
authorMartin Cerveny <m.cerveny@computer.org>
Mon, 7 Sep 2020 16:24:58 +0000 (18:24 +0200)
committerMaxime Ripard <maxime@cerno.tech>
Thu, 17 Sep 2020 16:37:32 +0000 (18:37 +0200)
V3s contains crypto engine that is compatible with A33.
Add device tree node.

Signed-off-by: Martin Cerveny <m.cerveny@computer.org>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Link: https://lore.kernel.org/r/20200907162458.23730-3-m.cerveny@computer.org
arch/arm/boot/dts/sun8i-v3s.dtsi

index e531286..6eb9c39 100644 (file)
                        #size-cells = <0>;
                };
 
+               crypto@1c15000 {
+                       compatible = "allwinner,sun8i-v3s-crypto",
+                                    "allwinner,sun8i-a33-crypto";
+                       reg = <0x01c15000 0x1000>;
+                       interrupts = <GIC_SPI 80 IRQ_TYPE_LEVEL_HIGH>;
+                       clocks = <&ccu CLK_BUS_CE>, <&ccu CLK_CE>;
+                       clock-names = "ahb", "mod";
+                       resets = <&ccu RST_BUS_CE>;
+                       reset-names = "ahb";
+               };
+
                usb_otg: usb@1c19000 {
                        compatible = "allwinner,sun8i-h3-musb";
                        reg = <0x01c19000 0x0400>;