Skip to contentSkip to conversation

powerpc: dts: p2020: Define MPIC nodes

PATCH New Pali Rohár 1 participant 4 messages Apr 27, 2022 PowerPC

lore
Share & tools
lore
#1 lore raw

PATCH 2/4 powerpc: dts: p2020: Define crypto node

In reply to Pali Rohár

Copy definition of crypto node from upstream Linux kernel P2020 dts files.

---
 arch/powerpc/dts/p2020-post.dtsi   |  1 +
 arch/powerpc/dts/pq3-sec3.1-0.dtsi | 45 ++++++++++++++++++++++++++++++
 2 files changed, 46 insertions(+)
 create mode 100644 arch/powerpc/dts/pq3-sec3.1-0.dtsi
arch/powerpc/dts/p2020-post.dtsi +1 -0
index dd878bf555f4..e0f1f999ac63 100644
@@ -74,6 +74,7 @@
 /include/ "pq3-etsec1-1.dtsi"
 /include/ "pq3-etsec1-2.dtsi"
 
+/include/ "pq3-sec3.1-0.dtsi"
 /include/ "pq3-mpic.dtsi"
 /include/ "pq3-mpic-timer-B.dtsi"
 };
arch/powerpc/dts/pq3-sec3.1-0.dtsi new file +45 -0

45 lines not on this page · raw message

Signature · 1 line
2.20.1
#3 lore raw

PATCH 4/4 powerpc: dts: p2020: Define ecm, memory and guts nodes

In reply to Pali Rohár

Copy definition of these nodes from upstream Linux kernel P2020 dts files.

---
 arch/powerpc/dts/p2020-post.dtsi | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)
arch/powerpc/dts/p2020-post.dtsi +24 -0
index d6bad4118c24..d281bed5afd5 100644
@@ -56,6 +56,24 @@
 /include/ "pq3-duart-0.dtsi"
 /include/ "pq3-gpio-0.dtsi"
 
+	ecm-law@0 {
+		compatible = "fsl,ecm-law";
+		reg = <0x0 0x1000>;
+		fsl,num-laws = <12>;
+	};
+
+	ecm@1000 {
+		compatible = "fsl,p2020-ecm", "fsl,ecm";
+		reg = <0x1000 0x1000>;
+		interrupts = <17 2 0 0>;
+	};
+
+	memory-controller@2000 {
+		compatible = "fsl,p2020-memory-controller";
+		reg = <0x2000 0x1000>;
+		interrupts = <18 2 0 0>;
+	};
+
 	L2: l2-cache-controller@20000 {
 		compatible = "fsl,p2020-l2-cache-controller";
 		reg = <0x20000 0x1000>;
@@ -80,6 +98,12 @@
 /include/ "pq3-sec3.1-0.dtsi"
 /include/ "pq3-mpic.dtsi"
 /include/ "pq3-mpic-timer-B.dtsi"
+
+	global-utilities@e0000 {
+		compatible = "fsl,p2020-guts";
+		reg = <0xe0000 0x1000>;
+		fsl,has-rstcr;
+	};
 };
 
 /* PCIe controller base address 0x8000 */
Signature · 1 line
2.20.1
#0 lore raw

PATCH 1/4 powerpc: dts: p2020: Define MPIC nodes

Copy definition of MPIC nodes from upstream Linux kernel P2020 dts files.

---
 arch/powerpc/dts/p2020-post.dtsi       |  3 +
 arch/powerpc/dts/pq3-mpic-timer-B.dtsi | 42 ++++++++++++++
 arch/powerpc/dts/pq3-mpic.dtsi         | 79 ++++++++++++++++++++++++++
 3 files changed, 124 insertions(+)
 create mode 100644 arch/powerpc/dts/pq3-mpic-timer-B.dtsi
 create mode 100644 arch/powerpc/dts/pq3-mpic.dtsi
arch/powerpc/dts/p2020-post.dtsi +3 -0
index 1c3f78798eff..dd878bf555f4 100644
@@ -73,6 +73,9 @@
 
 /include/ "pq3-etsec1-1.dtsi"
 /include/ "pq3-etsec1-2.dtsi"
+
+/include/ "pq3-mpic.dtsi"
+/include/ "pq3-mpic-timer-B.dtsi"
 };
 
 /* PCIe controller base address 0x8000 */
arch/powerpc/dts/pq3-mpic-timer-B.dtsi new file +42 -0

42 lines not on this page · raw message

arch/powerpc/dts/pq3-mpic.dtsi new file +79 -0

79 lines not on this page · raw message

Signature · 1 line
2.20.1
#2 lore raw

PATCH 3/4 powerpc: dts: p2020: Define DMA nodes

Copy definition of DMA nodes from upstream Linux kernel P2020 dts files.

---
 arch/powerpc/dts/p2020-post.dtsi |  3 ++
 arch/powerpc/dts/pq3-dma-0.dtsi  | 66 ++++++++++++++++++++++++++++++++
 arch/powerpc/dts/pq3-dma-1.dtsi  | 66 ++++++++++++++++++++++++++++++++
 3 files changed, 135 insertions(+)
 create mode 100644 arch/powerpc/dts/pq3-dma-0.dtsi
 create mode 100644 arch/powerpc/dts/pq3-dma-1.dtsi
arch/powerpc/dts/p2020-post.dtsi +3 -0
index e0f1f999ac63..d6bad4118c24 100644
@@ -64,6 +64,9 @@
 		interrupts = <16 2 0 0>;
 	};
 
+/include/ "pq3-dma-0.dtsi"
+/include/ "pq3-dma-1.dtsi"
+
 /include/ "pq3-etsec1-0.dtsi"
 /include/ "pq3-etsec1-timer-0.dtsi"
 
arch/powerpc/dts/pq3-dma-0.dtsi new file +66 -0

66 lines not on this page · raw message

arch/powerpc/dts/pq3-dma-1.dtsi new file +66 -0

66 lines not on this page · raw message

Signature · 1 line
2.20.1