Skip to contentSkip to conversation

5200 dts: add default address and size cells to soc node.

PATCH Applied Paul Gortmaker 2 participants 2 messages Jan 26, 2008

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

PATCH 1/1 5200 dts: add default address and size cells to soc node.

The various 5200 dts files don't have values specified for the soc node, which in turn results in a warning from the processing of every child node (roughly 40 warnings per file). This explicitly sets the default values and gets rid of all the warnings.

---
 arch/powerpc/boot/dts/cm5200.dts    |    2 ++
 arch/powerpc/boot/dts/lite5200.dts  |    2 ++
 arch/powerpc/boot/dts/lite5200b.dts |    2 ++
 arch/powerpc/boot/dts/motionpro.dts |    2 ++
 arch/powerpc/boot/dts/tqm5200.dts   |    2 ++
 5 files changed, 10 insertions(+), 0 deletions(-)
arch/powerpc/boot/dts/cm5200.dts +2 -0
index 9295083..2b88a58 100644
@@ -45,6 +45,8 @@
 	};
 
 	soc5200@f0000000 {
+		#address-cells = <1>;
+		#size-cells = <1>;
 		model = "fsl,mpc5200b";
 		compatible = "fsl,mpc5200b";
 		revision = "";			// from bootloader
arch/powerpc/boot/dts/lite5200.dts +2 -0
index e1d6f44..7de3d21 100644
@@ -46,6 +46,8 @@
 	};
 
 	soc5200@f0000000 {
+		#address-cells = <1>;
+		#size-cells = <1>;
 		model = "fsl,mpc5200";
 		compatible = "mpc5200";
 		revision = "";			// from bootloader
arch/powerpc/boot/dts/lite5200b.dts +2 -0
index 3e06f58..dd2c4fd 100644
@@ -46,6 +46,8 @@
 	};
 
 	soc5200@f0000000 {
+		#address-cells = <1>;
+		#size-cells = <1>;
 		model = "fsl,mpc5200b";
 		compatible = "mpc5200";
 		revision = "";			// from bootloader
arch/powerpc/boot/dts/motionpro.dts +2 -0
index d8c316a..ee30805 100644
@@ -45,6 +45,8 @@
 	};
 
 	soc5200@f0000000 {
+		#address-cells = <1>;
+		#size-cells = <1>;
 		model = "fsl,mpc5200b";
 		compatible = "fsl,mpc5200b";
 		revision = "";			// from bootloader
arch/powerpc/boot/dts/tqm5200.dts +2 -0
index 5017cec..58c9799 100644
@@ -45,6 +45,8 @@
 	};
 
 	soc5200@f0000000 {
+		#address-cells = <1>;
+		#size-cells = <1>;
 		model = "fsl,mpc5200";
 		compatible = "fsl,mpc5200";
 		revision = "";			// from bootloader
Signature · 1 line
1.5.4.rc4.gcab31
Applied
#1 lore raw
Quoted 6 lines · Paul Gortmaker

The various 5200 dts files don't have values specified for the soc node, which in turn results in a warning from the processing of every child node (roughly 40 warnings per file). This explicitly sets the default values and gets rid of all the warnings.

Applied, thanks!

g.

Signature · 2 lines
Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.