xref: /freebsd/sys/contrib/device-tree/src/powerpc/tqm8548.dts (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0-or-later
2*c66ec88fSEmmanuel Vadot/*
3*c66ec88fSEmmanuel Vadot * TQM8548 Device Tree Source
4*c66ec88fSEmmanuel Vadot *
5*c66ec88fSEmmanuel Vadot * Copyright 2006 Freescale Semiconductor Inc.
6*c66ec88fSEmmanuel Vadot * Copyright 2008 Wolfgang Grandegger <wg@denx.de>
7*c66ec88fSEmmanuel Vadot */
8*c66ec88fSEmmanuel Vadot
9*c66ec88fSEmmanuel Vadot/dts-v1/;
10*c66ec88fSEmmanuel Vadot
11*c66ec88fSEmmanuel Vadot/ {
12*c66ec88fSEmmanuel Vadot	model = "tqc,tqm8548";
13*c66ec88fSEmmanuel Vadot	compatible = "tqc,tqm8548";
14*c66ec88fSEmmanuel Vadot	#address-cells = <1>;
15*c66ec88fSEmmanuel Vadot	#size-cells = <1>;
16*c66ec88fSEmmanuel Vadot
17*c66ec88fSEmmanuel Vadot	aliases {
18*c66ec88fSEmmanuel Vadot		ethernet0 = &enet0;
19*c66ec88fSEmmanuel Vadot		ethernet1 = &enet1;
20*c66ec88fSEmmanuel Vadot		ethernet2 = &enet2;
21*c66ec88fSEmmanuel Vadot		ethernet3 = &enet3;
22*c66ec88fSEmmanuel Vadot
23*c66ec88fSEmmanuel Vadot		serial0 = &serial0;
24*c66ec88fSEmmanuel Vadot		serial1 = &serial1;
25*c66ec88fSEmmanuel Vadot		pci0 = &pci0;
26*c66ec88fSEmmanuel Vadot		pci1 = &pci1;
27*c66ec88fSEmmanuel Vadot	};
28*c66ec88fSEmmanuel Vadot
29*c66ec88fSEmmanuel Vadot	cpus {
30*c66ec88fSEmmanuel Vadot		#address-cells = <1>;
31*c66ec88fSEmmanuel Vadot		#size-cells = <0>;
32*c66ec88fSEmmanuel Vadot
33*c66ec88fSEmmanuel Vadot		PowerPC,8548@0 {
34*c66ec88fSEmmanuel Vadot			device_type = "cpu";
35*c66ec88fSEmmanuel Vadot			reg = <0>;
36*c66ec88fSEmmanuel Vadot			d-cache-line-size = <32>;	// 32 bytes
37*c66ec88fSEmmanuel Vadot			i-cache-line-size = <32>;	// 32 bytes
38*c66ec88fSEmmanuel Vadot			d-cache-size = <0x8000>;	// L1, 32K
39*c66ec88fSEmmanuel Vadot			i-cache-size = <0x8000>;	// L1, 32K
40*c66ec88fSEmmanuel Vadot			next-level-cache = <&L2>;
41*c66ec88fSEmmanuel Vadot		};
42*c66ec88fSEmmanuel Vadot	};
43*c66ec88fSEmmanuel Vadot
44*c66ec88fSEmmanuel Vadot	memory {
45*c66ec88fSEmmanuel Vadot		device_type = "memory";
46*c66ec88fSEmmanuel Vadot		reg = <0x00000000 0x00000000>;	// Filled in by U-Boot
47*c66ec88fSEmmanuel Vadot	};
48*c66ec88fSEmmanuel Vadot
49*c66ec88fSEmmanuel Vadot	soc@e0000000 {
50*c66ec88fSEmmanuel Vadot		#address-cells = <1>;
51*c66ec88fSEmmanuel Vadot		#size-cells = <1>;
52*c66ec88fSEmmanuel Vadot		device_type = "soc";
53*c66ec88fSEmmanuel Vadot		ranges = <0x0 0xe0000000 0x100000>;
54*c66ec88fSEmmanuel Vadot		bus-frequency = <0>;
55*c66ec88fSEmmanuel Vadot		compatible = "fsl,mpc8548-immr", "simple-bus";
56*c66ec88fSEmmanuel Vadot
57*c66ec88fSEmmanuel Vadot		ecm-law@0 {
58*c66ec88fSEmmanuel Vadot			compatible = "fsl,ecm-law";
59*c66ec88fSEmmanuel Vadot			reg = <0x0 0x1000>;
60*c66ec88fSEmmanuel Vadot			fsl,num-laws = <10>;
61*c66ec88fSEmmanuel Vadot		};
62*c66ec88fSEmmanuel Vadot
63*c66ec88fSEmmanuel Vadot		ecm@1000 {
64*c66ec88fSEmmanuel Vadot			compatible = "fsl,mpc8548-ecm", "fsl,ecm";
65*c66ec88fSEmmanuel Vadot			reg = <0x1000 0x1000>;
66*c66ec88fSEmmanuel Vadot			interrupts = <17 2>;
67*c66ec88fSEmmanuel Vadot			interrupt-parent = <&mpic>;
68*c66ec88fSEmmanuel Vadot		};
69*c66ec88fSEmmanuel Vadot
70*c66ec88fSEmmanuel Vadot		memory-controller@2000 {
71*c66ec88fSEmmanuel Vadot			compatible = "fsl,mpc8548-memory-controller";
72*c66ec88fSEmmanuel Vadot			reg = <0x2000 0x1000>;
73*c66ec88fSEmmanuel Vadot			interrupt-parent = <&mpic>;
74*c66ec88fSEmmanuel Vadot			interrupts = <18 2>;
75*c66ec88fSEmmanuel Vadot		};
76*c66ec88fSEmmanuel Vadot
77*c66ec88fSEmmanuel Vadot		L2: l2-cache-controller@20000 {
78*c66ec88fSEmmanuel Vadot			compatible = "fsl,mpc8548-l2-cache-controller";
79*c66ec88fSEmmanuel Vadot			reg = <0x20000 0x1000>;
80*c66ec88fSEmmanuel Vadot			cache-line-size = <32>;	// 32 bytes
81*c66ec88fSEmmanuel Vadot			cache-size = <0x80000>;	// L2, 512K
82*c66ec88fSEmmanuel Vadot			interrupt-parent = <&mpic>;
83*c66ec88fSEmmanuel Vadot			interrupts = <16 2>;
84*c66ec88fSEmmanuel Vadot		};
85*c66ec88fSEmmanuel Vadot
86*c66ec88fSEmmanuel Vadot		i2c@3000 {
87*c66ec88fSEmmanuel Vadot			#address-cells = <1>;
88*c66ec88fSEmmanuel Vadot			#size-cells = <0>;
89*c66ec88fSEmmanuel Vadot			cell-index = <0>;
90*c66ec88fSEmmanuel Vadot			compatible = "fsl-i2c";
91*c66ec88fSEmmanuel Vadot			reg = <0x3000 0x100>;
92*c66ec88fSEmmanuel Vadot			interrupts = <43 2>;
93*c66ec88fSEmmanuel Vadot			interrupt-parent = <&mpic>;
94*c66ec88fSEmmanuel Vadot			dfsrr;
95*c66ec88fSEmmanuel Vadot
96*c66ec88fSEmmanuel Vadot			dtt@48 {
97*c66ec88fSEmmanuel Vadot				compatible = "national,lm75";
98*c66ec88fSEmmanuel Vadot				reg = <0x48>;
99*c66ec88fSEmmanuel Vadot			};
100*c66ec88fSEmmanuel Vadot
101*c66ec88fSEmmanuel Vadot			rtc@68 {
102*c66ec88fSEmmanuel Vadot				compatible = "dallas,ds1337";
103*c66ec88fSEmmanuel Vadot				reg = <0x68>;
104*c66ec88fSEmmanuel Vadot			};
105*c66ec88fSEmmanuel Vadot		};
106*c66ec88fSEmmanuel Vadot
107*c66ec88fSEmmanuel Vadot		i2c@3100 {
108*c66ec88fSEmmanuel Vadot			#address-cells = <1>;
109*c66ec88fSEmmanuel Vadot			#size-cells = <0>;
110*c66ec88fSEmmanuel Vadot			cell-index = <1>;
111*c66ec88fSEmmanuel Vadot			compatible = "fsl-i2c";
112*c66ec88fSEmmanuel Vadot			reg = <0x3100 0x100>;
113*c66ec88fSEmmanuel Vadot			interrupts = <43 2>;
114*c66ec88fSEmmanuel Vadot			interrupt-parent = <&mpic>;
115*c66ec88fSEmmanuel Vadot			dfsrr;
116*c66ec88fSEmmanuel Vadot		};
117*c66ec88fSEmmanuel Vadot
118*c66ec88fSEmmanuel Vadot		dma@21300 {
119*c66ec88fSEmmanuel Vadot			#address-cells = <1>;
120*c66ec88fSEmmanuel Vadot			#size-cells = <1>;
121*c66ec88fSEmmanuel Vadot			compatible = "fsl,mpc8548-dma", "fsl,eloplus-dma";
122*c66ec88fSEmmanuel Vadot			reg = <0x21300 0x4>;
123*c66ec88fSEmmanuel Vadot			ranges = <0x0 0x21100 0x200>;
124*c66ec88fSEmmanuel Vadot			cell-index = <0>;
125*c66ec88fSEmmanuel Vadot			dma-channel@0 {
126*c66ec88fSEmmanuel Vadot				compatible = "fsl,mpc8548-dma-channel",
127*c66ec88fSEmmanuel Vadot						"fsl,eloplus-dma-channel";
128*c66ec88fSEmmanuel Vadot				reg = <0x0 0x80>;
129*c66ec88fSEmmanuel Vadot				cell-index = <0>;
130*c66ec88fSEmmanuel Vadot				interrupt-parent = <&mpic>;
131*c66ec88fSEmmanuel Vadot				interrupts = <20 2>;
132*c66ec88fSEmmanuel Vadot			};
133*c66ec88fSEmmanuel Vadot			dma-channel@80 {
134*c66ec88fSEmmanuel Vadot				compatible = "fsl,mpc8548-dma-channel",
135*c66ec88fSEmmanuel Vadot						"fsl,eloplus-dma-channel";
136*c66ec88fSEmmanuel Vadot				reg = <0x80 0x80>;
137*c66ec88fSEmmanuel Vadot				cell-index = <1>;
138*c66ec88fSEmmanuel Vadot				interrupt-parent = <&mpic>;
139*c66ec88fSEmmanuel Vadot				interrupts = <21 2>;
140*c66ec88fSEmmanuel Vadot			};
141*c66ec88fSEmmanuel Vadot			dma-channel@100 {
142*c66ec88fSEmmanuel Vadot				compatible = "fsl,mpc8548-dma-channel",
143*c66ec88fSEmmanuel Vadot						"fsl,eloplus-dma-channel";
144*c66ec88fSEmmanuel Vadot				reg = <0x100 0x80>;
145*c66ec88fSEmmanuel Vadot				cell-index = <2>;
146*c66ec88fSEmmanuel Vadot				interrupt-parent = <&mpic>;
147*c66ec88fSEmmanuel Vadot				interrupts = <22 2>;
148*c66ec88fSEmmanuel Vadot			};
149*c66ec88fSEmmanuel Vadot			dma-channel@180 {
150*c66ec88fSEmmanuel Vadot				compatible = "fsl,mpc8548-dma-channel",
151*c66ec88fSEmmanuel Vadot						"fsl,eloplus-dma-channel";
152*c66ec88fSEmmanuel Vadot				reg = <0x180 0x80>;
153*c66ec88fSEmmanuel Vadot				cell-index = <3>;
154*c66ec88fSEmmanuel Vadot				interrupt-parent = <&mpic>;
155*c66ec88fSEmmanuel Vadot				interrupts = <23 2>;
156*c66ec88fSEmmanuel Vadot			};
157*c66ec88fSEmmanuel Vadot		};
158*c66ec88fSEmmanuel Vadot
159*c66ec88fSEmmanuel Vadot		enet0: ethernet@24000 {
160*c66ec88fSEmmanuel Vadot			#address-cells = <1>;
161*c66ec88fSEmmanuel Vadot			#size-cells = <1>;
162*c66ec88fSEmmanuel Vadot			cell-index = <0>;
163*c66ec88fSEmmanuel Vadot			device_type = "network";
164*c66ec88fSEmmanuel Vadot			model = "eTSEC";
165*c66ec88fSEmmanuel Vadot			compatible = "gianfar";
166*c66ec88fSEmmanuel Vadot			reg = <0x24000 0x1000>;
167*c66ec88fSEmmanuel Vadot			ranges = <0x0 0x24000 0x1000>;
168*c66ec88fSEmmanuel Vadot			local-mac-address = [ 00 00 00 00 00 00 ];
169*c66ec88fSEmmanuel Vadot			interrupts = <29 2 30 2 34 2>;
170*c66ec88fSEmmanuel Vadot			interrupt-parent = <&mpic>;
171*c66ec88fSEmmanuel Vadot			tbi-handle = <&tbi0>;
172*c66ec88fSEmmanuel Vadot			phy-handle = <&phy2>;
173*c66ec88fSEmmanuel Vadot
174*c66ec88fSEmmanuel Vadot			mdio@520 {
175*c66ec88fSEmmanuel Vadot				#address-cells = <1>;
176*c66ec88fSEmmanuel Vadot				#size-cells = <0>;
177*c66ec88fSEmmanuel Vadot				compatible = "fsl,gianfar-mdio";
178*c66ec88fSEmmanuel Vadot				reg = <0x520 0x20>;
179*c66ec88fSEmmanuel Vadot
180*c66ec88fSEmmanuel Vadot				phy1: ethernet-phy@0 {
181*c66ec88fSEmmanuel Vadot					interrupt-parent = <&mpic>;
182*c66ec88fSEmmanuel Vadot					interrupts = <8 1>;
183*c66ec88fSEmmanuel Vadot					reg = <1>;
184*c66ec88fSEmmanuel Vadot				};
185*c66ec88fSEmmanuel Vadot				phy2: ethernet-phy@1 {
186*c66ec88fSEmmanuel Vadot					interrupt-parent = <&mpic>;
187*c66ec88fSEmmanuel Vadot					interrupts = <8 1>;
188*c66ec88fSEmmanuel Vadot					reg = <2>;
189*c66ec88fSEmmanuel Vadot				};
190*c66ec88fSEmmanuel Vadot				phy3: ethernet-phy@3 {
191*c66ec88fSEmmanuel Vadot					interrupt-parent = <&mpic>;
192*c66ec88fSEmmanuel Vadot					interrupts = <8 1>;
193*c66ec88fSEmmanuel Vadot					reg = <3>;
194*c66ec88fSEmmanuel Vadot				};
195*c66ec88fSEmmanuel Vadot				phy4: ethernet-phy@4 {
196*c66ec88fSEmmanuel Vadot					interrupt-parent = <&mpic>;
197*c66ec88fSEmmanuel Vadot					interrupts = <8 1>;
198*c66ec88fSEmmanuel Vadot					reg = <4>;
199*c66ec88fSEmmanuel Vadot				};
200*c66ec88fSEmmanuel Vadot				phy5: ethernet-phy@5 {
201*c66ec88fSEmmanuel Vadot					interrupt-parent = <&mpic>;
202*c66ec88fSEmmanuel Vadot					interrupts = <8 1>;
203*c66ec88fSEmmanuel Vadot					reg = <5>;
204*c66ec88fSEmmanuel Vadot				};
205*c66ec88fSEmmanuel Vadot				tbi0: tbi-phy@11 {
206*c66ec88fSEmmanuel Vadot					reg = <0x11>;
207*c66ec88fSEmmanuel Vadot					device_type = "tbi-phy";
208*c66ec88fSEmmanuel Vadot				};
209*c66ec88fSEmmanuel Vadot			};
210*c66ec88fSEmmanuel Vadot		};
211*c66ec88fSEmmanuel Vadot
212*c66ec88fSEmmanuel Vadot		enet1: ethernet@25000 {
213*c66ec88fSEmmanuel Vadot			#address-cells = <1>;
214*c66ec88fSEmmanuel Vadot			#size-cells = <1>;
215*c66ec88fSEmmanuel Vadot			cell-index = <1>;
216*c66ec88fSEmmanuel Vadot			device_type = "network";
217*c66ec88fSEmmanuel Vadot			model = "eTSEC";
218*c66ec88fSEmmanuel Vadot			compatible = "gianfar";
219*c66ec88fSEmmanuel Vadot			reg = <0x25000 0x1000>;
220*c66ec88fSEmmanuel Vadot			ranges = <0x0 0x25000 0x1000>;
221*c66ec88fSEmmanuel Vadot			local-mac-address = [ 00 00 00 00 00 00 ];
222*c66ec88fSEmmanuel Vadot			interrupts = <35 2 36 2 40 2>;
223*c66ec88fSEmmanuel Vadot			interrupt-parent = <&mpic>;
224*c66ec88fSEmmanuel Vadot			tbi-handle = <&tbi1>;
225*c66ec88fSEmmanuel Vadot			phy-handle = <&phy1>;
226*c66ec88fSEmmanuel Vadot
227*c66ec88fSEmmanuel Vadot			mdio@520 {
228*c66ec88fSEmmanuel Vadot				#address-cells = <1>;
229*c66ec88fSEmmanuel Vadot				#size-cells = <0>;
230*c66ec88fSEmmanuel Vadot				compatible = "fsl,gianfar-tbi";
231*c66ec88fSEmmanuel Vadot				reg = <0x520 0x20>;
232*c66ec88fSEmmanuel Vadot
233*c66ec88fSEmmanuel Vadot				tbi1: tbi-phy@11 {
234*c66ec88fSEmmanuel Vadot					reg = <0x11>;
235*c66ec88fSEmmanuel Vadot					device_type = "tbi-phy";
236*c66ec88fSEmmanuel Vadot				};
237*c66ec88fSEmmanuel Vadot			};
238*c66ec88fSEmmanuel Vadot		};
239*c66ec88fSEmmanuel Vadot
240*c66ec88fSEmmanuel Vadot		enet2: ethernet@26000 {
241*c66ec88fSEmmanuel Vadot			#address-cells = <1>;
242*c66ec88fSEmmanuel Vadot			#size-cells = <1>;
243*c66ec88fSEmmanuel Vadot			cell-index = <2>;
244*c66ec88fSEmmanuel Vadot			device_type = "network";
245*c66ec88fSEmmanuel Vadot			model = "eTSEC";
246*c66ec88fSEmmanuel Vadot			compatible = "gianfar";
247*c66ec88fSEmmanuel Vadot			reg = <0x26000 0x1000>;
248*c66ec88fSEmmanuel Vadot			ranges = <0x0 0x26000 0x1000>;
249*c66ec88fSEmmanuel Vadot			local-mac-address = [ 00 00 00 00 00 00 ];
250*c66ec88fSEmmanuel Vadot			interrupts = <31 2 32 2 33 2>;
251*c66ec88fSEmmanuel Vadot			interrupt-parent = <&mpic>;
252*c66ec88fSEmmanuel Vadot			tbi-handle = <&tbi2>;
253*c66ec88fSEmmanuel Vadot			phy-handle = <&phy4>;
254*c66ec88fSEmmanuel Vadot
255*c66ec88fSEmmanuel Vadot			mdio@520 {
256*c66ec88fSEmmanuel Vadot				#address-cells = <1>;
257*c66ec88fSEmmanuel Vadot				#size-cells = <0>;
258*c66ec88fSEmmanuel Vadot				compatible = "fsl,gianfar-tbi";
259*c66ec88fSEmmanuel Vadot				reg = <0x520 0x20>;
260*c66ec88fSEmmanuel Vadot
261*c66ec88fSEmmanuel Vadot				tbi2: tbi-phy@11 {
262*c66ec88fSEmmanuel Vadot					reg = <0x11>;
263*c66ec88fSEmmanuel Vadot					device_type = "tbi-phy";
264*c66ec88fSEmmanuel Vadot				};
265*c66ec88fSEmmanuel Vadot			};
266*c66ec88fSEmmanuel Vadot		};
267*c66ec88fSEmmanuel Vadot
268*c66ec88fSEmmanuel Vadot		enet3: ethernet@27000 {
269*c66ec88fSEmmanuel Vadot			#address-cells = <1>;
270*c66ec88fSEmmanuel Vadot			#size-cells = <1>;
271*c66ec88fSEmmanuel Vadot			cell-index = <3>;
272*c66ec88fSEmmanuel Vadot			device_type = "network";
273*c66ec88fSEmmanuel Vadot			model = "eTSEC";
274*c66ec88fSEmmanuel Vadot			compatible = "gianfar";
275*c66ec88fSEmmanuel Vadot			reg = <0x27000 0x1000>;
276*c66ec88fSEmmanuel Vadot			ranges = <0x0 0x27000 0x1000>;
277*c66ec88fSEmmanuel Vadot			local-mac-address = [ 00 00 00 00 00 00 ];
278*c66ec88fSEmmanuel Vadot			interrupts = <37 2 38 2 39 2>;
279*c66ec88fSEmmanuel Vadot			interrupt-parent = <&mpic>;
280*c66ec88fSEmmanuel Vadot			tbi-handle = <&tbi3>;
281*c66ec88fSEmmanuel Vadot			phy-handle = <&phy5>;
282*c66ec88fSEmmanuel Vadot
283*c66ec88fSEmmanuel Vadot			mdio@520 {
284*c66ec88fSEmmanuel Vadot				#address-cells = <1>;
285*c66ec88fSEmmanuel Vadot				#size-cells = <0>;
286*c66ec88fSEmmanuel Vadot				compatible = "fsl,gianfar-tbi";
287*c66ec88fSEmmanuel Vadot				reg = <0x520 0x20>;
288*c66ec88fSEmmanuel Vadot
289*c66ec88fSEmmanuel Vadot				tbi3: tbi-phy@11 {
290*c66ec88fSEmmanuel Vadot					reg = <0x11>;
291*c66ec88fSEmmanuel Vadot					device_type = "tbi-phy";
292*c66ec88fSEmmanuel Vadot				};
293*c66ec88fSEmmanuel Vadot			};
294*c66ec88fSEmmanuel Vadot		};
295*c66ec88fSEmmanuel Vadot
296*c66ec88fSEmmanuel Vadot		serial0: serial@4500 {
297*c66ec88fSEmmanuel Vadot			cell-index = <0>;
298*c66ec88fSEmmanuel Vadot			device_type = "serial";
299*c66ec88fSEmmanuel Vadot			compatible = "fsl,ns16550", "ns16550";
300*c66ec88fSEmmanuel Vadot			reg = <0x4500 0x100>;	// reg base, size
301*c66ec88fSEmmanuel Vadot			clock-frequency = <0>;	// should we fill in in uboot?
302*c66ec88fSEmmanuel Vadot			current-speed = <115200>;
303*c66ec88fSEmmanuel Vadot			interrupts = <42 2>;
304*c66ec88fSEmmanuel Vadot			interrupt-parent = <&mpic>;
305*c66ec88fSEmmanuel Vadot		};
306*c66ec88fSEmmanuel Vadot
307*c66ec88fSEmmanuel Vadot		serial1: serial@4600 {
308*c66ec88fSEmmanuel Vadot			cell-index = <1>;
309*c66ec88fSEmmanuel Vadot			device_type = "serial";
310*c66ec88fSEmmanuel Vadot			compatible = "fsl,ns16550", "ns16550";
311*c66ec88fSEmmanuel Vadot			reg = <0x4600 0x100>;	// reg base, size
312*c66ec88fSEmmanuel Vadot			clock-frequency = <0>;	// should we fill in in uboot?
313*c66ec88fSEmmanuel Vadot			current-speed = <115200>;
314*c66ec88fSEmmanuel Vadot			interrupts = <42 2>;
315*c66ec88fSEmmanuel Vadot			interrupt-parent = <&mpic>;
316*c66ec88fSEmmanuel Vadot		};
317*c66ec88fSEmmanuel Vadot
318*c66ec88fSEmmanuel Vadot		global-utilities@e0000 {	// global utilities reg
319*c66ec88fSEmmanuel Vadot			compatible = "fsl,mpc8548-guts";
320*c66ec88fSEmmanuel Vadot			reg = <0xe0000 0x1000>;
321*c66ec88fSEmmanuel Vadot			fsl,has-rstcr;
322*c66ec88fSEmmanuel Vadot		};
323*c66ec88fSEmmanuel Vadot
324*c66ec88fSEmmanuel Vadot		mpic: pic@40000 {
325*c66ec88fSEmmanuel Vadot			interrupt-controller;
326*c66ec88fSEmmanuel Vadot			#address-cells = <0>;
327*c66ec88fSEmmanuel Vadot			#interrupt-cells = <2>;
328*c66ec88fSEmmanuel Vadot			reg = <0x40000 0x40000>;
329*c66ec88fSEmmanuel Vadot			compatible = "chrp,open-pic";
330*c66ec88fSEmmanuel Vadot			device_type = "open-pic";
331*c66ec88fSEmmanuel Vadot		};
332*c66ec88fSEmmanuel Vadot	};
333*c66ec88fSEmmanuel Vadot
334*c66ec88fSEmmanuel Vadot	localbus@e0005000 {
335*c66ec88fSEmmanuel Vadot		compatible = "fsl,mpc8548-localbus", "fsl,pq3-localbus",
336*c66ec88fSEmmanuel Vadot			     "simple-bus";
337*c66ec88fSEmmanuel Vadot		#address-cells = <2>;
338*c66ec88fSEmmanuel Vadot		#size-cells = <1>;
339*c66ec88fSEmmanuel Vadot		reg = <0xe0005000 0x100>;	// BRx, ORx, etc.
340*c66ec88fSEmmanuel Vadot		interrupt-parent = <&mpic>;
341*c66ec88fSEmmanuel Vadot		interrupts = <19 2>;
342*c66ec88fSEmmanuel Vadot
343*c66ec88fSEmmanuel Vadot		ranges = <
344*c66ec88fSEmmanuel Vadot			0 0x0 0xfc000000 0x04000000	// NOR FLASH bank 1
345*c66ec88fSEmmanuel Vadot			1 0x0 0xf8000000 0x08000000	// NOR FLASH bank 0
346*c66ec88fSEmmanuel Vadot			2 0x0 0xe3000000 0x00008000	// CAN (2 x CC770)
347*c66ec88fSEmmanuel Vadot			3 0x0 0xe3010000 0x00008000	// NAND FLASH
348*c66ec88fSEmmanuel Vadot
349*c66ec88fSEmmanuel Vadot		>;
350*c66ec88fSEmmanuel Vadot
351*c66ec88fSEmmanuel Vadot		flash@1,0 {
352*c66ec88fSEmmanuel Vadot			#address-cells = <1>;
353*c66ec88fSEmmanuel Vadot			#size-cells = <1>;
354*c66ec88fSEmmanuel Vadot			compatible = "cfi-flash";
355*c66ec88fSEmmanuel Vadot			reg = <1 0x0 0x8000000>;
356*c66ec88fSEmmanuel Vadot			bank-width = <4>;
357*c66ec88fSEmmanuel Vadot			device-width = <1>;
358*c66ec88fSEmmanuel Vadot
359*c66ec88fSEmmanuel Vadot			partition@0 {
360*c66ec88fSEmmanuel Vadot				label = "kernel";
361*c66ec88fSEmmanuel Vadot				reg = <0x00000000 0x00200000>;
362*c66ec88fSEmmanuel Vadot			};
363*c66ec88fSEmmanuel Vadot			partition@200000 {
364*c66ec88fSEmmanuel Vadot				label = "root";
365*c66ec88fSEmmanuel Vadot				reg = <0x00200000 0x00300000>;
366*c66ec88fSEmmanuel Vadot			};
367*c66ec88fSEmmanuel Vadot			partition@500000 {
368*c66ec88fSEmmanuel Vadot				label = "user";
369*c66ec88fSEmmanuel Vadot				reg = <0x00500000 0x07a00000>;
370*c66ec88fSEmmanuel Vadot			};
371*c66ec88fSEmmanuel Vadot			partition@7f00000 {
372*c66ec88fSEmmanuel Vadot				label = "env1";
373*c66ec88fSEmmanuel Vadot				reg = <0x07f00000 0x00040000>;
374*c66ec88fSEmmanuel Vadot			};
375*c66ec88fSEmmanuel Vadot			partition@7f40000 {
376*c66ec88fSEmmanuel Vadot				label = "env2";
377*c66ec88fSEmmanuel Vadot				reg = <0x07f40000 0x00040000>;
378*c66ec88fSEmmanuel Vadot			};
379*c66ec88fSEmmanuel Vadot			partition@7f80000 {
380*c66ec88fSEmmanuel Vadot				label = "u-boot";
381*c66ec88fSEmmanuel Vadot				reg = <0x07f80000 0x00080000>;
382*c66ec88fSEmmanuel Vadot				read-only;
383*c66ec88fSEmmanuel Vadot			};
384*c66ec88fSEmmanuel Vadot		};
385*c66ec88fSEmmanuel Vadot
386*c66ec88fSEmmanuel Vadot		/* Note: CAN support needs be enabled in U-Boot */
387*c66ec88fSEmmanuel Vadot		can@2,0 {
388*c66ec88fSEmmanuel Vadot			compatible = "bosch,cc770"; // Bosch CC770
389*c66ec88fSEmmanuel Vadot			reg = <2 0x0 0x100>;
390*c66ec88fSEmmanuel Vadot			interrupts = <4 1>;
391*c66ec88fSEmmanuel Vadot			interrupt-parent = <&mpic>;
392*c66ec88fSEmmanuel Vadot			bosch,external-clock-frequency = <16000000>;
393*c66ec88fSEmmanuel Vadot			bosch,disconnect-rx1-input;
394*c66ec88fSEmmanuel Vadot			bosch,disconnect-tx1-output;
395*c66ec88fSEmmanuel Vadot			bosch,iso-low-speed-mux;
396*c66ec88fSEmmanuel Vadot			bosch,clock-out-frequency = <16000000>;
397*c66ec88fSEmmanuel Vadot		};
398*c66ec88fSEmmanuel Vadot
399*c66ec88fSEmmanuel Vadot		can@2,100 {
400*c66ec88fSEmmanuel Vadot			compatible = "bosch,cc770"; // Bosch CC770
401*c66ec88fSEmmanuel Vadot			reg = <2 0x100 0x100>;
402*c66ec88fSEmmanuel Vadot			interrupts = <4 1>;
403*c66ec88fSEmmanuel Vadot			interrupt-parent = <&mpic>;
404*c66ec88fSEmmanuel Vadot			bosch,external-clock-frequency = <16000000>;
405*c66ec88fSEmmanuel Vadot			bosch,disconnect-rx1-input;
406*c66ec88fSEmmanuel Vadot			bosch,disconnect-tx1-output;
407*c66ec88fSEmmanuel Vadot			bosch,iso-low-speed-mux;
408*c66ec88fSEmmanuel Vadot		};
409*c66ec88fSEmmanuel Vadot
410*c66ec88fSEmmanuel Vadot		/* Note: NAND support needs to be enabled in U-Boot */
411*c66ec88fSEmmanuel Vadot		upm@3,0 {
412*c66ec88fSEmmanuel Vadot			#address-cells = <0>;
413*c66ec88fSEmmanuel Vadot			#size-cells = <0>;
414*c66ec88fSEmmanuel Vadot			compatible = "tqc,tqm8548-upm-nand", "fsl,upm-nand";
415*c66ec88fSEmmanuel Vadot			reg = <3 0x0 0x800>;
416*c66ec88fSEmmanuel Vadot			fsl,upm-addr-offset = <0x10>;
417*c66ec88fSEmmanuel Vadot			fsl,upm-cmd-offset = <0x08>;
418*c66ec88fSEmmanuel Vadot			/* Micron MT29F8G08FAB multi-chip device */
419*c66ec88fSEmmanuel Vadot			fsl,upm-addr-line-cs-offsets = <0x0 0x200>;
420*c66ec88fSEmmanuel Vadot			fsl,upm-wait-flags = <0x5>;
421*c66ec88fSEmmanuel Vadot			chip-delay = <25>; // in micro-seconds
422*c66ec88fSEmmanuel Vadot
423*c66ec88fSEmmanuel Vadot			nand@0 {
424*c66ec88fSEmmanuel Vadot				#address-cells = <1>;
425*c66ec88fSEmmanuel Vadot				#size-cells = <1>;
426*c66ec88fSEmmanuel Vadot
427*c66ec88fSEmmanuel Vadot				partition@0 {
428*c66ec88fSEmmanuel Vadot					    label = "fs";
429*c66ec88fSEmmanuel Vadot					    reg = <0x00000000 0x10000000>;
430*c66ec88fSEmmanuel Vadot				};
431*c66ec88fSEmmanuel Vadot			};
432*c66ec88fSEmmanuel Vadot		};
433*c66ec88fSEmmanuel Vadot	};
434*c66ec88fSEmmanuel Vadot
435*c66ec88fSEmmanuel Vadot	pci0: pci@e0008000 {
436*c66ec88fSEmmanuel Vadot		#interrupt-cells = <1>;
437*c66ec88fSEmmanuel Vadot		#size-cells = <2>;
438*c66ec88fSEmmanuel Vadot		#address-cells = <3>;
439*c66ec88fSEmmanuel Vadot		compatible = "fsl,mpc8540-pcix", "fsl,mpc8540-pci";
440*c66ec88fSEmmanuel Vadot		device_type = "pci";
441*c66ec88fSEmmanuel Vadot		reg = <0xe0008000 0x1000>;
442*c66ec88fSEmmanuel Vadot		clock-frequency = <33333333>;
443*c66ec88fSEmmanuel Vadot		interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
444*c66ec88fSEmmanuel Vadot		interrupt-map = <
445*c66ec88fSEmmanuel Vadot				/* IDSEL 28 */
446*c66ec88fSEmmanuel Vadot				 0xe000 0 0 1 &mpic 2 1
447*c66ec88fSEmmanuel Vadot				 0xe000 0 0 2 &mpic 3 1
448*c66ec88fSEmmanuel Vadot				 0xe000 0 0 3 &mpic 6 1
449*c66ec88fSEmmanuel Vadot				 0xe000 0 0 4 &mpic 5 1
450*c66ec88fSEmmanuel Vadot
451*c66ec88fSEmmanuel Vadot				/* IDSEL 11 */
452*c66ec88fSEmmanuel Vadot				 0x5800 0 0 1 &mpic 6 1
453*c66ec88fSEmmanuel Vadot				 0x5800 0 0 2 &mpic 5 1
454*c66ec88fSEmmanuel Vadot				 >;
455*c66ec88fSEmmanuel Vadot
456*c66ec88fSEmmanuel Vadot		interrupt-parent = <&mpic>;
457*c66ec88fSEmmanuel Vadot		interrupts = <24 2>;
458*c66ec88fSEmmanuel Vadot		bus-range = <0 0>;
459*c66ec88fSEmmanuel Vadot		ranges = <0x02000000 0 0x80000000 0x80000000 0 0x20000000
460*c66ec88fSEmmanuel Vadot			  0x01000000 0 0x00000000 0xe2000000 0 0x01000000>;
461*c66ec88fSEmmanuel Vadot	};
462*c66ec88fSEmmanuel Vadot
463*c66ec88fSEmmanuel Vadot	pci1: pcie@e000a000 {
464*c66ec88fSEmmanuel Vadot		interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
465*c66ec88fSEmmanuel Vadot		interrupt-map = <
466*c66ec88fSEmmanuel Vadot			/* IDSEL 0x0 (PEX) */
467*c66ec88fSEmmanuel Vadot			0x00000 0 0 1 &mpic 0 1
468*c66ec88fSEmmanuel Vadot			0x00000 0 0 2 &mpic 1 1
469*c66ec88fSEmmanuel Vadot			0x00000 0 0 3 &mpic 2 1
470*c66ec88fSEmmanuel Vadot			0x00000 0 0 4 &mpic 3 1>;
471*c66ec88fSEmmanuel Vadot
472*c66ec88fSEmmanuel Vadot		interrupt-parent = <&mpic>;
473*c66ec88fSEmmanuel Vadot		interrupts = <26 2>;
474*c66ec88fSEmmanuel Vadot		bus-range = <0 0xff>;
475*c66ec88fSEmmanuel Vadot		ranges = <0x02000000 0 0xc0000000 0xc0000000 0 0x20000000
476*c66ec88fSEmmanuel Vadot			  0x01000000 0 0x00000000 0xef000000 0 0x08000000>;
477*c66ec88fSEmmanuel Vadot		clock-frequency = <33333333>;
478*c66ec88fSEmmanuel Vadot		#interrupt-cells = <1>;
479*c66ec88fSEmmanuel Vadot		#size-cells = <2>;
480*c66ec88fSEmmanuel Vadot		#address-cells = <3>;
481*c66ec88fSEmmanuel Vadot		reg = <0xe000a000 0x1000>;
482*c66ec88fSEmmanuel Vadot		compatible = "fsl,mpc8548-pcie";
483*c66ec88fSEmmanuel Vadot		device_type = "pci";
484*c66ec88fSEmmanuel Vadot		pcie@0 {
485*c66ec88fSEmmanuel Vadot			reg = <0 0 0 0 0>;
486*c66ec88fSEmmanuel Vadot			#size-cells = <2>;
487*c66ec88fSEmmanuel Vadot			#address-cells = <3>;
488*c66ec88fSEmmanuel Vadot			device_type = "pci";
489*c66ec88fSEmmanuel Vadot			ranges = <0x02000000 0 0xc0000000 0x02000000 0
490*c66ec88fSEmmanuel Vadot			          0xc0000000 0 0x20000000
491*c66ec88fSEmmanuel Vadot				  0x01000000 0 0x00000000 0x01000000 0
492*c66ec88fSEmmanuel Vadot				  0x00000000 0 0x08000000>;
493*c66ec88fSEmmanuel Vadot		};
494*c66ec88fSEmmanuel Vadot	};
495*c66ec88fSEmmanuel Vadot};
496