powerpc/85xx: Fix reg & interrupts for mpc8569emds localbus added NAND
authorAnton Vorontsov <avorontsov@ru.mvista.com>
Sat, 2 May 2009 02:16:51 +0000 (06:16 +0400)
committerKumar Gala <galak@kernel.crashing.org>
Tue, 19 May 2009 05:50:32 +0000 (00:50 -0500)
This patch fixes bogus reg = <> property in the localbus node,
and fixes interrupt property (should be "interrupts").

Also add node for NAND support.

Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
arch/powerpc/boot/dts/mpc8569mds.dts

index fb67910927f189651a996ac2d343e9ac033207d5..18fda4917d95e49b87308f54610a61702c1a8590 100644 (file)
                #address-cells = <2>;
                #size-cells = <1>;
                compatible = "fsl,mpc8569-elbc", "fsl,elbc", "simple-bus";
-               reg = <0 0xe0005000 0 0x1000>;
-               interrupt = <19 2>;
+               reg = <0xe0005000 0x1000>;
+               interrupts = <19 2>;
                interrupt-parent = <&mpic>;
 
                ranges = <0x0 0x0 0xfe000000 0x02000000
                          0x1 0x0 0xf8000000 0x00008000
                          0x2 0x0 0xf0000000 0x04000000
+                         0x3 0x0 0xfc000000 0x00008000
                          0x4 0x0 0xf8008000 0x00008000
                          0x5 0x0 0xf8010000 0x00008000>;
 
                        reg = <1 0 0x8000>;
                };
 
+               nand@3,0 {
+                       compatible = "fsl,mpc8569-fcm-nand",
+                                    "fsl,elbc-fcm-nand";
+                       reg = <3 0 0x8000>;
+               };
+
                pib@4,0 {
                        compatible = "fsl,mpc8569mds-pib";
                        reg = <4 0 0x8000>;