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

[POWERPC] 86xx: Add aliases node to 8641hpcn DTS file.

The addition of the aliases node is needed for U-Boot
and, eventually, cuImage, to help locate the proper
nodes reliably when using the libfdt approach.

Signed-off-by: Jon Loeliger <jdl@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>

authored by

Jon Loeliger and committed by
Kumar Gala
1c1d1672 7264ec44

+20 -8
+20 -8
arch/powerpc/boot/dts/mpc8641_hpcn.dts
··· 16 16 #address-cells = <1>; 17 17 #size-cells = <1>; 18 18 19 + aliases { 20 + ethernet0 = &enet0; 21 + ethernet1 = &enet1; 22 + ethernet2 = &enet2; 23 + ethernet3 = &enet3; 24 + serial0 = &serial0; 25 + serial1 = &serial1; 26 + pci0 = &pci0; 27 + pci1 = &pci1; 28 + }; 29 + 19 30 cpus { 20 31 #address-cells = <1>; 21 32 #size-cells = <0>; ··· 118 107 }; 119 108 }; 120 109 121 - ethernet@24000 { 110 + enet0: ethernet@24000 { 122 111 #address-cells = <1>; 123 112 #size-cells = <0>; 124 113 device_type = "network"; ··· 138 127 phy-connection-type = "rgmii-id"; 139 128 }; 140 129 141 - ethernet@25000 { 130 + enet1: ethernet@25000 { 142 131 #address-cells = <1>; 143 132 #size-cells = <0>; 144 133 device_type = "network"; ··· 158 147 phy-connection-type = "rgmii-id"; 159 148 }; 160 149 161 - ethernet@26000 { 150 + enet2: ethernet@26000 { 162 151 #address-cells = <1>; 163 152 #size-cells = <0>; 164 153 device_type = "network"; ··· 178 167 phy-connection-type = "rgmii-id"; 179 168 }; 180 169 181 - ethernet@27000 { 170 + enet3: ethernet@27000 { 182 171 #address-cells = <1>; 183 172 #size-cells = <0>; 184 173 device_type = "network"; ··· 197 186 phy-handle = <&phy3>; 198 187 phy-connection-type = "rgmii-id"; 199 188 }; 200 - serial@4500 { 189 + 190 + serial0: serial@4500 { 201 191 device_type = "serial"; 202 192 compatible = "ns16550"; 203 193 reg = <4500 100>; ··· 207 195 interrupt-parent = <&mpic>; 208 196 }; 209 197 210 - serial@4600 { 198 + serial1: serial@4600 { 211 199 device_type = "serial"; 212 200 compatible = "ns16550"; 213 201 reg = <4600 100>; ··· 234 222 }; 235 223 }; 236 224 237 - pcie@f8008000 { 225 + pci0: pcie@f8008000 { 238 226 compatible = "fsl,mpc8641-pcie"; 239 227 device_type = "pci"; 240 228 #interrupt-cells = <1>; ··· 442 430 443 431 }; 444 432 445 - pcie@f8009000 { 433 + pci1: pcie@f8009000 { 446 434 compatible = "fsl,mpc8641-pcie"; 447 435 device_type = "pci"; 448 436 #interrupt-cells = <1>;