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

Kumar Gala galak at kernel.crashing.org
Sun Dec 14 10:47:32 EST 2008


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.

Signed-off-by: Kumar Gala <galak at kernel.crashing.org>
---
 arch/powerpc/boot/dts/mpc8572ds.dts |   16 ++++++++--------
 1 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/arch/powerpc/boot/dts/mpc8572ds.dts b/arch/powerpc/boot/dts/mpc8572ds.dts
index f7dae30..a10506e 100644
--- a/arch/powerpc/boot/dts/mpc8572ds.dts
+++ b/arch/powerpc/boot/dts/mpc8572ds.dts
@@ -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 at 0,0 {
 			#address-cells = <1>;
-- 
1.5.6.5




More information about the Linuxppc-dev mailing list