Skip to contentSkip to conversation

powerpc/85xx: Fix compile issues with mpc8572ds.dts

PATCH New Kumar Gala 1 participant 1 message Dec 13, 2008

Subsystems (2)
lore
Share & tools
lore

Kumar Gala

author
#0 lore raw

PATCH 1/1 powerpc/85xx: Fix compile issues with mpc8572ds.dts

Fix the localbus reg & range properties to respect that the top level #address-cells and #size-cells = 2. The original commit (c64ef80b517680f1e228b2ee55e3ce7cd94c7fe0) did not do that.

---
 arch/powerpc/boot/dts/mpc8572ds.dts |   16 ++++++++--------
 1 files changed, 8 insertions(+), 8 deletions(-)
arch/powerpc/boot/dts/mpc8572ds.dts +8 -8
index f7dae30..a10506e 100644
@@ -67,17 +67,17 @@
 		#address-cells = <2>;
 		#size-cells = <1>;
 		compatible = "fsl,mpc8572-elbc", "fsl,elbc", "simple-bus";
-		reg = <0xffe05000 0x1000>;
+		reg = <0 0xffe05000 0 0x1000>;
 		interrupts = <19 2>;
 		interrupt-parent = <&mpic>;
 
-		ranges = <0x0 0x0 0xe8000000 0x08000000
-			  0x1 0x0 0xe0000000 0x08000000
-			  0x2 0x0 0xffa00000 0x00040000
-			  0x3 0x0 0xffdf0000 0x00008000
-			  0x4 0x0 0xffa40000 0x00040000
-			  0x5 0x0 0xffa80000 0x00040000
-			  0x6 0x0 0xffac0000 0x00040000>;
+		ranges = <0x0 0x0 0x0 0xe8000000 0x08000000
+			  0x1 0x0 0x0 0xe0000000 0x08000000
+			  0x2 0x0 0x0 0xffa00000 0x00040000
+			  0x3 0x0 0x0 0xffdf0000 0x00008000
+			  0x4 0x0 0x0 0xffa40000 0x00040000
+			  0x5 0x0 0x0 0xffa80000 0x00040000
+			  0x6 0x0 0x0 0xffac0000 0x00040000>;
 
 		nor@0,0 {
 			#address-cells = <1>;
Signature · 1 line
1.5.6.5