Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

powerpc/pq2fads: Update device tree for use with device-tree-aware u-boot.

Add aliases, and correct CS0 offset to match how u-boot
programs it (this was not a problem with cuImage because
the wrapper would reprogram the localbus to match the device
tree).

Signed-off-by: Scott Wood <scottwood@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>

authored by

Scott Wood and committed by
Kumar Gala
65cc0fa3 4d8107f4

+14 -6
+14 -6
arch/powerpc/boot/dts/pq2fads.dts
··· 17 17 #address-cells = <1>; 18 18 #size-cells = <1>; 19 19 20 + aliases { 21 + ethernet0 = &enet0; 22 + ethernet1 = &enet1; 23 + serial0 = &serial0; 24 + serial1 = &serial1; 25 + pci0 = &pci0; 26 + }; 27 + 20 28 cpus { 21 29 #address-cells = <1>; 22 30 #size-cells = <0>; ··· 53 45 #size-cells = <1>; 54 46 reg = <0xf0010100 0x60>; 55 47 56 - ranges = <0x0 0x0 0xfe000000 0x800000 48 + ranges = <0x0 0x0 0xff800000 0x800000 57 49 0x1 0x0 0xf4500000 0x8000 58 50 0x8 0x0 0xf8200000 0x8000>; 59 51 ··· 79 71 }; 80 72 }; 81 73 82 - pci@f0010800 { 74 + pci0: pci@f0010800 { 83 75 device_type = "pci"; 84 76 reg = <0xf0010800 0x10c 0xf00101ac 0x8 0xf00101c4 0x8>; 85 77 compatible = "fsl,mpc8280-pci", "fsl,pq2-pci"; ··· 150 142 reg = <0x119f0 0x10 0x115f0 0x10>; 151 143 }; 152 144 153 - serial@11a00 { 145 + serial0: serial@11a00 { 154 146 device_type = "serial"; 155 147 compatible = "fsl,mpc8280-scc-uart", 156 148 "fsl,cpm2-scc-uart"; ··· 161 153 fsl,cpm-command = <0x800000>; 162 154 }; 163 155 164 - serial@11a20 { 156 + serial1: serial@11a20 { 165 157 device_type = "serial"; 166 158 compatible = "fsl,mpc8280-scc-uart", 167 159 "fsl,cpm2-scc-uart"; ··· 172 164 fsl,cpm-command = <0x4a00000>; 173 165 }; 174 166 175 - ethernet@11320 { 167 + enet0: ethernet@11320 { 176 168 device_type = "network"; 177 169 compatible = "fsl,mpc8280-fcc-enet", 178 170 "fsl,cpm2-fcc-enet"; ··· 184 176 fsl,cpm-command = <0x16200300>; 185 177 }; 186 178 187 - ethernet@11340 { 179 + enet1: ethernet@11340 { 188 180 device_type = "network"; 189 181 compatible = "fsl,mpc8280-fcc-enet", 190 182 "fsl,cpm2-fcc-enet";