MLK-15473-6: crypto: caam: Enable CAAM driver for i.MX8 QuadXPlus
authorAymen Sghaier <aymen.sghaier@nxp.com>
Fri, 10 Nov 2017 09:02:01 +0000 (10:02 +0100)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 20:46:52 +0000 (15:46 -0500)
 Add caam node to fsl-imx8qxp device-tree

Signed-off-by: Aymen Sghaier <aymen.sghaier@nxp.com>
arch/arm64/boot/dts/freescale/fsl-imx8qxp.dtsi

index 9e85970..7eb591e 100644 (file)
                };
        };
 
+       crypto: caam@0x31400000 {
+               compatible = "fsl,sec-v4.0";
+               reg = <0 0x31400000 0 0x400000>;
+               interrupts = <GIC_SPI 148 IRQ_TYPE_LEVEL_HIGH>;
+               #address-cells = <1>;
+               #size-cells = <1>;
+               ranges = <0 0 0x31400000 0x400000>;
+               fsl,first-jr-index = <1>;
+
+               sec_jr1: jr1@0x20000 {
+                       compatible = "fsl,sec-v4.0-job-ring";
+                       reg = <0x20000 0x1000>;
+                       interrupts = <GIC_SPI 452 IRQ_TYPE_LEVEL_HIGH>;
+                       status = "okay";
+               };
+
+               sec_jr2: jr2@30000 {
+                       compatible = "fsl,sec-v4.0-job-ring";
+                       reg = <0x30000 0x1000>;
+                       interrupts = <GIC_SPI 453 IRQ_TYPE_LEVEL_HIGH>;
+                       status = "okay";
+               };
+
+               sec_jr3: jr3@40000 {
+                       compatible = "fsl,sec-v4.0-job-ring";
+                       reg = <0x40000 0x1000>;
+                       interrupts = <GIC_SPI 454 IRQ_TYPE_LEVEL_HIGH>;
+                       status = "okay";
+               };
+       };
+
+       caam_sm: caam-sm@31800000 {
+               compatible = "fsl,imx6q-caam-sm";
+               reg = <0 0x31800000 0 0x1ffff>;
+       };
+
        wdog: wdog {
                compatible = "fsl,imx8-wdt";
        };