2 * TQM 8540 Device Tree Source
4 * Copyright 2008 Freescale Semiconductor Inc.
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.
15 model = "tqc,tqm8540";
16 compatible = "tqc,tqm8540";
36 d-cache-line-size = <32>;
37 i-cache-line-size = <32>;
38 d-cache-size = <32768>;
39 i-cache-size = <32768>;
40 timebase-frequency = <0>;
42 clock-frequency = <0>;
43 next-level-cache = <&L2>;
48 device_type = "memory";
49 reg = <0x00000000 0x10000000>;
56 ranges = <0x0 0xe0000000 0x100000>;
58 compatible = "fsl,mpc8540-immr", "simple-bus";
61 compatible = "fsl,ecm-law";
67 compatible = "fsl,mpc8540-ecm", "fsl,ecm";
68 reg = <0x1000 0x1000>;
70 interrupt-parent = <&mpic>;
73 memory-controller@2000 {
74 compatible = "fsl,mpc8540-memory-controller";
75 reg = <0x2000 0x1000>;
76 interrupt-parent = <&mpic>;
80 L2: l2-cache-controller@20000 {
81 compatible = "fsl,mpc8540-l2-cache-controller";
82 reg = <0x20000 0x1000>;
83 cache-line-size = <32>;
84 cache-size = <0x40000>; // L2, 256K
85 interrupt-parent = <&mpic>;
93 compatible = "fsl-i2c";
96 interrupt-parent = <&mpic>;
100 compatible = "national,lm75";
105 compatible = "dallas,ds1337";
111 #address-cells = <1>;
113 compatible = "fsl,mpc8540-dma", "fsl,eloplus-dma";
115 ranges = <0x0 0x21100 0x200>;
118 compatible = "fsl,mpc8540-dma-channel",
119 "fsl,eloplus-dma-channel";
122 interrupt-parent = <&mpic>;
126 compatible = "fsl,mpc8540-dma-channel",
127 "fsl,eloplus-dma-channel";
130 interrupt-parent = <&mpic>;
134 compatible = "fsl,mpc8540-dma-channel",
135 "fsl,eloplus-dma-channel";
138 interrupt-parent = <&mpic>;
142 compatible = "fsl,mpc8540-dma-channel",
143 "fsl,eloplus-dma-channel";
146 interrupt-parent = <&mpic>;
151 enet0: ethernet@24000 {
152 #address-cells = <1>;
155 device_type = "network";
157 compatible = "gianfar";
158 reg = <0x24000 0x1000>;
159 ranges = <0x0 0x24000 0x1000>;
160 local-mac-address = [ 00 00 00 00 00 00 ];
161 interrupts = <29 2 30 2 34 2>;
162 interrupt-parent = <&mpic>;
163 phy-handle = <&phy2>;
166 #address-cells = <1>;
168 compatible = "fsl,gianfar-mdio";
171 phy1: ethernet-phy@1 {
172 interrupt-parent = <&mpic>;
175 device_type = "ethernet-phy";
177 phy2: ethernet-phy@2 {
178 interrupt-parent = <&mpic>;
181 device_type = "ethernet-phy";
183 phy3: ethernet-phy@3 {
184 interrupt-parent = <&mpic>;
187 device_type = "ethernet-phy";
191 device_type = "tbi-phy";
196 enet1: ethernet@25000 {
197 #address-cells = <1>;
200 device_type = "network";
202 compatible = "gianfar";
203 reg = <0x25000 0x1000>;
204 ranges = <0x0 0x25000 0x1000>;
205 local-mac-address = [ 00 00 00 00 00 00 ];
206 interrupts = <35 2 36 2 40 2>;
207 interrupt-parent = <&mpic>;
208 phy-handle = <&phy1>;
211 #address-cells = <1>;
213 compatible = "fsl,gianfar-tbi";
218 device_type = "tbi-phy";
223 enet2: ethernet@26000 {
224 #address-cells = <1>;
227 device_type = "network";
229 compatible = "gianfar";
230 reg = <0x26000 0x1000>;
231 ranges = <0x0 0x26000 0x1000>;
232 local-mac-address = [ 00 00 00 00 00 00 ];
234 interrupt-parent = <&mpic>;
235 phy-handle = <&phy3>;
238 #address-cells = <1>;
240 compatible = "fsl,gianfar-tbi";
245 device_type = "tbi-phy";
250 serial0: serial@4500 {
252 device_type = "serial";
253 compatible = "ns16550";
254 reg = <0x4500 0x100>; // reg base, size
255 clock-frequency = <0>; // should we fill in in uboot?
257 interrupt-parent = <&mpic>;
260 serial1: serial@4600 {
262 device_type = "serial";
263 compatible = "ns16550";
264 reg = <0x4600 0x100>; // reg base, size
265 clock-frequency = <0>; // should we fill in in uboot?
267 interrupt-parent = <&mpic>;
271 interrupt-controller;
272 #address-cells = <0>;
273 #interrupt-cells = <2>;
274 reg = <0x40000 0x40000>;
275 device_type = "open-pic";
276 compatible = "chrp,open-pic";
281 #address-cells = <2>;
283 compatible = "fsl,mpc8540-localbus", "fsl,pq3-localbus",
285 reg = <0xe0005000 0x1000>;
286 interrupt-parent = <&mpic>;
289 ranges = <0x0 0x0 0xfe000000 0x02000000>;
292 #address-cells = <1>;
294 compatible = "cfi-flash";
295 reg = <0x0 0x0 0x02000000>;
300 reg = <0x00000000 0x00180000>;
304 reg = <0x00180000 0x01dc0000>;
308 reg = <0x01f40000 0x00040000>;
312 reg = <0x01f80000 0x00040000>;
316 reg = <0x01fc0000 0x00040000>;
323 #interrupt-cells = <1>;
325 #address-cells = <3>;
326 compatible = "fsl,mpc8540-pcix", "fsl,mpc8540-pci";
328 reg = <0xe0008000 0x1000>;
329 clock-frequency = <66666666>;
330 interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
333 0xe000 0 0 1 &mpic 2 1
334 0xe000 0 0 2 &mpic 3 1
335 0xe000 0 0 3 &mpic 6 1
336 0xe000 0 0 4 &mpic 5 1
339 0x5800 0 0 1 &mpic 6 1
340 0x5800 0 0 2 &mpic 5 1
343 interrupt-parent = <&mpic>;
346 ranges = <0x02000000 0 0x80000000 0x80000000 0 0x20000000
347 0x01000000 0 0x00000000 0xe2000000 0 0x01000000>;