LKML Archive on lore.kernel.org
 help / color / Atom feed
* [PATCH] ARM: dts: vfxxx: Add node for CAAM
@ 2020-07-05  1:40 Chris Healy
  2020-07-13  6:33 ` Shawn Guo
  0 siblings, 1 reply; 2+ messages in thread
From: Chris Healy @ 2020-07-05  1:40 UTC (permalink / raw)
  To: Shawn Guo, Sascha Hauer, Stefan Agner, Rob Herring, linux ARM,
	devicetree, linux-kernel, Andrey Smirnov

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";
+                #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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] ARM: dts: vfxxx: Add node for CAAM
  2020-07-05  1:40 [PATCH] ARM: dts: vfxxx: Add node for CAAM Chris Healy
@ 2020-07-13  6:33 ` Shawn Guo
  0 siblings, 0 replies; 2+ messages in thread
From: Shawn Guo @ 2020-07-13  6:33 UTC (permalink / raw)
  To: Chris Healy
  Cc: Sascha Hauer, Stefan Agner, Rob Herring, linux ARM, devicetree,
	linux-kernel, Andrey Smirnov

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, back to index

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-05  1:40 [PATCH] ARM: dts: vfxxx: Add node for CAAM Chris Healy
2020-07-13  6:33 ` Shawn Guo

LKML Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/lkml/0 lkml/git/0.git
	git clone --mirror https://lore.kernel.org/lkml/1 lkml/git/1.git
	git clone --mirror https://lore.kernel.org/lkml/2 lkml/git/2.git
	git clone --mirror https://lore.kernel.org/lkml/3 lkml/git/3.git
	git clone --mirror https://lore.kernel.org/lkml/4 lkml/git/4.git
	git clone --mirror https://lore.kernel.org/lkml/5 lkml/git/5.git
	git clone --mirror https://lore.kernel.org/lkml/6 lkml/git/6.git
	git clone --mirror https://lore.kernel.org/lkml/7 lkml/git/7.git
	git clone --mirror https://lore.kernel.org/lkml/8 lkml/git/8.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 lkml lkml/ https://lore.kernel.org/lkml \
		linux-kernel@vger.kernel.org
	public-inbox-index lkml

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.linux-kernel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git