blob: 1f2afe9291d216a106ba13c82f0c91f1e0fb462f [file] [log] [blame]
Vitaly Bordug902f3922006-09-21 22:31:26 +04001/*
2 * MPC8560 ADS 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 = "MPC8560ADS";
Kumar Gala52094872007-02-17 16:04:23 -060015 compatible = "MPC8560ADS", "MPC85xxADS";
Vitaly Bordug902f3922006-09-21 22:31:26 +040016 #address-cells = <1>;
17 #size-cells = <1>;
Vitaly Bordug902f3922006-09-21 22:31:26 +040018
19 cpus {
Vitaly Bordug902f3922006-09-21 22:31:26 +040020 #address-cells = <1>;
21 #size-cells = <0>;
Vitaly Bordug902f3922006-09-21 22:31:26 +040022
23 PowerPC,8560@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 = <04ead9a0>;
31 bus-frequency = <13ab6680>;
32 clock-frequency = <312c8040>;
33 32-bit;
Vitaly Bordug902f3922006-09-21 22:31:26 +040034 };
35 };
36
37 memory {
38 device_type = "memory";
Vitaly Bordug902f3922006-09-21 22:31:26 +040039 reg = <00000000 10000000>;
40 };
41
42 soc8560@e0000000 {
43 #address-cells = <1>;
44 #size-cells = <1>;
45 #interrupt-cells = <2>;
46 device_type = "soc";
47 ranges = <0 e0000000 00100000>;
48 reg = <e0000000 00000200>;
49 bus-frequency = <13ab6680>;
50
51 mdio@24520 {
52 device_type = "mdio";
53 compatible = "gianfar";
54 reg = <24520 20>;
Vitaly Bordug902f3922006-09-21 22:31:26 +040055 #address-cells = <1>;
56 #size-cells = <0>;
Kumar Gala52094872007-02-17 16:04:23 -060057 phy0: ethernet-phy@0 {
58 interrupt-parent = <&mpic>;
Vitaly Bordug902f3922006-09-21 22:31:26 +040059 interrupts = <35 1>;
60 reg = <0>;
61 device_type = "ethernet-phy";
62 };
Kumar Gala52094872007-02-17 16:04:23 -060063 phy1: ethernet-phy@1 {
64 interrupt-parent = <&mpic>;
Vitaly Bordug902f3922006-09-21 22:31:26 +040065 interrupts = <35 1>;
66 reg = <1>;
67 device_type = "ethernet-phy";
68 };
Kumar Gala52094872007-02-17 16:04:23 -060069 phy2: ethernet-phy@2 {
70 interrupt-parent = <&mpic>;
Vitaly Bordug902f3922006-09-21 22:31:26 +040071 interrupts = <37 1>;
72 reg = <2>;
73 device_type = "ethernet-phy";
74 };
Kumar Gala52094872007-02-17 16:04:23 -060075 phy3: ethernet-phy@3 {
76 interrupt-parent = <&mpic>;
Vitaly Bordug902f3922006-09-21 22:31:26 +040077 interrupts = <37 1>;
78 reg = <3>;
79 device_type = "ethernet-phy";
80 };
81 };
82
83 ethernet@24000 {
84 device_type = "network";
85 model = "TSEC";
86 compatible = "gianfar";
87 reg = <24000 1000>;
88 address = [ 00 00 0C 00 00 FD ];
89 interrupts = <d 2 e 2 12 2>;
Kumar Gala52094872007-02-17 16:04:23 -060090 interrupt-parent = <&mpic>;
91 phy-handle = <&phy0>;
Vitaly Bordug902f3922006-09-21 22:31:26 +040092 };
93
94 ethernet@25000 {
95 #address-cells = <1>;
96 #size-cells = <0>;
97 device_type = "network";
98 model = "TSEC";
99 compatible = "gianfar";
100 reg = <25000 1000>;
101 address = [ 00 00 0C 00 01 FD ];
102 interrupts = <13 2 14 2 18 2>;
Kumar Gala52094872007-02-17 16:04:23 -0600103 interrupt-parent = <&mpic>;
104 phy-handle = <&phy1>;
Vitaly Bordug902f3922006-09-21 22:31:26 +0400105 };
106
107 pci@8000 {
Vitaly Bordug902f3922006-09-21 22:31:26 +0400108 #interrupt-cells = <1>;
109 #size-cells = <2>;
110 #address-cells = <3>;
111 compatible = "85xx";
112 device_type = "pci";
113 reg = <8000 400>;
114 clock-frequency = <3f940aa>;
115 interrupt-map-mask = <f800 0 0 7>;
116 interrupt-map = <
117
118 /* IDSEL 0x2 */
Kumar Gala52094872007-02-17 16:04:23 -0600119 1000 0 0 1 &mpic 31 1
120 1000 0 0 2 &mpic 32 1
121 1000 0 0 3 &mpic 33 1
122 1000 0 0 4 &mpic 34 1
Vitaly Bordug902f3922006-09-21 22:31:26 +0400123
124 /* IDSEL 0x3 */
Kumar Gala52094872007-02-17 16:04:23 -0600125 1800 0 0 1 &mpic 34 1
126 1800 0 0 2 &mpic 31 1
127 1800 0 0 3 &mpic 32 1
128 1800 0 0 4 &mpic 33 1
Vitaly Bordug902f3922006-09-21 22:31:26 +0400129
130 /* IDSEL 0x4 */
Kumar Gala52094872007-02-17 16:04:23 -0600131 2000 0 0 1 &mpic 33 1
132 2000 0 0 2 &mpic 34 1
133 2000 0 0 3 &mpic 31 1
134 2000 0 0 4 &mpic 32 1
Vitaly Bordug902f3922006-09-21 22:31:26 +0400135
136 /* IDSEL 0x5 */
Kumar Gala52094872007-02-17 16:04:23 -0600137 2800 0 0 1 &mpic 32 1
138 2800 0 0 2 &mpic 33 1
139 2800 0 0 3 &mpic 34 1
140 2800 0 0 4 &mpic 31 1
Vitaly Bordug902f3922006-09-21 22:31:26 +0400141
142 /* IDSEL 12 */
Kumar Gala52094872007-02-17 16:04:23 -0600143 6000 0 0 1 &mpic 31 1
144 6000 0 0 2 &mpic 32 1
145 6000 0 0 3 &mpic 33 1
146 6000 0 0 4 &mpic 34 1
Vitaly Bordug902f3922006-09-21 22:31:26 +0400147
148 /* IDSEL 13 */
Kumar Gala52094872007-02-17 16:04:23 -0600149 6800 0 0 1 &mpic 34 1
150 6800 0 0 2 &mpic 31 1
151 6800 0 0 3 &mpic 32 1
152 6800 0 0 4 &mpic 33 1
Vitaly Bordug902f3922006-09-21 22:31:26 +0400153
154 /* IDSEL 14*/
Kumar Gala52094872007-02-17 16:04:23 -0600155 7000 0 0 1 &mpic 33 1
156 7000 0 0 2 &mpic 34 1
157 7000 0 0 3 &mpic 31 1
158 7000 0 0 4 &mpic 32 1
Vitaly Bordug902f3922006-09-21 22:31:26 +0400159
160 /* IDSEL 15 */
Kumar Gala52094872007-02-17 16:04:23 -0600161 7800 0 0 1 &mpic 32 1
162 7800 0 0 2 &mpic 33 1
163 7800 0 0 3 &mpic 34 1
164 7800 0 0 4 &mpic 31 1
Vitaly Bordug902f3922006-09-21 22:31:26 +0400165
166 /* IDSEL 18 */
Kumar Gala52094872007-02-17 16:04:23 -0600167 9000 0 0 1 &mpic 31 1
168 9000 0 0 2 &mpic 32 1
169 9000 0 0 3 &mpic 33 1
170 9000 0 0 4 &mpic 34 1
Vitaly Bordug902f3922006-09-21 22:31:26 +0400171
172 /* IDSEL 19 */
Kumar Gala52094872007-02-17 16:04:23 -0600173 9800 0 0 1 &mpic 34 1
174 9800 0 0 2 &mpic 31 1
175 9800 0 0 3 &mpic 32 1
176 9800 0 0 4 &mpic 33 1
Vitaly Bordug902f3922006-09-21 22:31:26 +0400177
178 /* IDSEL 20 */
Kumar Gala52094872007-02-17 16:04:23 -0600179 a000 0 0 1 &mpic 33 1
180 a000 0 0 2 &mpic 34 1
181 a000 0 0 3 &mpic 31 1
182 a000 0 0 4 &mpic 32 1
Vitaly Bordug902f3922006-09-21 22:31:26 +0400183
184 /* IDSEL 21 */
Kumar Gala52094872007-02-17 16:04:23 -0600185 a800 0 0 1 &mpic 32 1
186 a800 0 0 2 &mpic 33 1
187 a800 0 0 3 &mpic 34 1
188 a800 0 0 4 &mpic 31 1>;
Vitaly Bordug902f3922006-09-21 22:31:26 +0400189
Kumar Gala52094872007-02-17 16:04:23 -0600190 interrupt-parent = <&mpic>;
Vitaly Bordug73844ec2007-01-31 02:08:54 +0300191 interrupts = <8 0>;
Vitaly Bordug902f3922006-09-21 22:31:26 +0400192 bus-range = <0 0>;
193 ranges = <02000000 0 80000000 80000000 0 20000000
194 01000000 0 00000000 e2000000 0 01000000>;
195 };
196
Kumar Gala52094872007-02-17 16:04:23 -0600197 mpic: pic@40000 {
Vitaly Bordug902f3922006-09-21 22:31:26 +0400198 interrupt-controller;
199 #address-cells = <0>;
200 #interrupt-cells = <2>;
Kumar Gala52094872007-02-17 16:04:23 -0600201 reg = <40000 40000>;
Vitaly Bordug902f3922006-09-21 22:31:26 +0400202 built-in;
203 device_type = "open-pic";
204 };
205
206 cpm@e0000000 {
Vitaly Bordug902f3922006-09-21 22:31:26 +0400207 #address-cells = <1>;
208 #size-cells = <1>;
209 #interrupt-cells = <2>;
210 device_type = "cpm";
211 model = "CPM2";
212 ranges = <0 0 c0000>;
213 reg = <80000 40000>;
214 command-proc = <919c0>;
215 brg-frequency = <9d5b340>;
216
Kumar Gala52094872007-02-17 16:04:23 -0600217 cpmpic: pic@90c00 {
Vitaly Bordug902f3922006-09-21 22:31:26 +0400218 interrupt-controller;
219 #address-cells = <0>;
220 #interrupt-cells = <2>;
221 interrupts = <1e 0>;
Kumar Gala52094872007-02-17 16:04:23 -0600222 interrupt-parent = <&mpic>;
Vitaly Bordug902f3922006-09-21 22:31:26 +0400223 reg = <90c00 80>;
224 built-in;
225 device_type = "cpm-pic";
226 };
227
228 scc@91a00 {
229 device_type = "serial";
230 compatible = "cpm_uart";
231 model = "SCC";
Vitaly Bordug611a15a2006-09-21 22:38:05 +0400232 device-id = <1>;
Vitaly Bordug902f3922006-09-21 22:31:26 +0400233 reg = <91a00 20 88000 100>;
234 clock-setup = <00ffffff 0>;
235 rx-clock = <1>;
236 tx-clock = <1>;
237 current-speed = <1c200>;
Vitaly Bordug73844ec2007-01-31 02:08:54 +0300238 interrupts = <28 8>;
Kumar Gala52094872007-02-17 16:04:23 -0600239 interrupt-parent = <&cpmpic>;
Vitaly Bordug902f3922006-09-21 22:31:26 +0400240 };
241
242 scc@91a20 {
243 device_type = "serial";
244 compatible = "cpm_uart";
245 model = "SCC";
Vitaly Bordug611a15a2006-09-21 22:38:05 +0400246 device-id = <2>;
Vitaly Bordug902f3922006-09-21 22:31:26 +0400247 reg = <91a20 20 88100 100>;
248 clock-setup = <ff00ffff 90000>;
249 rx-clock = <2>;
250 tx-clock = <2>;
251 current-speed = <1c200>;
Vitaly Bordug73844ec2007-01-31 02:08:54 +0300252 interrupts = <29 8>;
Kumar Gala52094872007-02-17 16:04:23 -0600253 interrupt-parent = <&cpmpic>;
Vitaly Bordug902f3922006-09-21 22:31:26 +0400254 };
255
256 fcc@91320 {
257 device_type = "network";
258 compatible = "fs_enet";
259 model = "FCC";
Vitaly Bordug611a15a2006-09-21 22:38:05 +0400260 device-id = <2>;
Vitaly Bordug902f3922006-09-21 22:31:26 +0400261 reg = <91320 20 88500 100 913a0 30>;
262 mac-address = [ 00 00 0C 00 02 FD ];
263 clock-setup = <ff00ffff 250000>;
264 rx-clock = <15>;
265 tx-clock = <16>;
Vitaly Bordug73844ec2007-01-31 02:08:54 +0300266 interrupts = <21 8>;
Kumar Gala52094872007-02-17 16:04:23 -0600267 interrupt-parent = <&cpmpic>;
268 phy-handle = <&phy2>;
Vitaly Bordug902f3922006-09-21 22:31:26 +0400269 };
270
271 fcc@91340 {
272 device_type = "network";
273 compatible = "fs_enet";
274 model = "FCC";
Vitaly Bordug611a15a2006-09-21 22:38:05 +0400275 device-id = <3>;
Vitaly Bordug902f3922006-09-21 22:31:26 +0400276 reg = <91340 20 88600 100 913d0 30>;
277 mac-address = [ 00 00 0C 00 03 FD ];
278 clock-setup = <ffff00ff 3700>;
279 rx-clock = <17>;
280 tx-clock = <18>;
Vitaly Bordug73844ec2007-01-31 02:08:54 +0300281 interrupts = <22 8>;
Kumar Gala52094872007-02-17 16:04:23 -0600282 interrupt-parent = <&cpmpic>;
283 phy-handle = <&phy3>;
Vitaly Bordug902f3922006-09-21 22:31:26 +0400284 };
285 };
286 };
287};