Add missing model properties to PowerPC DTs
Subsystems (2)
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]>
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
@@ -10,6 +10,7 @@ / { compatible = "fsl,mpc8315erdb"; + model = "MPC8315E-RDB"; #address-cells = <1>; #size-cells = <1>;
Signature · 1 line
2.51.0
PATCH 2/2 powerpc: dts: Add missing model properties
In reply to J. NeuschäferThese 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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -9,6 +9,7 @@ / { compatible = "fsl,mpc8379rdb"; + model = "fsl,mpc8379rdb"; #address-cells = <1>; #size-cells = <1>;
Signature · 1 line
2.51.0
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.pywill 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