ARM: dts: vfxxx: Add node for CAAM
authorAndrey Smirnov <andrew.smirnov@gmail.com>
Tue, 7 Jul 2020 21:13:59 +0000 (14:13 -0700)
committerShawn Guo <shawnguo@kernel.org>
Mon, 13 Jul 2020 11:48:53 +0000 (19:48 +0800)
Add node for CAAM device in NXP Vybrid SoC.

Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
Signed-off-by: Chris Healy <cphealy@gmail.com>
Reviewed-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/vfxxx.dtsi

index 2d547e7..0fe03aa 100644 (file)
                                dma-names = "rx","tx";
                                status = "disabled";
                        };
+
+                       crypto: crypto@400f0000 {
+                               compatible = "fsl,sec-v4.0";
+                               #address-cells = <1>;
+                               #size-cells = <1>;
+                               reg = <0x400f0000 0x9000>;
+                               ranges = <0 0x400f0000 0x9000>;
+                               clocks = <&clks VF610_CLK_CAAM>;
+                               clock-names = "ipg";
+
+                               sec_jr0: jr0@1000 {
+                                       compatible = "fsl,sec-v4.0-job-ring";
+                                       reg = <0x1000 0x1000>;
+                                       interrupts = <102 IRQ_TYPE_LEVEL_HIGH>;
+                               };
+
+                               sec_jr1: jr1@2000 {
+                                       compatible = "fsl,sec-v4.0-job-ring";
+                                       reg = <0x2000 0x1000>;
+                                       interrupts = <102 IRQ_TYPE_LEVEL_HIGH>;
+                               };
+                       };
                };
        };
 };