Skip to contentSkip to conversation

powerpc: dts: add power management nodes to FSL chips

PATCH Applied Frank Li 2 participants 5 messages Jan 19, 2024 – May 8, 2024

Subsystems (3)
lore
Share & tools
lore

Frank Li

author maintainer
#0 lore raw

PATCH 1/4 powerpc: dts: add power management nodes to FSL chips

From: Ran Wang <[email protected]>

Enable Power Management feature on device tree, including MPC8536, MPC8544, MPC8548, MPC8572, P1010, P1020, P1021, P1022, P2020, P2041, P3041, T104X, T1024.

---
 arch/powerpc/boot/dts/fsl/mpc8536si-post.dtsi | 14 ++++++++++++--
 arch/powerpc/boot/dts/fsl/mpc8544si-post.dtsi |  2 ++
 arch/powerpc/boot/dts/fsl/mpc8548si-post.dtsi |  2 ++
 arch/powerpc/boot/dts/fsl/mpc8572si-post.dtsi |  2 ++
 arch/powerpc/boot/dts/fsl/p1010si-post.dtsi   | 14 ++++++++++++++
 arch/powerpc/boot/dts/fsl/p1020si-post.dtsi   |  5 +++++
 arch/powerpc/boot/dts/fsl/p1021si-post.dtsi   |  5 +++++
 arch/powerpc/boot/dts/fsl/p1022si-post.dtsi   |  7 +++++--
 arch/powerpc/boot/dts/fsl/p2020si-post.dtsi   | 17 +++++++++++++----
 arch/powerpc/boot/dts/fsl/pq3-power.dtsi      | 19 +++++++++++++++++++
 arch/powerpc/boot/dts/fsl/t1024rdb.dts        |  2 +-
 arch/powerpc/boot/dts/fsl/t1040rdb.dts        |  2 +-
 arch/powerpc/boot/dts/fsl/t1042rdb.dts        |  2 +-
 arch/powerpc/boot/dts/fsl/t1042rdb_pi.dts     |  2 +-
 14 files changed, 83 insertions(+), 12 deletions(-)
 create mode 100644 arch/powerpc/boot/dts/fsl/pq3-power.dtsi
arch/powerpc/boot/dts/fsl/mpc8536si-post.dtsi +12 -2
index 41935709ebe87..fba40a1bccc04 100644
@@ -199,6 +199,10 @@ L2: l2-cache-controller@20000 {
 
 /include/ "pq3-dma-0.dtsi"
 /include/ "pq3-etsec1-0.dtsi"
+	enet0: ethernet@24000 {
+		fsl,wake-on-filer;
+		fsl,pmc-handle = <&etsec1_clk>;
+	};
 /include/ "pq3-etsec1-timer-0.dtsi"
 
 	usb@22000 {
@@ -222,9 +226,10 @@ ptp_clock@24e00 {
 	};
 
 /include/ "pq3-etsec1-2.dtsi"
-
-	ethernet@26000 {
+	enet2: ethernet@26000 {
 		cell-index = <1>;
+		fsl,wake-on-filer;
+		fsl,pmc-handle = <&etsec3_clk>;
 	};
 
 	usb@2b000 {
@@ -249,4 +254,9 @@ global-utilities@e0000 {
 		reg = <0xe0000 0x1000>;
 		fsl,has-rstcr;
 	};
+
+/include/ "pq3-power.dtsi"
+	power@e0070 {
+		compatible = "fsl,mpc8536-pmc", "fsl,mpc8548-pmc";
+	};
 };
arch/powerpc/boot/dts/fsl/mpc8544si-post.dtsi +2 -0
index b68eb119faef3..ea7416af7ee3e 100644
@@ -188,4 +188,6 @@ global-utilities@e0000 {
 		reg = <0xe0000 0x1000>;
 		fsl,has-rstcr;
 	};
+
+/include/ "pq3-power.dtsi"
 };
arch/powerpc/boot/dts/fsl/mpc8548si-post.dtsi +2 -0
index 579d76cb8e329..dddb7374508d6 100644
@@ -156,4 +156,6 @@ global-utilities@e0000 {
 		reg = <0xe0000 0x1000>;
 		fsl,has-rstcr;
 	};
+
+/include/ "pq3-power.dtsi"
 };
arch/powerpc/boot/dts/fsl/mpc8572si-post.dtsi +2 -0
index 49294cf36b4e6..40a6cff770327 100644
@@ -193,4 +193,6 @@ global-utilities@e0000 {
 		reg = <0xe0000 0x1000>;
 		fsl,has-rstcr;
 	};
+
+/include/ "pq3-power.dtsi"
 };
arch/powerpc/boot/dts/fsl/p1010si-post.dtsi +14 -0
index ccda0a91abf00..b540e58ff79e7 100644
@@ -183,9 +183,23 @@ sdhc@2e000 {
 /include/ "pq3-etsec2-1.dtsi"
 /include/ "pq3-etsec2-2.dtsi"
 
+	enet0: ethernet@b0000 {
+		fsl,pmc-handle = <&etsec1_clk>;
+	};
+
+	enet1: ethernet@b1000 {
+		fsl,pmc-handle = <&etsec2_clk>;
+	};
+
+	enet2: ethernet@b2000 {
+		fsl,pmc-handle = <&etsec3_clk>;
+	};
+
 	global-utilities@e0000 {
 		compatible = "fsl,p1010-guts";
 		reg = <0xe0000 0x1000>;
 		fsl,has-rstcr;
 	};
+
+/include/ "pq3-power.dtsi"
 };
arch/powerpc/boot/dts/fsl/p1020si-post.dtsi +5 -0
index 642dc3a83d0e3..cc4c7461003bb 100644
@@ -163,14 +163,17 @@ sdhc@2e000 {
 
 /include/ "pq3-etsec2-0.dtsi"
 	enet0: enet0_grp2: ethernet@b0000 {
+		fsl,pmc-handle = <&etsec1_clk>;
 	};
 
 /include/ "pq3-etsec2-1.dtsi"
 	enet1: enet1_grp2: ethernet@b1000 {
+		fsl,pmc-handle = <&etsec2_clk>;
 	};
 
 /include/ "pq3-etsec2-2.dtsi"
 	enet2: enet2_grp2: ethernet@b2000 {
+		fsl,pmc-handle = <&etsec3_clk>;
 	};
 
 	global-utilities@e0000 {
@@ -178,6 +181,8 @@ global-utilities@e0000 {
 		reg = <0xe0000 0x1000>;
 		fsl,has-rstcr;
 	};
+
+/include/ "pq3-power.dtsi"
 };
 
 /include/ "pq3-etsec2-grp2-0.dtsi"
arch/powerpc/boot/dts/fsl/p1021si-post.dtsi +5 -0
index 407cb5fd0f5ba..378195db9fca5 100644
@@ -159,14 +159,17 @@ sdhc@2e000 {
 
 /include/ "pq3-etsec2-0.dtsi"
 	enet0: enet0_grp2: ethernet@b0000 {
+		fsl,pmc-handle = <&etsec1_clk>;
 	};
 
 /include/ "pq3-etsec2-1.dtsi"
 	enet1: enet1_grp2: ethernet@b1000 {
+		fsl,pmc-handle = <&etsec2_clk>;
 	};
 
 /include/ "pq3-etsec2-2.dtsi"
 	enet2: enet2_grp2: ethernet@b2000 {
+		fsl,pmc-handle = <&etsec3_clk>;
 	};
 
 	global-utilities@e0000 {
@@ -174,6 +177,8 @@ global-utilities@e0000 {
 		reg = <0xe0000 0x1000>;
 		fsl,has-rstcr;
 	};
+
+/include/ "pq3-power.dtsi"
 };
 
 &qe {
arch/powerpc/boot/dts/fsl/p1022si-post.dtsi +5 -2
index 093e4e3ed3689..6ac21e81344ad 100644
@@ -225,11 +225,13 @@ sdhc@2e000 {
 /include/ "pq3-etsec2-0.dtsi"
 	enet0: enet0_grp2: ethernet@b0000 {
 		fsl,wake-on-filer;
+		fsl,pmc-handle = <&etsec1_clk>;
 	};
 
 /include/ "pq3-etsec2-1.dtsi"
 	enet1: enet1_grp2: ethernet@b1000 {
 		fsl,wake-on-filer;
+		fsl,pmc-handle = <&etsec2_clk>;
 	};
 
 	global-utilities@e0000 {
@@ -238,9 +240,10 @@ global-utilities@e0000 {
 		fsl,has-rstcr;
 	};
 
+/include/ "pq3-power.dtsi"
 	power@e0070 {
-		compatible = "fsl,mpc8536-pmc", "fsl,mpc8548-pmc";
-		reg = <0xe0070 0x20>;
+		compatible = "fsl,p1022-pmc", "fsl,mpc8536-pmc",
+				"fsl,mpc8548-pmc";
 	};
 
 };
arch/powerpc/boot/dts/fsl/p2020si-post.dtsi +13 -4
index 81b9ab2119be6..d410082d21c0f 100644
@@ -178,6 +178,10 @@ usb@22000 {
 		compatible = "fsl-usb2-dr-v1.6", "fsl-usb2-dr";
 	};
 /include/ "pq3-etsec1-0.dtsi"
+	enet0: ethernet@24000 {
+		fsl,pmc-handle = <&etsec1_clk>;
+
+	};
 /include/ "pq3-etsec1-timer-0.dtsi"
 
 	ptp_clock@24e00 {
@@ -186,7 +190,15 @@ ptp_clock@24e00 {
 
 
 /include/ "pq3-etsec1-1.dtsi"
+	enet1: ethernet@25000 {
+		fsl,pmc-handle = <&etsec2_clk>;
+	};
+
 /include/ "pq3-etsec1-2.dtsi"
+	enet2: ethernet@26000 {
+		fsl,pmc-handle = <&etsec3_clk>;
+	};
+
 /include/ "pq3-esdhc-0.dtsi"
 	sdhc@2e000 {
 		compatible = "fsl,p2020-esdhc", "fsl,esdhc";
@@ -202,8 +214,5 @@ global-utilities@e0000 {
 		fsl,has-rstcr;
 	};
 
-	pmc: power@e0070 {
-		compatible = "fsl,mpc8548-pmc";
-		reg = <0xe0070 0x20>;
-	};
+/include/ "pq3-power.dtsi"
 };
arch/powerpc/boot/dts/fsl/pq3-power.dtsi new file +19 -0
new file mode 100644
index 0000000000000..6af12401004db
@@ -0,0 +1,19 @@
+// SPDX-License-Identifier: (GPL-2.0+)
+/*
+ * Copyright 2024 NXP
+ */
+
+power@e0070 {
+	compatible = "fsl,mpc8548-pmc";
+	reg = <0xe0070 0x20>;
+
+	etsec1_clk: soc-clk@24 {
+		fsl,pmcdr-mask = <0x00000080>;
+	};
+	etsec2_clk: soc-clk@25 {
+		fsl,pmcdr-mask = <0x00000040>;
+	};
+	etsec3_clk: soc-clk@26 {
+		fsl,pmcdr-mask = <0x00000020>;
+	};
+};
arch/powerpc/boot/dts/fsl/t1024rdb.dts +1 -1
index 270aaf631f2ab..7d003e07a9fb2 100644
@@ -91,7 +91,7 @@ nand@1,0 {
 		board-control@2,0 {
 			#address-cells = <1>;
 			#size-cells = <1>;
-			compatible = "fsl,t1024-cpld";
+			compatible = "fsl,t1024-cpld", "fsl,deepsleep-cpld";
 			reg = <3 0 0x300>;
 			ranges = <0 3 0 0x300>;
 			bank-width = <1>;
arch/powerpc/boot/dts/fsl/t1040rdb.dts +1 -1
index dd3aab81e9dea..4347924e9aa7e 100644
@@ -104,7 +104,7 @@ phy_qsgmii_7: ethernet-phy@b {
 
 	ifc: localbus@ffe124000 {
 		cpld@3,0 {
-			compatible = "fsl,t1040rdb-cpld";
+			compatible = "fsl,t104xrdb-cpld", "fsl,deepsleep-cpld";
 		};
 	};
 };
arch/powerpc/boot/dts/fsl/t1042rdb.dts +1 -1
index 3ebb712224cbe..099764322b33c 100644
@@ -68,7 +68,7 @@ phy_sgmii_2: ethernet-phy@3 {
 
 	ifc: localbus@ffe124000 {
 		cpld@3,0 {
-			compatible = "fsl,t1042rdb-cpld";
+			compatible = "fsl,t104xrdb-cpld", "fsl,deepsleep-cpld";
 		};
 	};
 };
arch/powerpc/boot/dts/fsl/t1042rdb_pi.dts +1 -1
index 8ec3ff45e6fc7..b10cab1a347bf 100644
@@ -41,7 +41,7 @@ / {
 
 	ifc: localbus@ffe124000 {
 		cpld@3,0 {
-			compatible = "fsl,t1042rdb_pi-cpld";
+			compatible = "fsl,t104xrdb-cpld", "fsl,deepsleep-cpld";
 		};
 	};
 
Signature · 1 line
2.34.1
author maintainer
#1 lore raw

PATCH 2/4 powerpc: dts: p1010rdb: fix INTx interrupt issue on P1010RDB-PB

From: Xiaowei Bao <[email protected]>

Due to the INTA is shared with the active-low PHY2 interrupt on P1010RDB-PA board, so configure P1010RDB-PA's INTA with polarity as active-low, the P1010RDB-PB board is used separately, so configure P1010RDB-PB's INTA with polarity as active-high. The INTX in P1010RDB-PB do not work because of the pcie@0 node fixup will be overwrited by p1010si-post.dtsi file, so we move the pcie@0 node fixup to p1010rdb-pb.dts and p1010rdb-pb_36b.dts.

---
 arch/powerpc/boot/dts/fsl/p1010rdb-pb.dts     | 16 ++++++++++++++++
 arch/powerpc/boot/dts/fsl/p1010rdb-pb_36b.dts | 16 ++++++++++++++++
 arch/powerpc/boot/dts/fsl/p1010rdb.dtsi       | 16 ----------------
 3 files changed, 32 insertions(+), 16 deletions(-)
arch/powerpc/boot/dts/fsl/p1010rdb-pb.dts +16 -0
index 3a94acbb3c033..ce3346d77858f 100644
@@ -29,3 +29,19 @@ &phy2 {
 };
 
 /include/ "p1010si-post.dtsi"
+
+&pci0 {
+	pcie@0 {
+		interrupt-map = <
+			/* IDSEL 0x0 */
+			/*
+			 *irq[4:5] are active-high
+			 *irq[6:7] are active-low
+			 */
+			0000 0x0 0x0 0x1 &mpic 0x4 0x2 0x0 0x0
+			0000 0x0 0x0 0x2 &mpic 0x5 0x2 0x0 0x0
+			0000 0x0 0x0 0x3 &mpic 0x6 0x1 0x0 0x0
+			0000 0x0 0x0 0x4 &mpic 0x7 0x1 0x0 0x0
+			>;
+	};
+};
arch/powerpc/boot/dts/fsl/p1010rdb-pb_36b.dts +16 -0
index 4cf255fedc96e..83590354f9a09 100644
@@ -56,3 +56,19 @@ &phy2 {
 };
 
 /include/ "p1010si-post.dtsi"
+
+&pci0 {
+	pcie@0 {
+		interrupt-map = <
+			/* IDSEL 0x0 */
+			/*
+			 *irq[4:5] are active-high
+			 *irq[6:7] are active-low
+			 */
+			0000 0x0 0x0 0x1 &mpic 0x4 0x2 0x0 0x0
+			0000 0x0 0x0 0x2 &mpic 0x5 0x2 0x0 0x0
+			0000 0x0 0x0 0x3 &mpic 0x6 0x1 0x0 0x0
+			0000 0x0 0x0 0x4 &mpic 0x7 0x1 0x0 0x0
+			>;
+	};
+};
arch/powerpc/boot/dts/fsl/p1010rdb.dtsi +0 -16
index 2ca9cee2ddeb2..ef49a7d6c69dd 100644
@@ -215,19 +215,3 @@ enet2: ethernet@b2000 {
 		phy-connection-type = "sgmii";
 	};
 };
-
-&pci0 {
-	pcie@0 {
-		interrupt-map = <
-			/* IDSEL 0x0 */
-			/*
-			 *irq[4:5] are active-high
-			 *irq[6:7] are active-low
-			 */
-			0000 0x0 0x0 0x1 &mpic 0x4 0x2 0x0 0x0
-			0000 0x0 0x0 0x2 &mpic 0x5 0x2 0x0 0x0
-			0000 0x0 0x0 0x3 &mpic 0x6 0x1 0x0 0x0
-			0000 0x0 0x0 0x4 &mpic 0x7 0x1 0x0 0x0
-			>;
-	};
-};
Signature · 1 line
2.34.1
author maintainer
#2 lore raw

PATCH 3/4 powerpc: dts: mpc85xx: remove "simple-bus" compatible from ifc node

In reply to Frank Li

From: Li Yang <[email protected]>

Update dts to match dts binding document.

---
 arch/powerpc/boot/dts/fsl/b4si-post.dtsi      | 2 +-
 arch/powerpc/boot/dts/fsl/bsc9131si-post.dtsi | 2 +-
 arch/powerpc/boot/dts/fsl/bsc9132si-post.dtsi | 2 +-
 arch/powerpc/boot/dts/fsl/c293si-post.dtsi    | 2 +-
 arch/powerpc/boot/dts/fsl/p1010si-post.dtsi   | 2 +-
 arch/powerpc/boot/dts/fsl/t1023si-post.dtsi   | 2 +-
 arch/powerpc/boot/dts/fsl/t1040si-post.dtsi   | 2 +-
 arch/powerpc/boot/dts/fsl/t2081si-post.dtsi   | 2 +-
 arch/powerpc/boot/dts/fsl/t4240si-post.dtsi   | 2 +-
 9 files changed, 9 insertions(+), 9 deletions(-)
arch/powerpc/boot/dts/fsl/b4si-post.dtsi +1 -1
index 4f044b41a776b..fb3200b006ade 100644
@@ -50,7 +50,7 @@ &qman_pfdr {
 &ifc {
 	#address-cells = <2>;
 	#size-cells = <1>;
-	compatible = "fsl,ifc", "simple-bus";
+	compatible = "fsl,ifc";
 	interrupts = <25 2 0 0>;
 };
 
arch/powerpc/boot/dts/fsl/bsc9131si-post.dtsi +1 -1
index 2a677fd323ebe..5c53cee8755f9 100644
@@ -35,7 +35,7 @@
 &ifc {
 	#address-cells = <2>;
 	#size-cells = <1>;
-	compatible = "fsl,ifc", "simple-bus";
+	compatible = "fsl,ifc";
 	interrupts = <16 2 0 0 20 2 0 0>;
 };
 
arch/powerpc/boot/dts/fsl/bsc9132si-post.dtsi +1 -1
index b8e0edd1ac69a..4da451e000d90 100644
@@ -35,7 +35,7 @@
 &ifc {
 	#address-cells = <2>;
 	#size-cells = <1>;
-	compatible = "fsl,ifc", "simple-bus";
+	compatible = "fsl,ifc";
 	/* FIXME: Test whether interrupts are split */
 	interrupts = <16 2 0 0 20 2 0 0>;
 };
arch/powerpc/boot/dts/fsl/c293si-post.dtsi +1 -1
index f208fb8f64b37..2d443d5192749 100644
@@ -35,7 +35,7 @@
 &ifc {
 	#address-cells = <2>;
 	#size-cells = <1>;
-	compatible = "fsl,ifc", "simple-bus";
+	compatible = "fsl,ifc";
 	interrupts = <19 2 0 0>;
 };
 
arch/powerpc/boot/dts/fsl/p1010si-post.dtsi +1 -1
index b540e58ff79e7..2d2550729dcc2 100644
@@ -35,7 +35,7 @@
 &ifc {
 	#address-cells = <2>;
 	#size-cells = <1>;
-	compatible = "fsl,ifc", "simple-bus";
+	compatible = "fsl,ifc";
 	interrupts = <16 2 0 0 19 2 0 0>;
 };
 
arch/powerpc/boot/dts/fsl/t1023si-post.dtsi +1 -1
index aa5152ca81201..8ef0c020206b9 100644
@@ -52,7 +52,7 @@ &qman_pfdr {
 &ifc {
 	#address-cells = <2>;
 	#size-cells = <1>;
-	compatible = "fsl,ifc", "simple-bus";
+	compatible = "fsl,ifc";
 	interrupts = <25 2 0 0>;
 };
 
arch/powerpc/boot/dts/fsl/t1040si-post.dtsi +1 -1
index 7767886232040..c9542b73bd7f1 100644
@@ -52,7 +52,7 @@ &qman_pfdr {
 &ifc {
 	#address-cells = <2>;
 	#size-cells = <1>;
-	compatible = "fsl,ifc", "simple-bus";
+	compatible = "fsl,ifc";
 	interrupts = <25 2 0 0>;
 };
 
arch/powerpc/boot/dts/fsl/t2081si-post.dtsi +1 -1
index 27714dc2f04a5..6bb95878d39d3 100644
@@ -50,7 +50,7 @@ &qman_pfdr {
 &ifc {
 	#address-cells = <2>;
 	#size-cells = <1>;
-	compatible = "fsl,ifc", "simple-bus";
+	compatible = "fsl,ifc";
 	interrupts = <25 2 0 0>;
 };
 
arch/powerpc/boot/dts/fsl/t4240si-post.dtsi +1 -1
index fcac73486d487..65f3e17c0d413 100644
@@ -50,7 +50,7 @@ &qman_pfdr {
 &ifc {
 	#address-cells = <2>;
 	#size-cells = <1>;
-	compatible = "fsl,ifc", "simple-bus";
+	compatible = "fsl,ifc";
 	interrupts = <25 2 0 0>;
 };
 
Signature · 1 line
2.34.1
author maintainer
#3 lore raw

PATCH 4/4 powerpc: dts: fsl: rename ifc node name to be memory-controller

In reply to Frank Li

From: Li Yang <[email protected]>

Update the node name to be align with binding document.

---
 arch/powerpc/boot/dts/fsl/bsc9131rdb.dts    | 2 +-
 arch/powerpc/boot/dts/fsl/bsc9132qds.dts    | 2 +-
 arch/powerpc/boot/dts/fsl/c293pcie.dts      | 2 +-
 arch/powerpc/boot/dts/fsl/p1010rdb_32b.dtsi | 2 +-
 arch/powerpc/boot/dts/fsl/p1010rdb_36b.dtsi | 2 +-
 5 files changed, 5 insertions(+), 5 deletions(-)
arch/powerpc/boot/dts/fsl/bsc9131rdb.dts +1 -1
index 8da984251abc8..0ba86a6dce1b6 100644
@@ -15,7 +15,7 @@ memory {
 		device_type = "memory";
 	};
 
-	board_ifc: ifc: ifc@ff71e000 {
+	board_ifc: ifc: memory-controller@ff71e000 {
 		/* NAND Flash on board */
 		ranges = <0x0 0x0 0x0 0xff800000 0x00004000>;
 		reg = <0x0 0xff71e000 0x0 0x2000>;
arch/powerpc/boot/dts/fsl/bsc9132qds.dts +1 -1
index 7cb2158dfe583..ce642e879a1b8 100644
@@ -15,7 +15,7 @@ memory {
 		device_type = "memory";
 	};
 
-	ifc: ifc@ff71e000 {
+	ifc: memory-controller@ff71e000 {
 		/* NOR, NAND Flash on board */
 		ranges = <0x0 0x0 0x0 0x88000000 0x08000000
 			  0x1 0x0 0x0 0xff800000 0x00010000>;
arch/powerpc/boot/dts/fsl/c293pcie.dts +1 -1
index 5e905e0857cf9..e2fdac2ed4205 100644
@@ -42,7 +42,7 @@ memory {
 		device_type = "memory";
 	};
 
-	ifc: ifc@fffe1e000 {
+	ifc: memory-controller@fffe1e000 {
 		reg = <0xf 0xffe1e000 0 0x2000>;
 		ranges = <0x0 0x0 0xf 0xec000000 0x04000000
 			  0x1 0x0 0xf 0xff800000 0x00010000
arch/powerpc/boot/dts/fsl/p1010rdb_32b.dtsi +1 -1
index fdc19aab2f706..583a6cd050793 100644
@@ -36,7 +36,7 @@ memory {
 	device_type = "memory";
 };
 
-board_ifc: ifc: ifc@ffe1e000 {
+board_ifc: ifc: memory-controller@ffe1e000 {
 	/* NOR, NAND Flashes and CPLD on board */
 	ranges = <0x0 0x0 0x0 0xee000000 0x02000000
 		  0x1 0x0 0x0 0xff800000 0x00010000
arch/powerpc/boot/dts/fsl/p1010rdb_36b.dtsi +1 -1
index de2fceed4f799..4d41efe0038f2 100644
@@ -36,7 +36,7 @@ memory {
 	device_type = "memory";
 };
 
-board_ifc: ifc: ifc@fffe1e000 {
+board_ifc: ifc: memory-controller@fffe1e000 {
 	/* NOR, NAND Flashes and CPLD on board */
 	ranges = <0x0 0x0 0xf 0xee000000 0x02000000
 		  0x1 0x0 0xf 0xff800000 0x00010000
Signature · 1 line
2.34.1
#4 lore raw
In reply to Frank Li
Quoted 5 lines · Frank Li

Enable Power Management feature on device tree, including MPC8536, MPC8544, MPC8548, MPC8572, P1010, P1020, P1021, P1022, P2020, P2041, P3041, T104X, T1024.

Applied to powerpc/next.

[1/4] powerpc: dts: add power management nodes to FSL chips

      https://git.kernel.org/powerpc/c/b12ba096b89084d1e2d6ebdb71b852eeebef95d3
[2/4] powerpc: dts: p1010rdb: fix INTx interrupt issue on P1010RDB-PB
      https://git.kernel.org/powerpc/c/9c8dc6f34351cd0c6a2ef83be2266f7dd67c152c
[3/4] powerpc: dts: mpc85xx: remove "simple-bus" compatible from ifc node
      https://git.kernel.org/powerpc/c/0bf51cc9e9e57a751b4c5dacbfa499ba5cd8bd72
[4/4] powerpc: dts: fsl: rename ifc node name to be memory-controller
      https://git.kernel.org/powerpc/c/acb354fe97e5aa6d9534b601ce18ef7866f25c4d

cheers