diff options
Diffstat (limited to 'arch/powerpc/boot/dts')
-rw-r--r-- | arch/powerpc/boot/dts/kuroboxHG.dts | 148 | ||||
-rw-r--r-- | arch/powerpc/boot/dts/lite5200.dts | 313 | ||||
-rw-r--r-- | arch/powerpc/boot/dts/lite5200b.dts | 318 | ||||
-rw-r--r-- | arch/powerpc/boot/dts/mpc7448hpc2.dts | 44 |
4 files changed, 807 insertions, 16 deletions
diff --git a/arch/powerpc/boot/dts/kuroboxHG.dts b/arch/powerpc/boot/dts/kuroboxHG.dts new file mode 100644 index 000000000000..d06b0b018899 --- /dev/null +++ b/arch/powerpc/boot/dts/kuroboxHG.dts | |||
@@ -0,0 +1,148 @@ | |||
1 | /* | ||
2 | * Device Tree Souce for Buffalo KuroboxHG | ||
3 | * | ||
4 | * Choose CONFIG_LINKSTATION to build a kernel for KuroboxHG, or use | ||
5 | * the default configuration linkstation_defconfig. | ||
6 | * | ||
7 | * Based on sandpoint.dts | ||
8 | * | ||
9 | * 2006 (c) G. Liakhovetski <g.liakhovetski@gmx.de> | ||
10 | * | ||
11 | * This file is licensed under | ||
12 | * the terms of the GNU General Public License version 2. This program | ||
13 | * is licensed "as is" without any warranty of any kind, whether express | ||
14 | * or implied. | ||
15 | |||
16 | XXXX add flash parts, rtc, ?? | ||
17 | |||
18 | build with: "dtc -f -I dts -O dtb -o kuroboxHG.dtb -V 16 kuroboxHG.dts" | ||
19 | |||
20 | |||
21 | */ | ||
22 | |||
23 | / { | ||
24 | linux,phandle = <1000>; | ||
25 | model = "KuroboxHG"; | ||
26 | compatible = "linkstation"; | ||
27 | #address-cells = <1>; | ||
28 | #size-cells = <1>; | ||
29 | |||
30 | cpus { | ||
31 | linux,phandle = <2000>; | ||
32 | #cpus = <1>; | ||
33 | #address-cells = <1>; | ||
34 | #size-cells = <0>; | ||
35 | |||
36 | PowerPC,603e { /* Really 8241 */ | ||
37 | linux,phandle = <2100>; | ||
38 | linux,boot-cpu; | ||
39 | device_type = "cpu"; | ||
40 | reg = <0>; | ||
41 | clock-frequency = <fdad680>; /* Fixed by bootwrapper */ | ||
42 | timebase-frequency = <1F04000>; /* Fixed by bootwrapper */ | ||
43 | bus-frequency = <0>; /* From bootloader */ | ||
44 | /* Following required by dtc but not used */ | ||
45 | i-cache-line-size = <0>; | ||
46 | d-cache-line-size = <0>; | ||
47 | i-cache-size = <4000>; | ||
48 | d-cache-size = <4000>; | ||
49 | }; | ||
50 | }; | ||
51 | |||
52 | memory { | ||
53 | linux,phandle = <3000>; | ||
54 | device_type = "memory"; | ||
55 | reg = <00000000 08000000>; | ||
56 | }; | ||
57 | |||
58 | soc10x { /* AFAICT need to make soc for 8245's uarts to be defined */ | ||
59 | linux,phandle = <4000>; | ||
60 | #address-cells = <1>; | ||
61 | #size-cells = <1>; | ||
62 | #interrupt-cells = <2>; | ||
63 | device_type = "soc"; | ||
64 | compatible = "mpc10x"; | ||
65 | store-gathering = <0>; /* 0 == off, !0 == on */ | ||
66 | reg = <80000000 00100000>; | ||
67 | ranges = <80000000 80000000 70000000 /* pci mem space */ | ||
68 | fc000000 fc000000 00100000 /* EUMB */ | ||
69 | fe000000 fe000000 00c00000 /* pci i/o space */ | ||
70 | fec00000 fec00000 00300000 /* pci cfg regs */ | ||
71 | fef00000 fef00000 00100000>; /* pci iack */ | ||
72 | |||
73 | i2c@80003000 { | ||
74 | linux,phandle = <4300>; | ||
75 | device_type = "i2c"; | ||
76 | compatible = "fsl-i2c"; | ||
77 | reg = <80003000 1000>; | ||
78 | interrupts = <5 2>; | ||
79 | interrupt-parent = <4400>; | ||
80 | }; | ||
81 | |||
82 | serial@80004500 { | ||
83 | linux,phandle = <4511>; | ||
84 | device_type = "serial"; | ||
85 | compatible = "ns16550"; | ||
86 | reg = <80004500 8>; | ||
87 | clock-frequency = <7c044a8>; | ||
88 | current-speed = <2580>; | ||
89 | interrupts = <9 2>; | ||
90 | interrupt-parent = <4400>; | ||
91 | }; | ||
92 | |||
93 | serial@80004600 { | ||
94 | linux,phandle = <4512>; | ||
95 | device_type = "serial"; | ||
96 | compatible = "ns16550"; | ||
97 | reg = <80004600 8>; | ||
98 | clock-frequency = <7c044a8>; | ||
99 | current-speed = <e100>; | ||
100 | interrupts = <a 0>; | ||
101 | interrupt-parent = <4400>; | ||
102 | }; | ||
103 | |||
104 | pic@80040000 { | ||
105 | linux,phandle = <4400>; | ||
106 | #interrupt-cells = <2>; | ||
107 | #address-cells = <0>; | ||
108 | device_type = "open-pic"; | ||
109 | compatible = "chrp,open-pic"; | ||
110 | interrupt-controller; | ||
111 | reg = <80040000 40000>; | ||
112 | built-in; | ||
113 | }; | ||
114 | |||
115 | pci@fec00000 { | ||
116 | linux,phandle = <4500>; | ||
117 | #address-cells = <3>; | ||
118 | #size-cells = <2>; | ||
119 | #interrupt-cells = <1>; | ||
120 | device_type = "pci"; | ||
121 | compatible = "mpc10x-pci"; | ||
122 | reg = <fec00000 400000>; | ||
123 | ranges = <01000000 0 0 fe000000 0 00c00000 | ||
124 | 02000000 0 80000000 80000000 0 70000000>; | ||
125 | bus-range = <0 ff>; | ||
126 | clock-frequency = <7f28155>; | ||
127 | interrupt-parent = <4400>; | ||
128 | interrupt-map-mask = <f800 0 0 7>; | ||
129 | interrupt-map = < | ||
130 | /* IDSEL 0x11 - IRQ0 ETH */ | ||
131 | 5800 0 0 1 4400 0 1 | ||
132 | 5800 0 0 2 4400 1 1 | ||
133 | 5800 0 0 3 4400 2 1 | ||
134 | 5800 0 0 4 4400 3 1 | ||
135 | /* IDSEL 0x12 - IRQ1 IDE0 */ | ||
136 | 6000 0 0 1 4400 1 1 | ||
137 | 6000 0 0 2 4400 2 1 | ||
138 | 6000 0 0 3 4400 3 1 | ||
139 | 6000 0 0 4 4400 0 1 | ||
140 | /* IDSEL 0x14 - IRQ3 USB2.0 */ | ||
141 | 7000 0 0 1 4400 3 1 | ||
142 | 7000 0 0 2 4400 3 1 | ||
143 | 7000 0 0 3 4400 3 1 | ||
144 | 7000 0 0 4 4400 3 1 | ||
145 | >; | ||
146 | }; | ||
147 | }; | ||
148 | }; | ||
diff --git a/arch/powerpc/boot/dts/lite5200.dts b/arch/powerpc/boot/dts/lite5200.dts new file mode 100644 index 000000000000..8bc0d259796d --- /dev/null +++ b/arch/powerpc/boot/dts/lite5200.dts | |||
@@ -0,0 +1,313 @@ | |||
1 | /* | ||
2 | * Lite5200 board Device Tree Source | ||
3 | * | ||
4 | * Copyright 2006 Secret Lab Technologies Ltd. | ||
5 | * Grant Likely <grant.likely@secretlab.ca> | ||
6 | * | ||
7 | * This program is free software; you can redistribute it and/or modify it | ||
8 | * under the terms of the GNU General Public License as published by the | ||
9 | * Free Software Foundation; either version 2 of the License, or (at your | ||
10 | * option) any later version. | ||
11 | */ | ||
12 | |||
13 | / { | ||
14 | model = "Lite5200"; | ||
15 | compatible = "lite5200\0lite52xx\0mpc5200\0mpc52xx"; | ||
16 | #address-cells = <1>; | ||
17 | #size-cells = <1>; | ||
18 | |||
19 | cpus { | ||
20 | #cpus = <1>; | ||
21 | #address-cells = <1>; | ||
22 | #size-cells = <0>; | ||
23 | |||
24 | PowerPC,5200@0 { | ||
25 | device_type = "cpu"; | ||
26 | reg = <0>; | ||
27 | d-cache-line-size = <20>; | ||
28 | i-cache-line-size = <20>; | ||
29 | d-cache-size = <4000>; // L1, 16K | ||
30 | i-cache-size = <4000>; // L1, 16K | ||
31 | timebase-frequency = <0>; // from bootloader | ||
32 | bus-frequency = <0>; // from bootloader | ||
33 | clock-frequency = <0>; // from bootloader | ||
34 | 32-bit; | ||
35 | }; | ||
36 | }; | ||
37 | |||
38 | memory { | ||
39 | device_type = "memory"; | ||
40 | reg = <00000000 04000000>; // 64MB | ||
41 | }; | ||
42 | |||
43 | soc5200@f0000000 { | ||
44 | #interrupt-cells = <3>; | ||
45 | device_type = "soc"; | ||
46 | ranges = <0 f0000000 f0010000>; | ||
47 | reg = <f0000000 00010000>; | ||
48 | bus-frequency = <0>; // from bootloader | ||
49 | |||
50 | cdm@200 { | ||
51 | compatible = "mpc5200-cdm\0mpc52xx-cdm"; | ||
52 | reg = <200 38>; | ||
53 | }; | ||
54 | |||
55 | pic@500 { | ||
56 | // 5200 interrupts are encoded into two levels; | ||
57 | linux,phandle = <500>; | ||
58 | interrupt-controller; | ||
59 | #interrupt-cells = <3>; | ||
60 | device_type = "interrupt-controller"; | ||
61 | compatible = "mpc5200-pic\0mpc52xx-pic"; | ||
62 | reg = <500 80>; | ||
63 | built-in; | ||
64 | }; | ||
65 | |||
66 | gpt@600 { // General Purpose Timer | ||
67 | compatible = "mpc5200-gpt\0mpc52xx-gpt"; | ||
68 | device_type = "gpt"; | ||
69 | reg = <600 10>; | ||
70 | interrupts = <1 9 0>; | ||
71 | interrupt-parent = <500>; | ||
72 | }; | ||
73 | |||
74 | gpt@610 { // General Purpose Timer | ||
75 | compatible = "mpc5200-gpt\0mpc52xx-gpt"; | ||
76 | device_type = "gpt"; | ||
77 | reg = <610 10>; | ||
78 | interrupts = <1 a 0>; | ||
79 | interrupt-parent = <500>; | ||
80 | }; | ||
81 | |||
82 | gpt@620 { // General Purpose Timer | ||
83 | compatible = "mpc5200-gpt\0mpc52xx-gpt"; | ||
84 | device_type = "gpt"; | ||
85 | reg = <620 10>; | ||
86 | interrupts = <1 b 0>; | ||
87 | interrupt-parent = <500>; | ||
88 | }; | ||
89 | |||
90 | gpt@630 { // General Purpose Timer | ||
91 | compatible = "mpc5200-gpt\0mpc52xx-gpt"; | ||
92 | device_type = "gpt"; | ||
93 | reg = <630 10>; | ||
94 | interrupts = <1 c 0>; | ||
95 | interrupt-parent = <500>; | ||
96 | }; | ||
97 | |||
98 | gpt@640 { // General Purpose Timer | ||
99 | compatible = "mpc5200-gpt\0mpc52xx-gpt"; | ||
100 | device_type = "gpt"; | ||
101 | reg = <640 10>; | ||
102 | interrupts = <1 d 0>; | ||
103 | interrupt-parent = <500>; | ||
104 | }; | ||
105 | |||
106 | gpt@650 { // General Purpose Timer | ||
107 | compatible = "mpc5200-gpt\0mpc52xx-gpt"; | ||
108 | device_type = "gpt"; | ||
109 | reg = <650 10>; | ||
110 | interrupts = <1 e 0>; | ||
111 | interrupt-parent = <500>; | ||
112 | }; | ||
113 | |||
114 | gpt@660 { // General Purpose Timer | ||
115 | compatible = "mpc5200-gpt\0mpc52xx-gpt"; | ||
116 | device_type = "gpt"; | ||
117 | reg = <660 10>; | ||
118 | interrupts = <1 f 0>; | ||
119 | interrupt-parent = <500>; | ||
120 | }; | ||
121 | |||
122 | gpt@670 { // General Purpose Timer | ||
123 | compatible = "mpc5200-gpt\0mpc52xx-gpt"; | ||
124 | device_type = "gpt"; | ||
125 | reg = <670 10>; | ||
126 | interrupts = <1 10 0>; | ||
127 | interrupt-parent = <500>; | ||
128 | }; | ||
129 | |||
130 | rtc@800 { // Real time clock | ||
131 | compatible = "mpc5200-rtc\0mpc52xx-rtc"; | ||
132 | device_type = "rtc"; | ||
133 | reg = <800 100>; | ||
134 | interrupts = <1 5 0 1 6 0>; | ||
135 | interrupt-parent = <500>; | ||
136 | }; | ||
137 | |||
138 | mscan@900 { | ||
139 | device_type = "mscan"; | ||
140 | compatible = "mpc5200-mscan\0mpc52xx-mscan"; | ||
141 | interrupts = <2 11 0>; | ||
142 | interrupt-parent = <500>; | ||
143 | reg = <900 80>; | ||
144 | }; | ||
145 | |||
146 | mscan@980 { | ||
147 | device_type = "mscan"; | ||
148 | compatible = "mpc5200-mscan\0mpc52xx-mscan"; | ||
149 | interrupts = <1 12 0>; | ||
150 | interrupt-parent = <500>; | ||
151 | reg = <980 80>; | ||
152 | }; | ||
153 | |||
154 | gpio@b00 { | ||
155 | compatible = "mpc5200-gpio\0mpc52xx-gpio"; | ||
156 | reg = <b00 40>; | ||
157 | interrupts = <1 7 0>; | ||
158 | interrupt-parent = <500>; | ||
159 | }; | ||
160 | |||
161 | gpio-wkup@b00 { | ||
162 | compatible = "mpc5200-gpio-wkup\0mpc52xx-gpio-wkup"; | ||
163 | reg = <c00 40>; | ||
164 | interrupts = <1 8 0 0 3 0>; | ||
165 | interrupt-parent = <500>; | ||
166 | }; | ||
167 | |||
168 | pci@0d00 { | ||
169 | #interrupt-cells = <1>; | ||
170 | #size-cells = <2>; | ||
171 | #address-cells = <3>; | ||
172 | device_type = "pci"; | ||
173 | compatible = "mpc5200-pci\0mpc52xx-pci"; | ||
174 | reg = <d00 100>; | ||
175 | interrupt-map-mask = <f800 0 0 7>; | ||
176 | interrupt-map = <c000 0 0 1 500 0 0 3 | ||
177 | c000 0 0 2 500 0 0 3 | ||
178 | c000 0 0 3 500 0 0 3 | ||
179 | c000 0 0 4 500 0 0 3>; | ||
180 | clock-frequency = <0>; // From boot loader | ||
181 | interrupts = <2 8 0 2 9 0 2 a 0>; | ||
182 | interrupt-parent = <500>; | ||
183 | bus-range = <0 0>; | ||
184 | ranges = <42000000 0 80000000 80000000 0 20000000 | ||
185 | 02000000 0 a0000000 a0000000 0 10000000 | ||
186 | 01000000 0 00000000 b0000000 0 01000000>; | ||
187 | }; | ||
188 | |||
189 | spi@f00 { | ||
190 | device_type = "spi"; | ||
191 | compatible = "mpc5200-spi\0mpc52xx-spi"; | ||
192 | reg = <f00 20>; | ||
193 | interrupts = <2 d 0 2 e 0>; | ||
194 | interrupt-parent = <500>; | ||
195 | }; | ||
196 | |||
197 | usb@1000 { | ||
198 | device_type = "usb-ohci-be"; | ||
199 | compatible = "mpc5200-ohci\0mpc52xx-ohci\0ohci-be"; | ||
200 | reg = <1000 ff>; | ||
201 | interrupts = <2 6 0>; | ||
202 | interrupt-parent = <500>; | ||
203 | }; | ||
204 | |||
205 | bestcomm@1200 { | ||
206 | device_type = "dma-controller"; | ||
207 | compatible = "mpc5200-bestcomm\0mpc52xx-bestcomm"; | ||
208 | reg = <1200 80>; | ||
209 | interrupts = <3 0 0 3 1 0 3 2 0 3 3 0 | ||
210 | 3 4 0 3 5 0 3 6 0 3 7 0 | ||
211 | 3 8 0 3 9 0 3 a 0 3 b 0 | ||
212 | 3 c 0 3 d 0 3 e 0 3 f 0>; | ||
213 | interrupt-parent = <500>; | ||
214 | }; | ||
215 | |||
216 | xlb@1f00 { | ||
217 | compatible = "mpc5200-xlb\0mpc52xx-xlb"; | ||
218 | reg = <1f00 100>; | ||
219 | }; | ||
220 | |||
221 | serial@2000 { // PSC1 | ||
222 | device_type = "serial"; | ||
223 | compatible = "mpc5200-psc-uart\0mpc52xx-psc-uart"; | ||
224 | port-number = <0>; // Logical port assignment | ||
225 | reg = <2000 100>; | ||
226 | interrupts = <2 1 0>; | ||
227 | interrupt-parent = <500>; | ||
228 | }; | ||
229 | |||
230 | // PSC2 in spi mode example | ||
231 | spi@2200 { // PSC2 | ||
232 | device_type = "spi"; | ||
233 | compatible = "mpc5200-psc-spi\0mpc52xx-psc-spi"; | ||
234 | reg = <2200 100>; | ||
235 | interrupts = <2 2 0>; | ||
236 | interrupt-parent = <500>; | ||
237 | }; | ||
238 | |||
239 | // PSC3 in CODEC mode example | ||
240 | i2s@2400 { // PSC3 | ||
241 | device_type = "i2s"; | ||
242 | compatible = "mpc5200-psc-i2s\0mpc52xx-psc-i2s"; | ||
243 | reg = <2400 100>; | ||
244 | interrupts = <2 3 0>; | ||
245 | interrupt-parent = <500>; | ||
246 | }; | ||
247 | |||
248 | // PSC4 unconfigured | ||
249 | //serial@2600 { // PSC4 | ||
250 | // device_type = "serial"; | ||
251 | // compatible = "mpc5200-psc-uart\0mpc52xx-psc-uart"; | ||
252 | // reg = <2600 100>; | ||
253 | // interrupts = <2 b 0>; | ||
254 | // interrupt-parent = <500>; | ||
255 | //}; | ||
256 | |||
257 | // PSC5 unconfigured | ||
258 | //serial@2800 { // PSC5 | ||
259 | // device_type = "serial"; | ||
260 | // compatible = "mpc5200-psc-uart\0mpc52xx-psc-uart"; | ||
261 | // reg = <2800 100>; | ||
262 | // interrupts = <2 c 0>; | ||
263 | // interrupt-parent = <500>; | ||
264 | //}; | ||
265 | |||
266 | // PSC6 in AC97 mode example | ||
267 | ac97@2c00 { // PSC6 | ||
268 | device_type = "ac97"; | ||
269 | compatible = "mpc5200-psc-ac97\0mpc52xx-psc-ac97"; | ||
270 | reg = <2c00 100>; | ||
271 | interrupts = <2 4 0>; | ||
272 | interrupt-parent = <500>; | ||
273 | }; | ||
274 | |||
275 | ethernet@3000 { | ||
276 | device_type = "network"; | ||
277 | compatible = "mpc5200-fec\0mpc52xx-fec"; | ||
278 | reg = <3000 800>; | ||
279 | mac-address = [ 02 03 04 05 06 07 ]; // Bad! | ||
280 | interrupts = <2 5 0>; | ||
281 | interrupt-parent = <500>; | ||
282 | }; | ||
283 | |||
284 | ata@3a00 { | ||
285 | device_type = "ata"; | ||
286 | compatible = "mpc5200-ata\0mpc52xx-ata"; | ||
287 | reg = <3a00 100>; | ||
288 | interrupts = <2 7 0>; | ||
289 | interrupt-parent = <500>; | ||
290 | }; | ||
291 | |||
292 | i2c@3d00 { | ||
293 | device_type = "i2c"; | ||
294 | compatible = "mpc5200-i2c\0mpc52xx-i2c"; | ||
295 | reg = <3d00 40>; | ||
296 | interrupts = <2 f 0>; | ||
297 | interrupt-parent = <500>; | ||
298 | }; | ||
299 | |||
300 | i2c@3d40 { | ||
301 | device_type = "i2c"; | ||
302 | compatible = "mpc5200-i2c\0mpc52xx-i2c"; | ||
303 | reg = <3d40 40>; | ||
304 | interrupts = <2 10 0>; | ||
305 | interrupt-parent = <500>; | ||
306 | }; | ||
307 | sram@8000 { | ||
308 | device_type = "sram"; | ||
309 | compatible = "mpc5200-sram\0mpc52xx-sram\0sram"; | ||
310 | reg = <8000 4000>; | ||
311 | }; | ||
312 | }; | ||
313 | }; | ||
diff --git a/arch/powerpc/boot/dts/lite5200b.dts b/arch/powerpc/boot/dts/lite5200b.dts new file mode 100644 index 000000000000..81cb76418a78 --- /dev/null +++ b/arch/powerpc/boot/dts/lite5200b.dts | |||
@@ -0,0 +1,318 @@ | |||
1 | /* | ||
2 | * Lite5200B board Device Tree Source | ||
3 | * | ||
4 | * Copyright 2006 Secret Lab Technologies Ltd. | ||
5 | * Grant Likely <grant.likely@secretlab.ca> | ||
6 | * | ||
7 | * This program is free software; you can redistribute it and/or modify it | ||
8 | * under the terms of the GNU General Public License as published by the | ||
9 | * Free Software Foundation; either version 2 of the License, or (at your | ||
10 | * option) any later version. | ||
11 | */ | ||
12 | |||
13 | / { | ||
14 | model = "Lite5200b"; | ||
15 | compatible = "lite5200b\0lite52xx\0mpc5200b\0mpc52xx"; | ||
16 | #address-cells = <1>; | ||
17 | #size-cells = <1>; | ||
18 | |||
19 | cpus { | ||
20 | #cpus = <1>; | ||
21 | #address-cells = <1>; | ||
22 | #size-cells = <0>; | ||
23 | |||
24 | PowerPC,5200@0 { | ||
25 | device_type = "cpu"; | ||
26 | reg = <0>; | ||
27 | d-cache-line-size = <20>; | ||
28 | i-cache-line-size = <20>; | ||
29 | d-cache-size = <4000>; // L1, 16K | ||
30 | i-cache-size = <4000>; // L1, 16K | ||
31 | timebase-frequency = <0>; // from bootloader | ||
32 | bus-frequency = <0>; // from bootloader | ||
33 | clock-frequency = <0>; // from bootloader | ||
34 | 32-bit; | ||
35 | }; | ||
36 | }; | ||
37 | |||
38 | memory { | ||
39 | device_type = "memory"; | ||
40 | reg = <00000000 10000000>; // 256MB | ||
41 | }; | ||
42 | |||
43 | soc5200@f0000000 { | ||
44 | #interrupt-cells = <3>; | ||
45 | device_type = "soc"; | ||
46 | ranges = <0 f0000000 f0010000>; | ||
47 | reg = <f0000000 00010000>; | ||
48 | bus-frequency = <0>; // from bootloader | ||
49 | |||
50 | cdm@200 { | ||
51 | compatible = "mpc5200b-cdm\0mpc52xx-cdm"; | ||
52 | reg = <200 38>; | ||
53 | }; | ||
54 | |||
55 | pic@500 { | ||
56 | // 5200 interrupts are encoded into two levels; | ||
57 | linux,phandle = <500>; | ||
58 | interrupt-controller; | ||
59 | #interrupt-cells = <3>; | ||
60 | device_type = "interrupt-controller"; | ||
61 | compatible = "mpc5200b-pic\0mpc52xx-pic"; | ||
62 | reg = <500 80>; | ||
63 | built-in; | ||
64 | }; | ||
65 | |||
66 | gpt@600 { // General Purpose Timer | ||
67 | compatible = "mpc5200b-gpt\0mpc52xx-gpt"; | ||
68 | device_type = "gpt"; | ||
69 | reg = <600 10>; | ||
70 | interrupts = <1 9 0>; | ||
71 | interrupt-parent = <500>; | ||
72 | }; | ||
73 | |||
74 | gpt@610 { // General Purpose Timer | ||
75 | compatible = "mpc5200b-gpt\0mpc52xx-gpt"; | ||
76 | device_type = "gpt"; | ||
77 | reg = <610 10>; | ||
78 | interrupts = <1 a 0>; | ||
79 | interrupt-parent = <500>; | ||
80 | }; | ||
81 | |||
82 | gpt@620 { // General Purpose Timer | ||
83 | compatible = "mpc5200b-gpt\0mpc52xx-gpt"; | ||
84 | device_type = "gpt"; | ||
85 | reg = <620 10>; | ||
86 | interrupts = <1 b 0>; | ||
87 | interrupt-parent = <500>; | ||
88 | }; | ||
89 | |||
90 | gpt@630 { // General Purpose Timer | ||
91 | compatible = "mpc5200b-gpt\0mpc52xx-gpt"; | ||
92 | device_type = "gpt"; | ||
93 | reg = <630 10>; | ||
94 | interrupts = <1 c 0>; | ||
95 | interrupt-parent = <500>; | ||
96 | }; | ||
97 | |||
98 | gpt@640 { // General Purpose Timer | ||
99 | compatible = "mpc5200b-gpt\0mpc52xx-gpt"; | ||
100 | device_type = "gpt"; | ||
101 | reg = <640 10>; | ||
102 | interrupts = <1 d 0>; | ||
103 | interrupt-parent = <500>; | ||
104 | }; | ||
105 | |||
106 | gpt@650 { // General Purpose Timer | ||
107 | compatible = "mpc5200b-gpt\0mpc52xx-gpt"; | ||
108 | device_type = "gpt"; | ||
109 | reg = <650 10>; | ||
110 | interrupts = <1 e 0>; | ||
111 | interrupt-parent = <500>; | ||
112 | }; | ||
113 | |||
114 | gpt@660 { // General Purpose Timer | ||
115 | compatible = "mpc5200b-gpt\0mpc52xx-gpt"; | ||
116 | device_type = "gpt"; | ||
117 | reg = <660 10>; | ||
118 | interrupts = <1 f 0>; | ||
119 | interrupt-parent = <500>; | ||
120 | }; | ||
121 | |||
122 | gpt@670 { // General Purpose Timer | ||
123 | compatible = "mpc5200b-gpt\0mpc52xx-gpt"; | ||
124 | device_type = "gpt"; | ||
125 | reg = <670 10>; | ||
126 | interrupts = <1 10 0>; | ||
127 | interrupt-parent = <500>; | ||
128 | }; | ||
129 | |||
130 | rtc@800 { // Real time clock | ||
131 | compatible = "mpc5200b-rtc\0mpc52xx-rtc"; | ||
132 | device_type = "rtc"; | ||
133 | reg = <800 100>; | ||
134 | interrupts = <1 5 0 1 6 0>; | ||
135 | interrupt-parent = <500>; | ||
136 | }; | ||
137 | |||
138 | mscan@900 { | ||
139 | device_type = "mscan"; | ||
140 | compatible = "mpc5200b-mscan\0mpc52xx-mscan"; | ||
141 | interrupts = <2 11 0>; | ||
142 | interrupt-parent = <500>; | ||
143 | reg = <900 80>; | ||
144 | }; | ||
145 | |||
146 | mscan@980 { | ||
147 | device_type = "mscan"; | ||
148 | compatible = "mpc5200b-mscan\0mpc52xx-mscan"; | ||
149 | interrupts = <1 12 0>; | ||
150 | interrupt-parent = <500>; | ||
151 | reg = <980 80>; | ||
152 | }; | ||
153 | |||
154 | gpio@b00 { | ||
155 | compatible = "mpc5200b-gpio\0mpc52xx-gpio"; | ||
156 | reg = <b00 40>; | ||
157 | interrupts = <1 7 0>; | ||
158 | interrupt-parent = <500>; | ||
159 | }; | ||
160 | |||
161 | gpio-wkup@b00 { | ||
162 | compatible = "mpc5200b-gpio-wkup\0mpc52xx-gpio-wkup"; | ||
163 | reg = <c00 40>; | ||
164 | interrupts = <1 8 0 0 3 0>; | ||
165 | interrupt-parent = <500>; | ||
166 | }; | ||
167 | |||
168 | pci@0d00 { | ||
169 | #interrupt-cells = <1>; | ||
170 | #size-cells = <2>; | ||
171 | #address-cells = <3>; | ||
172 | device_type = "pci"; | ||
173 | compatible = "mpc5200b-pci\0mpc52xx-pci"; | ||
174 | reg = <d00 100>; | ||
175 | interrupt-map-mask = <f800 0 0 7>; | ||
176 | interrupt-map = <c000 0 0 1 500 0 0 3 // 1st slot | ||
177 | c000 0 0 2 500 1 1 3 | ||
178 | c000 0 0 3 500 1 2 3 | ||
179 | c000 0 0 4 500 1 3 3 | ||
180 | |||
181 | c800 0 0 1 500 1 1 3 // 2nd slot | ||
182 | c800 0 0 2 500 1 2 3 | ||
183 | c800 0 0 3 500 1 3 3 | ||
184 | c800 0 0 4 500 0 0 3>; | ||
185 | clock-frequency = <0>; // From boot loader | ||
186 | interrupts = <2 8 0 2 9 0 2 a 0>; | ||
187 | interrupt-parent = <500>; | ||
188 | bus-range = <0 0>; | ||
189 | ranges = <42000000 0 80000000 80000000 0 20000000 | ||
190 | 02000000 0 a0000000 a0000000 0 10000000 | ||
191 | 01000000 0 00000000 b0000000 0 01000000>; | ||
192 | }; | ||
193 | |||
194 | spi@f00 { | ||
195 | device_type = "spi"; | ||
196 | compatible = "mpc5200b-spi\0mpc52xx-spi"; | ||
197 | reg = <f00 20>; | ||
198 | interrupts = <2 d 0 2 e 0>; | ||
199 | interrupt-parent = <500>; | ||
200 | }; | ||
201 | |||
202 | usb@1000 { | ||
203 | device_type = "usb-ohci-be"; | ||
204 | compatible = "mpc5200b-ohci\0mpc52xx-ohci\0ohci-be"; | ||
205 | reg = <1000 ff>; | ||
206 | interrupts = <2 6 0>; | ||
207 | interrupt-parent = <500>; | ||
208 | }; | ||
209 | |||
210 | bestcomm@1200 { | ||
211 | device_type = "dma-controller"; | ||
212 | compatible = "mpc5200b-bestcomm\0mpc52xx-bestcomm"; | ||
213 | reg = <1200 80>; | ||
214 | interrupts = <3 0 0 3 1 0 3 2 0 3 3 0 | ||
215 | 3 4 0 3 5 0 3 6 0 3 7 0 | ||
216 | 3 8 0 3 9 0 3 a 0 3 b 0 | ||
217 | 3 c 0 3 d 0 3 e 0 3 f 0>; | ||
218 | interrupt-parent = <500>; | ||
219 | }; | ||
220 | |||
221 | xlb@1f00 { | ||
222 | compatible = "mpc5200b-xlb\0mpc52xx-xlb"; | ||
223 | reg = <1f00 100>; | ||
224 | }; | ||
225 | |||
226 | serial@2000 { // PSC1 | ||
227 | device_type = "serial"; | ||
228 | compatible = "mpc5200b-psc-uart\0mpc52xx-psc-uart"; | ||
229 | port-number = <0>; // Logical port assignment | ||
230 | reg = <2000 100>; | ||
231 | interrupts = <2 1 0>; | ||
232 | interrupt-parent = <500>; | ||
233 | }; | ||
234 | |||
235 | // PSC2 in spi mode example | ||
236 | spi@2200 { // PSC2 | ||
237 | device_type = "spi"; | ||
238 | compatible = "mpc5200b-psc-spi\0mpc52xx-psc-spi"; | ||
239 | reg = <2200 100>; | ||
240 | interrupts = <2 2 0>; | ||
241 | interrupt-parent = <500>; | ||
242 | }; | ||
243 | |||
244 | // PSC3 in CODEC mode example | ||
245 | i2s@2400 { // PSC3 | ||
246 | device_type = "i2s"; | ||
247 | compatible = "mpc5200b-psc-i2s\0mpc52xx-psc-i2s"; | ||
248 | reg = <2400 100>; | ||
249 | interrupts = <2 3 0>; | ||
250 | interrupt-parent = <500>; | ||
251 | }; | ||
252 | |||
253 | // PSC4 unconfigured | ||
254 | //serial@2600 { // PSC4 | ||
255 | // device_type = "serial"; | ||
256 | // compatible = "mpc5200b-psc-uart\0mpc52xx-psc-uart"; | ||
257 | // reg = <2600 100>; | ||
258 | // interrupts = <2 b 0>; | ||
259 | // interrupt-parent = <500>; | ||
260 | //}; | ||
261 | |||
262 | // PSC5 unconfigured | ||
263 | //serial@2800 { // PSC5 | ||
264 | // device_type = "serial"; | ||
265 | // compatible = "mpc5200b-psc-uart\0mpc52xx-psc-uart"; | ||
266 | // reg = <2800 100>; | ||
267 | // interrupts = <2 c 0>; | ||
268 | // interrupt-parent = <500>; | ||
269 | //}; | ||
270 | |||
271 | // PSC6 in AC97 mode example | ||
272 | ac97@2c00 { // PSC6 | ||
273 | device_type = "ac97"; | ||
274 | compatible = "mpc5200b-psc-ac97\0mpc52xx-psc-ac97"; | ||
275 | reg = <2c00 100>; | ||
276 | interrupts = <2 4 0>; | ||
277 | interrupt-parent = <500>; | ||
278 | }; | ||
279 | |||
280 | ethernet@3000 { | ||
281 | device_type = "network"; | ||
282 | compatible = "mpc5200b-fec\0mpc52xx-fec"; | ||
283 | reg = <3000 800>; | ||
284 | mac-address = [ 02 03 04 05 06 07 ]; // Bad! | ||
285 | interrupts = <2 5 0>; | ||
286 | interrupt-parent = <500>; | ||
287 | }; | ||
288 | |||
289 | ata@3a00 { | ||
290 | device_type = "ata"; | ||
291 | compatible = "mpc5200b-ata\0mpc52xx-ata"; | ||
292 | reg = <3a00 100>; | ||
293 | interrupts = <2 7 0>; | ||
294 | interrupt-parent = <500>; | ||
295 | }; | ||
296 | |||
297 | i2c@3d00 { | ||
298 | device_type = "i2c"; | ||
299 | compatible = "mpc5200b-i2c\0mpc52xx-i2c"; | ||
300 | reg = <3d00 40>; | ||
301 | interrupts = <2 f 0>; | ||
302 | interrupt-parent = <500>; | ||
303 | }; | ||
304 | |||
305 | i2c@3d40 { | ||
306 | device_type = "i2c"; | ||
307 | compatible = "mpc5200b-i2c\0mpc52xx-i2c"; | ||
308 | reg = <3d40 40>; | ||
309 | interrupts = <2 10 0>; | ||
310 | interrupt-parent = <500>; | ||
311 | }; | ||
312 | sram@8000 { | ||
313 | device_type = "sram"; | ||
314 | compatible = "mpc5200b-sram\0mpc52xx-sram\0sram"; | ||
315 | reg = <8000 4000>; | ||
316 | }; | ||
317 | }; | ||
318 | }; | ||
diff --git a/arch/powerpc/boot/dts/mpc7448hpc2.dts b/arch/powerpc/boot/dts/mpc7448hpc2.dts index d7b985e6bd2f..c4d9562cbaad 100644 --- a/arch/powerpc/boot/dts/mpc7448hpc2.dts +++ b/arch/powerpc/boot/dts/mpc7448hpc2.dts | |||
@@ -161,29 +161,41 @@ | |||
161 | interrupt-map = < | 161 | interrupt-map = < |
162 | 162 | ||
163 | /* IDSEL 0x11 */ | 163 | /* IDSEL 0x11 */ |
164 | 0800 0 0 1 7400 24 0 | 164 | 0800 0 0 1 1180 24 0 |
165 | 0800 0 0 2 7400 25 0 | 165 | 0800 0 0 2 1180 25 0 |
166 | 0800 0 0 3 7400 26 0 | 166 | 0800 0 0 3 1180 26 0 |
167 | 0800 0 0 4 7400 27 0 | 167 | 0800 0 0 4 1180 27 0 |
168 | 168 | ||
169 | /* IDSEL 0x12 */ | 169 | /* IDSEL 0x12 */ |
170 | 1000 0 0 1 7400 25 0 | 170 | 1000 0 0 1 1180 25 0 |
171 | 1000 0 0 2 7400 26 0 | 171 | 1000 0 0 2 1180 26 0 |
172 | 1000 0 0 3 7400 27 0 | 172 | 1000 0 0 3 1180 27 0 |
173 | 1000 0 0 4 7400 24 0 | 173 | 1000 0 0 4 1180 24 0 |
174 | 174 | ||
175 | /* IDSEL 0x13 */ | 175 | /* IDSEL 0x13 */ |
176 | 1800 0 0 1 7400 26 0 | 176 | 1800 0 0 1 1180 26 0 |
177 | 1800 0 0 2 7400 27 0 | 177 | 1800 0 0 2 1180 27 0 |
178 | 1800 0 0 3 7400 24 0 | 178 | 1800 0 0 3 1180 24 0 |
179 | 1800 0 0 4 7400 25 0 | 179 | 1800 0 0 4 1180 25 0 |
180 | 180 | ||
181 | /* IDSEL 0x14 */ | 181 | /* IDSEL 0x14 */ |
182 | 2000 0 0 1 7400 27 0 | 182 | 2000 0 0 1 1180 27 0 |
183 | 2000 0 0 2 7400 24 0 | 183 | 2000 0 0 2 1180 24 0 |
184 | 2000 0 0 3 7400 25 0 | 184 | 2000 0 0 3 1180 25 0 |
185 | 2000 0 0 4 7400 26 0 | 185 | 2000 0 0 4 1180 26 0 |
186 | >; | 186 | >; |
187 | router@1180 { | ||
188 | linux,phandle = <1180>; | ||
189 | clock-frequency = <0>; | ||
190 | interrupt-controller; | ||
191 | device_type = "pic-router"; | ||
192 | #address-cells = <0>; | ||
193 | #interrupt-cells = <2>; | ||
194 | built-in; | ||
195 | big-endian; | ||
196 | interrupts = <17 2>; | ||
197 | interrupt-parent = <7400>; | ||
198 | }; | ||
187 | }; | 199 | }; |
188 | }; | 200 | }; |
189 | 201 | ||