blob: 260b264c869eeffc0b8aaebc52d25edca645fb23 [file] [log] [blame]
Jon Loeliger707ba162006-08-03 16:27:57 -05001/*
2 * MPC8641 HPCN Device Tree Source
3 *
4 * Copyright 2006 Freescale Semiconductor Inc.
5 *
6 * This program is free software; you can redistribute it and/or modify it
7 * under the terms of the GNU General Public License as published by the
8 * Free Software Foundation; either version 2 of the License, or (at your
9 * option) any later version.
10 */
11
12
13/ {
14 model = "MPC8641HPCN";
15 compatible = "mpc86xx";
16 #address-cells = <1>;
17 #size-cells = <1>;
18
19 cpus {
Jon Loeliger707ba162006-08-03 16:27:57 -050020 #address-cells = <1>;
21 #size-cells = <0>;
22
23 PowerPC,8641@0 {
24 device_type = "cpu";
25 reg = <0>;
26 d-cache-line-size = <20>; // 32 bytes
27 i-cache-line-size = <20>; // 32 bytes
28 d-cache-size = <8000>; // L1, 32K
29 i-cache-size = <8000>; // L1, 32K
30 timebase-frequency = <0>; // 33 MHz, from uboot
31 bus-frequency = <0>; // From uboot
32 clock-frequency = <0>; // From uboot
33 32-bit;
Jon Loeliger707ba162006-08-03 16:27:57 -050034 };
35 PowerPC,8641@1 {
36 device_type = "cpu";
37 reg = <1>;
38 d-cache-line-size = <20>; // 32 bytes
39 i-cache-line-size = <20>; // 32 bytes
40 d-cache-size = <8000>; // L1, 32K
41 i-cache-size = <8000>; // L1, 32K
42 timebase-frequency = <0>; // 33 MHz, from uboot
43 bus-frequency = <0>; // From uboot
44 clock-frequency = <0>; // From uboot
45 32-bit;
46 };
47 };
48
49 memory {
50 device_type = "memory";
51 reg = <00000000 40000000>; // 1G at 0x0
52 };
53
54 soc8641@f8000000 {
55 #address-cells = <1>;
56 #size-cells = <1>;
57 #interrupt-cells = <2>;
58 device_type = "soc";
59 ranges = <0 f8000000 00100000>;
60 reg = <f8000000 00100000>; // CCSRBAR 1M
61 bus-frequency = <0>;
62
63 i2c@3000 {
64 device_type = "i2c";
65 compatible = "fsl-i2c";
66 reg = <3000 100>;
67 interrupts = <2b 2>;
Kumar Gala6d9065d2007-02-17 16:09:56 -060068 interrupt-parent = <&mpic>;
Jon Loeliger707ba162006-08-03 16:27:57 -050069 dfsrr;
70 };
71
72 i2c@3100 {
73 device_type = "i2c";
74 compatible = "fsl-i2c";
75 reg = <3100 100>;
76 interrupts = <2b 2>;
Kumar Gala6d9065d2007-02-17 16:09:56 -060077 interrupt-parent = <&mpic>;
Jon Loeliger707ba162006-08-03 16:27:57 -050078 dfsrr;
79 };
80
81 mdio@24520 {
82 #address-cells = <1>;
83 #size-cells = <0>;
84 device_type = "mdio";
85 compatible = "gianfar";
86 reg = <24520 20>;
Kumar Gala6d9065d2007-02-17 16:09:56 -060087 phy0: ethernet-phy@0 {
88 interrupt-parent = <&mpic>;
Jon Loeliger707ba162006-08-03 16:27:57 -050089 interrupts = <4a 1>;
90 reg = <0>;
91 device_type = "ethernet-phy";
92 };
Kumar Gala6d9065d2007-02-17 16:09:56 -060093 phy1: ethernet-phy@1 {
94 interrupt-parent = <&mpic>;
Jon Loeliger707ba162006-08-03 16:27:57 -050095 interrupts = <4a 1>;
96 reg = <1>;
97 device_type = "ethernet-phy";
98 };
Kumar Gala6d9065d2007-02-17 16:09:56 -060099 phy2: ethernet-phy@2 {
100 interrupt-parent = <&mpic>;
Jon Loeliger707ba162006-08-03 16:27:57 -0500101 interrupts = <4a 1>;
102 reg = <2>;
103 device_type = "ethernet-phy";
104 };
Kumar Gala6d9065d2007-02-17 16:09:56 -0600105 phy3: ethernet-phy@3 {
106 interrupt-parent = <&mpic>;
Jon Loeliger707ba162006-08-03 16:27:57 -0500107 interrupts = <4a 1>;
108 reg = <3>;
109 device_type = "ethernet-phy";
110 };
111 };
112
113 ethernet@24000 {
114 #address-cells = <1>;
115 #size-cells = <0>;
116 device_type = "network";
117 model = "TSEC";
118 compatible = "gianfar";
119 reg = <24000 1000>;
120 mac-address = [ 00 E0 0C 00 73 00 ];
121 interrupts = <1d 2 1e 2 22 2>;
Kumar Gala6d9065d2007-02-17 16:09:56 -0600122 interrupt-parent = <&mpic>;
123 phy-handle = <&phy0>;
Jon Loeliger707ba162006-08-03 16:27:57 -0500124 };
125
126 ethernet@25000 {
127 #address-cells = <1>;
128 #size-cells = <0>;
129 device_type = "network";
130 model = "TSEC";
131 compatible = "gianfar";
132 reg = <25000 1000>;
133 mac-address = [ 00 E0 0C 00 73 01 ];
134 interrupts = <23 2 24 2 28 2>;
Kumar Gala6d9065d2007-02-17 16:09:56 -0600135 interrupt-parent = <&mpic>;
136 phy-handle = <&phy1>;
Jon Loeliger707ba162006-08-03 16:27:57 -0500137 };
138
139 ethernet@26000 {
140 #address-cells = <1>;
141 #size-cells = <0>;
142 device_type = "network";
143 model = "TSEC";
144 compatible = "gianfar";
145 reg = <26000 1000>;
146 mac-address = [ 00 E0 0C 00 02 FD ];
147 interrupts = <1F 2 20 2 21 2>;
Kumar Gala6d9065d2007-02-17 16:09:56 -0600148 interrupt-parent = <&mpic>;
149 phy-handle = <&phy2>;
Jon Loeliger707ba162006-08-03 16:27:57 -0500150 };
151
152 ethernet@27000 {
153 #address-cells = <1>;
154 #size-cells = <0>;
155 device_type = "network";
156 model = "TSEC";
157 compatible = "gianfar";
158 reg = <27000 1000>;
159 mac-address = [ 00 E0 0C 00 03 FD ];
160 interrupts = <25 2 26 2 27 2>;
Kumar Gala6d9065d2007-02-17 16:09:56 -0600161 interrupt-parent = <&mpic>;
162 phy-handle = <&phy3>;
Jon Loeliger707ba162006-08-03 16:27:57 -0500163 };
164 serial@4500 {
165 device_type = "serial";
166 compatible = "ns16550";
167 reg = <4500 100>;
168 clock-frequency = <0>;
169 interrupts = <2a 2>;
Kumar Gala6d9065d2007-02-17 16:09:56 -0600170 interrupt-parent = <&mpic>;
Jon Loeliger707ba162006-08-03 16:27:57 -0500171 };
172
173 serial@4600 {
174 device_type = "serial";
175 compatible = "ns16550";
176 reg = <4600 100>;
177 clock-frequency = <0>;
178 interrupts = <1c 2>;
Kumar Gala6d9065d2007-02-17 16:09:56 -0600179 interrupt-parent = <&mpic>;
Jon Loeliger707ba162006-08-03 16:27:57 -0500180 };
181
182 pci@8000 {
183 compatible = "86xx";
184 device_type = "pci";
185 #interrupt-cells = <1>;
186 #size-cells = <2>;
187 #address-cells = <3>;
188 reg = <8000 1000>;
189 bus-range = <0 fe>;
190 ranges = <02000000 0 80000000 80000000 0 20000000
191 01000000 0 00000000 e2000000 0 00100000>;
192 clock-frequency = <1fca055>;
Kumar Gala6d9065d2007-02-17 16:09:56 -0600193 interrupt-parent = <&mpic>;
Jon Loeliger707ba162006-08-03 16:27:57 -0500194 interrupts = <18 2>;
195 interrupt-map-mask = <f800 0 0 7>;
196 interrupt-map = <
197 /* IDSEL 0x11 */
Kumar Gala6d9065d2007-02-17 16:09:56 -0600198 8800 0 0 1 &i8259 3 2
199 8800 0 0 2 &i8259 4 2
200 8800 0 0 3 &i8259 5 2
201 8800 0 0 4 &i8259 6 2
Jon Loeliger707ba162006-08-03 16:27:57 -0500202
203 /* IDSEL 0x12 */
Kumar Gala6d9065d2007-02-17 16:09:56 -0600204 9000 0 0 1 &i8259 4 2
205 9000 0 0 2 &i8259 5 2
206 9000 0 0 3 &i8259 6 2
207 9000 0 0 4 &i8259 3 2
Jon Loeliger707ba162006-08-03 16:27:57 -0500208
209 /* IDSEL 0x13 */
Kumar Gala6d9065d2007-02-17 16:09:56 -0600210 9800 0 0 1 &i8259 0 0
211 9800 0 0 2 &i8259 0 0
212 9800 0 0 3 &i8259 0 0
213 9800 0 0 4 &i8259 0 0
Jon Loeliger707ba162006-08-03 16:27:57 -0500214
215 /* IDSEL 0x14 */
Kumar Gala6d9065d2007-02-17 16:09:56 -0600216 a000 0 0 1 &i8259 0 0
217 a000 0 0 2 &i8259 0 0
218 a000 0 0 3 &i8259 0 0
219 a000 0 0 4 &i8259 0 0
Jon Loeliger707ba162006-08-03 16:27:57 -0500220
221 /* IDSEL 0x15 */
Kumar Gala6d9065d2007-02-17 16:09:56 -0600222 a800 0 0 1 &i8259 0 0
223 a800 0 0 2 &i8259 0 0
224 a800 0 0 3 &i8259 0 0
225 a800 0 0 4 &i8259 0 0
Jon Loeliger707ba162006-08-03 16:27:57 -0500226
227 /* IDSEL 0x16 */
Kumar Gala6d9065d2007-02-17 16:09:56 -0600228 b000 0 0 1 &i8259 0 0
229 b000 0 0 2 &i8259 0 0
230 b000 0 0 3 &i8259 0 0
231 b000 0 0 4 &i8259 0 0
Jon Loeliger707ba162006-08-03 16:27:57 -0500232
233 /* IDSEL 0x17 */
Kumar Gala6d9065d2007-02-17 16:09:56 -0600234 b800 0 0 1 &i8259 0 0
235 b800 0 0 2 &i8259 0 0
236 b800 0 0 3 &i8259 0 0
237 b800 0 0 4 &i8259 0 0
Jon Loeliger707ba162006-08-03 16:27:57 -0500238
239 /* IDSEL 0x18 */
Kumar Gala6d9065d2007-02-17 16:09:56 -0600240 c000 0 0 1 &i8259 0 0
241 c000 0 0 2 &i8259 0 0
242 c000 0 0 3 &i8259 0 0
243 c000 0 0 4 &i8259 0 0
Jon Loeliger707ba162006-08-03 16:27:57 -0500244
245 /* IDSEL 0x19 */
Kumar Gala6d9065d2007-02-17 16:09:56 -0600246 c800 0 0 1 &i8259 0 0
247 c800 0 0 2 &i8259 0 0
248 c800 0 0 3 &i8259 0 0
249 c800 0 0 4 &i8259 0 0
Jon Loeliger707ba162006-08-03 16:27:57 -0500250
251 /* IDSEL 0x1a */
Kumar Gala6d9065d2007-02-17 16:09:56 -0600252 d000 0 0 1 &i8259 6 2
253 d000 0 0 2 &i8259 3 2
254 d000 0 0 3 &i8259 4 2
255 d000 0 0 4 &i8259 5 2
Jon Loeliger707ba162006-08-03 16:27:57 -0500256
257
258 /* IDSEL 0x1b */
Kumar Gala6d9065d2007-02-17 16:09:56 -0600259 d800 0 0 1 &i8259 5 2
260 d800 0 0 2 &i8259 0 0
261 d800 0 0 3 &i8259 0 0
262 d800 0 0 4 &i8259 0 0
Jon Loeliger707ba162006-08-03 16:27:57 -0500263
264 /* IDSEL 0x1c */
Kumar Gala6d9065d2007-02-17 16:09:56 -0600265 e000 0 0 1 &i8259 9 2
266 e000 0 0 2 &i8259 a 2
267 e000 0 0 3 &i8259 c 2
268 e000 0 0 4 &i8259 7 2
Jon Loeliger707ba162006-08-03 16:27:57 -0500269
270 /* IDSEL 0x1d */
Kumar Gala6d9065d2007-02-17 16:09:56 -0600271 e800 0 0 1 &i8259 9 2
272 e800 0 0 2 &i8259 a 2
273 e800 0 0 3 &i8259 b 2
274 e800 0 0 4 &i8259 0 0
Jon Loeliger707ba162006-08-03 16:27:57 -0500275
276 /* IDSEL 0x1e */
Kumar Gala6d9065d2007-02-17 16:09:56 -0600277 f000 0 0 1 &i8259 c 2
278 f000 0 0 2 &i8259 0 0
279 f000 0 0 3 &i8259 0 0
280 f000 0 0 4 &i8259 0 0
Jon Loeliger707ba162006-08-03 16:27:57 -0500281
282 /* IDSEL 0x1f */
Kumar Gala6d9065d2007-02-17 16:09:56 -0600283 f800 0 0 1 &i8259 6 2
284 f800 0 0 2 &i8259 0 0
285 f800 0 0 3 &i8259 0 0
286 f800 0 0 4 &i8259 0 0
Jon Loeliger707ba162006-08-03 16:27:57 -0500287 >;
Kumar Gala6d9065d2007-02-17 16:09:56 -0600288 i8259: i8259@4d0 {
Jon Loeliger707ba162006-08-03 16:27:57 -0500289 clock-frequency = <0>;
290 interrupt-controller;
291 device_type = "interrupt-controller";
292 #address-cells = <0>;
293 #interrupt-cells = <2>;
294 built-in;
295 compatible = "chrp,iic";
296 big-endian;
297 interrupts = <49 2>;
Kumar Gala6d9065d2007-02-17 16:09:56 -0600298 interrupt-parent = <&mpic>;
Jon Loeliger707ba162006-08-03 16:27:57 -0500299 };
300
301 };
Zhang Weie0e3c8d2007-03-07 11:47:41 -0600302
303 pci@9000 {
304 compatible = "86xx";
305 device_type = "pci";
306 #interrupt-cells = <1>;
307 #size-cells = <2>;
308 #address-cells = <3>;
309 reg = <9000 1000>;
310 bus-range = <0 ff>;
311 ranges = <02000000 0 a0000000 a0000000 0 20000000
312 01000000 0 00000000 e3000000 0 00100000>;
313 clock-frequency = <1fca055>;
314 interrupt-parent = <&mpic>;
315 interrupts = <19 2>;
316 interrupt-map-mask = <f800 0 0 7>;
317 interrupt-map = <
318 /* IDSEL 0x0 */
319 0000 0 0 1 &mpic 44 1
320 0000 0 0 2 &mpic 45 1
321 0000 0 0 3 &mpic 46 1
322 0000 0 0 4 &mpic 47 1
323 >;
324 };
325
Kumar Gala6d9065d2007-02-17 16:09:56 -0600326 mpic: pic@40000 {
Jon Loeliger707ba162006-08-03 16:27:57 -0500327 clock-frequency = <0>;
328 interrupt-controller;
329 #address-cells = <0>;
330 #interrupt-cells = <2>;
331 reg = <40000 40000>;
332 built-in;
333 compatible = "chrp,open-pic";
334 device_type = "open-pic";
Kumar Gala6d9065d2007-02-17 16:09:56 -0600335 big-endian;
Jon Loeliger707ba162006-08-03 16:27:57 -0500336 };
337 };
338};