diff options
author | David S. Miller <davem@davemloft.net> | 2008-12-28 23:19:47 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-12-28 23:19:47 -0500 |
commit | e3c6d4ee545e427b55882d97d3b663c6411645fe (patch) | |
tree | 294326663fb757739a98083c2ddd570d1eaf7337 /arch/powerpc/boot | |
parent | 5bc053089376217943187ed5153d0d1e5c5085b6 (diff) | |
parent | 3c92ec8ae91ecf59d88c798301833d7cf83f2179 (diff) |
Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/torvalds/linux-2.6
Conflicts:
arch/sparc64/kernel/idprom.c
Diffstat (limited to 'arch/powerpc/boot')
49 files changed, 1653 insertions, 17 deletions
diff --git a/arch/powerpc/boot/Makefile b/arch/powerpc/boot/Makefile index 8fc6d72849ae..f32829937aad 100644 --- a/arch/powerpc/boot/Makefile +++ b/arch/powerpc/boot/Makefile | |||
@@ -41,6 +41,7 @@ $(obj)/4xx.o: BOOTCFLAGS += -mcpu=405 | |||
41 | $(obj)/ebony.o: BOOTCFLAGS += -mcpu=405 | 41 | $(obj)/ebony.o: BOOTCFLAGS += -mcpu=405 |
42 | $(obj)/cuboot-taishan.o: BOOTCFLAGS += -mcpu=405 | 42 | $(obj)/cuboot-taishan.o: BOOTCFLAGS += -mcpu=405 |
43 | $(obj)/cuboot-katmai.o: BOOTCFLAGS += -mcpu=405 | 43 | $(obj)/cuboot-katmai.o: BOOTCFLAGS += -mcpu=405 |
44 | $(obj)/cuboot-acadia.o: BOOTCFLAGS += -mcpu=405 | ||
44 | $(obj)/treeboot-walnut.o: BOOTCFLAGS += -mcpu=405 | 45 | $(obj)/treeboot-walnut.o: BOOTCFLAGS += -mcpu=405 |
45 | $(obj)/virtex405-head.o: BOOTAFLAGS += -mcpu=405 | 46 | $(obj)/virtex405-head.o: BOOTAFLAGS += -mcpu=405 |
46 | 47 | ||
@@ -193,6 +194,7 @@ image-$(CONFIG_PPC_MAPLE) += zImage.pseries | |||
193 | image-$(CONFIG_PPC_IBM_CELL_BLADE) += zImage.pseries | 194 | image-$(CONFIG_PPC_IBM_CELL_BLADE) += zImage.pseries |
194 | image-$(CONFIG_PPC_PS3) += dtbImage.ps3 | 195 | image-$(CONFIG_PPC_PS3) += dtbImage.ps3 |
195 | image-$(CONFIG_PPC_CELLEB) += zImage.pseries | 196 | image-$(CONFIG_PPC_CELLEB) += zImage.pseries |
197 | image-$(CONFIG_PPC_CELL_QPACE) += zImage.pseries | ||
196 | image-$(CONFIG_PPC_CHRP) += zImage.chrp | 198 | image-$(CONFIG_PPC_CHRP) += zImage.chrp |
197 | image-$(CONFIG_PPC_EFIKA) += zImage.chrp | 199 | image-$(CONFIG_PPC_EFIKA) += zImage.chrp |
198 | image-$(CONFIG_PPC_PMAC) += zImage.pmac | 200 | image-$(CONFIG_PPC_PMAC) += zImage.pmac |
diff --git a/arch/powerpc/boot/devtree.c b/arch/powerpc/boot/devtree.c index 5d12336dc360..a7e21a35c03a 100644 --- a/arch/powerpc/boot/devtree.c +++ b/arch/powerpc/boot/devtree.c | |||
@@ -213,7 +213,7 @@ static int find_range(u32 *reg, u32 *ranges, int nregaddr, | |||
213 | u32 range_addr[MAX_ADDR_CELLS]; | 213 | u32 range_addr[MAX_ADDR_CELLS]; |
214 | u32 range_size[MAX_ADDR_CELLS]; | 214 | u32 range_size[MAX_ADDR_CELLS]; |
215 | 215 | ||
216 | copy_val(range_addr, ranges + i, naddr); | 216 | copy_val(range_addr, ranges + i, nregaddr); |
217 | copy_val(range_size, ranges + i + nregaddr + naddr, nsize); | 217 | copy_val(range_size, ranges + i + nregaddr + naddr, nsize); |
218 | 218 | ||
219 | if (compare_reg(reg, range_addr, range_size)) | 219 | if (compare_reg(reg, range_addr, range_size)) |
diff --git a/arch/powerpc/boot/dts/asp834x-redboot.dts b/arch/powerpc/boot/dts/asp834x-redboot.dts index 6235fca445de..524af7ef9f26 100644 --- a/arch/powerpc/boot/dts/asp834x-redboot.dts +++ b/arch/powerpc/boot/dts/asp834x-redboot.dts | |||
@@ -199,8 +199,26 @@ | |||
199 | reg = <0x2>; | 199 | reg = <0x2>; |
200 | device_type = "ethernet-phy"; | 200 | device_type = "ethernet-phy"; |
201 | }; | 201 | }; |
202 | |||
203 | tbi0: tbi-phy@11 { | ||
204 | reg = <0x11>; | ||
205 | device_type = "tbi-phy"; | ||
206 | }; | ||
202 | }; | 207 | }; |
203 | 208 | ||
209 | mdio@25520 { | ||
210 | #address-cells = <1>; | ||
211 | #size-cells = <0>; | ||
212 | compatible = "fsl,gianfar-tbi"; | ||
213 | reg = <0x25520 0x20>; | ||
214 | |||
215 | tbi1: tbi-phy@11 { | ||
216 | reg = <0x11>; | ||
217 | device_type = "tbi-phy"; | ||
218 | }; | ||
219 | }; | ||
220 | |||
221 | |||
204 | enet0: ethernet@24000 { | 222 | enet0: ethernet@24000 { |
205 | cell-index = <0>; | 223 | cell-index = <0>; |
206 | device_type = "network"; | 224 | device_type = "network"; |
@@ -210,6 +228,7 @@ | |||
210 | local-mac-address = [ 00 08 e5 11 32 33 ]; | 228 | local-mac-address = [ 00 08 e5 11 32 33 ]; |
211 | interrupts = <32 0x8 33 0x8 34 0x8>; | 229 | interrupts = <32 0x8 33 0x8 34 0x8>; |
212 | interrupt-parent = <&ipic>; | 230 | interrupt-parent = <&ipic>; |
231 | tbi-handle = <&tbi0>; | ||
213 | phy-handle = <&phy0>; | 232 | phy-handle = <&phy0>; |
214 | linux,network-index = <0>; | 233 | linux,network-index = <0>; |
215 | }; | 234 | }; |
@@ -223,6 +242,7 @@ | |||
223 | local-mac-address = [ 00 08 e5 11 32 34 ]; | 242 | local-mac-address = [ 00 08 e5 11 32 34 ]; |
224 | interrupts = <35 0x8 36 0x8 37 0x8>; | 243 | interrupts = <35 0x8 36 0x8 37 0x8>; |
225 | interrupt-parent = <&ipic>; | 244 | interrupt-parent = <&ipic>; |
245 | tbi-handle = <&tbi1>; | ||
226 | phy-handle = <&phy1>; | 246 | phy-handle = <&phy1>; |
227 | linux,network-index = <1>; | 247 | linux,network-index = <1>; |
228 | }; | 248 | }; |
diff --git a/arch/powerpc/boot/dts/bamboo.dts b/arch/powerpc/boot/dts/bamboo.dts index 6ce0cc2c0208..aa68911f6560 100644 --- a/arch/powerpc/boot/dts/bamboo.dts +++ b/arch/powerpc/boot/dts/bamboo.dts | |||
@@ -269,7 +269,8 @@ | |||
269 | * later cannot be changed. Chip supports a second | 269 | * later cannot be changed. Chip supports a second |
270 | * IO range but we don't use it for now | 270 | * IO range but we don't use it for now |
271 | */ | 271 | */ |
272 | ranges = <0x02000000 0x00000000 0xa0000000 0x00000000 0xa0000000 0x00000000 0x20000000 | 272 | ranges = <0x02000000 0x00000000 0xa0000000 0x00000000 0xa0000000 0x00000000 0x40000000 |
273 | 0x02000000 0x00000000 0x00000000 0x00000000 0xe0000000 0x00000000 0x00100000 | ||
273 | 0x01000000 0x00000000 0x00000000 0x00000000 0xe8000000 0x00000000 0x00010000>; | 274 | 0x01000000 0x00000000 0x00000000 0x00000000 0xe8000000 0x00000000 0x00010000>; |
274 | 275 | ||
275 | /* Inbound 2GB range starting at 0 */ | 276 | /* Inbound 2GB range starting at 0 */ |
diff --git a/arch/powerpc/boot/dts/canyonlands.dts b/arch/powerpc/boot/dts/canyonlands.dts index 79fe412c11c9..8b5ba8261a36 100644 --- a/arch/powerpc/boot/dts/canyonlands.dts +++ b/arch/powerpc/boot/dts/canyonlands.dts | |||
@@ -40,6 +40,7 @@ | |||
40 | d-cache-size = <32768>; | 40 | d-cache-size = <32768>; |
41 | dcr-controller; | 41 | dcr-controller; |
42 | dcr-access-method = "native"; | 42 | dcr-access-method = "native"; |
43 | next-level-cache = <&L2C0>; | ||
43 | }; | 44 | }; |
44 | }; | 45 | }; |
45 | 46 | ||
@@ -104,6 +105,16 @@ | |||
104 | dcr-reg = <0x00c 0x002>; | 105 | dcr-reg = <0x00c 0x002>; |
105 | }; | 106 | }; |
106 | 107 | ||
108 | L2C0: l2c { | ||
109 | compatible = "ibm,l2-cache-460ex", "ibm,l2-cache"; | ||
110 | dcr-reg = <0x020 0x008 /* Internal SRAM DCR's */ | ||
111 | 0x030 0x008>; /* L2 cache DCR's */ | ||
112 | cache-line-size = <32>; /* 32 bytes */ | ||
113 | cache-size = <262144>; /* L2, 256K */ | ||
114 | interrupt-parent = <&UIC1>; | ||
115 | interrupts = <11 1>; | ||
116 | }; | ||
117 | |||
107 | plb { | 118 | plb { |
108 | compatible = "ibm,plb-460ex", "ibm,plb4"; | 119 | compatible = "ibm,plb-460ex", "ibm,plb4"; |
109 | #address-cells = <2>; | 120 | #address-cells = <2>; |
@@ -343,6 +354,7 @@ | |||
343 | * later cannot be changed | 354 | * later cannot be changed |
344 | */ | 355 | */ |
345 | ranges = <0x02000000 0x00000000 0x80000000 0x0000000d 0x80000000 0x00000000 0x80000000 | 356 | ranges = <0x02000000 0x00000000 0x80000000 0x0000000d 0x80000000 0x00000000 0x80000000 |
357 | 0x02000000 0x00000000 0x00000000 0x0000000c 0x0ee00000 0x00000000 0x00100000 | ||
346 | 0x01000000 0x00000000 0x00000000 0x0000000c 0x08000000 0x00000000 0x00010000>; | 358 | 0x01000000 0x00000000 0x00000000 0x0000000c 0x08000000 0x00000000 0x00010000>; |
347 | 359 | ||
348 | /* Inbound 2GB range starting at 0 */ | 360 | /* Inbound 2GB range starting at 0 */ |
@@ -373,6 +385,7 @@ | |||
373 | * later cannot be changed | 385 | * later cannot be changed |
374 | */ | 386 | */ |
375 | ranges = <0x02000000 0x00000000 0x80000000 0x0000000e 0x00000000 0x00000000 0x80000000 | 387 | ranges = <0x02000000 0x00000000 0x80000000 0x0000000e 0x00000000 0x00000000 0x80000000 |
388 | 0x02000000 0x00000000 0x00000000 0x0000000f 0x00000000 0x00000000 0x00100000 | ||
376 | 0x01000000 0x00000000 0x00000000 0x0000000f 0x80000000 0x00000000 0x00010000>; | 389 | 0x01000000 0x00000000 0x00000000 0x0000000f 0x80000000 0x00000000 0x00010000>; |
377 | 390 | ||
378 | /* Inbound 2GB range starting at 0 */ | 391 | /* Inbound 2GB range starting at 0 */ |
@@ -414,6 +427,7 @@ | |||
414 | * later cannot be changed | 427 | * later cannot be changed |
415 | */ | 428 | */ |
416 | ranges = <0x02000000 0x00000000 0x80000000 0x0000000e 0x80000000 0x00000000 0x80000000 | 429 | ranges = <0x02000000 0x00000000 0x80000000 0x0000000e 0x80000000 0x00000000 0x80000000 |
430 | 0x02000000 0x00000000 0x00000000 0x0000000f 0x00100000 0x00000000 0x00100000 | ||
417 | 0x01000000 0x00000000 0x00000000 0x0000000f 0x80010000 0x00000000 0x00010000>; | 431 | 0x01000000 0x00000000 0x00000000 0x0000000f 0x80010000 0x00000000 0x00010000>; |
418 | 432 | ||
419 | /* Inbound 2GB range starting at 0 */ | 433 | /* Inbound 2GB range starting at 0 */ |
diff --git a/arch/powerpc/boot/dts/gef_sbc610.dts b/arch/powerpc/boot/dts/gef_sbc610.dts index e48cfa740c8a..9708b3423bbd 100644 --- a/arch/powerpc/boot/dts/gef_sbc610.dts +++ b/arch/powerpc/boot/dts/gef_sbc610.dts | |||
@@ -98,6 +98,12 @@ | |||
98 | interrupt-parent = <&mpic>; | 98 | interrupt-parent = <&mpic>; |
99 | 99 | ||
100 | }; | 100 | }; |
101 | gef_gpio: gpio@7,14000 { | ||
102 | #gpio-cells = <2>; | ||
103 | compatible = "gef,sbc610-gpio"; | ||
104 | reg = <0x7 0x14000 0x24>; | ||
105 | gpio-controller; | ||
106 | }; | ||
101 | }; | 107 | }; |
102 | 108 | ||
103 | soc@fef00000 { | 109 | soc@fef00000 { |
@@ -119,6 +125,11 @@ | |||
119 | interrupt-parent = <&mpic>; | 125 | interrupt-parent = <&mpic>; |
120 | dfsrr; | 126 | dfsrr; |
121 | 127 | ||
128 | rtc@51 { | ||
129 | compatible = "epson,rx8581"; | ||
130 | reg = <0x00000051>; | ||
131 | }; | ||
132 | |||
122 | eti@6b { | 133 | eti@6b { |
123 | compatible = "dallas,ds1682"; | 134 | compatible = "dallas,ds1682"; |
124 | reg = <0x6b>; | 135 | reg = <0x6b>; |
diff --git a/arch/powerpc/boot/dts/ksi8560.dts b/arch/powerpc/boot/dts/ksi8560.dts index 49737589ffc8..3bfff47418db 100644 --- a/arch/powerpc/boot/dts/ksi8560.dts +++ b/arch/powerpc/boot/dts/ksi8560.dts | |||
@@ -141,8 +141,26 @@ | |||
141 | reg = <0x2>; | 141 | reg = <0x2>; |
142 | device_type = "ethernet-phy"; | 142 | device_type = "ethernet-phy"; |
143 | }; | 143 | }; |
144 | |||
145 | tbi0: tbi-phy@11 { | ||
146 | reg = <0x11>; | ||
147 | device_type = "tbi-phy"; | ||
148 | }; | ||
144 | }; | 149 | }; |
145 | 150 | ||
151 | mdio@25520 { | ||
152 | #address-cells = <1>; | ||
153 | #size-cells = <0>; | ||
154 | compatible = "fsl,gianfar-tbi"; | ||
155 | reg = <0x25520 0x20>; | ||
156 | |||
157 | tbi1: tbi-phy@11 { | ||
158 | reg = <0x11>; | ||
159 | device_type = "tbi-phy"; | ||
160 | }; | ||
161 | }; | ||
162 | |||
163 | |||
146 | enet0: ethernet@24000 { | 164 | enet0: ethernet@24000 { |
147 | device_type = "network"; | 165 | device_type = "network"; |
148 | model = "TSEC"; | 166 | model = "TSEC"; |
@@ -152,6 +170,7 @@ | |||
152 | local-mac-address = [ 00 00 00 00 00 00 ]; | 170 | local-mac-address = [ 00 00 00 00 00 00 ]; |
153 | interrupts = <0x1d 0x2 0x1e 0x2 0x22 0x2>; | 171 | interrupts = <0x1d 0x2 0x1e 0x2 0x22 0x2>; |
154 | interrupt-parent = <&mpic>; | 172 | interrupt-parent = <&mpic>; |
173 | tbi-handle = <&tbi0>; | ||
155 | phy-handle = <&PHY1>; | 174 | phy-handle = <&PHY1>; |
156 | }; | 175 | }; |
157 | 176 | ||
@@ -164,6 +183,7 @@ | |||
164 | local-mac-address = [ 00 00 00 00 00 00 ]; | 183 | local-mac-address = [ 00 00 00 00 00 00 ]; |
165 | interrupts = <0x23 0x2 0x24 0x2 0x28 0x2>; | 184 | interrupts = <0x23 0x2 0x24 0x2 0x28 0x2>; |
166 | interrupt-parent = <&mpic>; | 185 | interrupt-parent = <&mpic>; |
186 | tbi-handle = <&tbi1>; | ||
167 | phy-handle = <&PHY2>; | 187 | phy-handle = <&PHY2>; |
168 | }; | 188 | }; |
169 | 189 | ||
diff --git a/arch/powerpc/boot/dts/kuroboxHD.dts b/arch/powerpc/boot/dts/kuroboxHD.dts index 2e5a1a1812b6..8d725d10882f 100644 --- a/arch/powerpc/boot/dts/kuroboxHD.dts +++ b/arch/powerpc/boot/dts/kuroboxHD.dts | |||
@@ -76,7 +76,6 @@ XXXX add flash parts, rtc, ?? | |||
76 | interrupt-parent = <&mpic>; | 76 | interrupt-parent = <&mpic>; |
77 | 77 | ||
78 | rtc@32 { | 78 | rtc@32 { |
79 | device_type = "rtc"; | ||
80 | compatible = "ricoh,rs5c372a"; | 79 | compatible = "ricoh,rs5c372a"; |
81 | reg = <0x32>; | 80 | reg = <0x32>; |
82 | }; | 81 | }; |
diff --git a/arch/powerpc/boot/dts/kuroboxHG.dts b/arch/powerpc/boot/dts/kuroboxHG.dts index e4916e69ad31..b13a11eb81b0 100644 --- a/arch/powerpc/boot/dts/kuroboxHG.dts +++ b/arch/powerpc/boot/dts/kuroboxHG.dts | |||
@@ -76,7 +76,6 @@ XXXX add flash parts, rtc, ?? | |||
76 | interrupt-parent = <&mpic>; | 76 | interrupt-parent = <&mpic>; |
77 | 77 | ||
78 | rtc@32 { | 78 | rtc@32 { |
79 | device_type = "rtc"; | ||
80 | compatible = "ricoh,rs5c372a"; | 79 | compatible = "ricoh,rs5c372a"; |
81 | reg = <0x32>; | 80 | reg = <0x32>; |
82 | }; | 81 | }; |
diff --git a/arch/powerpc/boot/dts/lite5200.dts b/arch/powerpc/boot/dts/lite5200.dts index 2cf9a8768f44..3f7a5dce8de0 100644 --- a/arch/powerpc/boot/dts/lite5200.dts +++ b/arch/powerpc/boot/dts/lite5200.dts | |||
@@ -130,7 +130,6 @@ | |||
130 | 130 | ||
131 | rtc@800 { // Real time clock | 131 | rtc@800 { // Real time clock |
132 | compatible = "fsl,mpc5200-rtc"; | 132 | compatible = "fsl,mpc5200-rtc"; |
133 | device_type = "rtc"; | ||
134 | reg = <0x800 0x100>; | 133 | reg = <0x800 0x100>; |
135 | interrupts = <1 5 0 1 6 0>; | 134 | interrupts = <1 5 0 1 6 0>; |
136 | interrupt-parent = <&mpc5200_pic>; | 135 | interrupt-parent = <&mpc5200_pic>; |
diff --git a/arch/powerpc/boot/dts/lite5200b.dts b/arch/powerpc/boot/dts/lite5200b.dts index 7bd5b9c399b8..63e3bb48e843 100644 --- a/arch/powerpc/boot/dts/lite5200b.dts +++ b/arch/powerpc/boot/dts/lite5200b.dts | |||
@@ -130,7 +130,6 @@ | |||
130 | 130 | ||
131 | rtc@800 { // Real time clock | 131 | rtc@800 { // Real time clock |
132 | compatible = "fsl,mpc5200b-rtc","fsl,mpc5200-rtc"; | 132 | compatible = "fsl,mpc5200b-rtc","fsl,mpc5200-rtc"; |
133 | device_type = "rtc"; | ||
134 | reg = <0x800 0x100>; | 133 | reg = <0x800 0x100>; |
135 | interrupts = <1 5 0 1 6 0>; | 134 | interrupts = <1 5 0 1 6 0>; |
136 | interrupt-parent = <&mpc5200_pic>; | 135 | interrupt-parent = <&mpc5200_pic>; |
diff --git a/arch/powerpc/boot/dts/motionpro.dts b/arch/powerpc/boot/dts/motionpro.dts index 9e3c921be164..52ba6f98b273 100644 --- a/arch/powerpc/boot/dts/motionpro.dts +++ b/arch/powerpc/boot/dts/motionpro.dts | |||
@@ -248,7 +248,6 @@ | |||
248 | fsl5200-clocking; | 248 | fsl5200-clocking; |
249 | 249 | ||
250 | rtc@68 { | 250 | rtc@68 { |
251 | device_type = "rtc"; | ||
252 | compatible = "dallas,ds1339"; | 251 | compatible = "dallas,ds1339"; |
253 | reg = <0x68>; | 252 | reg = <0x68>; |
254 | }; | 253 | }; |
diff --git a/arch/powerpc/boot/dts/mpc8313erdb.dts b/arch/powerpc/boot/dts/mpc8313erdb.dts index 503031766825..d4df8b6857a4 100644 --- a/arch/powerpc/boot/dts/mpc8313erdb.dts +++ b/arch/powerpc/boot/dts/mpc8313erdb.dts | |||
@@ -190,6 +190,7 @@ | |||
190 | local-mac-address = [ 00 00 00 00 00 00 ]; | 190 | local-mac-address = [ 00 00 00 00 00 00 ]; |
191 | interrupts = <37 0x8 36 0x8 35 0x8>; | 191 | interrupts = <37 0x8 36 0x8 35 0x8>; |
192 | interrupt-parent = <&ipic>; | 192 | interrupt-parent = <&ipic>; |
193 | tbi-handle = < &tbi0 >; | ||
193 | phy-handle = < &phy1 >; | 194 | phy-handle = < &phy1 >; |
194 | fsl,magic-packet; | 195 | fsl,magic-packet; |
195 | 196 | ||
@@ -210,6 +211,10 @@ | |||
210 | reg = <0x4>; | 211 | reg = <0x4>; |
211 | device_type = "ethernet-phy"; | 212 | device_type = "ethernet-phy"; |
212 | }; | 213 | }; |
214 | tbi0: tbi-phy@11 { | ||
215 | reg = <0x11>; | ||
216 | device_type = "tbi-phy"; | ||
217 | }; | ||
213 | }; | 218 | }; |
214 | }; | 219 | }; |
215 | 220 | ||
@@ -222,9 +227,24 @@ | |||
222 | local-mac-address = [ 00 00 00 00 00 00 ]; | 227 | local-mac-address = [ 00 00 00 00 00 00 ]; |
223 | interrupts = <34 0x8 33 0x8 32 0x8>; | 228 | interrupts = <34 0x8 33 0x8 32 0x8>; |
224 | interrupt-parent = <&ipic>; | 229 | interrupt-parent = <&ipic>; |
230 | tbi-handle = < &tbi1 >; | ||
225 | phy-handle = < &phy4 >; | 231 | phy-handle = < &phy4 >; |
226 | sleep = <&pmc 0x10000000>; | 232 | sleep = <&pmc 0x10000000>; |
227 | fsl,magic-packet; | 233 | fsl,magic-packet; |
234 | |||
235 | mdio@25520 { | ||
236 | #address-cells = <1>; | ||
237 | #size-cells = <0>; | ||
238 | compatible = "fsl,gianfar-tbi"; | ||
239 | reg = <0x25520 0x20>; | ||
240 | |||
241 | tbi1: tbi-phy@11 { | ||
242 | reg = <0x11>; | ||
243 | device_type = "tbi-phy"; | ||
244 | }; | ||
245 | }; | ||
246 | |||
247 | |||
228 | }; | 248 | }; |
229 | 249 | ||
230 | serial0: serial@4500 { | 250 | serial0: serial@4500 { |
diff --git a/arch/powerpc/boot/dts/mpc8315erdb.dts b/arch/powerpc/boot/dts/mpc8315erdb.dts index 6b850670de1d..072c9b0f8c8e 100644 --- a/arch/powerpc/boot/dts/mpc8315erdb.dts +++ b/arch/powerpc/boot/dts/mpc8315erdb.dts | |||
@@ -117,7 +117,6 @@ | |||
117 | interrupt-parent = <&ipic>; | 117 | interrupt-parent = <&ipic>; |
118 | dfsrr; | 118 | dfsrr; |
119 | rtc@68 { | 119 | rtc@68 { |
120 | device_type = "rtc"; | ||
121 | compatible = "dallas,ds1339"; | 120 | compatible = "dallas,ds1339"; |
122 | reg = <0x68>; | 121 | reg = <0x68>; |
123 | }; | 122 | }; |
@@ -206,8 +205,25 @@ | |||
206 | reg = <0x1>; | 205 | reg = <0x1>; |
207 | device_type = "ethernet-phy"; | 206 | device_type = "ethernet-phy"; |
208 | }; | 207 | }; |
208 | tbi0: tbi-phy@11 { | ||
209 | reg = <0x11>; | ||
210 | device_type = "tbi-phy"; | ||
211 | }; | ||
212 | }; | ||
213 | |||
214 | mdio@25520 { | ||
215 | #address-cells = <1>; | ||
216 | #size-cells = <0>; | ||
217 | compatible = "fsl,gianfar-tbi"; | ||
218 | reg = <0x25520 0x20>; | ||
219 | |||
220 | tbi1: tbi-phy@11 { | ||
221 | reg = <0x11>; | ||
222 | device_type = "tbi-phy"; | ||
223 | }; | ||
209 | }; | 224 | }; |
210 | 225 | ||
226 | |||
211 | enet0: ethernet@24000 { | 227 | enet0: ethernet@24000 { |
212 | cell-index = <0>; | 228 | cell-index = <0>; |
213 | device_type = "network"; | 229 | device_type = "network"; |
@@ -217,6 +233,7 @@ | |||
217 | local-mac-address = [ 00 00 00 00 00 00 ]; | 233 | local-mac-address = [ 00 00 00 00 00 00 ]; |
218 | interrupts = <32 0x8 33 0x8 34 0x8>; | 234 | interrupts = <32 0x8 33 0x8 34 0x8>; |
219 | interrupt-parent = <&ipic>; | 235 | interrupt-parent = <&ipic>; |
236 | tbi-handle = <&tbi0>; | ||
220 | phy-handle = < &phy0 >; | 237 | phy-handle = < &phy0 >; |
221 | }; | 238 | }; |
222 | 239 | ||
@@ -229,6 +246,7 @@ | |||
229 | local-mac-address = [ 00 00 00 00 00 00 ]; | 246 | local-mac-address = [ 00 00 00 00 00 00 ]; |
230 | interrupts = <35 0x8 36 0x8 37 0x8>; | 247 | interrupts = <35 0x8 36 0x8 37 0x8>; |
231 | interrupt-parent = <&ipic>; | 248 | interrupt-parent = <&ipic>; |
249 | tbi-handle = <&tbi1>; | ||
232 | phy-handle = < &phy1 >; | 250 | phy-handle = < &phy1 >; |
233 | }; | 251 | }; |
234 | 252 | ||
diff --git a/arch/powerpc/boot/dts/mpc8349emitx.dts b/arch/powerpc/boot/dts/mpc8349emitx.dts index 4bdbaf4993a1..b5eda94a8e2a 100644 --- a/arch/powerpc/boot/dts/mpc8349emitx.dts +++ b/arch/powerpc/boot/dts/mpc8349emitx.dts | |||
@@ -85,7 +85,6 @@ | |||
85 | dfsrr; | 85 | dfsrr; |
86 | 86 | ||
87 | rtc@68 { | 87 | rtc@68 { |
88 | device_type = "rtc"; | ||
89 | compatible = "dallas,ds1339"; | 88 | compatible = "dallas,ds1339"; |
90 | reg = <0x68>; | 89 | reg = <0x68>; |
91 | interrupts = <18 0x8>; | 90 | interrupts = <18 0x8>; |
@@ -184,6 +183,22 @@ | |||
184 | reg = <0x1c>; | 183 | reg = <0x1c>; |
185 | device_type = "ethernet-phy"; | 184 | device_type = "ethernet-phy"; |
186 | }; | 185 | }; |
186 | tbi0: tbi-phy@11 { | ||
187 | reg = <0x11>; | ||
188 | device_type = "tbi-phy"; | ||
189 | }; | ||
190 | }; | ||
191 | |||
192 | mdio@25520 { | ||
193 | #address-cells = <1>; | ||
194 | #size-cells = <0>; | ||
195 | compatible = "fsl,gianfar-tbi"; | ||
196 | reg = <0x25520 0x20>; | ||
197 | |||
198 | tbi1: tbi-phy@11 { | ||
199 | reg = <0x11>; | ||
200 | device_type = "tbi-phy"; | ||
201 | }; | ||
187 | }; | 202 | }; |
188 | 203 | ||
189 | enet0: ethernet@24000 { | 204 | enet0: ethernet@24000 { |
@@ -195,6 +210,7 @@ | |||
195 | local-mac-address = [ 00 00 00 00 00 00 ]; | 210 | local-mac-address = [ 00 00 00 00 00 00 ]; |
196 | interrupts = <32 0x8 33 0x8 34 0x8>; | 211 | interrupts = <32 0x8 33 0x8 34 0x8>; |
197 | interrupt-parent = <&ipic>; | 212 | interrupt-parent = <&ipic>; |
213 | tbi-handle = <&tbi0>; | ||
198 | phy-handle = <&phy1c>; | 214 | phy-handle = <&phy1c>; |
199 | linux,network-index = <0>; | 215 | linux,network-index = <0>; |
200 | }; | 216 | }; |
@@ -211,6 +227,7 @@ | |||
211 | /* Vitesse 7385 isn't on the MDIO bus */ | 227 | /* Vitesse 7385 isn't on the MDIO bus */ |
212 | fixed-link = <1 1 1000 0 0>; | 228 | fixed-link = <1 1 1000 0 0>; |
213 | linux,network-index = <1>; | 229 | linux,network-index = <1>; |
230 | tbi-handle = <&tbi1>; | ||
214 | }; | 231 | }; |
215 | 232 | ||
216 | serial0: serial@4500 { | 233 | serial0: serial@4500 { |
diff --git a/arch/powerpc/boot/dts/mpc8349emitxgp.dts b/arch/powerpc/boot/dts/mpc8349emitxgp.dts index fa40647ee62e..c87a6015e165 100644 --- a/arch/powerpc/boot/dts/mpc8349emitxgp.dts +++ b/arch/powerpc/boot/dts/mpc8349emitxgp.dts | |||
@@ -83,7 +83,6 @@ | |||
83 | dfsrr; | 83 | dfsrr; |
84 | 84 | ||
85 | rtc@68 { | 85 | rtc@68 { |
86 | device_type = "rtc"; | ||
87 | compatible = "dallas,ds1339"; | 86 | compatible = "dallas,ds1339"; |
88 | reg = <0x68>; | 87 | reg = <0x68>; |
89 | interrupts = <18 0x8>; | 88 | interrupts = <18 0x8>; |
@@ -163,6 +162,10 @@ | |||
163 | reg = <0x1c>; | 162 | reg = <0x1c>; |
164 | device_type = "ethernet-phy"; | 163 | device_type = "ethernet-phy"; |
165 | }; | 164 | }; |
165 | tbi0: tbi-phy@11 { | ||
166 | reg = <0x11>; | ||
167 | device_type = "tbi-phy"; | ||
168 | }; | ||
166 | }; | 169 | }; |
167 | 170 | ||
168 | enet0: ethernet@24000 { | 171 | enet0: ethernet@24000 { |
@@ -174,6 +177,7 @@ | |||
174 | local-mac-address = [ 00 00 00 00 00 00 ]; | 177 | local-mac-address = [ 00 00 00 00 00 00 ]; |
175 | interrupts = <32 0x8 33 0x8 34 0x8>; | 178 | interrupts = <32 0x8 33 0x8 34 0x8>; |
176 | interrupt-parent = <&ipic>; | 179 | interrupt-parent = <&ipic>; |
180 | tbi-handle = <&tbi0>; | ||
177 | phy-handle = <&phy1c>; | 181 | phy-handle = <&phy1c>; |
178 | linux,network-index = <0>; | 182 | linux,network-index = <0>; |
179 | }; | 183 | }; |
diff --git a/arch/powerpc/boot/dts/mpc834x_mds.dts b/arch/powerpc/boot/dts/mpc834x_mds.dts index c986c541e9bb..d9adba01c09c 100644 --- a/arch/powerpc/boot/dts/mpc834x_mds.dts +++ b/arch/powerpc/boot/dts/mpc834x_mds.dts | |||
@@ -185,8 +185,25 @@ | |||
185 | reg = <0x1>; | 185 | reg = <0x1>; |
186 | device_type = "ethernet-phy"; | 186 | device_type = "ethernet-phy"; |
187 | }; | 187 | }; |
188 | tbi0: tbi-phy@11 { | ||
189 | reg = <0x11>; | ||
190 | device_type = "tbi-phy"; | ||
191 | }; | ||
192 | }; | ||
193 | |||
194 | mdio@25520 { | ||
195 | #address-cells = <1>; | ||
196 | #size-cells = <0>; | ||
197 | compatible = "fsl,gianfar-tbi"; | ||
198 | reg = <0x25520 0x20>; | ||
199 | |||
200 | tbi1: tbi-phy@11 { | ||
201 | reg = <0x11>; | ||
202 | device_type = "tbi-phy"; | ||
203 | }; | ||
188 | }; | 204 | }; |
189 | 205 | ||
206 | |||
190 | enet0: ethernet@24000 { | 207 | enet0: ethernet@24000 { |
191 | cell-index = <0>; | 208 | cell-index = <0>; |
192 | device_type = "network"; | 209 | device_type = "network"; |
@@ -196,6 +213,7 @@ | |||
196 | local-mac-address = [ 00 00 00 00 00 00 ]; | 213 | local-mac-address = [ 00 00 00 00 00 00 ]; |
197 | interrupts = <32 0x8 33 0x8 34 0x8>; | 214 | interrupts = <32 0x8 33 0x8 34 0x8>; |
198 | interrupt-parent = <&ipic>; | 215 | interrupt-parent = <&ipic>; |
216 | tbi-handle = <&tbi0>; | ||
199 | phy-handle = <&phy0>; | 217 | phy-handle = <&phy0>; |
200 | linux,network-index = <0>; | 218 | linux,network-index = <0>; |
201 | }; | 219 | }; |
@@ -209,6 +227,7 @@ | |||
209 | local-mac-address = [ 00 00 00 00 00 00 ]; | 227 | local-mac-address = [ 00 00 00 00 00 00 ]; |
210 | interrupts = <35 0x8 36 0x8 37 0x8>; | 228 | interrupts = <35 0x8 36 0x8 37 0x8>; |
211 | interrupt-parent = <&ipic>; | 229 | interrupt-parent = <&ipic>; |
230 | tbi-handle = <&tbi1>; | ||
212 | phy-handle = <&phy1>; | 231 | phy-handle = <&phy1>; |
213 | linux,network-index = <1>; | 232 | linux,network-index = <1>; |
214 | }; | 233 | }; |
diff --git a/arch/powerpc/boot/dts/mpc8377_mds.dts b/arch/powerpc/boot/dts/mpc8377_mds.dts index 0484561bd2c0..1d14d7052e6d 100644 --- a/arch/powerpc/boot/dts/mpc8377_mds.dts +++ b/arch/powerpc/boot/dts/mpc8377_mds.dts | |||
@@ -193,8 +193,25 @@ | |||
193 | reg = <0x3>; | 193 | reg = <0x3>; |
194 | device_type = "ethernet-phy"; | 194 | device_type = "ethernet-phy"; |
195 | }; | 195 | }; |
196 | tbi0: tbi-phy@11 { | ||
197 | reg = <0x11>; | ||
198 | device_type = "tbi-phy"; | ||
199 | }; | ||
200 | }; | ||
201 | |||
202 | mdio@25520 { | ||
203 | #address-cells = <1>; | ||
204 | #size-cells = <0>; | ||
205 | compatible = "fsl,gianfar-tbi"; | ||
206 | reg = <0x25520 0x20>; | ||
207 | |||
208 | tbi1: tbi-phy@11 { | ||
209 | reg = <0x11>; | ||
210 | device_type = "tbi-phy"; | ||
211 | }; | ||
196 | }; | 212 | }; |
197 | 213 | ||
214 | |||
198 | enet0: ethernet@24000 { | 215 | enet0: ethernet@24000 { |
199 | cell-index = <0>; | 216 | cell-index = <0>; |
200 | device_type = "network"; | 217 | device_type = "network"; |
@@ -205,6 +222,7 @@ | |||
205 | interrupts = <32 0x8 33 0x8 34 0x8>; | 222 | interrupts = <32 0x8 33 0x8 34 0x8>; |
206 | phy-connection-type = "mii"; | 223 | phy-connection-type = "mii"; |
207 | interrupt-parent = <&ipic>; | 224 | interrupt-parent = <&ipic>; |
225 | tbi-handle = <&tbi0>; | ||
208 | phy-handle = <&phy2>; | 226 | phy-handle = <&phy2>; |
209 | }; | 227 | }; |
210 | 228 | ||
@@ -218,6 +236,7 @@ | |||
218 | interrupts = <35 0x8 36 0x8 37 0x8>; | 236 | interrupts = <35 0x8 36 0x8 37 0x8>; |
219 | phy-connection-type = "mii"; | 237 | phy-connection-type = "mii"; |
220 | interrupt-parent = <&ipic>; | 238 | interrupt-parent = <&ipic>; |
239 | tbi-handle = <&tbi1>; | ||
221 | phy-handle = <&phy3>; | 240 | phy-handle = <&phy3>; |
222 | }; | 241 | }; |
223 | 242 | ||
diff --git a/arch/powerpc/boot/dts/mpc8377_rdb.dts b/arch/powerpc/boot/dts/mpc8377_rdb.dts index 435ef3dd022d..9413af3b9925 100644 --- a/arch/powerpc/boot/dts/mpc8377_rdb.dts +++ b/arch/powerpc/boot/dts/mpc8377_rdb.dts | |||
@@ -117,7 +117,6 @@ | |||
117 | interrupt-parent = <&ipic>; | 117 | interrupt-parent = <&ipic>; |
118 | dfsrr; | 118 | dfsrr; |
119 | rtc@68 { | 119 | rtc@68 { |
120 | device_type = "rtc"; | ||
121 | compatible = "dallas,ds1339"; | 120 | compatible = "dallas,ds1339"; |
122 | reg = <0x68>; | 121 | reg = <0x68>; |
123 | }; | 122 | }; |
@@ -211,8 +210,25 @@ | |||
211 | reg = <0x2>; | 210 | reg = <0x2>; |
212 | device_type = "ethernet-phy"; | 211 | device_type = "ethernet-phy"; |
213 | }; | 212 | }; |
213 | tbi0: tbi-phy@11 { | ||
214 | reg = <0x11>; | ||
215 | device_type = "tbi-phy"; | ||
216 | }; | ||
217 | }; | ||
218 | |||
219 | mdio@25520 { | ||
220 | #address-cells = <1>; | ||
221 | #size-cells = <0>; | ||
222 | compatible = "fsl,gianfar-tbi"; | ||
223 | reg = <0x25520 0x20>; | ||
224 | |||
225 | tbi1: tbi-phy@11 { | ||
226 | reg = <0x11>; | ||
227 | device_type = "tbi-phy"; | ||
228 | }; | ||
214 | }; | 229 | }; |
215 | 230 | ||
231 | |||
216 | enet0: ethernet@24000 { | 232 | enet0: ethernet@24000 { |
217 | cell-index = <0>; | 233 | cell-index = <0>; |
218 | device_type = "network"; | 234 | device_type = "network"; |
@@ -223,6 +239,7 @@ | |||
223 | interrupts = <32 0x8 33 0x8 34 0x8>; | 239 | interrupts = <32 0x8 33 0x8 34 0x8>; |
224 | phy-connection-type = "mii"; | 240 | phy-connection-type = "mii"; |
225 | interrupt-parent = <&ipic>; | 241 | interrupt-parent = <&ipic>; |
242 | tbi-handle = <&tbi0>; | ||
226 | phy-handle = <&phy2>; | 243 | phy-handle = <&phy2>; |
227 | }; | 244 | }; |
228 | 245 | ||
@@ -237,6 +254,7 @@ | |||
237 | phy-connection-type = "mii"; | 254 | phy-connection-type = "mii"; |
238 | interrupt-parent = <&ipic>; | 255 | interrupt-parent = <&ipic>; |
239 | fixed-link = <1 1 1000 0 0>; | 256 | fixed-link = <1 1 1000 0 0>; |
257 | tbi-handle = <&tbi1>; | ||
240 | }; | 258 | }; |
241 | 259 | ||
242 | serial0: serial@4500 { | 260 | serial0: serial@4500 { |
diff --git a/arch/powerpc/boot/dts/mpc8378_mds.dts b/arch/powerpc/boot/dts/mpc8378_mds.dts index 67a08d2e2ff2..b85fc02682d2 100644 --- a/arch/powerpc/boot/dts/mpc8378_mds.dts +++ b/arch/powerpc/boot/dts/mpc8378_mds.dts | |||
@@ -232,8 +232,25 @@ | |||
232 | reg = <0x3>; | 232 | reg = <0x3>; |
233 | device_type = "ethernet-phy"; | 233 | device_type = "ethernet-phy"; |
234 | }; | 234 | }; |
235 | tbi0: tbi-phy@11 { | ||
236 | reg = <0x11>; | ||
237 | device_type = "tbi-phy"; | ||
238 | }; | ||
239 | }; | ||
240 | |||
241 | mdio@25520 { | ||
242 | #address-cells = <1>; | ||
243 | #size-cells = <0>; | ||
244 | compatible = "fsl,gianfar-tbi"; | ||
245 | reg = <0x25520 0x20>; | ||
246 | |||
247 | tbi1: tbi-phy@11 { | ||
248 | reg = <0x11>; | ||
249 | device_type = "tbi-phy"; | ||
250 | }; | ||
235 | }; | 251 | }; |
236 | 252 | ||
253 | |||
237 | enet0: ethernet@24000 { | 254 | enet0: ethernet@24000 { |
238 | cell-index = <0>; | 255 | cell-index = <0>; |
239 | device_type = "network"; | 256 | device_type = "network"; |
@@ -244,6 +261,7 @@ | |||
244 | interrupts = <32 0x8 33 0x8 34 0x8>; | 261 | interrupts = <32 0x8 33 0x8 34 0x8>; |
245 | phy-connection-type = "mii"; | 262 | phy-connection-type = "mii"; |
246 | interrupt-parent = <&ipic>; | 263 | interrupt-parent = <&ipic>; |
264 | tbi-handle = <&tbi0>; | ||
247 | phy-handle = <&phy2>; | 265 | phy-handle = <&phy2>; |
248 | }; | 266 | }; |
249 | 267 | ||
@@ -257,6 +275,7 @@ | |||
257 | interrupts = <35 0x8 36 0x8 37 0x8>; | 275 | interrupts = <35 0x8 36 0x8 37 0x8>; |
258 | phy-connection-type = "mii"; | 276 | phy-connection-type = "mii"; |
259 | interrupt-parent = <&ipic>; | 277 | interrupt-parent = <&ipic>; |
278 | tbi-handle = <&tbi1>; | ||
260 | phy-handle = <&phy3>; | 279 | phy-handle = <&phy3>; |
261 | }; | 280 | }; |
262 | 281 | ||
diff --git a/arch/powerpc/boot/dts/mpc8378_rdb.dts b/arch/powerpc/boot/dts/mpc8378_rdb.dts index b11e68f56a06..23c10ce22c2c 100644 --- a/arch/powerpc/boot/dts/mpc8378_rdb.dts +++ b/arch/powerpc/boot/dts/mpc8378_rdb.dts | |||
@@ -117,7 +117,6 @@ | |||
117 | interrupt-parent = <&ipic>; | 117 | interrupt-parent = <&ipic>; |
118 | dfsrr; | 118 | dfsrr; |
119 | rtc@68 { | 119 | rtc@68 { |
120 | device_type = "rtc"; | ||
121 | compatible = "dallas,ds1339"; | 120 | compatible = "dallas,ds1339"; |
122 | reg = <0x68>; | 121 | reg = <0x68>; |
123 | }; | 122 | }; |
@@ -211,8 +210,25 @@ | |||
211 | reg = <0x2>; | 210 | reg = <0x2>; |
212 | device_type = "ethernet-phy"; | 211 | device_type = "ethernet-phy"; |
213 | }; | 212 | }; |
213 | tbi0: tbi-phy@11 { | ||
214 | reg = <0x11>; | ||
215 | device_type = "tbi-phy"; | ||
216 | }; | ||
217 | }; | ||
218 | |||
219 | mdio@25520 { | ||
220 | #address-cells = <1>; | ||
221 | #size-cells = <0>; | ||
222 | compatible = "fsl,gianfar-tbi"; | ||
223 | reg = <0x25520 0x20>; | ||
224 | |||
225 | tbi1: tbi-phy@11 { | ||
226 | reg = <0x11>; | ||
227 | device_type = "tbi-phy"; | ||
228 | }; | ||
214 | }; | 229 | }; |
215 | 230 | ||
231 | |||
216 | enet0: ethernet@24000 { | 232 | enet0: ethernet@24000 { |
217 | cell-index = <0>; | 233 | cell-index = <0>; |
218 | device_type = "network"; | 234 | device_type = "network"; |
diff --git a/arch/powerpc/boot/dts/mpc8379_mds.dts b/arch/powerpc/boot/dts/mpc8379_mds.dts index 323370a2b5ff..acf06c438dbf 100644 --- a/arch/powerpc/boot/dts/mpc8379_mds.dts +++ b/arch/powerpc/boot/dts/mpc8379_mds.dts | |||
@@ -232,6 +232,22 @@ | |||
232 | reg = <0x3>; | 232 | reg = <0x3>; |
233 | device_type = "ethernet-phy"; | 233 | device_type = "ethernet-phy"; |
234 | }; | 234 | }; |
235 | tbi0: tbi-phy@11 { | ||
236 | reg = <0x11>; | ||
237 | device_type = "tbi-phy"; | ||
238 | }; | ||
239 | }; | ||
240 | |||
241 | mdio@25520 { | ||
242 | #address-cells = <1>; | ||
243 | #size-cells = <0>; | ||
244 | compatible = "fsl,gianfar-tbi"; | ||
245 | reg = <0x25520 0x20>; | ||
246 | |||
247 | tbi1: tbi-phy@11 { | ||
248 | reg = <0x11>; | ||
249 | device_type = "tbi-phy"; | ||
250 | }; | ||
235 | }; | 251 | }; |
236 | 252 | ||
237 | enet0: ethernet@24000 { | 253 | enet0: ethernet@24000 { |
@@ -244,6 +260,7 @@ | |||
244 | interrupts = <32 0x8 33 0x8 34 0x8>; | 260 | interrupts = <32 0x8 33 0x8 34 0x8>; |
245 | phy-connection-type = "mii"; | 261 | phy-connection-type = "mii"; |
246 | interrupt-parent = <&ipic>; | 262 | interrupt-parent = <&ipic>; |
263 | tbi-handle = <&tbi0>; | ||
247 | phy-handle = <&phy2>; | 264 | phy-handle = <&phy2>; |
248 | }; | 265 | }; |
249 | 266 | ||
@@ -257,6 +274,7 @@ | |||
257 | interrupts = <35 0x8 36 0x8 37 0x8>; | 274 | interrupts = <35 0x8 36 0x8 37 0x8>; |
258 | phy-connection-type = "mii"; | 275 | phy-connection-type = "mii"; |
259 | interrupt-parent = <&ipic>; | 276 | interrupt-parent = <&ipic>; |
277 | tbi-handle = <&tbi1>; | ||
260 | phy-handle = <&phy3>; | 278 | phy-handle = <&phy3>; |
261 | }; | 279 | }; |
262 | 280 | ||
diff --git a/arch/powerpc/boot/dts/mpc8379_rdb.dts b/arch/powerpc/boot/dts/mpc8379_rdb.dts index 337af6ea26d3..72cdc3c4c7e3 100644 --- a/arch/powerpc/boot/dts/mpc8379_rdb.dts +++ b/arch/powerpc/boot/dts/mpc8379_rdb.dts | |||
@@ -117,7 +117,6 @@ | |||
117 | interrupt-parent = <&ipic>; | 117 | interrupt-parent = <&ipic>; |
118 | dfsrr; | 118 | dfsrr; |
119 | rtc@68 { | 119 | rtc@68 { |
120 | device_type = "rtc"; | ||
121 | compatible = "dallas,ds1339"; | 120 | compatible = "dallas,ds1339"; |
122 | reg = <0x68>; | 121 | reg = <0x68>; |
123 | }; | 122 | }; |
@@ -211,6 +210,22 @@ | |||
211 | reg = <0x2>; | 210 | reg = <0x2>; |
212 | device_type = "ethernet-phy"; | 211 | device_type = "ethernet-phy"; |
213 | }; | 212 | }; |
213 | tbi0: tbi-phy@11 { | ||
214 | reg = <0x11>; | ||
215 | device_type = "tbi-phy"; | ||
216 | }; | ||
217 | }; | ||
218 | |||
219 | mdio@25520 { | ||
220 | #address-cells = <1>; | ||
221 | #size-cells = <0>; | ||
222 | compatible = "fsl,gianfar-tbi"; | ||
223 | reg = <0x25520 0x20>; | ||
224 | |||
225 | tbi1: tbi-phy@11 { | ||
226 | reg = <0x11>; | ||
227 | device_type = "tbi-phy"; | ||
228 | }; | ||
214 | }; | 229 | }; |
215 | 230 | ||
216 | enet0: ethernet@24000 { | 231 | enet0: ethernet@24000 { |
@@ -223,6 +238,7 @@ | |||
223 | interrupts = <32 0x8 33 0x8 34 0x8>; | 238 | interrupts = <32 0x8 33 0x8 34 0x8>; |
224 | phy-connection-type = "mii"; | 239 | phy-connection-type = "mii"; |
225 | interrupt-parent = <&ipic>; | 240 | interrupt-parent = <&ipic>; |
241 | tbi-handle = <&tbi0>; | ||
226 | phy-handle = <&phy2>; | 242 | phy-handle = <&phy2>; |
227 | }; | 243 | }; |
228 | 244 | ||
@@ -237,6 +253,7 @@ | |||
237 | phy-connection-type = "mii"; | 253 | phy-connection-type = "mii"; |
238 | interrupt-parent = <&ipic>; | 254 | interrupt-parent = <&ipic>; |
239 | fixed-link = <1 1 1000 0 0>; | 255 | fixed-link = <1 1 1000 0 0>; |
256 | tbi-handle = <&tbi1>; | ||
240 | }; | 257 | }; |
241 | 258 | ||
242 | serial0: serial@4500 { | 259 | serial0: serial@4500 { |
diff --git a/arch/powerpc/boot/dts/mpc8536ds.dts b/arch/powerpc/boot/dts/mpc8536ds.dts index 35db1e5440c7..3c905df1812c 100644 --- a/arch/powerpc/boot/dts/mpc8536ds.dts +++ b/arch/powerpc/boot/dts/mpc8536ds.dts | |||
@@ -155,6 +155,22 @@ | |||
155 | reg = <1>; | 155 | reg = <1>; |
156 | device_type = "ethernet-phy"; | 156 | device_type = "ethernet-phy"; |
157 | }; | 157 | }; |
158 | tbi0: tbi-phy@11 { | ||
159 | reg = <0x11>; | ||
160 | device_type = "tbi-phy"; | ||
161 | }; | ||
162 | }; | ||
163 | |||
164 | mdio@26520 { | ||
165 | #address-cells = <1>; | ||
166 | #size-cells = <0>; | ||
167 | compatible = "fsl,gianfar-tbi"; | ||
168 | reg = <0x26520 0x20>; | ||
169 | |||
170 | tbi1: tbi-phy@11 { | ||
171 | reg = <0x11>; | ||
172 | device_type = "tbi-phy"; | ||
173 | }; | ||
158 | }; | 174 | }; |
159 | 175 | ||
160 | usb@22000 { | 176 | usb@22000 { |
@@ -186,6 +202,7 @@ | |||
186 | local-mac-address = [ 00 00 00 00 00 00 ]; | 202 | local-mac-address = [ 00 00 00 00 00 00 ]; |
187 | interrupts = <29 2 30 2 34 2>; | 203 | interrupts = <29 2 30 2 34 2>; |
188 | interrupt-parent = <&mpic>; | 204 | interrupt-parent = <&mpic>; |
205 | tbi-handle = <&tbi0>; | ||
189 | phy-handle = <&phy1>; | 206 | phy-handle = <&phy1>; |
190 | phy-connection-type = "rgmii-id"; | 207 | phy-connection-type = "rgmii-id"; |
191 | }; | 208 | }; |
@@ -199,6 +216,7 @@ | |||
199 | local-mac-address = [ 00 00 00 00 00 00 ]; | 216 | local-mac-address = [ 00 00 00 00 00 00 ]; |
200 | interrupts = <31 2 32 2 33 2>; | 217 | interrupts = <31 2 32 2 33 2>; |
201 | interrupt-parent = <&mpic>; | 218 | interrupt-parent = <&mpic>; |
219 | tbi-handle = <&tbi1>; | ||
202 | phy-handle = <&phy0>; | 220 | phy-handle = <&phy0>; |
203 | phy-connection-type = "rgmii-id"; | 221 | phy-connection-type = "rgmii-id"; |
204 | }; | 222 | }; |
diff --git a/arch/powerpc/boot/dts/mpc8540ads.dts b/arch/powerpc/boot/dts/mpc8540ads.dts index 9568bfaff8f7..79570ffe41b9 100644 --- a/arch/powerpc/boot/dts/mpc8540ads.dts +++ b/arch/powerpc/boot/dts/mpc8540ads.dts | |||
@@ -150,6 +150,34 @@ | |||
150 | reg = <0x3>; | 150 | reg = <0x3>; |
151 | device_type = "ethernet-phy"; | 151 | device_type = "ethernet-phy"; |
152 | }; | 152 | }; |
153 | tbi0: tbi-phy@11 { | ||
154 | reg = <0x11>; | ||
155 | device_type = "tbi-phy"; | ||
156 | }; | ||
157 | }; | ||
158 | |||
159 | mdio@25520 { | ||
160 | #address-cells = <1>; | ||
161 | #size-cells = <0>; | ||
162 | compatible = "fsl,gianfar-tbi"; | ||
163 | reg = <0x25520 0x20>; | ||
164 | |||
165 | tbi1: tbi-phy@11 { | ||
166 | reg = <0x11>; | ||
167 | device_type = "tbi-phy"; | ||
168 | }; | ||
169 | }; | ||
170 | |||
171 | mdio@26520 { | ||
172 | #address-cells = <1>; | ||
173 | #size-cells = <0>; | ||
174 | compatible = "fsl,gianfar-tbi"; | ||
175 | reg = <0x26520 0x20>; | ||
176 | |||
177 | tbi2: tbi-phy@11 { | ||
178 | reg = <0x11>; | ||
179 | device_type = "tbi-phy"; | ||
180 | }; | ||
153 | }; | 181 | }; |
154 | 182 | ||
155 | enet0: ethernet@24000 { | 183 | enet0: ethernet@24000 { |
@@ -161,6 +189,7 @@ | |||
161 | local-mac-address = [ 00 00 00 00 00 00 ]; | 189 | local-mac-address = [ 00 00 00 00 00 00 ]; |
162 | interrupts = <29 2 30 2 34 2>; | 190 | interrupts = <29 2 30 2 34 2>; |
163 | interrupt-parent = <&mpic>; | 191 | interrupt-parent = <&mpic>; |
192 | tbi-handle = <&tbi0>; | ||
164 | phy-handle = <&phy0>; | 193 | phy-handle = <&phy0>; |
165 | }; | 194 | }; |
166 | 195 | ||
@@ -173,6 +202,7 @@ | |||
173 | local-mac-address = [ 00 00 00 00 00 00 ]; | 202 | local-mac-address = [ 00 00 00 00 00 00 ]; |
174 | interrupts = <35 2 36 2 40 2>; | 203 | interrupts = <35 2 36 2 40 2>; |
175 | interrupt-parent = <&mpic>; | 204 | interrupt-parent = <&mpic>; |
205 | tbi-handle = <&tbi1>; | ||
176 | phy-handle = <&phy1>; | 206 | phy-handle = <&phy1>; |
177 | }; | 207 | }; |
178 | 208 | ||
@@ -185,6 +215,7 @@ | |||
185 | local-mac-address = [ 00 00 00 00 00 00 ]; | 215 | local-mac-address = [ 00 00 00 00 00 00 ]; |
186 | interrupts = <41 2>; | 216 | interrupts = <41 2>; |
187 | interrupt-parent = <&mpic>; | 217 | interrupt-parent = <&mpic>; |
218 | tbi-handle = <&tbi2>; | ||
188 | phy-handle = <&phy3>; | 219 | phy-handle = <&phy3>; |
189 | }; | 220 | }; |
190 | 221 | ||
diff --git a/arch/powerpc/boot/dts/mpc8541cds.dts b/arch/powerpc/boot/dts/mpc8541cds.dts index 6480f4fd96e0..221036a8ce23 100644 --- a/arch/powerpc/boot/dts/mpc8541cds.dts +++ b/arch/powerpc/boot/dts/mpc8541cds.dts | |||
@@ -144,6 +144,22 @@ | |||
144 | reg = <0x1>; | 144 | reg = <0x1>; |
145 | device_type = "ethernet-phy"; | 145 | device_type = "ethernet-phy"; |
146 | }; | 146 | }; |
147 | tbi0: tbi-phy@11 { | ||
148 | reg = <0x11>; | ||
149 | device_type = "tbi-phy"; | ||
150 | }; | ||
151 | }; | ||
152 | |||
153 | mdio@25520 { | ||
154 | #address-cells = <1>; | ||
155 | #size-cells = <0>; | ||
156 | compatible = "fsl,gianfar-tbi"; | ||
157 | reg = <0x25520 0x20>; | ||
158 | |||
159 | tbi1: tbi-phy@11 { | ||
160 | reg = <0x11>; | ||
161 | device_type = "tbi-phy"; | ||
162 | }; | ||
147 | }; | 163 | }; |
148 | 164 | ||
149 | enet0: ethernet@24000 { | 165 | enet0: ethernet@24000 { |
@@ -155,6 +171,7 @@ | |||
155 | local-mac-address = [ 00 00 00 00 00 00 ]; | 171 | local-mac-address = [ 00 00 00 00 00 00 ]; |
156 | interrupts = <29 2 30 2 34 2>; | 172 | interrupts = <29 2 30 2 34 2>; |
157 | interrupt-parent = <&mpic>; | 173 | interrupt-parent = <&mpic>; |
174 | tbi-handle = <&tbi0>; | ||
158 | phy-handle = <&phy0>; | 175 | phy-handle = <&phy0>; |
159 | }; | 176 | }; |
160 | 177 | ||
@@ -167,6 +184,7 @@ | |||
167 | local-mac-address = [ 00 00 00 00 00 00 ]; | 184 | local-mac-address = [ 00 00 00 00 00 00 ]; |
168 | interrupts = <35 2 36 2 40 2>; | 185 | interrupts = <35 2 36 2 40 2>; |
169 | interrupt-parent = <&mpic>; | 186 | interrupt-parent = <&mpic>; |
187 | tbi-handle = <&tbi1>; | ||
170 | phy-handle = <&phy1>; | 188 | phy-handle = <&phy1>; |
171 | }; | 189 | }; |
172 | 190 | ||
diff --git a/arch/powerpc/boot/dts/mpc8544ds.dts b/arch/powerpc/boot/dts/mpc8544ds.dts index f1fb20737e3e..b9da42105066 100644 --- a/arch/powerpc/boot/dts/mpc8544ds.dts +++ b/arch/powerpc/boot/dts/mpc8544ds.dts | |||
@@ -116,8 +116,26 @@ | |||
116 | reg = <0x1>; | 116 | reg = <0x1>; |
117 | device_type = "ethernet-phy"; | 117 | device_type = "ethernet-phy"; |
118 | }; | 118 | }; |
119 | |||
120 | tbi0: tbi-phy@11 { | ||
121 | reg = <0x11>; | ||
122 | device_type = "tbi-phy"; | ||
123 | }; | ||
119 | }; | 124 | }; |
120 | 125 | ||
126 | mdio@26520 { | ||
127 | #address-cells = <1>; | ||
128 | #size-cells = <0>; | ||
129 | compatible = "fsl,gianfar-tbi"; | ||
130 | reg = <0x26520 0x20>; | ||
131 | |||
132 | tbi1: tbi-phy@11 { | ||
133 | reg = <0x11>; | ||
134 | device_type = "tbi-phy"; | ||
135 | }; | ||
136 | }; | ||
137 | |||
138 | |||
121 | dma@21300 { | 139 | dma@21300 { |
122 | #address-cells = <1>; | 140 | #address-cells = <1>; |
123 | #size-cells = <1>; | 141 | #size-cells = <1>; |
@@ -169,6 +187,7 @@ | |||
169 | interrupts = <29 2 30 2 34 2>; | 187 | interrupts = <29 2 30 2 34 2>; |
170 | interrupt-parent = <&mpic>; | 188 | interrupt-parent = <&mpic>; |
171 | phy-handle = <&phy0>; | 189 | phy-handle = <&phy0>; |
190 | tbi-handle = <&tbi0>; | ||
172 | phy-connection-type = "rgmii-id"; | 191 | phy-connection-type = "rgmii-id"; |
173 | }; | 192 | }; |
174 | 193 | ||
@@ -182,6 +201,7 @@ | |||
182 | interrupts = <31 2 32 2 33 2>; | 201 | interrupts = <31 2 32 2 33 2>; |
183 | interrupt-parent = <&mpic>; | 202 | interrupt-parent = <&mpic>; |
184 | phy-handle = <&phy1>; | 203 | phy-handle = <&phy1>; |
204 | tbi-handle = <&tbi1>; | ||
185 | phy-connection-type = "rgmii-id"; | 205 | phy-connection-type = "rgmii-id"; |
186 | }; | 206 | }; |
187 | 207 | ||
diff --git a/arch/powerpc/boot/dts/mpc8548cds.dts b/arch/powerpc/boot/dts/mpc8548cds.dts index 431b496270dc..df774a7088ff 100644 --- a/arch/powerpc/boot/dts/mpc8548cds.dts +++ b/arch/powerpc/boot/dts/mpc8548cds.dts | |||
@@ -172,6 +172,46 @@ | |||
172 | reg = <0x3>; | 172 | reg = <0x3>; |
173 | device_type = "ethernet-phy"; | 173 | device_type = "ethernet-phy"; |
174 | }; | 174 | }; |
175 | tbi0: tbi-phy@11 { | ||
176 | reg = <0x11>; | ||
177 | device_type = "tbi-phy"; | ||
178 | }; | ||
179 | }; | ||
180 | |||
181 | mdio@25520 { | ||
182 | #address-cells = <1>; | ||
183 | #size-cells = <0>; | ||
184 | compatible = "fsl,gianfar-tbi"; | ||
185 | reg = <0x25520 0x20>; | ||
186 | |||
187 | tbi1: tbi-phy@11 { | ||
188 | reg = <0x11>; | ||
189 | device_type = "tbi-phy"; | ||
190 | }; | ||
191 | }; | ||
192 | |||
193 | mdio@26520 { | ||
194 | #address-cells = <1>; | ||
195 | #size-cells = <0>; | ||
196 | compatible = "fsl,gianfar-tbi"; | ||
197 | reg = <0x26520 0x20>; | ||
198 | |||
199 | tbi2: tbi-phy@11 { | ||
200 | reg = <0x11>; | ||
201 | device_type = "tbi-phy"; | ||
202 | }; | ||
203 | }; | ||
204 | |||
205 | mdio@27520 { | ||
206 | #address-cells = <1>; | ||
207 | #size-cells = <0>; | ||
208 | compatible = "fsl,gianfar-tbi"; | ||
209 | reg = <0x27520 0x20>; | ||
210 | |||
211 | tbi3: tbi-phy@11 { | ||
212 | reg = <0x11>; | ||
213 | device_type = "tbi-phy"; | ||
214 | }; | ||
175 | }; | 215 | }; |
176 | 216 | ||
177 | enet0: ethernet@24000 { | 217 | enet0: ethernet@24000 { |
@@ -183,6 +223,7 @@ | |||
183 | local-mac-address = [ 00 00 00 00 00 00 ]; | 223 | local-mac-address = [ 00 00 00 00 00 00 ]; |
184 | interrupts = <29 2 30 2 34 2>; | 224 | interrupts = <29 2 30 2 34 2>; |
185 | interrupt-parent = <&mpic>; | 225 | interrupt-parent = <&mpic>; |
226 | tbi-handle = <&tbi0>; | ||
186 | phy-handle = <&phy0>; | 227 | phy-handle = <&phy0>; |
187 | }; | 228 | }; |
188 | 229 | ||
@@ -195,6 +236,7 @@ | |||
195 | local-mac-address = [ 00 00 00 00 00 00 ]; | 236 | local-mac-address = [ 00 00 00 00 00 00 ]; |
196 | interrupts = <35 2 36 2 40 2>; | 237 | interrupts = <35 2 36 2 40 2>; |
197 | interrupt-parent = <&mpic>; | 238 | interrupt-parent = <&mpic>; |
239 | tbi-handle = <&tbi1>; | ||
198 | phy-handle = <&phy1>; | 240 | phy-handle = <&phy1>; |
199 | }; | 241 | }; |
200 | 242 | ||
@@ -208,6 +250,7 @@ | |||
208 | local-mac-address = [ 00 00 00 00 00 00 ]; | 250 | local-mac-address = [ 00 00 00 00 00 00 ]; |
209 | interrupts = <31 2 32 2 33 2>; | 251 | interrupts = <31 2 32 2 33 2>; |
210 | interrupt-parent = <&mpic>; | 252 | interrupt-parent = <&mpic>; |
253 | tbi-handle = <&tbi2>; | ||
211 | phy-handle = <&phy2>; | 254 | phy-handle = <&phy2>; |
212 | }; | 255 | }; |
213 | 256 | ||
@@ -220,6 +263,7 @@ | |||
220 | local-mac-address = [ 00 00 00 00 00 00 ]; | 263 | local-mac-address = [ 00 00 00 00 00 00 ]; |
221 | interrupts = <37 2 38 2 39 2>; | 264 | interrupts = <37 2 38 2 39 2>; |
222 | interrupt-parent = <&mpic>; | 265 | interrupt-parent = <&mpic>; |
266 | tbi-handle = <&tbi3>; | ||
223 | phy-handle = <&phy3>; | 267 | phy-handle = <&phy3>; |
224 | }; | 268 | }; |
225 | */ | 269 | */ |
diff --git a/arch/powerpc/boot/dts/mpc8555cds.dts b/arch/powerpc/boot/dts/mpc8555cds.dts index d833a5c4f476..053b01e1c93b 100644 --- a/arch/powerpc/boot/dts/mpc8555cds.dts +++ b/arch/powerpc/boot/dts/mpc8555cds.dts | |||
@@ -144,6 +144,22 @@ | |||
144 | reg = <0x1>; | 144 | reg = <0x1>; |
145 | device_type = "ethernet-phy"; | 145 | device_type = "ethernet-phy"; |
146 | }; | 146 | }; |
147 | tbi0: tbi-phy@11 { | ||
148 | reg = <0x11>; | ||
149 | device_type = "tbi-phy"; | ||
150 | }; | ||
151 | }; | ||
152 | |||
153 | mdio@25520 { | ||
154 | #address-cells = <1>; | ||
155 | #size-cells = <0>; | ||
156 | compatible = "fsl,gianfar-tbi"; | ||
157 | reg = <0x25520 0x20>; | ||
158 | |||
159 | tbi1: tbi-phy@11 { | ||
160 | reg = <0x11>; | ||
161 | device_type = "tbi-phy"; | ||
162 | }; | ||
147 | }; | 163 | }; |
148 | 164 | ||
149 | enet0: ethernet@24000 { | 165 | enet0: ethernet@24000 { |
@@ -155,6 +171,7 @@ | |||
155 | local-mac-address = [ 00 00 00 00 00 00 ]; | 171 | local-mac-address = [ 00 00 00 00 00 00 ]; |
156 | interrupts = <29 2 30 2 34 2>; | 172 | interrupts = <29 2 30 2 34 2>; |
157 | interrupt-parent = <&mpic>; | 173 | interrupt-parent = <&mpic>; |
174 | tbi-handle = <&tbi0>; | ||
158 | phy-handle = <&phy0>; | 175 | phy-handle = <&phy0>; |
159 | }; | 176 | }; |
160 | 177 | ||
@@ -167,6 +184,7 @@ | |||
167 | local-mac-address = [ 00 00 00 00 00 00 ]; | 184 | local-mac-address = [ 00 00 00 00 00 00 ]; |
168 | interrupts = <35 2 36 2 40 2>; | 185 | interrupts = <35 2 36 2 40 2>; |
169 | interrupt-parent = <&mpic>; | 186 | interrupt-parent = <&mpic>; |
187 | tbi-handle = <&tbi1>; | ||
170 | phy-handle = <&phy1>; | 188 | phy-handle = <&phy1>; |
171 | }; | 189 | }; |
172 | 190 | ||
diff --git a/arch/powerpc/boot/dts/mpc8560ads.dts b/arch/powerpc/boot/dts/mpc8560ads.dts index 4d1f2f284094..11b1bcbe14ce 100644 --- a/arch/powerpc/boot/dts/mpc8560ads.dts +++ b/arch/powerpc/boot/dts/mpc8560ads.dts | |||
@@ -145,6 +145,22 @@ | |||
145 | reg = <0x3>; | 145 | reg = <0x3>; |
146 | device_type = "ethernet-phy"; | 146 | device_type = "ethernet-phy"; |
147 | }; | 147 | }; |
148 | tbi0: tbi-phy@11 { | ||
149 | reg = <0x11>; | ||
150 | device_type = "tbi-phy"; | ||
151 | }; | ||
152 | }; | ||
153 | |||
154 | mdio@25520 { | ||
155 | #address-cells = <1>; | ||
156 | #size-cells = <0>; | ||
157 | compatible = "fsl,gianfar-tbi"; | ||
158 | reg = <0x25520 0x20>; | ||
159 | |||
160 | tbi1: tbi-phy@11 { | ||
161 | reg = <0x11>; | ||
162 | device_type = "tbi-phy"; | ||
163 | }; | ||
148 | }; | 164 | }; |
149 | 165 | ||
150 | enet0: ethernet@24000 { | 166 | enet0: ethernet@24000 { |
@@ -156,6 +172,7 @@ | |||
156 | local-mac-address = [ 00 00 00 00 00 00 ]; | 172 | local-mac-address = [ 00 00 00 00 00 00 ]; |
157 | interrupts = <29 2 30 2 34 2>; | 173 | interrupts = <29 2 30 2 34 2>; |
158 | interrupt-parent = <&mpic>; | 174 | interrupt-parent = <&mpic>; |
175 | tbi-handle = <&tbi0>; | ||
159 | phy-handle = <&phy0>; | 176 | phy-handle = <&phy0>; |
160 | }; | 177 | }; |
161 | 178 | ||
@@ -168,6 +185,7 @@ | |||
168 | local-mac-address = [ 00 00 00 00 00 00 ]; | 185 | local-mac-address = [ 00 00 00 00 00 00 ]; |
169 | interrupts = <35 2 36 2 40 2>; | 186 | interrupts = <35 2 36 2 40 2>; |
170 | interrupt-parent = <&mpic>; | 187 | interrupt-parent = <&mpic>; |
188 | tbi-handle = <&tbi1>; | ||
171 | phy-handle = <&phy1>; | 189 | phy-handle = <&phy1>; |
172 | }; | 190 | }; |
173 | 191 | ||
diff --git a/arch/powerpc/boot/dts/mpc8568mds.dts b/arch/powerpc/boot/dts/mpc8568mds.dts index c80158f7741d..1955bd9e113d 100644 --- a/arch/powerpc/boot/dts/mpc8568mds.dts +++ b/arch/powerpc/boot/dts/mpc8568mds.dts | |||
@@ -179,6 +179,22 @@ | |||
179 | reg = <0x3>; | 179 | reg = <0x3>; |
180 | device_type = "ethernet-phy"; | 180 | device_type = "ethernet-phy"; |
181 | }; | 181 | }; |
182 | tbi0: tbi-phy@11 { | ||
183 | reg = <0x11>; | ||
184 | device_type = "tbi-phy"; | ||
185 | }; | ||
186 | }; | ||
187 | |||
188 | mdio@25520 { | ||
189 | #address-cells = <1>; | ||
190 | #size-cells = <0>; | ||
191 | compatible = "fsl,gianfar-tbi"; | ||
192 | reg = <0x25520 0x20>; | ||
193 | |||
194 | tbi1: tbi-phy@11 { | ||
195 | reg = <0x11>; | ||
196 | device_type = "tbi-phy"; | ||
197 | }; | ||
182 | }; | 198 | }; |
183 | 199 | ||
184 | enet0: ethernet@24000 { | 200 | enet0: ethernet@24000 { |
@@ -190,6 +206,7 @@ | |||
190 | local-mac-address = [ 00 00 00 00 00 00 ]; | 206 | local-mac-address = [ 00 00 00 00 00 00 ]; |
191 | interrupts = <29 2 30 2 34 2>; | 207 | interrupts = <29 2 30 2 34 2>; |
192 | interrupt-parent = <&mpic>; | 208 | interrupt-parent = <&mpic>; |
209 | tbi-handle = <&tbi0>; | ||
193 | phy-handle = <&phy2>; | 210 | phy-handle = <&phy2>; |
194 | }; | 211 | }; |
195 | 212 | ||
@@ -202,6 +219,7 @@ | |||
202 | local-mac-address = [ 00 00 00 00 00 00 ]; | 219 | local-mac-address = [ 00 00 00 00 00 00 ]; |
203 | interrupts = <35 2 36 2 40 2>; | 220 | interrupts = <35 2 36 2 40 2>; |
204 | interrupt-parent = <&mpic>; | 221 | interrupt-parent = <&mpic>; |
222 | tbi-handle = <&tbi1>; | ||
205 | phy-handle = <&phy3>; | 223 | phy-handle = <&phy3>; |
206 | }; | 224 | }; |
207 | 225 | ||
diff --git a/arch/powerpc/boot/dts/mpc8572ds.dts b/arch/powerpc/boot/dts/mpc8572ds.dts index 5c69b2fafd32..21459e161d02 100644 --- a/arch/powerpc/boot/dts/mpc8572ds.dts +++ b/arch/powerpc/boot/dts/mpc8572ds.dts | |||
@@ -63,6 +63,119 @@ | |||
63 | device_type = "memory"; | 63 | device_type = "memory"; |
64 | }; | 64 | }; |
65 | 65 | ||
66 | localbus@ffe05000 { | ||
67 | #address-cells = <2>; | ||
68 | #size-cells = <1>; | ||
69 | compatible = "fsl,mpc8572-elbc", "fsl,elbc", "simple-bus"; | ||
70 | reg = <0 0xffe05000 0 0x1000>; | ||
71 | interrupts = <19 2>; | ||
72 | interrupt-parent = <&mpic>; | ||
73 | |||
74 | ranges = <0x0 0x0 0x0 0xe8000000 0x08000000 | ||
75 | 0x1 0x0 0x0 0xe0000000 0x08000000 | ||
76 | 0x2 0x0 0x0 0xffa00000 0x00040000 | ||
77 | 0x3 0x0 0x0 0xffdf0000 0x00008000 | ||
78 | 0x4 0x0 0x0 0xffa40000 0x00040000 | ||
79 | 0x5 0x0 0x0 0xffa80000 0x00040000 | ||
80 | 0x6 0x0 0x0 0xffac0000 0x00040000>; | ||
81 | |||
82 | nor@0,0 { | ||
83 | #address-cells = <1>; | ||
84 | #size-cells = <1>; | ||
85 | compatible = "cfi-flash"; | ||
86 | reg = <0x0 0x0 0x8000000>; | ||
87 | bank-width = <2>; | ||
88 | device-width = <1>; | ||
89 | |||
90 | ramdisk@0 { | ||
91 | reg = <0x0 0x03000000>; | ||
92 | readl-only; | ||
93 | }; | ||
94 | |||
95 | diagnostic@3000000 { | ||
96 | reg = <0x03000000 0x00e00000>; | ||
97 | read-only; | ||
98 | }; | ||
99 | |||
100 | dink@3e00000 { | ||
101 | reg = <0x03e00000 0x00200000>; | ||
102 | read-only; | ||
103 | }; | ||
104 | |||
105 | kernel@4000000 { | ||
106 | reg = <0x04000000 0x00400000>; | ||
107 | read-only; | ||
108 | }; | ||
109 | |||
110 | jffs2@4400000 { | ||
111 | reg = <0x04400000 0x03b00000>; | ||
112 | }; | ||
113 | |||
114 | dtb@7f00000 { | ||
115 | reg = <0x07f00000 0x00080000>; | ||
116 | read-only; | ||
117 | }; | ||
118 | |||
119 | u-boot@7f80000 { | ||
120 | reg = <0x07f80000 0x00080000>; | ||
121 | read-only; | ||
122 | }; | ||
123 | }; | ||
124 | |||
125 | nand@2,0 { | ||
126 | #address-cells = <1>; | ||
127 | #size-cells = <1>; | ||
128 | compatible = "fsl,mpc8572-fcm-nand", | ||
129 | "fsl,elbc-fcm-nand"; | ||
130 | reg = <0x2 0x0 0x40000>; | ||
131 | |||
132 | u-boot@0 { | ||
133 | reg = <0x0 0x02000000>; | ||
134 | read-only; | ||
135 | }; | ||
136 | |||
137 | jffs2@2000000 { | ||
138 | reg = <0x02000000 0x10000000>; | ||
139 | }; | ||
140 | |||
141 | ramdisk@12000000 { | ||
142 | reg = <0x12000000 0x08000000>; | ||
143 | read-only; | ||
144 | }; | ||
145 | |||
146 | kernel@1a000000 { | ||
147 | reg = <0x1a000000 0x04000000>; | ||
148 | }; | ||
149 | |||
150 | dtb@1e000000 { | ||
151 | reg = <0x1e000000 0x01000000>; | ||
152 | read-only; | ||
153 | }; | ||
154 | |||
155 | empty@1f000000 { | ||
156 | reg = <0x1f000000 0x21000000>; | ||
157 | }; | ||
158 | }; | ||
159 | |||
160 | nand@4,0 { | ||
161 | compatible = "fsl,mpc8572-fcm-nand", | ||
162 | "fsl,elbc-fcm-nand"; | ||
163 | reg = <0x4 0x0 0x40000>; | ||
164 | }; | ||
165 | |||
166 | nand@5,0 { | ||
167 | compatible = "fsl,mpc8572-fcm-nand", | ||
168 | "fsl,elbc-fcm-nand"; | ||
169 | reg = <0x5 0x0 0x40000>; | ||
170 | }; | ||
171 | |||
172 | nand@6,0 { | ||
173 | compatible = "fsl,mpc8572-fcm-nand", | ||
174 | "fsl,elbc-fcm-nand"; | ||
175 | reg = <0x6 0x0 0x40000>; | ||
176 | }; | ||
177 | }; | ||
178 | |||
66 | soc8572@ffe00000 { | 179 | soc8572@ffe00000 { |
67 | #address-cells = <1>; | 180 | #address-cells = <1>; |
68 | #size-cells = <1>; | 181 | #size-cells = <1>; |
@@ -225,6 +338,47 @@ | |||
225 | interrupts = <10 1>; | 338 | interrupts = <10 1>; |
226 | reg = <0x3>; | 339 | reg = <0x3>; |
227 | }; | 340 | }; |
341 | |||
342 | tbi0: tbi-phy@11 { | ||
343 | reg = <0x11>; | ||
344 | device_type = "tbi-phy"; | ||
345 | }; | ||
346 | }; | ||
347 | |||
348 | mdio@25520 { | ||
349 | #address-cells = <1>; | ||
350 | #size-cells = <0>; | ||
351 | compatible = "fsl,gianfar-tbi"; | ||
352 | reg = <0x25520 0x20>; | ||
353 | |||
354 | tbi1: tbi-phy@11 { | ||
355 | reg = <0x11>; | ||
356 | device_type = "tbi-phy"; | ||
357 | }; | ||
358 | }; | ||
359 | |||
360 | mdio@26520 { | ||
361 | #address-cells = <1>; | ||
362 | #size-cells = <0>; | ||
363 | compatible = "fsl,gianfar-tbi"; | ||
364 | reg = <0x26520 0x20>; | ||
365 | |||
366 | tbi2: tbi-phy@11 { | ||
367 | reg = <0x11>; | ||
368 | device_type = "tbi-phy"; | ||
369 | }; | ||
370 | }; | ||
371 | |||
372 | mdio@27520 { | ||
373 | #address-cells = <1>; | ||
374 | #size-cells = <0>; | ||
375 | compatible = "fsl,gianfar-tbi"; | ||
376 | reg = <0x27520 0x20>; | ||
377 | |||
378 | tbi3: tbi-phy@11 { | ||
379 | reg = <0x11>; | ||
380 | device_type = "tbi-phy"; | ||
381 | }; | ||
228 | }; | 382 | }; |
229 | 383 | ||
230 | enet0: ethernet@24000 { | 384 | enet0: ethernet@24000 { |
@@ -236,6 +390,7 @@ | |||
236 | local-mac-address = [ 00 00 00 00 00 00 ]; | 390 | local-mac-address = [ 00 00 00 00 00 00 ]; |
237 | interrupts = <29 2 30 2 34 2>; | 391 | interrupts = <29 2 30 2 34 2>; |
238 | interrupt-parent = <&mpic>; | 392 | interrupt-parent = <&mpic>; |
393 | tbi-handle = <&tbi0>; | ||
239 | phy-handle = <&phy0>; | 394 | phy-handle = <&phy0>; |
240 | phy-connection-type = "rgmii-id"; | 395 | phy-connection-type = "rgmii-id"; |
241 | }; | 396 | }; |
@@ -249,6 +404,7 @@ | |||
249 | local-mac-address = [ 00 00 00 00 00 00 ]; | 404 | local-mac-address = [ 00 00 00 00 00 00 ]; |
250 | interrupts = <35 2 36 2 40 2>; | 405 | interrupts = <35 2 36 2 40 2>; |
251 | interrupt-parent = <&mpic>; | 406 | interrupt-parent = <&mpic>; |
407 | tbi-handle = <&tbi1>; | ||
252 | phy-handle = <&phy1>; | 408 | phy-handle = <&phy1>; |
253 | phy-connection-type = "rgmii-id"; | 409 | phy-connection-type = "rgmii-id"; |
254 | }; | 410 | }; |
@@ -262,6 +418,7 @@ | |||
262 | local-mac-address = [ 00 00 00 00 00 00 ]; | 418 | local-mac-address = [ 00 00 00 00 00 00 ]; |
263 | interrupts = <31 2 32 2 33 2>; | 419 | interrupts = <31 2 32 2 33 2>; |
264 | interrupt-parent = <&mpic>; | 420 | interrupt-parent = <&mpic>; |
421 | tbi-handle = <&tbi2>; | ||
265 | phy-handle = <&phy2>; | 422 | phy-handle = <&phy2>; |
266 | phy-connection-type = "rgmii-id"; | 423 | phy-connection-type = "rgmii-id"; |
267 | }; | 424 | }; |
@@ -275,6 +432,7 @@ | |||
275 | local-mac-address = [ 00 00 00 00 00 00 ]; | 432 | local-mac-address = [ 00 00 00 00 00 00 ]; |
276 | interrupts = <37 2 38 2 39 2>; | 433 | interrupts = <37 2 38 2 39 2>; |
277 | interrupt-parent = <&mpic>; | 434 | interrupt-parent = <&mpic>; |
435 | tbi-handle = <&tbi3>; | ||
278 | phy-handle = <&phy3>; | 436 | phy-handle = <&phy3>; |
279 | phy-connection-type = "rgmii-id"; | 437 | phy-connection-type = "rgmii-id"; |
280 | }; | 438 | }; |
diff --git a/arch/powerpc/boot/dts/mpc8572ds_camp_core0.dts b/arch/powerpc/boot/dts/mpc8572ds_camp_core0.dts new file mode 100644 index 000000000000..c114c4ee9931 --- /dev/null +++ b/arch/powerpc/boot/dts/mpc8572ds_camp_core0.dts | |||
@@ -0,0 +1,483 @@ | |||
1 | /* | ||
2 | * MPC8572 DS Core0 Device Tree Source in CAMP mode. | ||
3 | * | ||
4 | * In CAMP mode, each core needs to have its own dts. Only mpic and L2 cache | ||
5 | * can be shared, all the other devices must be assigned to one core only. | ||
6 | * This dts file allows core0 to have memory, l2, i2c, dma1, global-util, eth0, | ||
7 | * eth1, crypto, pci0, pci1. | ||
8 | * | ||
9 | * Copyright 2007, 2008 Freescale Semiconductor Inc. | ||
10 | * | ||
11 | * This program is free software; you can redistribute it and/or modify it | ||
12 | * under the terms of the GNU General Public License as published by the | ||
13 | * Free Software Foundation; either version 2 of the License, or (at your | ||
14 | * option) any later version. | ||
15 | */ | ||
16 | |||
17 | /dts-v1/; | ||
18 | / { | ||
19 | model = "fsl,MPC8572DS"; | ||
20 | compatible = "fsl,MPC8572DS", "fsl,MPC8572DS-CAMP"; | ||
21 | #address-cells = <1>; | ||
22 | #size-cells = <1>; | ||
23 | |||
24 | aliases { | ||
25 | ethernet0 = &enet0; | ||
26 | ethernet1 = &enet1; | ||
27 | serial0 = &serial0; | ||
28 | pci0 = &pci0; | ||
29 | pci1 = &pci1; | ||
30 | }; | ||
31 | |||
32 | cpus { | ||
33 | #address-cells = <1>; | ||
34 | #size-cells = <0>; | ||
35 | |||
36 | PowerPC,8572@0 { | ||
37 | device_type = "cpu"; | ||
38 | reg = <0x0>; | ||
39 | d-cache-line-size = <32>; // 32 bytes | ||
40 | i-cache-line-size = <32>; // 32 bytes | ||
41 | d-cache-size = <0x8000>; // L1, 32K | ||
42 | i-cache-size = <0x8000>; // L1, 32K | ||
43 | timebase-frequency = <0>; | ||
44 | bus-frequency = <0>; | ||
45 | clock-frequency = <0>; | ||
46 | next-level-cache = <&L2>; | ||
47 | }; | ||
48 | |||
49 | }; | ||
50 | |||
51 | memory { | ||
52 | device_type = "memory"; | ||
53 | reg = <0x0 0x0>; // Filled by U-Boot | ||
54 | }; | ||
55 | |||
56 | soc8572@ffe00000 { | ||
57 | #address-cells = <1>; | ||
58 | #size-cells = <1>; | ||
59 | device_type = "soc"; | ||
60 | compatible = "simple-bus"; | ||
61 | ranges = <0x0 0xffe00000 0x100000>; | ||
62 | reg = <0xffe00000 0x1000>; // CCSRBAR & soc regs, remove once parse code for immrbase fixed | ||
63 | bus-frequency = <0>; // Filled out by uboot. | ||
64 | |||
65 | memory-controller@2000 { | ||
66 | compatible = "fsl,mpc8572-memory-controller"; | ||
67 | reg = <0x2000 0x1000>; | ||
68 | interrupt-parent = <&mpic>; | ||
69 | interrupts = <18 2>; | ||
70 | }; | ||
71 | |||
72 | memory-controller@6000 { | ||
73 | compatible = "fsl,mpc8572-memory-controller"; | ||
74 | reg = <0x6000 0x1000>; | ||
75 | interrupt-parent = <&mpic>; | ||
76 | interrupts = <18 2>; | ||
77 | }; | ||
78 | |||
79 | L2: l2-cache-controller@20000 { | ||
80 | compatible = "fsl,mpc8572-l2-cache-controller"; | ||
81 | reg = <0x20000 0x1000>; | ||
82 | cache-line-size = <32>; // 32 bytes | ||
83 | cache-size = <0x80000>; // L2, 512K | ||
84 | interrupt-parent = <&mpic>; | ||
85 | interrupts = <16 2>; | ||
86 | }; | ||
87 | |||
88 | i2c@3000 { | ||
89 | #address-cells = <1>; | ||
90 | #size-cells = <0>; | ||
91 | cell-index = <0>; | ||
92 | compatible = "fsl-i2c"; | ||
93 | reg = <0x3000 0x100>; | ||
94 | interrupts = <43 2>; | ||
95 | interrupt-parent = <&mpic>; | ||
96 | dfsrr; | ||
97 | }; | ||
98 | |||
99 | i2c@3100 { | ||
100 | #address-cells = <1>; | ||
101 | #size-cells = <0>; | ||
102 | cell-index = <1>; | ||
103 | compatible = "fsl-i2c"; | ||
104 | reg = <0x3100 0x100>; | ||
105 | interrupts = <43 2>; | ||
106 | interrupt-parent = <&mpic>; | ||
107 | dfsrr; | ||
108 | }; | ||
109 | |||
110 | dma@21300 { | ||
111 | #address-cells = <1>; | ||
112 | #size-cells = <1>; | ||
113 | compatible = "fsl,mpc8572-dma", "fsl,eloplus-dma"; | ||
114 | reg = <0x21300 0x4>; | ||
115 | ranges = <0x0 0x21100 0x200>; | ||
116 | cell-index = <0>; | ||
117 | dma-channel@0 { | ||
118 | compatible = "fsl,mpc8572-dma-channel", | ||
119 | "fsl,eloplus-dma-channel"; | ||
120 | reg = <0x0 0x80>; | ||
121 | cell-index = <0>; | ||
122 | interrupt-parent = <&mpic>; | ||
123 | interrupts = <20 2>; | ||
124 | }; | ||
125 | dma-channel@80 { | ||
126 | compatible = "fsl,mpc8572-dma-channel", | ||
127 | "fsl,eloplus-dma-channel"; | ||
128 | reg = <0x80 0x80>; | ||
129 | cell-index = <1>; | ||
130 | interrupt-parent = <&mpic>; | ||
131 | interrupts = <21 2>; | ||
132 | }; | ||
133 | dma-channel@100 { | ||
134 | compatible = "fsl,mpc8572-dma-channel", | ||
135 | "fsl,eloplus-dma-channel"; | ||
136 | reg = <0x100 0x80>; | ||
137 | cell-index = <2>; | ||
138 | interrupt-parent = <&mpic>; | ||
139 | interrupts = <22 2>; | ||
140 | }; | ||
141 | dma-channel@180 { | ||
142 | compatible = "fsl,mpc8572-dma-channel", | ||
143 | "fsl,eloplus-dma-channel"; | ||
144 | reg = <0x180 0x80>; | ||
145 | cell-index = <3>; | ||
146 | interrupt-parent = <&mpic>; | ||
147 | interrupts = <23 2>; | ||
148 | }; | ||
149 | }; | ||
150 | |||
151 | mdio@24520 { | ||
152 | #address-cells = <1>; | ||
153 | #size-cells = <0>; | ||
154 | compatible = "fsl,gianfar-mdio"; | ||
155 | reg = <0x24520 0x20>; | ||
156 | |||
157 | phy0: ethernet-phy@0 { | ||
158 | interrupt-parent = <&mpic>; | ||
159 | interrupts = <10 1>; | ||
160 | reg = <0x0>; | ||
161 | }; | ||
162 | phy1: ethernet-phy@1 { | ||
163 | interrupt-parent = <&mpic>; | ||
164 | interrupts = <10 1>; | ||
165 | reg = <0x1>; | ||
166 | }; | ||
167 | }; | ||
168 | |||
169 | enet0: ethernet@24000 { | ||
170 | cell-index = <0>; | ||
171 | device_type = "network"; | ||
172 | model = "eTSEC"; | ||
173 | compatible = "gianfar"; | ||
174 | reg = <0x24000 0x1000>; | ||
175 | local-mac-address = [ 00 00 00 00 00 00 ]; | ||
176 | interrupts = <29 2 30 2 34 2>; | ||
177 | interrupt-parent = <&mpic>; | ||
178 | phy-handle = <&phy0>; | ||
179 | phy-connection-type = "rgmii-id"; | ||
180 | }; | ||
181 | |||
182 | enet1: ethernet@25000 { | ||
183 | cell-index = <1>; | ||
184 | device_type = "network"; | ||
185 | model = "eTSEC"; | ||
186 | compatible = "gianfar"; | ||
187 | reg = <0x25000 0x1000>; | ||
188 | local-mac-address = [ 00 00 00 00 00 00 ]; | ||
189 | interrupts = <35 2 36 2 40 2>; | ||
190 | interrupt-parent = <&mpic>; | ||
191 | phy-handle = <&phy1>; | ||
192 | phy-connection-type = "rgmii-id"; | ||
193 | }; | ||
194 | |||
195 | serial0: serial@4500 { | ||
196 | cell-index = <0>; | ||
197 | device_type = "serial"; | ||
198 | compatible = "ns16550"; | ||
199 | reg = <0x4500 0x100>; | ||
200 | clock-frequency = <0>; | ||
201 | }; | ||
202 | |||
203 | global-utilities@e0000 { //global utilities block | ||
204 | compatible = "fsl,mpc8572-guts"; | ||
205 | reg = <0xe0000 0x1000>; | ||
206 | fsl,has-rstcr; | ||
207 | }; | ||
208 | |||
209 | crypto@30000 { | ||
210 | compatible = "fsl,sec3.0", "fsl,sec2.4", "fsl,sec2.2", | ||
211 | "fsl,sec2.1", "fsl,sec2.0"; | ||
212 | reg = <0x30000 0x10000>; | ||
213 | interrupts = <45 2 58 2>; | ||
214 | interrupt-parent = <&mpic>; | ||
215 | fsl,num-channels = <4>; | ||
216 | fsl,channel-fifo-len = <24>; | ||
217 | fsl,exec-units-mask = <0x9fe>; | ||
218 | fsl,descriptor-types-mask = <0x3ab0ebf>; | ||
219 | }; | ||
220 | |||
221 | mpic: pic@40000 { | ||
222 | interrupt-controller; | ||
223 | #address-cells = <0>; | ||
224 | #interrupt-cells = <2>; | ||
225 | reg = <0x40000 0x40000>; | ||
226 | compatible = "chrp,open-pic"; | ||
227 | device_type = "open-pic"; | ||
228 | protected-sources = < | ||
229 | 31 32 33 37 38 39 /* enet2 enet3 */ | ||
230 | 76 77 78 79 27 42 /* dma2 pci2 serial*/ | ||
231 | 0xe0 0xe1 0xe2 0xe3 /* msi */ | ||
232 | 0xe4 0xe5 0xe6 0xe7 | ||
233 | >; | ||
234 | }; | ||
235 | }; | ||
236 | |||
237 | pci0: pcie@ffe08000 { | ||
238 | cell-index = <0>; | ||
239 | compatible = "fsl,mpc8548-pcie"; | ||
240 | device_type = "pci"; | ||
241 | #interrupt-cells = <1>; | ||
242 | #size-cells = <2>; | ||
243 | #address-cells = <3>; | ||
244 | reg = <0xffe08000 0x1000>; | ||
245 | bus-range = <0 255>; | ||
246 | ranges = <0x2000000 0x0 0x80000000 0x80000000 0x0 0x20000000 | ||
247 | 0x1000000 0x0 0x0 0xffc00000 0x0 0x10000>; | ||
248 | clock-frequency = <33333333>; | ||
249 | interrupt-parent = <&mpic>; | ||
250 | interrupts = <24 2>; | ||
251 | interrupt-map-mask = <0xff00 0x0 0x0 0x7>; | ||
252 | interrupt-map = < | ||
253 | /* IDSEL 0x11 func 0 - PCI slot 1 */ | ||
254 | 0x8800 0x0 0x0 0x1 &mpic 0x2 0x1 | ||
255 | 0x8800 0x0 0x0 0x2 &mpic 0x3 0x1 | ||
256 | 0x8800 0x0 0x0 0x3 &mpic 0x4 0x1 | ||
257 | 0x8800 0x0 0x0 0x4 &mpic 0x1 0x1 | ||
258 | |||
259 | /* IDSEL 0x11 func 1 - PCI slot 1 */ | ||
260 | 0x8900 0x0 0x0 0x1 &mpic 0x2 0x1 | ||
261 | 0x8900 0x0 0x0 0x2 &mpic 0x3 0x1 | ||
262 | 0x8900 0x0 0x0 0x3 &mpic 0x4 0x1 | ||
263 | 0x8900 0x0 0x0 0x4 &mpic 0x1 0x1 | ||
264 | |||
265 | /* IDSEL 0x11 func 2 - PCI slot 1 */ | ||
266 | 0x8a00 0x0 0x0 0x1 &mpic 0x2 0x1 | ||
267 | 0x8a00 0x0 0x0 0x2 &mpic 0x3 0x1 | ||
268 | 0x8a00 0x0 0x0 0x3 &mpic 0x4 0x1 | ||
269 | 0x8a00 0x0 0x0 0x4 &mpic 0x1 0x1 | ||
270 | |||
271 | /* IDSEL 0x11 func 3 - PCI slot 1 */ | ||
272 | 0x8b00 0x0 0x0 0x1 &mpic 0x2 0x1 | ||
273 | 0x8b00 0x0 0x0 0x2 &mpic 0x3 0x1 | ||
274 | 0x8b00 0x0 0x0 0x3 &mpic 0x4 0x1 | ||
275 | 0x8b00 0x0 0x0 0x4 &mpic 0x1 0x1 | ||
276 | |||
277 | /* IDSEL 0x11 func 4 - PCI slot 1 */ | ||
278 | 0x8c00 0x0 0x0 0x1 &mpic 0x2 0x1 | ||
279 | 0x8c00 0x0 0x0 0x2 &mpic 0x3 0x1 | ||
280 | 0x8c00 0x0 0x0 0x3 &mpic 0x4 0x1 | ||
281 | 0x8c00 0x0 0x0 0x4 &mpic 0x1 0x1 | ||
282 | |||
283 | /* IDSEL 0x11 func 5 - PCI slot 1 */ | ||
284 | 0x8d00 0x0 0x0 0x1 &mpic 0x2 0x1 | ||
285 | 0x8d00 0x0 0x0 0x2 &mpic 0x3 0x1 | ||
286 | 0x8d00 0x0 0x0 0x3 &mpic 0x4 0x1 | ||
287 | 0x8d00 0x0 0x0 0x4 &mpic 0x1 0x1 | ||
288 | |||
289 | /* IDSEL 0x11 func 6 - PCI slot 1 */ | ||
290 | 0x8e00 0x0 0x0 0x1 &mpic 0x2 0x1 | ||
291 | 0x8e00 0x0 0x0 0x2 &mpic 0x3 0x1 | ||
292 | 0x8e00 0x0 0x0 0x3 &mpic 0x4 0x1 | ||
293 | 0x8e00 0x0 0x0 0x4 &mpic 0x1 0x1 | ||
294 | |||
295 | /* IDSEL 0x11 func 7 - PCI slot 1 */ | ||
296 | 0x8f00 0x0 0x0 0x1 &mpic 0x2 0x1 | ||
297 | 0x8f00 0x0 0x0 0x2 &mpic 0x3 0x1 | ||
298 | 0x8f00 0x0 0x0 0x3 &mpic 0x4 0x1 | ||
299 | 0x8f00 0x0 0x0 0x4 &mpic 0x1 0x1 | ||
300 | |||
301 | /* IDSEL 0x12 func 0 - PCI slot 2 */ | ||
302 | 0x9000 0x0 0x0 0x1 &mpic 0x3 0x1 | ||
303 | 0x9000 0x0 0x0 0x2 &mpic 0x4 0x1 | ||
304 | 0x9000 0x0 0x0 0x3 &mpic 0x1 0x1 | ||
305 | 0x9000 0x0 0x0 0x4 &mpic 0x2 0x1 | ||
306 | |||
307 | /* IDSEL 0x12 func 1 - PCI slot 2 */ | ||
308 | 0x9100 0x0 0x0 0x1 &mpic 0x3 0x1 | ||
309 | 0x9100 0x0 0x0 0x2 &mpic 0x4 0x1 | ||
310 | 0x9100 0x0 0x0 0x3 &mpic 0x1 0x1 | ||
311 | 0x9100 0x0 0x0 0x4 &mpic 0x2 0x1 | ||
312 | |||
313 | /* IDSEL 0x12 func 2 - PCI slot 2 */ | ||
314 | 0x9200 0x0 0x0 0x1 &mpic 0x3 0x1 | ||
315 | 0x9200 0x0 0x0 0x2 &mpic 0x4 0x1 | ||
316 | 0x9200 0x0 0x0 0x3 &mpic 0x1 0x1 | ||
317 | 0x9200 0x0 0x0 0x4 &mpic 0x2 0x1 | ||
318 | |||
319 | /* IDSEL 0x12 func 3 - PCI slot 2 */ | ||
320 | 0x9300 0x0 0x0 0x1 &mpic 0x3 0x1 | ||
321 | 0x9300 0x0 0x0 0x2 &mpic 0x4 0x1 | ||
322 | 0x9300 0x0 0x0 0x3 &mpic 0x1 0x1 | ||
323 | 0x9300 0x0 0x0 0x4 &mpic 0x2 0x1 | ||
324 | |||
325 | /* IDSEL 0x12 func 4 - PCI slot 2 */ | ||
326 | 0x9400 0x0 0x0 0x1 &mpic 0x3 0x1 | ||
327 | 0x9400 0x0 0x0 0x2 &mpic 0x4 0x1 | ||
328 | 0x9400 0x0 0x0 0x3 &mpic 0x1 0x1 | ||
329 | 0x9400 0x0 0x0 0x4 &mpic 0x2 0x1 | ||
330 | |||
331 | /* IDSEL 0x12 func 5 - PCI slot 2 */ | ||
332 | 0x9500 0x0 0x0 0x1 &mpic 0x3 0x1 | ||
333 | 0x9500 0x0 0x0 0x2 &mpic 0x4 0x1 | ||
334 | 0x9500 0x0 0x0 0x3 &mpic 0x1 0x1 | ||
335 | 0x9500 0x0 0x0 0x4 &mpic 0x2 0x1 | ||
336 | |||
337 | /* IDSEL 0x12 func 6 - PCI slot 2 */ | ||
338 | 0x9600 0x0 0x0 0x1 &mpic 0x3 0x1 | ||
339 | 0x9600 0x0 0x0 0x2 &mpic 0x4 0x1 | ||
340 | 0x9600 0x0 0x0 0x3 &mpic 0x1 0x1 | ||
341 | 0x9600 0x0 0x0 0x4 &mpic 0x2 0x1 | ||
342 | |||
343 | /* IDSEL 0x12 func 7 - PCI slot 2 */ | ||
344 | 0x9700 0x0 0x0 0x1 &mpic 0x3 0x1 | ||
345 | 0x9700 0x0 0x0 0x2 &mpic 0x4 0x1 | ||
346 | 0x9700 0x0 0x0 0x3 &mpic 0x1 0x1 | ||
347 | 0x9700 0x0 0x0 0x4 &mpic 0x2 0x1 | ||
348 | |||
349 | // IDSEL 0x1c USB | ||
350 | 0xe000 0x0 0x0 0x1 &i8259 0xc 0x2 | ||
351 | 0xe100 0x0 0x0 0x2 &i8259 0x9 0x2 | ||
352 | 0xe200 0x0 0x0 0x3 &i8259 0xa 0x2 | ||
353 | 0xe300 0x0 0x0 0x4 &i8259 0xb 0x2 | ||
354 | |||
355 | // IDSEL 0x1d Audio | ||
356 | 0xe800 0x0 0x0 0x1 &i8259 0x6 0x2 | ||
357 | |||
358 | // IDSEL 0x1e Legacy | ||
359 | 0xf000 0x0 0x0 0x1 &i8259 0x7 0x2 | ||
360 | 0xf100 0x0 0x0 0x1 &i8259 0x7 0x2 | ||
361 | |||
362 | // IDSEL 0x1f IDE/SATA | ||
363 | 0xf800 0x0 0x0 0x1 &i8259 0xe 0x2 | ||
364 | 0xf900 0x0 0x0 0x1 &i8259 0x5 0x2 | ||
365 | |||
366 | >; | ||
367 | |||
368 | pcie@0 { | ||
369 | reg = <0x0 0x0 0x0 0x0 0x0>; | ||
370 | #size-cells = <2>; | ||
371 | #address-cells = <3>; | ||
372 | device_type = "pci"; | ||
373 | ranges = <0x2000000 0x0 0x80000000 | ||
374 | 0x2000000 0x0 0x80000000 | ||
375 | 0x0 0x20000000 | ||
376 | |||
377 | 0x1000000 0x0 0x0 | ||
378 | 0x1000000 0x0 0x0 | ||
379 | 0x0 0x100000>; | ||
380 | uli1575@0 { | ||
381 | reg = <0x0 0x0 0x0 0x0 0x0>; | ||
382 | #size-cells = <2>; | ||
383 | #address-cells = <3>; | ||
384 | ranges = <0x2000000 0x0 0x80000000 | ||
385 | 0x2000000 0x0 0x80000000 | ||
386 | 0x0 0x20000000 | ||
387 | |||
388 | 0x1000000 0x0 0x0 | ||
389 | 0x1000000 0x0 0x0 | ||
390 | 0x0 0x100000>; | ||
391 | isa@1e { | ||
392 | device_type = "isa"; | ||
393 | #interrupt-cells = <2>; | ||
394 | #size-cells = <1>; | ||
395 | #address-cells = <2>; | ||
396 | reg = <0xf000 0x0 0x0 0x0 0x0>; | ||
397 | ranges = <0x1 0x0 0x1000000 0x0 0x0 | ||
398 | 0x1000>; | ||
399 | interrupt-parent = <&i8259>; | ||
400 | |||
401 | i8259: interrupt-controller@20 { | ||
402 | reg = <0x1 0x20 0x2 | ||
403 | 0x1 0xa0 0x2 | ||
404 | 0x1 0x4d0 0x2>; | ||
405 | interrupt-controller; | ||
406 | device_type = "interrupt-controller"; | ||
407 | #address-cells = <0>; | ||
408 | #interrupt-cells = <2>; | ||
409 | compatible = "chrp,iic"; | ||
410 | interrupts = <9 2>; | ||
411 | interrupt-parent = <&mpic>; | ||
412 | }; | ||
413 | |||
414 | i8042@60 { | ||
415 | #size-cells = <0>; | ||
416 | #address-cells = <1>; | ||
417 | reg = <0x1 0x60 0x1 0x1 0x64 0x1>; | ||
418 | interrupts = <1 3 12 3>; | ||
419 | interrupt-parent = | ||
420 | <&i8259>; | ||
421 | |||
422 | keyboard@0 { | ||
423 | reg = <0x0>; | ||
424 | compatible = "pnpPNP,303"; | ||
425 | }; | ||
426 | |||
427 | mouse@1 { | ||
428 | reg = <0x1>; | ||
429 | compatible = "pnpPNP,f03"; | ||
430 | }; | ||
431 | }; | ||
432 | |||
433 | rtc@70 { | ||
434 | compatible = "pnpPNP,b00"; | ||
435 | reg = <0x1 0x70 0x2>; | ||
436 | }; | ||
437 | |||
438 | gpio@400 { | ||
439 | reg = <0x1 0x400 0x80>; | ||
440 | }; | ||
441 | }; | ||
442 | }; | ||
443 | }; | ||
444 | |||
445 | }; | ||
446 | |||
447 | pci1: pcie@ffe09000 { | ||
448 | cell-index = <1>; | ||
449 | compatible = "fsl,mpc8548-pcie"; | ||
450 | device_type = "pci"; | ||
451 | #interrupt-cells = <1>; | ||
452 | #size-cells = <2>; | ||
453 | #address-cells = <3>; | ||
454 | reg = <0xffe09000 0x1000>; | ||
455 | bus-range = <0 255>; | ||
456 | ranges = <0x2000000 0x0 0xa0000000 0xa0000000 0x0 0x20000000 | ||
457 | 0x1000000 0x0 0x0 0xffc10000 0x0 0x10000>; | ||
458 | clock-frequency = <33333333>; | ||
459 | interrupt-parent = <&mpic>; | ||
460 | interrupts = <26 2>; | ||
461 | interrupt-map-mask = <0xf800 0x0 0x0 0x7>; | ||
462 | interrupt-map = < | ||
463 | /* IDSEL 0x0 */ | ||
464 | 0000 0x0 0x0 0x1 &mpic 0x4 0x1 | ||
465 | 0000 0x0 0x0 0x2 &mpic 0x5 0x1 | ||
466 | 0000 0x0 0x0 0x3 &mpic 0x6 0x1 | ||
467 | 0000 0x0 0x0 0x4 &mpic 0x7 0x1 | ||
468 | >; | ||
469 | pcie@0 { | ||
470 | reg = <0x0 0x0 0x0 0x0 0x0>; | ||
471 | #size-cells = <2>; | ||
472 | #address-cells = <3>; | ||
473 | device_type = "pci"; | ||
474 | ranges = <0x2000000 0x0 0xa0000000 | ||
475 | 0x2000000 0x0 0xa0000000 | ||
476 | 0x0 0x20000000 | ||
477 | |||
478 | 0x1000000 0x0 0x0 | ||
479 | 0x1000000 0x0 0x0 | ||
480 | 0x0 0x100000>; | ||
481 | }; | ||
482 | }; | ||
483 | }; | ||
diff --git a/arch/powerpc/boot/dts/mpc8572ds_camp_core1.dts b/arch/powerpc/boot/dts/mpc8572ds_camp_core1.dts new file mode 100644 index 000000000000..04ecda18d206 --- /dev/null +++ b/arch/powerpc/boot/dts/mpc8572ds_camp_core1.dts | |||
@@ -0,0 +1,234 @@ | |||
1 | /* | ||
2 | * MPC8572 DS Core1 Device Tree Source in CAMP mode. | ||
3 | * | ||
4 | * In CAMP mode, each core needs to have its own dts. Only mpic and L2 cache | ||
5 | * can be shared, all the other devices must be assigned to one core only. | ||
6 | * This dts allows core1 to have l2, dma2, eth2, eth3, pci2, msi. | ||
7 | * | ||
8 | * Please note to add "-b 1" for core1's dts compiling. | ||
9 | * | ||
10 | * Copyright 2007, 2008 Freescale Semiconductor Inc. | ||
11 | * | ||
12 | * This program is free software; you can redistribute it and/or modify it | ||
13 | * under the terms of the GNU General Public License as published by the | ||
14 | * Free Software Foundation; either version 2 of the License, or (at your | ||
15 | * option) any later version. | ||
16 | */ | ||
17 | |||
18 | /dts-v1/; | ||
19 | / { | ||
20 | model = "fsl,MPC8572DS"; | ||
21 | compatible = "fsl,MPC8572DS", "fsl,MPC8572DS-CAMP"; | ||
22 | #address-cells = <1>; | ||
23 | #size-cells = <1>; | ||
24 | |||
25 | aliases { | ||
26 | ethernet2 = &enet2; | ||
27 | ethernet3 = &enet3; | ||
28 | serial0 = &serial0; | ||
29 | pci2 = &pci2; | ||
30 | }; | ||
31 | |||
32 | cpus { | ||
33 | #address-cells = <1>; | ||
34 | #size-cells = <0>; | ||
35 | |||
36 | PowerPC,8572@1 { | ||
37 | device_type = "cpu"; | ||
38 | reg = <0x1>; | ||
39 | d-cache-line-size = <32>; // 32 bytes | ||
40 | i-cache-line-size = <32>; // 32 bytes | ||
41 | d-cache-size = <0x8000>; // L1, 32K | ||
42 | i-cache-size = <0x8000>; // L1, 32K | ||
43 | timebase-frequency = <0>; | ||
44 | bus-frequency = <0>; | ||
45 | clock-frequency = <0>; | ||
46 | next-level-cache = <&L2>; | ||
47 | }; | ||
48 | }; | ||
49 | |||
50 | memory { | ||
51 | device_type = "memory"; | ||
52 | reg = <0x0 0x0>; // Filled by U-Boot | ||
53 | }; | ||
54 | |||
55 | soc8572@ffe00000 { | ||
56 | #address-cells = <1>; | ||
57 | #size-cells = <1>; | ||
58 | device_type = "soc"; | ||
59 | compatible = "simple-bus"; | ||
60 | ranges = <0x0 0xffe00000 0x100000>; | ||
61 | reg = <0xffe00000 0x1000>; // CCSRBAR & soc regs, remove once parse code for immrbase fixed | ||
62 | bus-frequency = <0>; // Filled out by uboot. | ||
63 | |||
64 | L2: l2-cache-controller@20000 { | ||
65 | compatible = "fsl,mpc8572-l2-cache-controller"; | ||
66 | reg = <0x20000 0x1000>; | ||
67 | cache-line-size = <32>; // 32 bytes | ||
68 | cache-size = <0x80000>; // L2, 512K | ||
69 | interrupt-parent = <&mpic>; | ||
70 | }; | ||
71 | |||
72 | dma@c300 { | ||
73 | #address-cells = <1>; | ||
74 | #size-cells = <1>; | ||
75 | compatible = "fsl,mpc8572-dma", "fsl,eloplus-dma"; | ||
76 | reg = <0xc300 0x4>; | ||
77 | ranges = <0x0 0xc100 0x200>; | ||
78 | cell-index = <0>; | ||
79 | dma-channel@0 { | ||
80 | compatible = "fsl,mpc8572-dma-channel", | ||
81 | "fsl,eloplus-dma-channel"; | ||
82 | reg = <0x0 0x80>; | ||
83 | cell-index = <0>; | ||
84 | interrupt-parent = <&mpic>; | ||
85 | interrupts = <76 2>; | ||
86 | }; | ||
87 | dma-channel@80 { | ||
88 | compatible = "fsl,mpc8572-dma-channel", | ||
89 | "fsl,eloplus-dma-channel"; | ||
90 | reg = <0x80 0x80>; | ||
91 | cell-index = <1>; | ||
92 | interrupt-parent = <&mpic>; | ||
93 | interrupts = <77 2>; | ||
94 | }; | ||
95 | dma-channel@100 { | ||
96 | compatible = "fsl,mpc8572-dma-channel", | ||
97 | "fsl,eloplus-dma-channel"; | ||
98 | reg = <0x100 0x80>; | ||
99 | cell-index = <2>; | ||
100 | interrupt-parent = <&mpic>; | ||
101 | interrupts = <78 2>; | ||
102 | }; | ||
103 | dma-channel@180 { | ||
104 | compatible = "fsl,mpc8572-dma-channel", | ||
105 | "fsl,eloplus-dma-channel"; | ||
106 | reg = <0x180 0x80>; | ||
107 | cell-index = <3>; | ||
108 | interrupt-parent = <&mpic>; | ||
109 | interrupts = <79 2>; | ||
110 | }; | ||
111 | }; | ||
112 | |||
113 | mdio@24520 { | ||
114 | #address-cells = <1>; | ||
115 | #size-cells = <0>; | ||
116 | compatible = "fsl,gianfar-mdio"; | ||
117 | reg = <0x24520 0x20>; | ||
118 | |||
119 | phy2: ethernet-phy@2 { | ||
120 | interrupt-parent = <&mpic>; | ||
121 | reg = <0x2>; | ||
122 | }; | ||
123 | phy3: ethernet-phy@3 { | ||
124 | interrupt-parent = <&mpic>; | ||
125 | reg = <0x3>; | ||
126 | }; | ||
127 | }; | ||
128 | |||
129 | enet2: ethernet@26000 { | ||
130 | cell-index = <2>; | ||
131 | device_type = "network"; | ||
132 | model = "eTSEC"; | ||
133 | compatible = "gianfar"; | ||
134 | reg = <0x26000 0x1000>; | ||
135 | local-mac-address = [ 00 00 00 00 00 00 ]; | ||
136 | interrupts = <31 2 32 2 33 2>; | ||
137 | interrupt-parent = <&mpic>; | ||
138 | phy-handle = <&phy2>; | ||
139 | phy-connection-type = "rgmii-id"; | ||
140 | }; | ||
141 | |||
142 | enet3: ethernet@27000 { | ||
143 | cell-index = <3>; | ||
144 | device_type = "network"; | ||
145 | model = "eTSEC"; | ||
146 | compatible = "gianfar"; | ||
147 | reg = <0x27000 0x1000>; | ||
148 | local-mac-address = [ 00 00 00 00 00 00 ]; | ||
149 | interrupts = <37 2 38 2 39 2>; | ||
150 | interrupt-parent = <&mpic>; | ||
151 | phy-handle = <&phy3>; | ||
152 | phy-connection-type = "rgmii-id"; | ||
153 | }; | ||
154 | |||
155 | msi@41600 { | ||
156 | compatible = "fsl,mpc8572-msi", "fsl,mpic-msi"; | ||
157 | reg = <0x41600 0x80>; | ||
158 | msi-available-ranges = <0 0x100>; | ||
159 | interrupts = < | ||
160 | 0xe0 0 | ||
161 | 0xe1 0 | ||
162 | 0xe2 0 | ||
163 | 0xe3 0 | ||
164 | 0xe4 0 | ||
165 | 0xe5 0 | ||
166 | 0xe6 0 | ||
167 | 0xe7 0>; | ||
168 | interrupt-parent = <&mpic>; | ||
169 | }; | ||
170 | |||
171 | serial0: serial@4600 { | ||
172 | cell-index = <1>; | ||
173 | device_type = "serial"; | ||
174 | compatible = "ns16550"; | ||
175 | reg = <0x4600 0x100>; | ||
176 | clock-frequency = <0>; | ||
177 | }; | ||
178 | |||
179 | mpic: pic@40000 { | ||
180 | interrupt-controller; | ||
181 | #address-cells = <0>; | ||
182 | #interrupt-cells = <2>; | ||
183 | reg = <0x40000 0x40000>; | ||
184 | compatible = "chrp,open-pic"; | ||
185 | device_type = "open-pic"; | ||
186 | protected-sources = < | ||
187 | 18 16 10 42 45 58 /* MEM L2 mdio serial crypto */ | ||
188 | 29 30 34 35 36 40 /* enet0 enet1 */ | ||
189 | 24 26 20 21 22 23 /* pcie0 pcie1 dma1 */ | ||
190 | 43 /* i2c */ | ||
191 | 0x1 0x2 0x3 0x4 /* pci slot */ | ||
192 | 0x9 0xa 0xb 0xc /* usb */ | ||
193 | 0x6 0x7 0xe 0x5 /* Audio elgacy SATA */ | ||
194 | >; | ||
195 | }; | ||
196 | }; | ||
197 | |||
198 | pci2: pcie@ffe0a000 { | ||
199 | cell-index = <2>; | ||
200 | compatible = "fsl,mpc8548-pcie"; | ||
201 | device_type = "pci"; | ||
202 | #interrupt-cells = <1>; | ||
203 | #size-cells = <2>; | ||
204 | #address-cells = <3>; | ||
205 | reg = <0xffe0a000 0x1000>; | ||
206 | bus-range = <0 255>; | ||
207 | ranges = <0x2000000 0x0 0xc0000000 0xc0000000 0x0 0x20000000 | ||
208 | 0x1000000 0x0 0x0 0xffc20000 0x0 0x10000>; | ||
209 | clock-frequency = <33333333>; | ||
210 | interrupt-parent = <&mpic>; | ||
211 | interrupts = <27 2>; | ||
212 | interrupt-map-mask = <0xf800 0x0 0x0 0x7>; | ||
213 | interrupt-map = < | ||
214 | /* IDSEL 0x0 */ | ||
215 | 0000 0x0 0x0 0x1 &mpic 0x0 0x1 | ||
216 | 0000 0x0 0x0 0x2 &mpic 0x1 0x1 | ||
217 | 0000 0x0 0x0 0x3 &mpic 0x2 0x1 | ||
218 | 0000 0x0 0x0 0x4 &mpic 0x3 0x1 | ||
219 | >; | ||
220 | pcie@0 { | ||
221 | reg = <0x0 0x0 0x0 0x0 0x0>; | ||
222 | #size-cells = <2>; | ||
223 | #address-cells = <3>; | ||
224 | device_type = "pci"; | ||
225 | ranges = <0x2000000 0x0 0xc0000000 | ||
226 | 0x2000000 0x0 0xc0000000 | ||
227 | 0x0 0x20000000 | ||
228 | |||
229 | 0x1000000 0x0 0x0 | ||
230 | 0x1000000 0x0 0x0 | ||
231 | 0x0 0x100000>; | ||
232 | }; | ||
233 | }; | ||
234 | }; | ||
diff --git a/arch/powerpc/boot/dts/mpc8641_hpcn.dts b/arch/powerpc/boot/dts/mpc8641_hpcn.dts index d665e767822a..35d5e248ccd7 100644 --- a/arch/powerpc/boot/dts/mpc8641_hpcn.dts +++ b/arch/powerpc/boot/dts/mpc8641_hpcn.dts | |||
@@ -205,8 +205,49 @@ | |||
205 | reg = <3>; | 205 | reg = <3>; |
206 | device_type = "ethernet-phy"; | 206 | device_type = "ethernet-phy"; |
207 | }; | 207 | }; |
208 | tbi0: tbi-phy@11 { | ||
209 | reg = <0x11>; | ||
210 | device_type = "tbi-phy"; | ||
211 | }; | ||
212 | }; | ||
213 | |||
214 | mdio@25520 { | ||
215 | #address-cells = <1>; | ||
216 | #size-cells = <0>; | ||
217 | compatible = "fsl,gianfar-tbi"; | ||
218 | reg = <0x25520 0x20>; | ||
219 | |||
220 | tbi1: tbi-phy@11 { | ||
221 | reg = <0x11>; | ||
222 | device_type = "tbi-phy"; | ||
223 | }; | ||
224 | }; | ||
225 | |||
226 | mdio@26520 { | ||
227 | #address-cells = <1>; | ||
228 | #size-cells = <0>; | ||
229 | compatible = "fsl,gianfar-tbi"; | ||
230 | reg = <0x26520 0x20>; | ||
231 | |||
232 | tbi2: tbi-phy@11 { | ||
233 | reg = <0x11>; | ||
234 | device_type = "tbi-phy"; | ||
235 | }; | ||
236 | }; | ||
237 | |||
238 | mdio@27520 { | ||
239 | #address-cells = <1>; | ||
240 | #size-cells = <0>; | ||
241 | compatible = "fsl,gianfar-tbi"; | ||
242 | reg = <0x27520 0x20>; | ||
243 | |||
244 | tbi3: tbi-phy@11 { | ||
245 | reg = <0x11>; | ||
246 | device_type = "tbi-phy"; | ||
247 | }; | ||
208 | }; | 248 | }; |
209 | 249 | ||
250 | |||
210 | enet0: ethernet@24000 { | 251 | enet0: ethernet@24000 { |
211 | cell-index = <0>; | 252 | cell-index = <0>; |
212 | device_type = "network"; | 253 | device_type = "network"; |
@@ -216,6 +257,7 @@ | |||
216 | local-mac-address = [ 00 00 00 00 00 00 ]; | 257 | local-mac-address = [ 00 00 00 00 00 00 ]; |
217 | interrupts = <29 2 30 2 34 2>; | 258 | interrupts = <29 2 30 2 34 2>; |
218 | interrupt-parent = <&mpic>; | 259 | interrupt-parent = <&mpic>; |
260 | tbi-handle = <&tbi0>; | ||
219 | phy-handle = <&phy0>; | 261 | phy-handle = <&phy0>; |
220 | phy-connection-type = "rgmii-id"; | 262 | phy-connection-type = "rgmii-id"; |
221 | }; | 263 | }; |
@@ -229,6 +271,7 @@ | |||
229 | local-mac-address = [ 00 00 00 00 00 00 ]; | 271 | local-mac-address = [ 00 00 00 00 00 00 ]; |
230 | interrupts = <35 2 36 2 40 2>; | 272 | interrupts = <35 2 36 2 40 2>; |
231 | interrupt-parent = <&mpic>; | 273 | interrupt-parent = <&mpic>; |
274 | tbi-handle = <&tbi1>; | ||
232 | phy-handle = <&phy1>; | 275 | phy-handle = <&phy1>; |
233 | phy-connection-type = "rgmii-id"; | 276 | phy-connection-type = "rgmii-id"; |
234 | }; | 277 | }; |
@@ -242,6 +285,7 @@ | |||
242 | local-mac-address = [ 00 00 00 00 00 00 ]; | 285 | local-mac-address = [ 00 00 00 00 00 00 ]; |
243 | interrupts = <31 2 32 2 33 2>; | 286 | interrupts = <31 2 32 2 33 2>; |
244 | interrupt-parent = <&mpic>; | 287 | interrupt-parent = <&mpic>; |
288 | tbi-handle = <&tbi2>; | ||
245 | phy-handle = <&phy2>; | 289 | phy-handle = <&phy2>; |
246 | phy-connection-type = "rgmii-id"; | 290 | phy-connection-type = "rgmii-id"; |
247 | }; | 291 | }; |
@@ -255,6 +299,7 @@ | |||
255 | local-mac-address = [ 00 00 00 00 00 00 ]; | 299 | local-mac-address = [ 00 00 00 00 00 00 ]; |
256 | interrupts = <37 2 38 2 39 2>; | 300 | interrupts = <37 2 38 2 39 2>; |
257 | interrupt-parent = <&mpic>; | 301 | interrupt-parent = <&mpic>; |
302 | tbi-handle = <&tbi3>; | ||
258 | phy-handle = <&phy3>; | 303 | phy-handle = <&phy3>; |
259 | phy-connection-type = "rgmii-id"; | 304 | phy-connection-type = "rgmii-id"; |
260 | }; | 305 | }; |
diff --git a/arch/powerpc/boot/dts/pcm030.dts b/arch/powerpc/boot/dts/pcm030.dts index 7c1bb952360c..be2c11ca0594 100644 --- a/arch/powerpc/boot/dts/pcm030.dts +++ b/arch/powerpc/boot/dts/pcm030.dts | |||
@@ -143,7 +143,6 @@ | |||
143 | 143 | ||
144 | rtc@800 { // Real time clock | 144 | rtc@800 { // Real time clock |
145 | compatible = "fsl,mpc5200b-rtc","fsl,mpc5200-rtc"; | 145 | compatible = "fsl,mpc5200b-rtc","fsl,mpc5200-rtc"; |
146 | device_type = "rtc"; | ||
147 | reg = <0x800 0x100>; | 146 | reg = <0x800 0x100>; |
148 | interrupts = <0x1 0x5 0x0 0x1 0x6 0x0>; | 147 | interrupts = <0x1 0x5 0x0 0x1 0x6 0x0>; |
149 | interrupt-parent = <&mpc5200_pic>; | 148 | interrupt-parent = <&mpc5200_pic>; |
@@ -301,7 +300,6 @@ | |||
301 | interrupt-parent = <&mpc5200_pic>; | 300 | interrupt-parent = <&mpc5200_pic>; |
302 | fsl5200-clocking; | 301 | fsl5200-clocking; |
303 | rtc@51 { | 302 | rtc@51 { |
304 | device_type = "rtc"; | ||
305 | compatible = "nxp,pcf8563"; | 303 | compatible = "nxp,pcf8563"; |
306 | reg = <0x51>; | 304 | reg = <0x51>; |
307 | }; | 305 | }; |
diff --git a/arch/powerpc/boot/dts/sbc8349.dts b/arch/powerpc/boot/dts/sbc8349.dts index 0f941f310e44..8d365a57ebc1 100644 --- a/arch/powerpc/boot/dts/sbc8349.dts +++ b/arch/powerpc/boot/dts/sbc8349.dts | |||
@@ -177,6 +177,22 @@ | |||
177 | reg = <0x1a>; | 177 | reg = <0x1a>; |
178 | device_type = "ethernet-phy"; | 178 | device_type = "ethernet-phy"; |
179 | }; | 179 | }; |
180 | tbi0: tbi-phy@11 { | ||
181 | reg = <0x11>; | ||
182 | device_type = "tbi-phy"; | ||
183 | }; | ||
184 | }; | ||
185 | |||
186 | mdio@25520 { | ||
187 | #address-cells = <1>; | ||
188 | #size-cells = <0>; | ||
189 | compatible = "fsl,gianfar-tbi"; | ||
190 | reg = <0x25520 0x20>; | ||
191 | |||
192 | tbi1: tbi-phy@11 { | ||
193 | reg = <0x11>; | ||
194 | device_type = "tbi-phy"; | ||
195 | }; | ||
180 | }; | 196 | }; |
181 | 197 | ||
182 | enet0: ethernet@24000 { | 198 | enet0: ethernet@24000 { |
@@ -188,6 +204,7 @@ | |||
188 | local-mac-address = [ 00 00 00 00 00 00 ]; | 204 | local-mac-address = [ 00 00 00 00 00 00 ]; |
189 | interrupts = <32 0x8 33 0x8 34 0x8>; | 205 | interrupts = <32 0x8 33 0x8 34 0x8>; |
190 | interrupt-parent = <&ipic>; | 206 | interrupt-parent = <&ipic>; |
207 | tbi-handle = <&tbi0>; | ||
191 | phy-handle = <&phy0>; | 208 | phy-handle = <&phy0>; |
192 | linux,network-index = <0>; | 209 | linux,network-index = <0>; |
193 | }; | 210 | }; |
@@ -201,6 +218,7 @@ | |||
201 | local-mac-address = [ 00 00 00 00 00 00 ]; | 218 | local-mac-address = [ 00 00 00 00 00 00 ]; |
202 | interrupts = <35 0x8 36 0x8 37 0x8>; | 219 | interrupts = <35 0x8 36 0x8 37 0x8>; |
203 | interrupt-parent = <&ipic>; | 220 | interrupt-parent = <&ipic>; |
221 | tbi-handle = <&tbi1>; | ||
204 | phy-handle = <&phy1>; | 222 | phy-handle = <&phy1>; |
205 | linux,network-index = <1>; | 223 | linux,network-index = <1>; |
206 | }; | 224 | }; |
diff --git a/arch/powerpc/boot/dts/sbc8548.dts b/arch/powerpc/boot/dts/sbc8548.dts index 333552b4e90d..2baf4a51f224 100644 --- a/arch/powerpc/boot/dts/sbc8548.dts +++ b/arch/powerpc/boot/dts/sbc8548.dts | |||
@@ -252,6 +252,22 @@ | |||
252 | reg = <0x1a>; | 252 | reg = <0x1a>; |
253 | device_type = "ethernet-phy"; | 253 | device_type = "ethernet-phy"; |
254 | }; | 254 | }; |
255 | tbi0: tbi-phy@11 { | ||
256 | reg = <0x11>; | ||
257 | device_type = "tbi-phy"; | ||
258 | }; | ||
259 | }; | ||
260 | |||
261 | mdio@25520 { | ||
262 | #address-cells = <1>; | ||
263 | #size-cells = <0>; | ||
264 | compatible = "fsl,gianfar-tbi"; | ||
265 | reg = <0x25520 0x20>; | ||
266 | |||
267 | tbi1: tbi-phy@11 { | ||
268 | reg = <0x11>; | ||
269 | device_type = "tbi-phy"; | ||
270 | }; | ||
255 | }; | 271 | }; |
256 | 272 | ||
257 | enet0: ethernet@24000 { | 273 | enet0: ethernet@24000 { |
@@ -263,6 +279,7 @@ | |||
263 | local-mac-address = [ 00 00 00 00 00 00 ]; | 279 | local-mac-address = [ 00 00 00 00 00 00 ]; |
264 | interrupts = <0x1d 0x2 0x1e 0x2 0x22 0x2>; | 280 | interrupts = <0x1d 0x2 0x1e 0x2 0x22 0x2>; |
265 | interrupt-parent = <&mpic>; | 281 | interrupt-parent = <&mpic>; |
282 | tbi-handle = <&tbi0>; | ||
266 | phy-handle = <&phy0>; | 283 | phy-handle = <&phy0>; |
267 | }; | 284 | }; |
268 | 285 | ||
@@ -275,6 +292,7 @@ | |||
275 | local-mac-address = [ 00 00 00 00 00 00 ]; | 292 | local-mac-address = [ 00 00 00 00 00 00 ]; |
276 | interrupts = <0x23 0x2 0x24 0x2 0x28 0x2>; | 293 | interrupts = <0x23 0x2 0x24 0x2 0x28 0x2>; |
277 | interrupt-parent = <&mpic>; | 294 | interrupt-parent = <&mpic>; |
295 | tbi-handle = <&tbi1>; | ||
278 | phy-handle = <&phy1>; | 296 | phy-handle = <&phy1>; |
279 | }; | 297 | }; |
280 | 298 | ||
diff --git a/arch/powerpc/boot/dts/sbc8560.dts b/arch/powerpc/boot/dts/sbc8560.dts index db3632ef9888..01542f7062ab 100644 --- a/arch/powerpc/boot/dts/sbc8560.dts +++ b/arch/powerpc/boot/dts/sbc8560.dts | |||
@@ -168,6 +168,22 @@ | |||
168 | reg = <0x1c>; | 168 | reg = <0x1c>; |
169 | device_type = "ethernet-phy"; | 169 | device_type = "ethernet-phy"; |
170 | }; | 170 | }; |
171 | tbi0: tbi-phy@11 { | ||
172 | reg = <0x11>; | ||
173 | device_type = "tbi-phy"; | ||
174 | }; | ||
175 | }; | ||
176 | |||
177 | mdio@25520 { | ||
178 | #address-cells = <1>; | ||
179 | #size-cells = <0>; | ||
180 | compatible = "fsl,gianfar-tbi"; | ||
181 | reg = <0x25520 0x20>; | ||
182 | |||
183 | tbi1: tbi-phy@11 { | ||
184 | reg = <0x11>; | ||
185 | device_type = "tbi-phy"; | ||
186 | }; | ||
171 | }; | 187 | }; |
172 | 188 | ||
173 | enet0: ethernet@24000 { | 189 | enet0: ethernet@24000 { |
@@ -179,6 +195,7 @@ | |||
179 | local-mac-address = [ 00 00 00 00 00 00 ]; | 195 | local-mac-address = [ 00 00 00 00 00 00 ]; |
180 | interrupts = <0x1d 0x2 0x1e 0x2 0x22 0x2>; | 196 | interrupts = <0x1d 0x2 0x1e 0x2 0x22 0x2>; |
181 | interrupt-parent = <&mpic>; | 197 | interrupt-parent = <&mpic>; |
198 | tbi-handle = <&tbi0>; | ||
182 | phy-handle = <&phy0>; | 199 | phy-handle = <&phy0>; |
183 | }; | 200 | }; |
184 | 201 | ||
@@ -191,6 +208,7 @@ | |||
191 | local-mac-address = [ 00 00 00 00 00 00 ]; | 208 | local-mac-address = [ 00 00 00 00 00 00 ]; |
192 | interrupts = <0x23 0x2 0x24 0x2 0x28 0x2>; | 209 | interrupts = <0x23 0x2 0x24 0x2 0x28 0x2>; |
193 | interrupt-parent = <&mpic>; | 210 | interrupt-parent = <&mpic>; |
211 | tbi-handle = <&tbi1>; | ||
194 | phy-handle = <&phy1>; | 212 | phy-handle = <&phy1>; |
195 | }; | 213 | }; |
196 | 214 | ||
diff --git a/arch/powerpc/boot/dts/sbc8641d.dts b/arch/powerpc/boot/dts/sbc8641d.dts index 9652456158fb..36db981548e4 100644 --- a/arch/powerpc/boot/dts/sbc8641d.dts +++ b/arch/powerpc/boot/dts/sbc8641d.dts | |||
@@ -222,6 +222,46 @@ | |||
222 | reg = <2>; | 222 | reg = <2>; |
223 | device_type = "ethernet-phy"; | 223 | device_type = "ethernet-phy"; |
224 | }; | 224 | }; |
225 | tbi0: tbi-phy@11 { | ||
226 | reg = <0x11>; | ||
227 | device_type = "tbi-phy"; | ||
228 | }; | ||
229 | }; | ||
230 | |||
231 | mdio@25520 { | ||
232 | #address-cells = <1>; | ||
233 | #size-cells = <0>; | ||
234 | compatible = "fsl,gianfar-tbi"; | ||
235 | reg = <0x25520 0x20>; | ||
236 | |||
237 | tbi1: tbi-phy@11 { | ||
238 | reg = <0x11>; | ||
239 | device_type = "tbi-phy"; | ||
240 | }; | ||
241 | }; | ||
242 | |||
243 | mdio@26520 { | ||
244 | #address-cells = <1>; | ||
245 | #size-cells = <0>; | ||
246 | compatible = "fsl,gianfar-tbi"; | ||
247 | reg = <0x26520 0x20>; | ||
248 | |||
249 | tbi2: tbi-phy@11 { | ||
250 | reg = <0x11>; | ||
251 | device_type = "tbi-phy"; | ||
252 | }; | ||
253 | }; | ||
254 | |||
255 | mdio@27520 { | ||
256 | #address-cells = <1>; | ||
257 | #size-cells = <0>; | ||
258 | compatible = "fsl,gianfar-tbi"; | ||
259 | reg = <0x27520 0x20>; | ||
260 | |||
261 | tbi3: tbi-phy@11 { | ||
262 | reg = <0x11>; | ||
263 | device_type = "tbi-phy"; | ||
264 | }; | ||
225 | }; | 265 | }; |
226 | 266 | ||
227 | enet0: ethernet@24000 { | 267 | enet0: ethernet@24000 { |
@@ -233,6 +273,7 @@ | |||
233 | local-mac-address = [ 00 00 00 00 00 00 ]; | 273 | local-mac-address = [ 00 00 00 00 00 00 ]; |
234 | interrupts = <29 2 30 2 34 2>; | 274 | interrupts = <29 2 30 2 34 2>; |
235 | interrupt-parent = <&mpic>; | 275 | interrupt-parent = <&mpic>; |
276 | tbi-handle = <&tbi0>; | ||
236 | phy-handle = <&phy0>; | 277 | phy-handle = <&phy0>; |
237 | phy-connection-type = "rgmii-id"; | 278 | phy-connection-type = "rgmii-id"; |
238 | }; | 279 | }; |
@@ -246,6 +287,7 @@ | |||
246 | local-mac-address = [ 00 00 00 00 00 00 ]; | 287 | local-mac-address = [ 00 00 00 00 00 00 ]; |
247 | interrupts = <35 2 36 2 40 2>; | 288 | interrupts = <35 2 36 2 40 2>; |
248 | interrupt-parent = <&mpic>; | 289 | interrupt-parent = <&mpic>; |
290 | tbi-handle = <&tbi1>; | ||
249 | phy-handle = <&phy1>; | 291 | phy-handle = <&phy1>; |
250 | phy-connection-type = "rgmii-id"; | 292 | phy-connection-type = "rgmii-id"; |
251 | }; | 293 | }; |
@@ -259,6 +301,7 @@ | |||
259 | local-mac-address = [ 00 00 00 00 00 00 ]; | 301 | local-mac-address = [ 00 00 00 00 00 00 ]; |
260 | interrupts = <31 2 32 2 33 2>; | 302 | interrupts = <31 2 32 2 33 2>; |
261 | interrupt-parent = <&mpic>; | 303 | interrupt-parent = <&mpic>; |
304 | tbi-handle = <&tbi2>; | ||
262 | phy-handle = <&phy2>; | 305 | phy-handle = <&phy2>; |
263 | phy-connection-type = "rgmii-id"; | 306 | phy-connection-type = "rgmii-id"; |
264 | }; | 307 | }; |
@@ -272,6 +315,7 @@ | |||
272 | local-mac-address = [ 00 00 00 00 00 00 ]; | 315 | local-mac-address = [ 00 00 00 00 00 00 ]; |
273 | interrupts = <37 2 38 2 39 2>; | 316 | interrupts = <37 2 38 2 39 2>; |
274 | interrupt-parent = <&mpic>; | 317 | interrupt-parent = <&mpic>; |
318 | tbi-handle = <&tbi3>; | ||
275 | phy-handle = <&phy3>; | 319 | phy-handle = <&phy3>; |
276 | phy-connection-type = "rgmii-id"; | 320 | phy-connection-type = "rgmii-id"; |
277 | }; | 321 | }; |
diff --git a/arch/powerpc/boot/dts/stx_gp3_8560.dts b/arch/powerpc/boot/dts/stx_gp3_8560.dts index fcd1db6ca0a8..fff33fe6efc6 100644 --- a/arch/powerpc/boot/dts/stx_gp3_8560.dts +++ b/arch/powerpc/boot/dts/stx_gp3_8560.dts | |||
@@ -142,6 +142,22 @@ | |||
142 | reg = <4>; | 142 | reg = <4>; |
143 | device_type = "ethernet-phy"; | 143 | device_type = "ethernet-phy"; |
144 | }; | 144 | }; |
145 | tbi0: tbi-phy@11 { | ||
146 | reg = <0x11>; | ||
147 | device_type = "tbi-phy"; | ||
148 | }; | ||
149 | }; | ||
150 | |||
151 | mdio@25520 { | ||
152 | #address-cells = <1>; | ||
153 | #size-cells = <0>; | ||
154 | compatible = "fsl,gianfar-tbi"; | ||
155 | reg = <0x25520 0x20>; | ||
156 | |||
157 | tbi1: tbi-phy@11 { | ||
158 | reg = <0x11>; | ||
159 | device_type = "tbi-phy"; | ||
160 | }; | ||
145 | }; | 161 | }; |
146 | 162 | ||
147 | enet0: ethernet@24000 { | 163 | enet0: ethernet@24000 { |
@@ -153,6 +169,7 @@ | |||
153 | local-mac-address = [ 00 00 00 00 00 00 ]; | 169 | local-mac-address = [ 00 00 00 00 00 00 ]; |
154 | interrupts = <29 2 30 2 34 2>; | 170 | interrupts = <29 2 30 2 34 2>; |
155 | interrupt-parent = <&mpic>; | 171 | interrupt-parent = <&mpic>; |
172 | tbi-handle = <&tbi0>; | ||
156 | phy-handle = <&phy2>; | 173 | phy-handle = <&phy2>; |
157 | }; | 174 | }; |
158 | 175 | ||
@@ -165,6 +182,7 @@ | |||
165 | local-mac-address = [ 00 00 00 00 00 00 ]; | 182 | local-mac-address = [ 00 00 00 00 00 00 ]; |
166 | interrupts = <35 2 36 2 40 2>; | 183 | interrupts = <35 2 36 2 40 2>; |
167 | interrupt-parent = <&mpic>; | 184 | interrupt-parent = <&mpic>; |
185 | tbi-handle = <&tbi1>; | ||
168 | phy-handle = <&phy4>; | 186 | phy-handle = <&phy4>; |
169 | }; | 187 | }; |
170 | 188 | ||
diff --git a/arch/powerpc/boot/dts/tqm5200.dts b/arch/powerpc/boot/dts/tqm5200.dts index 3008bf8830c1..906302e26a62 100644 --- a/arch/powerpc/boot/dts/tqm5200.dts +++ b/arch/powerpc/boot/dts/tqm5200.dts | |||
@@ -181,7 +181,6 @@ | |||
181 | fsl5200-clocking; | 181 | fsl5200-clocking; |
182 | 182 | ||
183 | rtc@68 { | 183 | rtc@68 { |
184 | device_type = "rtc"; | ||
185 | compatible = "dallas,ds1307"; | 184 | compatible = "dallas,ds1307"; |
186 | reg = <0x68>; | 185 | reg = <0x68>; |
187 | }; | 186 | }; |
diff --git a/arch/powerpc/boot/dts/tqm8540.dts b/arch/powerpc/boot/dts/tqm8540.dts index e1d260b9085e..a693f01c21aa 100644 --- a/arch/powerpc/boot/dts/tqm8540.dts +++ b/arch/powerpc/boot/dts/tqm8540.dts | |||
@@ -155,6 +155,34 @@ | |||
155 | reg = <3>; | 155 | reg = <3>; |
156 | device_type = "ethernet-phy"; | 156 | device_type = "ethernet-phy"; |
157 | }; | 157 | }; |
158 | tbi0: tbi-phy@11 { | ||
159 | reg = <0x11>; | ||
160 | device_type = "tbi-phy"; | ||
161 | }; | ||
162 | }; | ||
163 | |||
164 | mdio@25520 { | ||
165 | #address-cells = <1>; | ||
166 | #size-cells = <0>; | ||
167 | compatible = "fsl,gianfar-tbi"; | ||
168 | reg = <0x25520 0x20>; | ||
169 | |||
170 | tbi1: tbi-phy@11 { | ||
171 | reg = <0x11>; | ||
172 | device_type = "tbi-phy"; | ||
173 | }; | ||
174 | }; | ||
175 | |||
176 | mdio@26520 { | ||
177 | #address-cells = <1>; | ||
178 | #size-cells = <0>; | ||
179 | compatible = "fsl,gianfar-tbi"; | ||
180 | reg = <0x26520 0x20>; | ||
181 | |||
182 | tbi2: tbi-phy@11 { | ||
183 | reg = <0x11>; | ||
184 | device_type = "tbi-phy"; | ||
185 | }; | ||
158 | }; | 186 | }; |
159 | 187 | ||
160 | enet0: ethernet@24000 { | 188 | enet0: ethernet@24000 { |
diff --git a/arch/powerpc/boot/dts/tqm8541.dts b/arch/powerpc/boot/dts/tqm8541.dts index d76441ec5dc7..9e3f5f0dde20 100644 --- a/arch/powerpc/boot/dts/tqm8541.dts +++ b/arch/powerpc/boot/dts/tqm8541.dts | |||
@@ -154,6 +154,22 @@ | |||
154 | reg = <3>; | 154 | reg = <3>; |
155 | device_type = "ethernet-phy"; | 155 | device_type = "ethernet-phy"; |
156 | }; | 156 | }; |
157 | tbi0: tbi-phy@11 { | ||
158 | reg = <0x11>; | ||
159 | device_type = "tbi-phy"; | ||
160 | }; | ||
161 | }; | ||
162 | |||
163 | mdio@25520 { | ||
164 | #address-cells = <1>; | ||
165 | #size-cells = <0>; | ||
166 | compatible = "fsl,gianfar-tbi"; | ||
167 | reg = <0x25520 0x20>; | ||
168 | |||
169 | tbi1: tbi-phy@11 { | ||
170 | reg = <0x11>; | ||
171 | device_type = "tbi-phy"; | ||
172 | }; | ||
157 | }; | 173 | }; |
158 | 174 | ||
159 | enet0: ethernet@24000 { | 175 | enet0: ethernet@24000 { |
@@ -165,6 +181,7 @@ | |||
165 | local-mac-address = [ 00 00 00 00 00 00 ]; | 181 | local-mac-address = [ 00 00 00 00 00 00 ]; |
166 | interrupts = <29 2 30 2 34 2>; | 182 | interrupts = <29 2 30 2 34 2>; |
167 | interrupt-parent = <&mpic>; | 183 | interrupt-parent = <&mpic>; |
184 | tbi-handle = <&tbi0>; | ||
168 | phy-handle = <&phy2>; | 185 | phy-handle = <&phy2>; |
169 | }; | 186 | }; |
170 | 187 | ||
@@ -177,6 +194,7 @@ | |||
177 | local-mac-address = [ 00 00 00 00 00 00 ]; | 194 | local-mac-address = [ 00 00 00 00 00 00 ]; |
178 | interrupts = <35 2 36 2 40 2>; | 195 | interrupts = <35 2 36 2 40 2>; |
179 | interrupt-parent = <&mpic>; | 196 | interrupt-parent = <&mpic>; |
197 | tbi-handle = <&tbi1>; | ||
180 | phy-handle = <&phy1>; | 198 | phy-handle = <&phy1>; |
181 | }; | 199 | }; |
182 | 200 | ||
diff --git a/arch/powerpc/boot/dts/tqm8548-bigflash.dts b/arch/powerpc/boot/dts/tqm8548-bigflash.dts index 4199e89b4e50..15086eb65c50 100644 --- a/arch/powerpc/boot/dts/tqm8548-bigflash.dts +++ b/arch/powerpc/boot/dts/tqm8548-bigflash.dts | |||
@@ -179,6 +179,46 @@ | |||
179 | reg = <5>; | 179 | reg = <5>; |
180 | device_type = "ethernet-phy"; | 180 | device_type = "ethernet-phy"; |
181 | }; | 181 | }; |
182 | tbi0: tbi-phy@11 { | ||
183 | reg = <0x11>; | ||
184 | device_type = "tbi-phy"; | ||
185 | }; | ||
186 | }; | ||
187 | |||
188 | mdio@25520 { | ||
189 | #address-cells = <1>; | ||
190 | #size-cells = <0>; | ||
191 | compatible = "fsl,gianfar-tbi"; | ||
192 | reg = <0x25520 0x20>; | ||
193 | |||
194 | tbi1: tbi-phy@11 { | ||
195 | reg = <0x11>; | ||
196 | device_type = "tbi-phy"; | ||
197 | }; | ||
198 | }; | ||
199 | |||
200 | mdio@26520 { | ||
201 | #address-cells = <1>; | ||
202 | #size-cells = <0>; | ||
203 | compatible = "fsl,gianfar-tbi"; | ||
204 | reg = <0x26520 0x20>; | ||
205 | |||
206 | tbi2: tbi-phy@11 { | ||
207 | reg = <0x11>; | ||
208 | device_type = "tbi-phy"; | ||
209 | }; | ||
210 | }; | ||
211 | |||
212 | mdio@27520 { | ||
213 | #address-cells = <1>; | ||
214 | #size-cells = <0>; | ||
215 | compatible = "fsl,gianfar-tbi"; | ||
216 | reg = <0x27520 0x20>; | ||
217 | |||
218 | tbi3: tbi-phy@11 { | ||
219 | reg = <0x11>; | ||
220 | device_type = "tbi-phy"; | ||
221 | }; | ||
182 | }; | 222 | }; |
183 | 223 | ||
184 | enet0: ethernet@24000 { | 224 | enet0: ethernet@24000 { |
@@ -190,6 +230,7 @@ | |||
190 | local-mac-address = [ 00 00 00 00 00 00 ]; | 230 | local-mac-address = [ 00 00 00 00 00 00 ]; |
191 | interrupts = <29 2 30 2 34 2>; | 231 | interrupts = <29 2 30 2 34 2>; |
192 | interrupt-parent = <&mpic>; | 232 | interrupt-parent = <&mpic>; |
233 | tbi-handle = <&tbi0>; | ||
193 | phy-handle = <&phy2>; | 234 | phy-handle = <&phy2>; |
194 | }; | 235 | }; |
195 | 236 | ||
@@ -202,6 +243,7 @@ | |||
202 | local-mac-address = [ 00 00 00 00 00 00 ]; | 243 | local-mac-address = [ 00 00 00 00 00 00 ]; |
203 | interrupts = <35 2 36 2 40 2>; | 244 | interrupts = <35 2 36 2 40 2>; |
204 | interrupt-parent = <&mpic>; | 245 | interrupt-parent = <&mpic>; |
246 | tbi-handle = <&tbi1>; | ||
205 | phy-handle = <&phy1>; | 247 | phy-handle = <&phy1>; |
206 | }; | 248 | }; |
207 | 249 | ||
@@ -214,6 +256,7 @@ | |||
214 | local-mac-address = [ 00 00 00 00 00 00 ]; | 256 | local-mac-address = [ 00 00 00 00 00 00 ]; |
215 | interrupts = <31 2 32 2 33 2>; | 257 | interrupts = <31 2 32 2 33 2>; |
216 | interrupt-parent = <&mpic>; | 258 | interrupt-parent = <&mpic>; |
259 | tbi-handle = <&tbi2>; | ||
217 | phy-handle = <&phy3>; | 260 | phy-handle = <&phy3>; |
218 | }; | 261 | }; |
219 | 262 | ||
@@ -226,6 +269,7 @@ | |||
226 | local-mac-address = [ 00 00 00 00 00 00 ]; | 269 | local-mac-address = [ 00 00 00 00 00 00 ]; |
227 | interrupts = <37 2 38 2 39 2>; | 270 | interrupts = <37 2 38 2 39 2>; |
228 | interrupt-parent = <&mpic>; | 271 | interrupt-parent = <&mpic>; |
272 | tbi-handle = <&tbi3>; | ||
229 | phy-handle = <&phy4>; | 273 | phy-handle = <&phy4>; |
230 | }; | 274 | }; |
231 | 275 | ||
diff --git a/arch/powerpc/boot/dts/tqm8548.dts b/arch/powerpc/boot/dts/tqm8548.dts index 58ee4185454b..b7b65f5e79b6 100644 --- a/arch/powerpc/boot/dts/tqm8548.dts +++ b/arch/powerpc/boot/dts/tqm8548.dts | |||
@@ -179,6 +179,46 @@ | |||
179 | reg = <5>; | 179 | reg = <5>; |
180 | device_type = "ethernet-phy"; | 180 | device_type = "ethernet-phy"; |
181 | }; | 181 | }; |
182 | tbi0: tbi-phy@11 { | ||
183 | reg = <0x11>; | ||
184 | device_type = "tbi-phy"; | ||
185 | }; | ||
186 | }; | ||
187 | |||
188 | mdio@25520 { | ||
189 | #address-cells = <1>; | ||
190 | #size-cells = <0>; | ||
191 | compatible = "fsl,gianfar-tbi"; | ||
192 | reg = <0x25520 0x20>; | ||
193 | |||
194 | tbi1: tbi-phy@11 { | ||
195 | reg = <0x11>; | ||
196 | device_type = "tbi-phy"; | ||
197 | }; | ||
198 | }; | ||
199 | |||
200 | mdio@26520 { | ||
201 | #address-cells = <1>; | ||
202 | #size-cells = <0>; | ||
203 | compatible = "fsl,gianfar-tbi"; | ||
204 | reg = <0x26520 0x20>; | ||
205 | |||
206 | tbi2: tbi-phy@11 { | ||
207 | reg = <0x11>; | ||
208 | device_type = "tbi-phy"; | ||
209 | }; | ||
210 | }; | ||
211 | |||
212 | mdio@27520 { | ||
213 | #address-cells = <1>; | ||
214 | #size-cells = <0>; | ||
215 | compatible = "fsl,gianfar-tbi"; | ||
216 | reg = <0x27520 0x20>; | ||
217 | |||
218 | tbi3: tbi-phy@11 { | ||
219 | reg = <0x11>; | ||
220 | device_type = "tbi-phy"; | ||
221 | }; | ||
182 | }; | 222 | }; |
183 | 223 | ||
184 | enet0: ethernet@24000 { | 224 | enet0: ethernet@24000 { |
@@ -190,6 +230,7 @@ | |||
190 | local-mac-address = [ 00 00 00 00 00 00 ]; | 230 | local-mac-address = [ 00 00 00 00 00 00 ]; |
191 | interrupts = <29 2 30 2 34 2>; | 231 | interrupts = <29 2 30 2 34 2>; |
192 | interrupt-parent = <&mpic>; | 232 | interrupt-parent = <&mpic>; |
233 | tbi-handle = <&tbi0>; | ||
193 | phy-handle = <&phy2>; | 234 | phy-handle = <&phy2>; |
194 | }; | 235 | }; |
195 | 236 | ||
@@ -202,6 +243,7 @@ | |||
202 | local-mac-address = [ 00 00 00 00 00 00 ]; | 243 | local-mac-address = [ 00 00 00 00 00 00 ]; |
203 | interrupts = <35 2 36 2 40 2>; | 244 | interrupts = <35 2 36 2 40 2>; |
204 | interrupt-parent = <&mpic>; | 245 | interrupt-parent = <&mpic>; |
246 | tbi-handle = <&tbi1>; | ||
205 | phy-handle = <&phy1>; | 247 | phy-handle = <&phy1>; |
206 | }; | 248 | }; |
207 | 249 | ||
@@ -214,6 +256,7 @@ | |||
214 | local-mac-address = [ 00 00 00 00 00 00 ]; | 256 | local-mac-address = [ 00 00 00 00 00 00 ]; |
215 | interrupts = <31 2 32 2 33 2>; | 257 | interrupts = <31 2 32 2 33 2>; |
216 | interrupt-parent = <&mpic>; | 258 | interrupt-parent = <&mpic>; |
259 | tbi-handle = <&tbi2>; | ||
217 | phy-handle = <&phy3>; | 260 | phy-handle = <&phy3>; |
218 | }; | 261 | }; |
219 | 262 | ||
@@ -226,6 +269,7 @@ | |||
226 | local-mac-address = [ 00 00 00 00 00 00 ]; | 269 | local-mac-address = [ 00 00 00 00 00 00 ]; |
227 | interrupts = <37 2 38 2 39 2>; | 270 | interrupts = <37 2 38 2 39 2>; |
228 | interrupt-parent = <&mpic>; | 271 | interrupt-parent = <&mpic>; |
272 | tbi-handle = <&tbi3>; | ||
229 | phy-handle = <&phy4>; | 273 | phy-handle = <&phy4>; |
230 | }; | 274 | }; |
231 | 275 | ||
diff --git a/arch/powerpc/boot/dts/tqm8555.dts b/arch/powerpc/boot/dts/tqm8555.dts index 6f7ea59c4846..cf92b4e7945e 100644 --- a/arch/powerpc/boot/dts/tqm8555.dts +++ b/arch/powerpc/boot/dts/tqm8555.dts | |||
@@ -154,6 +154,22 @@ | |||
154 | reg = <3>; | 154 | reg = <3>; |
155 | device_type = "ethernet-phy"; | 155 | device_type = "ethernet-phy"; |
156 | }; | 156 | }; |
157 | tbi0: tbi-phy@11 { | ||
158 | reg = <0x11>; | ||
159 | device_type = "tbi-phy"; | ||
160 | }; | ||
161 | }; | ||
162 | |||
163 | mdio@25520 { | ||
164 | #address-cells = <1>; | ||
165 | #size-cells = <0>; | ||
166 | compatible = "fsl,gianfar-tbi"; | ||
167 | reg = <0x25520 0x20>; | ||
168 | |||
169 | tbi1: tbi-phy@11 { | ||
170 | reg = <0x11>; | ||
171 | device_type = "tbi-phy"; | ||
172 | }; | ||
157 | }; | 173 | }; |
158 | 174 | ||
159 | enet0: ethernet@24000 { | 175 | enet0: ethernet@24000 { |
@@ -165,6 +181,7 @@ | |||
165 | local-mac-address = [ 00 00 00 00 00 00 ]; | 181 | local-mac-address = [ 00 00 00 00 00 00 ]; |
166 | interrupts = <29 2 30 2 34 2>; | 182 | interrupts = <29 2 30 2 34 2>; |
167 | interrupt-parent = <&mpic>; | 183 | interrupt-parent = <&mpic>; |
184 | tbi-handle = <&tbi0>; | ||
168 | phy-handle = <&phy2>; | 185 | phy-handle = <&phy2>; |
169 | }; | 186 | }; |
170 | 187 | ||
@@ -177,6 +194,7 @@ | |||
177 | local-mac-address = [ 00 00 00 00 00 00 ]; | 194 | local-mac-address = [ 00 00 00 00 00 00 ]; |
178 | interrupts = <35 2 36 2 40 2>; | 195 | interrupts = <35 2 36 2 40 2>; |
179 | interrupt-parent = <&mpic>; | 196 | interrupt-parent = <&mpic>; |
197 | tbi-handle = <&tbi1>; | ||
180 | phy-handle = <&phy1>; | 198 | phy-handle = <&phy1>; |
181 | }; | 199 | }; |
182 | 200 | ||
diff --git a/arch/powerpc/boot/dts/tqm8560.dts b/arch/powerpc/boot/dts/tqm8560.dts index 3fe35208907b..9e1ab2d2f669 100644 --- a/arch/powerpc/boot/dts/tqm8560.dts +++ b/arch/powerpc/boot/dts/tqm8560.dts | |||
@@ -156,6 +156,22 @@ | |||
156 | reg = <3>; | 156 | reg = <3>; |
157 | device_type = "ethernet-phy"; | 157 | device_type = "ethernet-phy"; |
158 | }; | 158 | }; |
159 | tbi0: tbi-phy@11 { | ||
160 | reg = <0x11>; | ||
161 | device_type = "tbi-phy"; | ||
162 | }; | ||
163 | }; | ||
164 | |||
165 | mdio@25520 { | ||
166 | #address-cells = <1>; | ||
167 | #size-cells = <0>; | ||
168 | compatible = "fsl,gianfar-tbi"; | ||
169 | reg = <0x25520 0x20>; | ||
170 | |||
171 | tbi1: tbi-phy@11 { | ||
172 | reg = <0x11>; | ||
173 | device_type = "tbi-phy"; | ||
174 | }; | ||
159 | }; | 175 | }; |
160 | 176 | ||
161 | enet0: ethernet@24000 { | 177 | enet0: ethernet@24000 { |
@@ -167,6 +183,7 @@ | |||
167 | local-mac-address = [ 00 00 00 00 00 00 ]; | 183 | local-mac-address = [ 00 00 00 00 00 00 ]; |
168 | interrupts = <29 2 30 2 34 2>; | 184 | interrupts = <29 2 30 2 34 2>; |
169 | interrupt-parent = <&mpic>; | 185 | interrupt-parent = <&mpic>; |
186 | tbi-handle = <&tbi0>; | ||
170 | phy-handle = <&phy2>; | 187 | phy-handle = <&phy2>; |
171 | }; | 188 | }; |
172 | 189 | ||
@@ -179,6 +196,7 @@ | |||
179 | local-mac-address = [ 00 00 00 00 00 00 ]; | 196 | local-mac-address = [ 00 00 00 00 00 00 ]; |
180 | interrupts = <35 2 36 2 40 2>; | 197 | interrupts = <35 2 36 2 40 2>; |
181 | interrupt-parent = <&mpic>; | 198 | interrupt-parent = <&mpic>; |
199 | tbi-handle = <&tbi1>; | ||
182 | phy-handle = <&phy1>; | 200 | phy-handle = <&phy1>; |
183 | }; | 201 | }; |
184 | 202 | ||
diff --git a/arch/powerpc/boot/libfdt-wrapper.c b/arch/powerpc/boot/libfdt-wrapper.c index 9276327bc2bb..bb8b9b3505ee 100644 --- a/arch/powerpc/boot/libfdt-wrapper.c +++ b/arch/powerpc/boot/libfdt-wrapper.c | |||
@@ -185,7 +185,7 @@ void fdt_init(void *blob) | |||
185 | 185 | ||
186 | /* Make sure the dt blob is the right version and so forth */ | 186 | /* Make sure the dt blob is the right version and so forth */ |
187 | fdt = blob; | 187 | fdt = blob; |
188 | bufsize = fdt_totalsize(fdt) + 4; | 188 | bufsize = fdt_totalsize(fdt) + EXPAND_GRANULARITY; |
189 | buf = malloc(bufsize); | 189 | buf = malloc(bufsize); |
190 | if(!buf) | 190 | if(!buf) |
191 | fatal("malloc failed. can't relocate the device tree\n\r"); | 191 | fatal("malloc failed. can't relocate the device tree\n\r"); |