]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
powerpc/85xx: Fix compile issues with mpc8572ds.dts
authorKumar Gala <galak@kernel.crashing.org>
Sat, 13 Dec 2008 23:41:41 +0000 (17:41 -0600)
committerKumar Gala <galak@kernel.crashing.org>
Mon, 15 Dec 2008 20:29:38 +0000 (14:29 -0600)
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@kernel.crashing.org>
arch/powerpc/boot/dts/mpc8572ds.dts

index f7dae307d74a5534bec41adee3db5049c432ef08..a10506e6fa27a031cb5d9865d4f2010abdd7965b 100644 (file)
                #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>;