Skip to contentSkip to conversation

arm64: dts: imx8ulp: add caam jr

PATCH Applied Pankaj Gupta 3 participants 4 messages Apr 9, 2024 – Apr 29, 2024

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH v4 1/1 arm64: dts: imx8ulp: add caam jr

Add crypto node in device tree for:
- CAAM job-ring

---

v4:
- Order of node properties changed.

v3:
- Commit message title is changed from "imx8ulp-evk" to "imx8ulp".

v2:
- As requested, this patch is separated from the larger patch-set of 9 patches.

Commit

 arch/arm64/boot/dts/freescale/imx8ulp.dtsi | 32 ++++++++++++++++++++++
 1 file changed, 32 insertions(+)
arch/arm64/boot/dts/freescale/imx8ulp.dtsi +32 -0
index 8a6596d5a581..ed86854a59c3 100644
@@ -252,6 +252,38 @@ pcc3: clock-controller@292d0000 {
 				#reset-cells = <1>;
 			};
 
+			crypto: crypto@292e0000 {
+				compatible = "fsl,sec-v4.0";
+				reg = <0x292e0000 0x10000>;
+				ranges = <0 0x292e0000 0x10000>;
+				#address-cells = <1>;
+				#size-cells = <1>;
+
+				sec_jr0: jr@1000 {
+					compatible = "fsl,sec-v4.0-job-ring";
+					reg = <0x1000 0x1000>;
+					interrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>;
+				};
+
+				sec_jr1: jr@2000 {
+					compatible = "fsl,sec-v4.0-job-ring";
+					reg = <0x2000 0x1000>;
+					interrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>;
+				};
+
+				sec_jr2: jr@3000 {
+					compatible = "fsl,sec-v4.0-job-ring";
+					reg = <0x3000 0x1000>;
+					interrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>;
+				};
+
+				sec_jr3: jr@4000 {
+					compatible = "fsl,sec-v4.0-job-ring";
+					reg = <0x4000 0x1000>;
+					interrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>;
+				};
+			};
+
 			tpm5: tpm@29340000 {
 				compatible = "fsl,imx8ulp-tpm", "fsl,imx7ulp-tpm";
 				reg = <0x29340000 0x1000>;
Signature · 1 line
2.34.1
#2 lore raw
In reply to Pankaj Gupta

If there are no further comments.
Please merge this patch.

Regards
Pankaj

Quoted 86 lines

-----Original Message-----
From: Pankaj Gupta
Sent: Tuesday, April 9, 2024 2:53 PM
To: [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; dl-linux-imx <linux- [email protected]>; Peng Fan <[email protected]>; Jacky Bai <[email protected]>; Bough Chen <[email protected]>; [email protected]; [email protected]; linux- [email protected]
Cc: Pankaj Gupta <[email protected]>; Varun Sethi <[email protected]>
Subject: [PATCH v4] arm64: dts: imx8ulp: add caam jr

Add crypto node in device tree for:
- CAAM job-ring

---

v4:
- Order of node properties changed.

v3:
- Commit message title is changed from "imx8ulp-evk" to "imx8ulp".

v2:
- As requested, this patch is separated from the larger patch-set of 9 patches.

Commit

 arch/arm64/boot/dts/freescale/imx8ulp.dtsi | 32
++++++++++++++++++++++
 1 file changed, 32 insertions(+)
arch/arm64/boot/dts/freescale/imx8ulp.dtsi +29 -0
index 8a6596d5a581..ed86854a59c3 100644
@@ -252,6 +252,38 @@ pcc3: clock-controller@292d0000 {
 				#reset-cells = <1>;
 			};
 
+			crypto: crypto@292e0000 {
+				compatible = "fsl,sec-v4.0";
+				reg = <0x292e0000 0x10000>;
+				ranges = <0 0x292e0000 0x10000>;
+				#address-cells = <1>;
+				#size-cells = <1>;
+
+				sec_jr0: jr@1000 {
+					compatible = "fsl,sec-v4.0-job-ring";
+					reg = <0x1000 0x1000>;
+					interrupts = <GIC_SPI 82
 IRQ_TYPE_LEVEL_HIGH>;
+				};
+
+				sec_jr1: jr@2000 {
+					compatible = "fsl,sec-v4.0-job-ring";
+					reg = <0x2000 0x1000>;
+					interrupts = <GIC_SPI 82
 IRQ_TYPE_LEVEL_HIGH>;
+				};
+
+				sec_jr2: jr@3000 {
+					compatible = "fsl,sec-v4.0-job-ring";
+					reg = <0x3000 0x1000>;
+					interrupts = <GIC_SPI 82
 IRQ_TYPE_LEVEL_HIGH>;
+				};
+
+				sec_jr3: jr@4000 {
+					compatible = "fsl,sec-v4.0-job-ring";
+					reg = <0x4000 0x1000>;
+					interrupts = <GIC_SPI 82

IRQ_TYPE_LEVEL_HIGH>;

arch/arm64/boot/dts/freescale/imx8ulp.dtsi +3 -0
+				};
+			};
+
 			tpm5: tpm@29340000 {
 				compatible = "fsl,imx8ulp-tpm", "fsl,imx7ulp-

tpm";
reg = <0x29340000 0x1000>;
--
2.34.1

#3 lore raw
Quoted 4 lines

Subject: RE: [PATCH v4] arm64: dts: imx8ulp: add caam jr

If there are no further comments.
Please merge this patch.

Shawn has picked it up one week ago.

Regards,
Peng.

Quoted 91 lines

Regards
Pankaj

Quoted 11 lines

-----Original Message-----
From: Pankaj Gupta
Sent: Tuesday, April 9, 2024 2:53 PM
To: [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; dl-linux-imx <linux- [email protected]>; Peng Fan <[email protected]>; Jacky Bai <[email protected]>; Bough Chen <[email protected]>; [email protected]; [email protected]; linux- [email protected]
Cc: Pankaj Gupta <[email protected]>; Varun Sethi

<[email protected]>

Quoted 66 lines

Subject: [PATCH v4] arm64: dts: imx8ulp: add caam jr

Add crypto node in device tree for:
- CAAM job-ring

---

v4:
- Order of node properties changed.

v3:
- Commit message title is changed from "imx8ulp-evk" to "imx8ulp".

v2:
- As requested, this patch is separated from the larger patch-set of 9 patches.

Commit

 arch/arm64/boot/dts/freescale/imx8ulp.dtsi | 32
++++++++++++++++++++++
 1 file changed, 32 insertions(+)
arch/arm64/boot/dts/freescale/imx8ulp.dtsi +29 -0
index 8a6596d5a581..ed86854a59c3 100644
@@ -252,6 +252,38 @@ pcc3: clock-controller@292d0000 {
 				#reset-cells = <1>;
 			};
 
+			crypto: crypto@292e0000 {
+				compatible = "fsl,sec-v4.0";
+				reg = <0x292e0000 0x10000>;
+				ranges = <0 0x292e0000 0x10000>;
+				#address-cells = <1>;
+				#size-cells = <1>;
+
+				sec_jr0: jr@1000 {
+					compatible = "fsl,sec-v4.0-job-ring";
+					reg = <0x1000 0x1000>;
+					interrupts = <GIC_SPI 82
 IRQ_TYPE_LEVEL_HIGH>;
+				};
+
+				sec_jr1: jr@2000 {
+					compatible = "fsl,sec-v4.0-job-ring";
+					reg = <0x2000 0x1000>;
+					interrupts = <GIC_SPI 82
 IRQ_TYPE_LEVEL_HIGH>;
+				};
+
+				sec_jr2: jr@3000 {
+					compatible = "fsl,sec-v4.0-job-ring";
+					reg = <0x3000 0x1000>;
+					interrupts = <GIC_SPI 82
 IRQ_TYPE_LEVEL_HIGH>;
+				};
+
+				sec_jr3: jr@4000 {
+					compatible = "fsl,sec-v4.0-job-ring";
+					reg = <0x4000 0x1000>;
+					interrupts = <GIC_SPI 82

IRQ_TYPE_LEVEL_HIGH>;

arch/arm64/boot/dts/freescale/imx8ulp.dtsi pcc3: clock-controller@292d0000 {

Quoted 5 lines
arch/arm64/boot/dts/freescale/imx8ulp.dtsi +3 -0
+				};
+			};
+
 			tpm5: tpm@29340000 {
 				compatible = "fsl,imx8ulp-tpm",

"fsl,imx7ulp- tpm";

Quoted 3 lines

reg = <0x29340000 0x1000>;
--
2.34.1