diff options
author | Kumar Gala <galak@kernel.crashing.org> | 2007-12-12 02:46:12 -0500 |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2007-12-12 02:51:03 -0500 |
commit | ea082fa94eab6c2d8ad81c8a46b680cf4c2a3bb3 (patch) | |
tree | eb2972880d4407d7e5bf5a1b58a2e0e54ddbcd32 /arch/powerpc/boot/dts/mpc8541cds.dts | |
parent | e77b28eb199a8d637a00128b86baf515d4eba5fd (diff) |
[POWERPC] FSL: Added aliases node to device trees
Added aliases nodes for kurobox, 83xx, 85xx, and 86xx platforms.
This included added labels and cell-index properties for serial and
pci nodes.
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/boot/dts/mpc8541cds.dts')
-rw-r--r-- | arch/powerpc/boot/dts/mpc8541cds.dts | 23 |
1 files changed, 18 insertions, 5 deletions
diff --git a/arch/powerpc/boot/dts/mpc8541cds.dts b/arch/powerpc/boot/dts/mpc8541cds.dts index 8637fe09d952..fa8d9aaad157 100644 --- a/arch/powerpc/boot/dts/mpc8541cds.dts +++ b/arch/powerpc/boot/dts/mpc8541cds.dts | |||
@@ -16,6 +16,15 @@ | |||
16 | #address-cells = <1>; | 16 | #address-cells = <1>; |
17 | #size-cells = <1>; | 17 | #size-cells = <1>; |
18 | 18 | ||
19 | aliases { | ||
20 | ethernet0 = &enet0; | ||
21 | ethernet1 = &enet1; | ||
22 | serial0 = &serial0; | ||
23 | serial1 = &serial1; | ||
24 | pci0 = &pci0; | ||
25 | pci1 = &pci1; | ||
26 | }; | ||
27 | |||
19 | cpus { | 28 | cpus { |
20 | #address-cells = <1>; | 29 | #address-cells = <1>; |
21 | #size-cells = <0>; | 30 | #size-cells = <0>; |
@@ -117,7 +126,8 @@ | |||
117 | phy-handle = <&phy1>; | 126 | phy-handle = <&phy1>; |
118 | }; | 127 | }; |
119 | 128 | ||
120 | serial@4500 { | 129 | serial0: serial@4500 { |
130 | cell-index = <0>; | ||
121 | device_type = "serial"; | 131 | device_type = "serial"; |
122 | compatible = "ns16550"; | 132 | compatible = "ns16550"; |
123 | reg = <4500 100>; // reg base, size | 133 | reg = <4500 100>; // reg base, size |
@@ -126,7 +136,8 @@ | |||
126 | interrupt-parent = <&mpic>; | 136 | interrupt-parent = <&mpic>; |
127 | }; | 137 | }; |
128 | 138 | ||
129 | serial@4600 { | 139 | serial1: serial@4600 { |
140 | cell-index = <1>; | ||
130 | device_type = "serial"; | 141 | device_type = "serial"; |
131 | compatible = "ns16550"; | 142 | compatible = "ns16550"; |
132 | reg = <4600 100>; // reg base, size | 143 | reg = <4600 100>; // reg base, size |
@@ -183,7 +194,8 @@ | |||
183 | }; | 194 | }; |
184 | }; | 195 | }; |
185 | 196 | ||
186 | pci1: pci@e0008000 { | 197 | pci0: pci@e0008000 { |
198 | cell-index = <0>; | ||
187 | interrupt-map-mask = <1f800 0 0 7>; | 199 | interrupt-map-mask = <1f800 0 0 7>; |
188 | interrupt-map = < | 200 | interrupt-map = < |
189 | 201 | ||
@@ -250,11 +262,12 @@ | |||
250 | #interrupt-cells = <2>; | 262 | #interrupt-cells = <2>; |
251 | compatible = "chrp,iic"; | 263 | compatible = "chrp,iic"; |
252 | interrupts = <1>; | 264 | interrupts = <1>; |
253 | interrupt-parent = <&pci1>; | 265 | interrupt-parent = <&pci0>; |
254 | }; | 266 | }; |
255 | }; | 267 | }; |
256 | 268 | ||
257 | pci@e0009000 { | 269 | pci1: pci@e0009000 { |
270 | cell-index = <1>; | ||
258 | interrupt-map-mask = <f800 0 0 7>; | 271 | interrupt-map-mask = <f800 0 0 7>; |
259 | interrupt-map = < | 272 | interrupt-map = < |
260 | 273 | ||