diff options
Diffstat (limited to 'arch/powerpc/boot/dts/media5200.dts')
-rw-r--r-- | arch/powerpc/boot/dts/media5200.dts | 214 |
1 files changed, 23 insertions, 191 deletions
diff --git a/arch/powerpc/boot/dts/media5200.dts b/arch/powerpc/boot/dts/media5200.dts index 0c3902bc5b6a..48d72f38e5ed 100644 --- a/arch/powerpc/boot/dts/media5200.dts +++ b/arch/powerpc/boot/dts/media5200.dts | |||
@@ -11,14 +11,11 @@ | |||
11 | * option) any later version. | 11 | * option) any later version. |
12 | */ | 12 | */ |
13 | 13 | ||
14 | /dts-v1/; | 14 | /include/ "mpc5200b.dtsi" |
15 | 15 | ||
16 | / { | 16 | / { |
17 | model = "fsl,media5200"; | 17 | model = "fsl,media5200"; |
18 | compatible = "fsl,media5200"; | 18 | compatible = "fsl,media5200"; |
19 | #address-cells = <1>; | ||
20 | #size-cells = <1>; | ||
21 | interrupt-parent = <&mpc5200_pic>; | ||
22 | 19 | ||
23 | aliases { | 20 | aliases { |
24 | console = &console; | 21 | console = &console; |
@@ -30,16 +27,7 @@ | |||
30 | }; | 27 | }; |
31 | 28 | ||
32 | cpus { | 29 | cpus { |
33 | #address-cells = <1>; | ||
34 | #size-cells = <0>; | ||
35 | |||
36 | PowerPC,5200@0 { | 30 | PowerPC,5200@0 { |
37 | device_type = "cpu"; | ||
38 | reg = <0>; | ||
39 | d-cache-line-size = <32>; | ||
40 | i-cache-line-size = <32>; | ||
41 | d-cache-size = <0x4000>; // L1, 16K | ||
42 | i-cache-size = <0x4000>; // L1, 16K | ||
43 | timebase-frequency = <33000000>; // 33 MHz, these were configured by U-Boot | 31 | timebase-frequency = <33000000>; // 33 MHz, these were configured by U-Boot |
44 | bus-frequency = <132000000>; // 132 MHz | 32 | bus-frequency = <132000000>; // 132 MHz |
45 | clock-frequency = <396000000>; // 396 MHz | 33 | clock-frequency = <396000000>; // 396 MHz |
@@ -47,205 +35,57 @@ | |||
47 | }; | 35 | }; |
48 | 36 | ||
49 | memory { | 37 | memory { |
50 | device_type = "memory"; | ||
51 | reg = <0x00000000 0x08000000>; // 128MB RAM | 38 | reg = <0x00000000 0x08000000>; // 128MB RAM |
52 | }; | 39 | }; |
53 | 40 | ||
54 | soc@f0000000 { | 41 | soc5200@f0000000 { |
55 | #address-cells = <1>; | ||
56 | #size-cells = <1>; | ||
57 | compatible = "fsl,mpc5200b-immr"; | ||
58 | ranges = <0 0xf0000000 0x0000c000>; | ||
59 | reg = <0xf0000000 0x00000100>; | ||
60 | bus-frequency = <132000000>;// 132 MHz | 42 | bus-frequency = <132000000>;// 132 MHz |
61 | system-frequency = <0>; // from bootloader | ||
62 | |||
63 | cdm@200 { | ||
64 | compatible = "fsl,mpc5200b-cdm","fsl,mpc5200-cdm"; | ||
65 | reg = <0x200 0x38>; | ||
66 | }; | ||
67 | |||
68 | mpc5200_pic: interrupt-controller@500 { | ||
69 | // 5200 interrupts are encoded into two levels; | ||
70 | interrupt-controller; | ||
71 | #interrupt-cells = <3>; | ||
72 | compatible = "fsl,mpc5200b-pic","fsl,mpc5200-pic"; | ||
73 | reg = <0x500 0x80>; | ||
74 | }; | ||
75 | 43 | ||
76 | timer@600 { // General Purpose Timer | 44 | timer@600 { // General Purpose Timer |
77 | compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt"; | ||
78 | reg = <0x600 0x10>; | ||
79 | interrupts = <1 9 0>; | ||
80 | fsl,has-wdt; | 45 | fsl,has-wdt; |
81 | }; | 46 | }; |
82 | 47 | ||
83 | timer@610 { // General Purpose Timer | 48 | psc@2000 { // PSC1 |
84 | compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt"; | 49 | status = "disabled"; |
85 | reg = <0x610 0x10>; | ||
86 | interrupts = <1 10 0>; | ||
87 | }; | ||
88 | |||
89 | timer@620 { // General Purpose Timer | ||
90 | compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt"; | ||
91 | reg = <0x620 0x10>; | ||
92 | interrupts = <1 11 0>; | ||
93 | }; | ||
94 | |||
95 | timer@630 { // General Purpose Timer | ||
96 | compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt"; | ||
97 | reg = <0x630 0x10>; | ||
98 | interrupts = <1 12 0>; | ||
99 | }; | ||
100 | |||
101 | timer@640 { // General Purpose Timer | ||
102 | compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt"; | ||
103 | reg = <0x640 0x10>; | ||
104 | interrupts = <1 13 0>; | ||
105 | }; | ||
106 | |||
107 | timer@650 { // General Purpose Timer | ||
108 | compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt"; | ||
109 | reg = <0x650 0x10>; | ||
110 | interrupts = <1 14 0>; | ||
111 | }; | ||
112 | |||
113 | timer@660 { // General Purpose Timer | ||
114 | compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt"; | ||
115 | reg = <0x660 0x10>; | ||
116 | interrupts = <1 15 0>; | ||
117 | }; | ||
118 | |||
119 | timer@670 { // General Purpose Timer | ||
120 | compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt"; | ||
121 | reg = <0x670 0x10>; | ||
122 | interrupts = <1 16 0>; | ||
123 | }; | ||
124 | |||
125 | rtc@800 { // Real time clock | ||
126 | compatible = "fsl,mpc5200b-rtc","fsl,mpc5200-rtc"; | ||
127 | reg = <0x800 0x100>; | ||
128 | interrupts = <1 5 0 1 6 0>; | ||
129 | }; | ||
130 | |||
131 | can@900 { | ||
132 | compatible = "fsl,mpc5200b-mscan","fsl,mpc5200-mscan"; | ||
133 | interrupts = <2 17 0>; | ||
134 | reg = <0x900 0x80>; | ||
135 | }; | 50 | }; |
136 | 51 | ||
137 | can@980 { | 52 | psc@2200 { // PSC2 |
138 | compatible = "fsl,mpc5200b-mscan","fsl,mpc5200-mscan"; | 53 | status = "disabled"; |
139 | interrupts = <2 18 0>; | ||
140 | reg = <0x980 0x80>; | ||
141 | }; | 54 | }; |
142 | 55 | ||
143 | gpio_simple: gpio@b00 { | 56 | psc@2400 { // PSC3 |
144 | compatible = "fsl,mpc5200b-gpio","fsl,mpc5200-gpio"; | 57 | status = "disabled"; |
145 | reg = <0xb00 0x40>; | ||
146 | interrupts = <1 7 0>; | ||
147 | gpio-controller; | ||
148 | #gpio-cells = <2>; | ||
149 | }; | 58 | }; |
150 | 59 | ||
151 | gpio_wkup: gpio@c00 { | 60 | psc@2600 { // PSC4 |
152 | compatible = "fsl,mpc5200b-gpio-wkup","fsl,mpc5200-gpio-wkup"; | 61 | status = "disabled"; |
153 | reg = <0xc00 0x40>; | ||
154 | interrupts = <1 8 0 0 3 0>; | ||
155 | gpio-controller; | ||
156 | #gpio-cells = <2>; | ||
157 | }; | 62 | }; |
158 | 63 | ||
159 | spi@f00 { | 64 | psc@2800 { // PSC5 |
160 | compatible = "fsl,mpc5200b-spi","fsl,mpc5200-spi"; | 65 | status = "disabled"; |
161 | reg = <0xf00 0x20>; | ||
162 | interrupts = <2 13 0 2 14 0>; | ||
163 | }; | ||
164 | |||
165 | usb@1000 { | ||
166 | compatible = "fsl,mpc5200b-ohci","fsl,mpc5200-ohci","ohci-be"; | ||
167 | reg = <0x1000 0x100>; | ||
168 | interrupts = <2 6 0>; | ||
169 | }; | ||
170 | |||
171 | dma-controller@1200 { | ||
172 | compatible = "fsl,mpc5200b-bestcomm","fsl,mpc5200-bestcomm"; | ||
173 | reg = <0x1200 0x80>; | ||
174 | interrupts = <3 0 0 3 1 0 3 2 0 3 3 0 | ||
175 | 3 4 0 3 5 0 3 6 0 3 7 0 | ||
176 | 3 8 0 3 9 0 3 10 0 3 11 0 | ||
177 | 3 12 0 3 13 0 3 14 0 3 15 0>; | ||
178 | }; | ||
179 | |||
180 | xlb@1f00 { | ||
181 | compatible = "fsl,mpc5200b-xlb","fsl,mpc5200-xlb"; | ||
182 | reg = <0x1f00 0x100>; | ||
183 | }; | 66 | }; |
184 | 67 | ||
185 | // PSC6 in uart mode | 68 | // PSC6 in uart mode |
186 | console: serial@2c00 { // PSC6 | 69 | console: psc@2c00 { // PSC6 |
187 | compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart"; | 70 | compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart"; |
188 | cell-index = <5>; | ||
189 | port-number = <0>; // Logical port assignment | ||
190 | reg = <0x2c00 0x100>; | ||
191 | interrupts = <2 4 0>; | ||
192 | }; | 71 | }; |
193 | 72 | ||
194 | eth0: ethernet@3000 { | 73 | ethernet@3000 { |
195 | compatible = "fsl,mpc5200b-fec","fsl,mpc5200-fec"; | ||
196 | reg = <0x3000 0x400>; | ||
197 | local-mac-address = [ 00 00 00 00 00 00 ]; | ||
198 | interrupts = <2 5 0>; | ||
199 | phy-handle = <&phy0>; | 74 | phy-handle = <&phy0>; |
200 | }; | 75 | }; |
201 | 76 | ||
202 | mdio@3000 { | 77 | mdio@3000 { |
203 | #address-cells = <1>; | ||
204 | #size-cells = <0>; | ||
205 | compatible = "fsl,mpc5200b-mdio","fsl,mpc5200-mdio"; | ||
206 | reg = <0x3000 0x400>; // fec range, since we need to setup fec interrupts | ||
207 | interrupts = <2 5 0>; // these are for "mii command finished", not link changes & co. | ||
208 | |||
209 | phy0: ethernet-phy@0 { | 78 | phy0: ethernet-phy@0 { |
210 | reg = <0>; | 79 | reg = <0>; |
211 | }; | 80 | }; |
212 | }; | 81 | }; |
213 | 82 | ||
214 | ata@3a00 { | 83 | usb@1000 { |
215 | compatible = "fsl,mpc5200b-ata","fsl,mpc5200-ata"; | 84 | reg = <0x1000 0x100>; |
216 | reg = <0x3a00 0x100>; | ||
217 | interrupts = <2 7 0>; | ||
218 | }; | ||
219 | |||
220 | i2c@3d00 { | ||
221 | #address-cells = <1>; | ||
222 | #size-cells = <0>; | ||
223 | compatible = "fsl,mpc5200b-i2c","fsl,mpc5200-i2c","fsl-i2c"; | ||
224 | reg = <0x3d00 0x40>; | ||
225 | interrupts = <2 15 0>; | ||
226 | }; | ||
227 | |||
228 | i2c@3d40 { | ||
229 | #address-cells = <1>; | ||
230 | #size-cells = <0>; | ||
231 | compatible = "fsl,mpc5200b-i2c","fsl,mpc5200-i2c","fsl-i2c"; | ||
232 | reg = <0x3d40 0x40>; | ||
233 | interrupts = <2 16 0>; | ||
234 | }; | ||
235 | |||
236 | sram@8000 { | ||
237 | compatible = "fsl,mpc5200b-sram","fsl,mpc5200-sram"; | ||
238 | reg = <0x8000 0x4000>; | ||
239 | }; | 85 | }; |
240 | }; | 86 | }; |
241 | 87 | ||
242 | pci@f0000d00 { | 88 | pci@f0000d00 { |
243 | #interrupt-cells = <1>; | ||
244 | #size-cells = <2>; | ||
245 | #address-cells = <3>; | ||
246 | device_type = "pci"; | ||
247 | compatible = "fsl,mpc5200b-pci","fsl,mpc5200-pci"; | ||
248 | reg = <0xf0000d00 0x100>; | ||
249 | interrupt-map-mask = <0xf800 0 0 7>; | 89 | interrupt-map-mask = <0xf800 0 0 7>; |
250 | interrupt-map = <0xc000 0 0 1 &media5200_fpga 0 2 // 1st slot | 90 | interrupt-map = <0xc000 0 0 1 &media5200_fpga 0 2 // 1st slot |
251 | 0xc000 0 0 2 &media5200_fpga 0 3 | 91 | 0xc000 0 0 2 &media5200_fpga 0 3 |
@@ -262,37 +102,29 @@ | |||
262 | 102 | ||
263 | 0xe000 0 0 1 &media5200_fpga 0 5 // CoralIP | 103 | 0xe000 0 0 1 &media5200_fpga 0 5 // CoralIP |
264 | >; | 104 | >; |
265 | clock-frequency = <0>; // From boot loader | ||
266 | interrupts = <2 8 0 2 9 0 2 10 0>; | ||
267 | interrupt-parent = <&mpc5200_pic>; | ||
268 | bus-range = <0 0>; | ||
269 | ranges = <0x42000000 0 0x80000000 0x80000000 0 0x20000000 | 105 | ranges = <0x42000000 0 0x80000000 0x80000000 0 0x20000000 |
270 | 0x02000000 0 0xa0000000 0xa0000000 0 0x10000000 | 106 | 0x02000000 0 0xa0000000 0xa0000000 0 0x10000000 |
271 | 0x01000000 0 0x00000000 0xb0000000 0 0x01000000>; | 107 | 0x01000000 0 0x00000000 0xb0000000 0 0x01000000>; |
108 | interrupt-parent = <&mpc5200_pic>; | ||
272 | }; | 109 | }; |
273 | 110 | ||
274 | localbus { | 111 | localbus { |
275 | compatible = "fsl,mpc5200b-lpb","simple-bus"; | ||
276 | #address-cells = <2>; | ||
277 | #size-cells = <1>; | ||
278 | |||
279 | ranges = < 0 0 0xfc000000 0x02000000 | 112 | ranges = < 0 0 0xfc000000 0x02000000 |
280 | 1 0 0xfe000000 0x02000000 | 113 | 1 0 0xfe000000 0x02000000 |
281 | 2 0 0xf0010000 0x00010000 | 114 | 2 0 0xf0010000 0x00010000 |
282 | 3 0 0xf0020000 0x00010000 >; | 115 | 3 0 0xf0020000 0x00010000 >; |
283 | |||
284 | flash@0,0 { | 116 | flash@0,0 { |
285 | compatible = "amd,am29lv28ml", "cfi-flash"; | 117 | compatible = "amd,am29lv28ml", "cfi-flash"; |
286 | reg = <0 0x0 0x2000000>; // 32 MB | 118 | reg = <0 0x0 0x2000000>; // 32 MB |
287 | bank-width = <4>; // Width in bytes of the flash bank | 119 | bank-width = <4>; // Width in bytes of the flash bank |
288 | device-width = <2>; // Two devices on each bank | 120 | device-width = <2>; // Two devices on each bank |
289 | }; | 121 | }; |
290 | 122 | ||
291 | flash@1,0 { | 123 | flash@1,0 { |
292 | compatible = "amd,am29lv28ml", "cfi-flash"; | 124 | compatible = "amd,am29lv28ml", "cfi-flash"; |
293 | reg = <1 0 0x2000000>; // 32 MB | 125 | reg = <1 0 0x2000000>; // 32 MB |
294 | bank-width = <4>; // Width in bytes of the flash bank | 126 | bank-width = <4>; // Width in bytes of the flash bank |
295 | device-width = <2>; // Two devices on each bank | 127 | device-width = <2>; // Two devices on each bank |
296 | }; | 128 | }; |
297 | 129 | ||
298 | media5200_fpga: fpga@2,0 { | 130 | media5200_fpga: fpga@2,0 { |