ARM: dts: vfxxx: Add node for CAAM
diff mbox series

Message ID CAFXsbZoeTyRp7bwjBUcXT5H2GhrTmNeeoQSFcgiS9aNRFw6V_g@mail.gmail.com
State New
Headers show
Series
  • ARM: dts: vfxxx: Add node for CAAM
Related show

Commit Message

Chris Healy July 5, 2020, 1:40 a.m. UTC
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>
---
 arch/arm/boot/dts/vfxxx.dtsi | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

--
2.21.3

Comments

Shawn Guo July 13, 2020, 6:33 a.m. UTC | #1
On Sat, Jul 04, 2020 at 06:40:43PM -0700, Chris Healy wrote:
> 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>
> ---
>  arch/arm/boot/dts/vfxxx.dtsi | 22 ++++++++++++++++++++++
>  1 file changed, 22 insertions(+)
> 
> diff --git a/arch/arm/boot/dts/vfxxx.dtsi b/arch/arm/boot/dts/vfxxx.dtsi
> index 2d547e7b21ad..0fe03aa0367f 100644
> --- a/arch/arm/boot/dts/vfxxx.dtsi
> +++ b/arch/arm/boot/dts/vfxxx.dtsi
> @@ -729,6 +729,28 @@
>                  dma-names = "rx","tx";
>                  status = "disabled";
>              };
> +
> +            crypto: crypto@400f0000 {
> +                compatible = "fsl,sec-v4.0";

Please use tab for indentation.

Shawn

> +                #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>;
> +                };
> +            };
>          };
>      };
>  };
> --
> 2.21.3

Patch
diff mbox series

diff --git a/arch/arm/boot/dts/vfxxx.dtsi b/arch/arm/boot/dts/vfxxx.dtsi
index 2d547e7b21ad..0fe03aa0367f 100644
--- a/arch/arm/boot/dts/vfxxx.dtsi
+++ b/arch/arm/boot/dts/vfxxx.dtsi
@@ -729,6 +729,28 @@ 
                 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>;
+                };
+            };
         };
     };
 };