1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * TQM 8540 Device Tree Source
5 * Copyright 2008 Freescale Semiconductor Inc.
11 model = "tqc,tqm8540";
12 compatible = "tqc,tqm8540";
32 d-cache-line-size = <32>;
33 i-cache-line-size = <32>;
34 d-cache-size = <32768>;
35 i-cache-size = <32768>;
36 timebase-frequency = <0>;
38 clock-frequency = <0>;
39 next-level-cache = <&L2>;
44 device_type = "memory";
45 reg = <0x00000000 0x10000000>;
52 ranges = <0x0 0xe0000000 0x100000>;
54 compatible = "fsl,mpc8540-immr", "simple-bus";
57 compatible = "fsl,ecm-law";
63 compatible = "fsl,mpc8540-ecm", "fsl,ecm";
64 reg = <0x1000 0x1000>;
66 interrupt-parent = <&mpic>;
69 memory-controller@2000 {
70 compatible = "fsl,mpc8540-memory-controller";
71 reg = <0x2000 0x1000>;
72 interrupt-parent = <&mpic>;
76 L2: l2-cache-controller@20000 {
77 compatible = "fsl,mpc8540-l2-cache-controller";
78 reg = <0x20000 0x1000>;
79 cache-line-size = <32>;
80 cache-size = <0x40000>; // L2, 256K
81 interrupt-parent = <&mpic>;
89 compatible = "fsl-i2c";
92 interrupt-parent = <&mpic>;
96 compatible = "national,lm75";
101 compatible = "dallas,ds1337";
107 #address-cells = <1>;
109 compatible = "fsl,mpc8540-dma", "fsl,eloplus-dma";
111 ranges = <0x0 0x21100 0x200>;
114 compatible = "fsl,mpc8540-dma-channel",
115 "fsl,eloplus-dma-channel";
118 interrupt-parent = <&mpic>;
122 compatible = "fsl,mpc8540-dma-channel",
123 "fsl,eloplus-dma-channel";
126 interrupt-parent = <&mpic>;
130 compatible = "fsl,mpc8540-dma-channel",
131 "fsl,eloplus-dma-channel";
134 interrupt-parent = <&mpic>;
138 compatible = "fsl,mpc8540-dma-channel",
139 "fsl,eloplus-dma-channel";
142 interrupt-parent = <&mpic>;
147 enet0: ethernet@24000 {
148 #address-cells = <1>;
151 device_type = "network";
153 compatible = "gianfar";
154 reg = <0x24000 0x1000>;
155 ranges = <0x0 0x24000 0x1000>;
156 local-mac-address = [ 00 00 00 00 00 00 ];
157 interrupts = <29 2 30 2 34 2>;
158 interrupt-parent = <&mpic>;
159 phy-handle = <&phy2>;
162 #address-cells = <1>;
164 compatible = "fsl,gianfar-mdio";
167 phy1: ethernet-phy@1 {
168 interrupt-parent = <&mpic>;
172 phy2: ethernet-phy@2 {
173 interrupt-parent = <&mpic>;
177 phy3: ethernet-phy@3 {
178 interrupt-parent = <&mpic>;
184 device_type = "tbi-phy";
189 enet1: ethernet@25000 {
190 #address-cells = <1>;
193 device_type = "network";
195 compatible = "gianfar";
196 reg = <0x25000 0x1000>;
197 ranges = <0x0 0x25000 0x1000>;
198 local-mac-address = [ 00 00 00 00 00 00 ];
199 interrupts = <35 2 36 2 40 2>;
200 interrupt-parent = <&mpic>;
201 phy-handle = <&phy1>;
204 #address-cells = <1>;
206 compatible = "fsl,gianfar-tbi";
211 device_type = "tbi-phy";
216 enet2: ethernet@26000 {
217 #address-cells = <1>;
220 device_type = "network";
222 compatible = "gianfar";
223 reg = <0x26000 0x1000>;
224 ranges = <0x0 0x26000 0x1000>;
225 local-mac-address = [ 00 00 00 00 00 00 ];
227 interrupt-parent = <&mpic>;
228 phy-handle = <&phy3>;
231 #address-cells = <1>;
233 compatible = "fsl,gianfar-tbi";
238 device_type = "tbi-phy";
243 serial0: serial@4500 {
245 device_type = "serial";
246 compatible = "fsl,ns16550", "ns16550";
247 reg = <0x4500 0x100>; // reg base, size
248 clock-frequency = <0>; // should we fill in in uboot?
250 interrupt-parent = <&mpic>;
253 serial1: serial@4600 {
255 device_type = "serial";
256 compatible = "fsl,ns16550", "ns16550";
257 reg = <0x4600 0x100>; // reg base, size
258 clock-frequency = <0>; // should we fill in in uboot?
260 interrupt-parent = <&mpic>;
264 interrupt-controller;
265 #address-cells = <0>;
266 #interrupt-cells = <2>;
267 reg = <0x40000 0x40000>;
268 device_type = "open-pic";
269 compatible = "chrp,open-pic";
274 #address-cells = <2>;
276 compatible = "fsl,mpc8540-localbus", "fsl,pq3-localbus",
278 reg = <0xe0005000 0x1000>;
279 interrupt-parent = <&mpic>;
282 ranges = <0x0 0x0 0xfe000000 0x02000000>;
285 #address-cells = <1>;
287 compatible = "cfi-flash";
288 reg = <0x0 0x0 0x02000000>;
293 reg = <0x00000000 0x00180000>;
297 reg = <0x00180000 0x01dc0000>;
301 reg = <0x01f40000 0x00040000>;
305 reg = <0x01f80000 0x00040000>;
309 reg = <0x01fc0000 0x00040000>;
316 #interrupt-cells = <1>;
318 #address-cells = <3>;
319 compatible = "fsl,mpc8540-pcix", "fsl,mpc8540-pci";
321 reg = <0xe0008000 0x1000>;
322 clock-frequency = <66666666>;
323 interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
326 0xe000 0 0 1 &mpic 2 1
327 0xe000 0 0 2 &mpic 3 1
328 0xe000 0 0 3 &mpic 6 1
329 0xe000 0 0 4 &mpic 5 1
332 0x5800 0 0 1 &mpic 6 1
333 0x5800 0 0 2 &mpic 5 1
336 interrupt-parent = <&mpic>;
339 ranges = <0x02000000 0 0x80000000 0x80000000 0 0x20000000
340 0x01000000 0 0x00000000 0xe2000000 0 0x01000000>;