Skip to contentSkip to conversation

Add missing model properties to PowerPC DTs

PATCH Applied J. Neuschäfer 2 participants 4 messages Mar 13 – Jun 19

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

cover Add missing model properties to PowerPC DTs

The devicetree spec requires a /model property, but many of the powerpc devicetrees don't have one. This series is an attempt to fix it.

One practical advantage is that scripts/make_fit.py will no longer throw an error when invoked with the powerpc DTs.

---
J. Neuschäfer (2):
powerpc: dts: mpc8315erdb: Add missing model property
powerpc: dts: Add missing model properties

 arch/powerpc/boot/dts/mpc8308_p1m.dts  | 1 +
 arch/powerpc/boot/dts/mpc8308rdb.dts   | 1 +
 arch/powerpc/boot/dts/mpc8315erdb.dts  | 1 +
 arch/powerpc/boot/dts/mpc836x_rdk.dts  | 1 +
 arch/powerpc/boot/dts/mpc8377_rdb.dts  | 1 +
 arch/powerpc/boot/dts/mpc8377_wlan.dts | 1 +
 arch/powerpc/boot/dts/mpc8378_rdb.dts  | 1 +
 arch/powerpc/boot/dts/mpc8379_rdb.dts  | 1 +
 8 files changed, 8 insertions(+)

---
base-commit: c9849854bc5ce9afca21f97bb17b7ff763fdf159
change-id: 20260103-ppc-model-7505378b9893

Best regards,

Signature · 1 line
J. Neuschäfer <[email protected]>
#1 lore raw

PATCH 1/2 powerpc: dts: mpc8315erdb: Add missing model property

The mpc8315erdb devicetree did thus far not have a /model property, even though it is required by the devicetree specification.

---

This patch was previously part of another series, which turned out to be too large and unweildy:

[PATCH 00/19] powerpc: MPC83xx cleanup and LANCOM NWAPP2 board

---
 arch/powerpc/boot/dts/mpc8315erdb.dts | 1 +
 1 file changed, 1 insertion(+)
arch/powerpc/boot/dts/mpc8315erdb.dts +1 -0
index a8f68d6e50b0dd..100717e2cdc365 100644
@@ -10,6 +10,7 @@
 
 / {
 	compatible = "fsl,mpc8315erdb";
+	model = "MPC8315E-RDB";
 	#address-cells = <1>;
 	#size-cells = <1>;
 
Signature · 1 line
2.51.0
#2 lore raw

PATCH 2/2 powerpc: dts: Add missing model properties

In reply to J. Neuschäfer

These are the remaining PowerPC devicetrees that do not have a /model property, even though it is required by the devicetree specification. Fix them by simply copying the compatible string.

---
 arch/powerpc/boot/dts/mpc8308_p1m.dts  | 1 +
 arch/powerpc/boot/dts/mpc8308rdb.dts   | 1 +
 arch/powerpc/boot/dts/mpc836x_rdk.dts  | 1 +
 arch/powerpc/boot/dts/mpc8377_rdb.dts  | 1 +
 arch/powerpc/boot/dts/mpc8377_wlan.dts | 1 +
 arch/powerpc/boot/dts/mpc8378_rdb.dts  | 1 +
 arch/powerpc/boot/dts/mpc8379_rdb.dts  | 1 +
 7 files changed, 7 insertions(+)
arch/powerpc/boot/dts/mpc8308_p1m.dts +1 -0
index 2638555afcc454..2b24efd944113c 100644
@@ -9,6 +9,7 @@
 
 / {
 	compatible = "denx,mpc8308_p1m";
+	model = "denx,mpc8308_p1m";
 	#address-cells = <1>;
 	#size-cells = <1>;
 
arch/powerpc/boot/dts/mpc8308rdb.dts +1 -0
index af2ed8380a867c..37b785dc787b7c 100644
@@ -10,6 +10,7 @@
 
 / {
 	compatible = "fsl,mpc8308rdb";
+	model = "fsl,mpc8308rdb";
 	#address-cells = <1>;
 	#size-cells = <1>;
 
arch/powerpc/boot/dts/mpc836x_rdk.dts +1 -0
index 4ff38e1a2185f8..d3d36fbf4e8695 100644
@@ -14,6 +14,7 @@ / {
 	#address-cells = <1>;
 	#size-cells = <1>;
 	compatible = "fsl,mpc8360rdk";
+	model = "fsl,mpc8360rdk";
 
 	aliases {
 		serial0 = &serial0;
arch/powerpc/boot/dts/mpc8377_rdb.dts +1 -0
index f137ccb8cfdedf..45f78da31da182 100644
@@ -9,6 +9,7 @@
 
 / {
 	compatible = "fsl,mpc8377rdb";
+	model = "fsl,mpc8377rdb";
 	#address-cells = <1>;
 	#size-cells = <1>;
 
arch/powerpc/boot/dts/mpc8377_wlan.dts +1 -0
index ce254dd74dd06b..318e2e1f4284f2 100644
@@ -10,6 +10,7 @@
 
 / {
 	compatible = "fsl,mpc8377wlan";
+	model = "fsl,mpc8377wlan";
 	#address-cells = <1>;
 	#size-cells = <1>;
 
arch/powerpc/boot/dts/mpc8378_rdb.dts +1 -0
index 19e5473d4161b5..1abec806525844 100644
@@ -9,6 +9,7 @@
 
 / {
 	compatible = "fsl,mpc8378rdb";
+	model = "fsl,mpc8378rdb";
 	#address-cells = <1>;
 	#size-cells = <1>;
 
arch/powerpc/boot/dts/mpc8379_rdb.dts +1 -0
index 61519acca22804..b1e6a85624bef8 100644
@@ -9,6 +9,7 @@
 
 / {
 	compatible = "fsl,mpc8379rdb";
+	model = "fsl,mpc8379rdb";
 	#address-cells = <1>;
 	#size-cells = <1>;
 
Signature · 1 line
2.51.0
maintainer Applied
#3 lore raw
In reply to J. Neuschäfer
Quoted 8 lines · J. Neuschäfer

The devicetree spec requires a /model property, but many of the powerpc devicetrees don't have one. This series is an attempt to fix it.

One practical advantage is that scripts/make_fit.py will no longer throw an error when invoked with the powerpc DTs.

[...]

Applied to powerpc/next.

[1/2] powerpc: dts: mpc8315erdb: Add missing model property

      https://git.kernel.org/powerpc/c/d16cb0a9a42f7478c039ecaeba241872bc0b567a
[2/2] powerpc: dts: Add missing model properties
      https://git.kernel.org/powerpc/c/ec07a2f1d337dd5a816431724a876026296369a8

cheers