1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * TQM 8540 Device Tree Source
5 * Copyright 2008 Freescale Semiconductor Inc.
10 /include/ "fsl/e500v1_power_isa.dtsi"
13 model = "tqc,tqm8540";
14 compatible = "tqc,tqm8540";
34 d-cache-line-size = <32>;
35 i-cache-line-size = <32>;
36 d-cache-size = <32768>;
37 i-cache-size = <32768>;
38 timebase-frequency = <0>;
40 clock-frequency = <0>;
41 next-level-cache = <&L2>;
46 device_type = "memory";
47 reg = <0x00000000 0x10000000>;
54 ranges = <0x0 0xe0000000 0x100000>;
56 compatible = "fsl,mpc8540-immr", "simple-bus";
59 compatible = "fsl,ecm-law";
65 compatible = "fsl,mpc8540-ecm", "fsl,ecm";
66 reg = <0x1000 0x1000>;
68 interrupt-parent = <&mpic>;
71 memory-controller@2000 {
72 compatible = "fsl,mpc8540-memory-controller";
73 reg = <0x2000 0x1000>;
74 interrupt-parent = <&mpic>;
78 L2: l2-cache-controller@20000 {
79 compatible = "fsl,mpc8540-l2-cache-controller";
80 reg = <0x20000 0x1000>;
81 cache-line-size = <32>;
82 cache-size = <0x40000>; // L2, 256K
83 interrupt-parent = <&mpic>;
91 compatible = "fsl-i2c";
94 interrupt-parent = <&mpic>;
98 compatible = "national,lm75";
103 compatible = "dallas,ds1337";
109 #address-cells = <1>;
111 compatible = "fsl,mpc8540-dma", "fsl,eloplus-dma";
113 ranges = <0x0 0x21100 0x200>;
116 compatible = "fsl,mpc8540-dma-channel",
117 "fsl,eloplus-dma-channel";
120 interrupt-parent = <&mpic>;
124 compatible = "fsl,mpc8540-dma-channel",
125 "fsl,eloplus-dma-channel";
128 interrupt-parent = <&mpic>;
132 compatible = "fsl,mpc8540-dma-channel",
133 "fsl,eloplus-dma-channel";
136 interrupt-parent = <&mpic>;
140 compatible = "fsl,mpc8540-dma-channel",
141 "fsl,eloplus-dma-channel";
144 interrupt-parent = <&mpic>;
149 enet0: ethernet@24000 {
150 #address-cells = <1>;
153 device_type = "network";
155 compatible = "gianfar";
156 reg = <0x24000 0x1000>;
157 ranges = <0x0 0x24000 0x1000>;
158 local-mac-address = [ 00 00 00 00 00 00 ];
159 interrupts = <29 2 30 2 34 2>;
160 interrupt-parent = <&mpic>;
161 phy-handle = <&phy2>;
164 #address-cells = <1>;
166 compatible = "fsl,gianfar-mdio";
169 phy1: ethernet-phy@1 {
170 interrupt-parent = <&mpic>;
174 phy2: ethernet-phy@2 {
175 interrupt-parent = <&mpic>;
179 phy3: ethernet-phy@3 {
180 interrupt-parent = <&mpic>;
186 device_type = "tbi-phy";
191 enet1: ethernet@25000 {
192 #address-cells = <1>;
195 device_type = "network";
197 compatible = "gianfar";
198 reg = <0x25000 0x1000>;
199 ranges = <0x0 0x25000 0x1000>;
200 local-mac-address = [ 00 00 00 00 00 00 ];
201 interrupts = <35 2 36 2 40 2>;
202 interrupt-parent = <&mpic>;
203 phy-handle = <&phy1>;
206 #address-cells = <1>;
208 compatible = "fsl,gianfar-tbi";
213 device_type = "tbi-phy";
218 enet2: ethernet@26000 {
219 #address-cells = <1>;
222 device_type = "network";
224 compatible = "gianfar";
225 reg = <0x26000 0x1000>;
226 ranges = <0x0 0x26000 0x1000>;
227 local-mac-address = [ 00 00 00 00 00 00 ];
229 interrupt-parent = <&mpic>;
230 phy-handle = <&phy3>;
233 #address-cells = <1>;
235 compatible = "fsl,gianfar-tbi";
240 device_type = "tbi-phy";
245 serial0: serial@4500 {
247 device_type = "serial";
248 compatible = "fsl,ns16550", "ns16550";
249 reg = <0x4500 0x100>; // reg base, size
250 clock-frequency = <0>; // should we fill in in uboot?
252 interrupt-parent = <&mpic>;
255 serial1: serial@4600 {
257 device_type = "serial";
258 compatible = "fsl,ns16550", "ns16550";
259 reg = <0x4600 0x100>; // reg base, size
260 clock-frequency = <0>; // should we fill in in uboot?
262 interrupt-parent = <&mpic>;
266 interrupt-controller;
267 #address-cells = <0>;
268 #interrupt-cells = <2>;
269 reg = <0x40000 0x40000>;
270 device_type = "open-pic";
271 compatible = "chrp,open-pic";
276 #address-cells = <2>;
278 compatible = "fsl,mpc8540-localbus", "fsl,pq3-localbus",
280 reg = <0xe0005000 0x1000>;
281 interrupt-parent = <&mpic>;
284 ranges = <0x0 0x0 0xfe000000 0x02000000>;
287 #address-cells = <1>;
289 compatible = "cfi-flash";
290 reg = <0x0 0x0 0x02000000>;
295 reg = <0x00000000 0x00180000>;
299 reg = <0x00180000 0x01dc0000>;
303 reg = <0x01f40000 0x00040000>;
307 reg = <0x01f80000 0x00040000>;
311 reg = <0x01fc0000 0x00040000>;
318 #interrupt-cells = <1>;
320 #address-cells = <3>;
321 compatible = "fsl,mpc8540-pcix", "fsl,mpc8540-pci";
323 reg = <0xe0008000 0x1000>;
324 clock-frequency = <66666666>;
325 interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
328 0xe000 0 0 1 &mpic 2 1
329 0xe000 0 0 2 &mpic 3 1
330 0xe000 0 0 3 &mpic 6 1
331 0xe000 0 0 4 &mpic 5 1
334 0x5800 0 0 1 &mpic 6 1
335 0x5800 0 0 2 &mpic 5 1
338 interrupt-parent = <&mpic>;
341 ranges = <0x02000000 0 0x80000000 0x80000000 0 0x20000000
342 0x01000000 0 0x00000000 0xe2000000 0 0x01000000>;