1*c66ec88fSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0-or-later
2*c66ec88fSEmmanuel Vadot/*
3*c66ec88fSEmmanuel Vadot * MPC8360E EMDS Device Tree Source
4*c66ec88fSEmmanuel Vadot *
5*c66ec88fSEmmanuel Vadot * Copyright 2006 Freescale Semiconductor Inc.
6*c66ec88fSEmmanuel Vadot */
7*c66ec88fSEmmanuel Vadot
8*c66ec88fSEmmanuel Vadot
9*c66ec88fSEmmanuel Vadot/*
10*c66ec88fSEmmanuel Vadot/memreserve/	00000000 1000000;
11*c66ec88fSEmmanuel Vadot*/
12*c66ec88fSEmmanuel Vadot
13*c66ec88fSEmmanuel Vadot/dts-v1/;
14*c66ec88fSEmmanuel Vadot
15*c66ec88fSEmmanuel Vadot/ {
16*c66ec88fSEmmanuel Vadot	model = "MPC8360MDS";
17*c66ec88fSEmmanuel Vadot	compatible = "MPC8360EMDS", "MPC836xMDS", "MPC83xxMDS";
18*c66ec88fSEmmanuel Vadot	#address-cells = <1>;
19*c66ec88fSEmmanuel Vadot	#size-cells = <1>;
20*c66ec88fSEmmanuel Vadot
21*c66ec88fSEmmanuel Vadot	aliases {
22*c66ec88fSEmmanuel Vadot		ethernet0 = &enet0;
23*c66ec88fSEmmanuel Vadot		ethernet1 = &enet1;
24*c66ec88fSEmmanuel Vadot		serial0 = &serial0;
25*c66ec88fSEmmanuel Vadot		serial1 = &serial1;
26*c66ec88fSEmmanuel Vadot		pci0 = &pci0;
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,8360@0 {
34*c66ec88fSEmmanuel Vadot			device_type = "cpu";
35*c66ec88fSEmmanuel Vadot			reg = <0x0>;
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 = <32768>;		// L1, 32K
39*c66ec88fSEmmanuel Vadot			i-cache-size = <32768>;		// L1, 32K
40*c66ec88fSEmmanuel Vadot			timebase-frequency = <66000000>;
41*c66ec88fSEmmanuel Vadot			bus-frequency = <264000000>;
42*c66ec88fSEmmanuel Vadot			clock-frequency = <528000000>;
43*c66ec88fSEmmanuel Vadot		};
44*c66ec88fSEmmanuel Vadot	};
45*c66ec88fSEmmanuel Vadot
46*c66ec88fSEmmanuel Vadot	memory {
47*c66ec88fSEmmanuel Vadot		device_type = "memory";
48*c66ec88fSEmmanuel Vadot		reg = <0x00000000 0x10000000>;
49*c66ec88fSEmmanuel Vadot	};
50*c66ec88fSEmmanuel Vadot
51*c66ec88fSEmmanuel Vadot	localbus@e0005000 {
52*c66ec88fSEmmanuel Vadot		#address-cells = <2>;
53*c66ec88fSEmmanuel Vadot		#size-cells = <1>;
54*c66ec88fSEmmanuel Vadot		compatible = "fsl,mpc8360-localbus", "fsl,pq2pro-localbus",
55*c66ec88fSEmmanuel Vadot			     "simple-bus";
56*c66ec88fSEmmanuel Vadot		reg = <0xe0005000 0xd8>;
57*c66ec88fSEmmanuel Vadot		ranges = <0 0 0xfe000000 0x02000000
58*c66ec88fSEmmanuel Vadot		          1 0 0xf8000000 0x00008000>;
59*c66ec88fSEmmanuel Vadot
60*c66ec88fSEmmanuel Vadot		flash@0,0 {
61*c66ec88fSEmmanuel Vadot			compatible = "cfi-flash";
62*c66ec88fSEmmanuel Vadot			reg = <0 0 0x2000000>;
63*c66ec88fSEmmanuel Vadot			bank-width = <2>;
64*c66ec88fSEmmanuel Vadot			device-width = <1>;
65*c66ec88fSEmmanuel Vadot		};
66*c66ec88fSEmmanuel Vadot
67*c66ec88fSEmmanuel Vadot		bcsr@1,0 {
68*c66ec88fSEmmanuel Vadot			#address-cells = <1>;
69*c66ec88fSEmmanuel Vadot			#size-cells = <1>;
70*c66ec88fSEmmanuel Vadot 			compatible = "fsl,mpc8360mds-bcsr";
71*c66ec88fSEmmanuel Vadot			reg = <1 0 0x8000>;
72*c66ec88fSEmmanuel Vadot			ranges = <0 1 0 0x8000>;
73*c66ec88fSEmmanuel Vadot
74*c66ec88fSEmmanuel Vadot			bcsr13: gpio-controller@d {
75*c66ec88fSEmmanuel Vadot				#gpio-cells = <2>;
76*c66ec88fSEmmanuel Vadot				compatible = "fsl,mpc8360mds-bcsr-gpio";
77*c66ec88fSEmmanuel Vadot				reg = <0xd 1>;
78*c66ec88fSEmmanuel Vadot				gpio-controller;
79*c66ec88fSEmmanuel Vadot			};
80*c66ec88fSEmmanuel Vadot		};
81*c66ec88fSEmmanuel Vadot	};
82*c66ec88fSEmmanuel Vadot
83*c66ec88fSEmmanuel Vadot	soc8360@e0000000 {
84*c66ec88fSEmmanuel Vadot		#address-cells = <1>;
85*c66ec88fSEmmanuel Vadot		#size-cells = <1>;
86*c66ec88fSEmmanuel Vadot		device_type = "soc";
87*c66ec88fSEmmanuel Vadot		compatible = "simple-bus";
88*c66ec88fSEmmanuel Vadot		ranges = <0x0 0xe0000000 0x00100000>;
89*c66ec88fSEmmanuel Vadot		reg = <0xe0000000 0x00000200>;
90*c66ec88fSEmmanuel Vadot		bus-frequency = <264000000>;
91*c66ec88fSEmmanuel Vadot
92*c66ec88fSEmmanuel Vadot		wdt@200 {
93*c66ec88fSEmmanuel Vadot			device_type = "watchdog";
94*c66ec88fSEmmanuel Vadot			compatible = "mpc83xx_wdt";
95*c66ec88fSEmmanuel Vadot			reg = <0x200 0x100>;
96*c66ec88fSEmmanuel Vadot		};
97*c66ec88fSEmmanuel Vadot
98*c66ec88fSEmmanuel Vadot		pmc: power@b00 {
99*c66ec88fSEmmanuel Vadot			compatible = "fsl,mpc8360-pmc", "fsl,mpc8349-pmc";
100*c66ec88fSEmmanuel Vadot			reg = <0xb00 0x100 0xa00 0x100>;
101*c66ec88fSEmmanuel Vadot			interrupts = <80 0x8>;
102*c66ec88fSEmmanuel Vadot			interrupt-parent = <&ipic>;
103*c66ec88fSEmmanuel Vadot		};
104*c66ec88fSEmmanuel Vadot
105*c66ec88fSEmmanuel Vadot		i2c@3000 {
106*c66ec88fSEmmanuel Vadot			#address-cells = <1>;
107*c66ec88fSEmmanuel Vadot			#size-cells = <0>;
108*c66ec88fSEmmanuel Vadot			cell-index = <0>;
109*c66ec88fSEmmanuel Vadot			compatible = "fsl-i2c";
110*c66ec88fSEmmanuel Vadot			reg = <0x3000 0x100>;
111*c66ec88fSEmmanuel Vadot			interrupts = <14 0x8>;
112*c66ec88fSEmmanuel Vadot			interrupt-parent = <&ipic>;
113*c66ec88fSEmmanuel Vadot			dfsrr;
114*c66ec88fSEmmanuel Vadot
115*c66ec88fSEmmanuel Vadot			rtc@68 {
116*c66ec88fSEmmanuel Vadot				compatible = "dallas,ds1374";
117*c66ec88fSEmmanuel Vadot				reg = <0x68>;
118*c66ec88fSEmmanuel Vadot			};
119*c66ec88fSEmmanuel Vadot		};
120*c66ec88fSEmmanuel Vadot
121*c66ec88fSEmmanuel Vadot		i2c@3100 {
122*c66ec88fSEmmanuel Vadot			#address-cells = <1>;
123*c66ec88fSEmmanuel Vadot			#size-cells = <0>;
124*c66ec88fSEmmanuel Vadot			cell-index = <1>;
125*c66ec88fSEmmanuel Vadot			compatible = "fsl-i2c";
126*c66ec88fSEmmanuel Vadot			reg = <0x3100 0x100>;
127*c66ec88fSEmmanuel Vadot			interrupts = <15 0x8>;
128*c66ec88fSEmmanuel Vadot			interrupt-parent = <&ipic>;
129*c66ec88fSEmmanuel Vadot			dfsrr;
130*c66ec88fSEmmanuel Vadot		};
131*c66ec88fSEmmanuel Vadot
132*c66ec88fSEmmanuel Vadot		serial0: serial@4500 {
133*c66ec88fSEmmanuel Vadot			cell-index = <0>;
134*c66ec88fSEmmanuel Vadot			device_type = "serial";
135*c66ec88fSEmmanuel Vadot			compatible = "fsl,ns16550", "ns16550";
136*c66ec88fSEmmanuel Vadot			reg = <0x4500 0x100>;
137*c66ec88fSEmmanuel Vadot			clock-frequency = <264000000>;
138*c66ec88fSEmmanuel Vadot			interrupts = <9 0x8>;
139*c66ec88fSEmmanuel Vadot			interrupt-parent = <&ipic>;
140*c66ec88fSEmmanuel Vadot		};
141*c66ec88fSEmmanuel Vadot
142*c66ec88fSEmmanuel Vadot		serial1: serial@4600 {
143*c66ec88fSEmmanuel Vadot			cell-index = <1>;
144*c66ec88fSEmmanuel Vadot			device_type = "serial";
145*c66ec88fSEmmanuel Vadot			compatible = "fsl,ns16550", "ns16550";
146*c66ec88fSEmmanuel Vadot			reg = <0x4600 0x100>;
147*c66ec88fSEmmanuel Vadot			clock-frequency = <264000000>;
148*c66ec88fSEmmanuel Vadot			interrupts = <10 0x8>;
149*c66ec88fSEmmanuel Vadot			interrupt-parent = <&ipic>;
150*c66ec88fSEmmanuel Vadot		};
151*c66ec88fSEmmanuel Vadot
152*c66ec88fSEmmanuel Vadot		dma@82a8 {
153*c66ec88fSEmmanuel Vadot			#address-cells = <1>;
154*c66ec88fSEmmanuel Vadot			#size-cells = <1>;
155*c66ec88fSEmmanuel Vadot			compatible = "fsl,mpc8360-dma", "fsl,elo-dma";
156*c66ec88fSEmmanuel Vadot			reg = <0x82a8 4>;
157*c66ec88fSEmmanuel Vadot			ranges = <0 0x8100 0x1a8>;
158*c66ec88fSEmmanuel Vadot			interrupt-parent = <&ipic>;
159*c66ec88fSEmmanuel Vadot			interrupts = <71 8>;
160*c66ec88fSEmmanuel Vadot			cell-index = <0>;
161*c66ec88fSEmmanuel Vadot			dma-channel@0 {
162*c66ec88fSEmmanuel Vadot				compatible = "fsl,mpc8360-dma-channel", "fsl,elo-dma-channel";
163*c66ec88fSEmmanuel Vadot				reg = <0 0x80>;
164*c66ec88fSEmmanuel Vadot				cell-index = <0>;
165*c66ec88fSEmmanuel Vadot				interrupt-parent = <&ipic>;
166*c66ec88fSEmmanuel Vadot				interrupts = <71 8>;
167*c66ec88fSEmmanuel Vadot			};
168*c66ec88fSEmmanuel Vadot			dma-channel@80 {
169*c66ec88fSEmmanuel Vadot				compatible = "fsl,mpc8360-dma-channel", "fsl,elo-dma-channel";
170*c66ec88fSEmmanuel Vadot				reg = <0x80 0x80>;
171*c66ec88fSEmmanuel Vadot				cell-index = <1>;
172*c66ec88fSEmmanuel Vadot				interrupt-parent = <&ipic>;
173*c66ec88fSEmmanuel Vadot				interrupts = <71 8>;
174*c66ec88fSEmmanuel Vadot			};
175*c66ec88fSEmmanuel Vadot			dma-channel@100 {
176*c66ec88fSEmmanuel Vadot				compatible = "fsl,mpc8360-dma-channel", "fsl,elo-dma-channel";
177*c66ec88fSEmmanuel Vadot				reg = <0x100 0x80>;
178*c66ec88fSEmmanuel Vadot				cell-index = <2>;
179*c66ec88fSEmmanuel Vadot				interrupt-parent = <&ipic>;
180*c66ec88fSEmmanuel Vadot				interrupts = <71 8>;
181*c66ec88fSEmmanuel Vadot			};
182*c66ec88fSEmmanuel Vadot			dma-channel@180 {
183*c66ec88fSEmmanuel Vadot				compatible = "fsl,mpc8360-dma-channel", "fsl,elo-dma-channel";
184*c66ec88fSEmmanuel Vadot				reg = <0x180 0x28>;
185*c66ec88fSEmmanuel Vadot				cell-index = <3>;
186*c66ec88fSEmmanuel Vadot				interrupt-parent = <&ipic>;
187*c66ec88fSEmmanuel Vadot				interrupts = <71 8>;
188*c66ec88fSEmmanuel Vadot			};
189*c66ec88fSEmmanuel Vadot		};
190*c66ec88fSEmmanuel Vadot
191*c66ec88fSEmmanuel Vadot		crypto@30000 {
192*c66ec88fSEmmanuel Vadot			compatible = "fsl,sec2.0";
193*c66ec88fSEmmanuel Vadot			reg = <0x30000 0x10000>;
194*c66ec88fSEmmanuel Vadot			interrupts = <11 0x8>;
195*c66ec88fSEmmanuel Vadot			interrupt-parent = <&ipic>;
196*c66ec88fSEmmanuel Vadot			fsl,num-channels = <4>;
197*c66ec88fSEmmanuel Vadot			fsl,channel-fifo-len = <24>;
198*c66ec88fSEmmanuel Vadot			fsl,exec-units-mask = <0x7e>;
199*c66ec88fSEmmanuel Vadot			fsl,descriptor-types-mask = <0x01010ebf>;
200*c66ec88fSEmmanuel Vadot			sleep = <&pmc 0x03000000>;
201*c66ec88fSEmmanuel Vadot		};
202*c66ec88fSEmmanuel Vadot
203*c66ec88fSEmmanuel Vadot		ipic: pic@700 {
204*c66ec88fSEmmanuel Vadot			interrupt-controller;
205*c66ec88fSEmmanuel Vadot			#address-cells = <0>;
206*c66ec88fSEmmanuel Vadot			#interrupt-cells = <2>;
207*c66ec88fSEmmanuel Vadot			reg = <0x700 0x100>;
208*c66ec88fSEmmanuel Vadot			device_type = "ipic";
209*c66ec88fSEmmanuel Vadot		};
210*c66ec88fSEmmanuel Vadot
211*c66ec88fSEmmanuel Vadot		par_io@1400 {
212*c66ec88fSEmmanuel Vadot			#address-cells = <1>;
213*c66ec88fSEmmanuel Vadot			#size-cells = <1>;
214*c66ec88fSEmmanuel Vadot			reg = <0x1400 0x100>;
215*c66ec88fSEmmanuel Vadot			ranges = <0 0x1400 0x100>;
216*c66ec88fSEmmanuel Vadot			device_type = "par_io";
217*c66ec88fSEmmanuel Vadot			num-ports = <7>;
218*c66ec88fSEmmanuel Vadot
219*c66ec88fSEmmanuel Vadot			qe_pio_b: gpio-controller@18 {
220*c66ec88fSEmmanuel Vadot				#gpio-cells = <2>;
221*c66ec88fSEmmanuel Vadot				compatible = "fsl,mpc8360-qe-pario-bank",
222*c66ec88fSEmmanuel Vadot					     "fsl,mpc8323-qe-pario-bank";
223*c66ec88fSEmmanuel Vadot				reg = <0x18 0x18>;
224*c66ec88fSEmmanuel Vadot				gpio-controller;
225*c66ec88fSEmmanuel Vadot			};
226*c66ec88fSEmmanuel Vadot
227*c66ec88fSEmmanuel Vadot			pio1: ucc_pin@1 {
228*c66ec88fSEmmanuel Vadot				pio-map = <
229*c66ec88fSEmmanuel Vadot			/* port  pin  dir  open_drain  assignment  has_irq */
230*c66ec88fSEmmanuel Vadot					0  3  1  0  1  0 	/* TxD0 */
231*c66ec88fSEmmanuel Vadot					0  4  1  0  1  0 	/* TxD1 */
232*c66ec88fSEmmanuel Vadot					0  5  1  0  1  0 	/* TxD2 */
233*c66ec88fSEmmanuel Vadot					0  6  1  0  1  0 	/* TxD3 */
234*c66ec88fSEmmanuel Vadot					1  6  1  0  3  0 	/* TxD4 */
235*c66ec88fSEmmanuel Vadot					1  7  1  0  1  0 	/* TxD5 */
236*c66ec88fSEmmanuel Vadot					1  9  1  0  2  0 	/* TxD6 */
237*c66ec88fSEmmanuel Vadot					1  10 1  0  2  0 	/* TxD7 */
238*c66ec88fSEmmanuel Vadot					0  9  2  0  1  0 	/* RxD0 */
239*c66ec88fSEmmanuel Vadot					0  10 2  0  1  0 	/* RxD1 */
240*c66ec88fSEmmanuel Vadot					0  11 2  0  1  0 	/* RxD2 */
241*c66ec88fSEmmanuel Vadot					0  12 2  0  1  0 	/* RxD3 */
242*c66ec88fSEmmanuel Vadot					0  13 2  0  1  0 	/* RxD4 */
243*c66ec88fSEmmanuel Vadot					1  1  2  0  2  0 	/* RxD5 */
244*c66ec88fSEmmanuel Vadot					1  0  2  0  2  0 	/* RxD6 */
245*c66ec88fSEmmanuel Vadot					1  4  2  0  2  0 	/* RxD7 */
246*c66ec88fSEmmanuel Vadot					0  7  1  0  1  0 	/* TX_EN */
247*c66ec88fSEmmanuel Vadot					0  8  1  0  1  0 	/* TX_ER */
248*c66ec88fSEmmanuel Vadot					0  15 2  0  1  0 	/* RX_DV */
249*c66ec88fSEmmanuel Vadot					0  16 2  0  1  0 	/* RX_ER */
250*c66ec88fSEmmanuel Vadot					0  0  2  0  1  0 	/* RX_CLK */
251*c66ec88fSEmmanuel Vadot					2  9  1  0  3  0 	/* GTX_CLK - CLK10 */
252*c66ec88fSEmmanuel Vadot					2  8  2  0  1  0>;	/* GTX125 - CLK9 */
253*c66ec88fSEmmanuel Vadot			};
254*c66ec88fSEmmanuel Vadot			pio2: ucc_pin@2 {
255*c66ec88fSEmmanuel Vadot				pio-map = <
256*c66ec88fSEmmanuel Vadot			/* port  pin  dir  open_drain  assignment  has_irq */
257*c66ec88fSEmmanuel Vadot					0  17 1  0  1  0   /* TxD0 */
258*c66ec88fSEmmanuel Vadot					0  18 1  0  1  0   /* TxD1 */
259*c66ec88fSEmmanuel Vadot					0  19 1  0  1  0   /* TxD2 */
260*c66ec88fSEmmanuel Vadot					0  20 1  0  1  0   /* TxD3 */
261*c66ec88fSEmmanuel Vadot					1  2  1  0  1  0   /* TxD4 */
262*c66ec88fSEmmanuel Vadot					1  3  1  0  2  0   /* TxD5 */
263*c66ec88fSEmmanuel Vadot					1  5  1  0  3  0   /* TxD6 */
264*c66ec88fSEmmanuel Vadot					1  8  1  0  3  0   /* TxD7 */
265*c66ec88fSEmmanuel Vadot					0  23 2  0  1  0   /* RxD0 */
266*c66ec88fSEmmanuel Vadot					0  24 2  0  1  0   /* RxD1 */
267*c66ec88fSEmmanuel Vadot					0  25 2  0  1  0   /* RxD2 */
268*c66ec88fSEmmanuel Vadot					0  26 2  0  1  0   /* RxD3 */
269*c66ec88fSEmmanuel Vadot					0  27 2  0  1  0   /* RxD4 */
270*c66ec88fSEmmanuel Vadot					1  12 2  0  2  0   /* RxD5 */
271*c66ec88fSEmmanuel Vadot					1  13 2  0  3  0   /* RxD6 */
272*c66ec88fSEmmanuel Vadot					1  11 2  0  2  0   /* RxD7 */
273*c66ec88fSEmmanuel Vadot					0  21 1  0  1  0   /* TX_EN */
274*c66ec88fSEmmanuel Vadot					0  22 1  0  1  0   /* TX_ER */
275*c66ec88fSEmmanuel Vadot					0  29 2  0  1  0   /* RX_DV */
276*c66ec88fSEmmanuel Vadot					0  30 2  0  1  0   /* RX_ER */
277*c66ec88fSEmmanuel Vadot					0  31 2  0  1  0   /* RX_CLK */
278*c66ec88fSEmmanuel Vadot					2  2  1  0  2  0   /* GTX_CLK - CLK10 */
279*c66ec88fSEmmanuel Vadot					2  3  2  0  1  0   /* GTX125 - CLK4 */
280*c66ec88fSEmmanuel Vadot					0  1  3  0  2  0   /* MDIO */
281*c66ec88fSEmmanuel Vadot					0  2  1  0  1  0>; /* MDC */
282*c66ec88fSEmmanuel Vadot			};
283*c66ec88fSEmmanuel Vadot
284*c66ec88fSEmmanuel Vadot		};
285*c66ec88fSEmmanuel Vadot	};
286*c66ec88fSEmmanuel Vadot
287*c66ec88fSEmmanuel Vadot	qe@e0100000 {
288*c66ec88fSEmmanuel Vadot		#address-cells = <1>;
289*c66ec88fSEmmanuel Vadot		#size-cells = <1>;
290*c66ec88fSEmmanuel Vadot		device_type = "qe";
291*c66ec88fSEmmanuel Vadot		compatible = "fsl,qe";
292*c66ec88fSEmmanuel Vadot		ranges = <0x0 0xe0100000 0x00100000>;
293*c66ec88fSEmmanuel Vadot		reg = <0xe0100000 0x480>;
294*c66ec88fSEmmanuel Vadot		brg-frequency = <0>;
295*c66ec88fSEmmanuel Vadot		bus-frequency = <396000000>;
296*c66ec88fSEmmanuel Vadot		fsl,qe-num-riscs = <2>;
297*c66ec88fSEmmanuel Vadot		fsl,qe-num-snums = <28>;
298*c66ec88fSEmmanuel Vadot
299*c66ec88fSEmmanuel Vadot		muram@10000 {
300*c66ec88fSEmmanuel Vadot 			#address-cells = <1>;
301*c66ec88fSEmmanuel Vadot 			#size-cells = <1>;
302*c66ec88fSEmmanuel Vadot			compatible = "fsl,qe-muram", "fsl,cpm-muram";
303*c66ec88fSEmmanuel Vadot			ranges = <0x0 0x00010000 0x0000c000>;
304*c66ec88fSEmmanuel Vadot
305*c66ec88fSEmmanuel Vadot			data-only@0 {
306*c66ec88fSEmmanuel Vadot				compatible = "fsl,qe-muram-data",
307*c66ec88fSEmmanuel Vadot					     "fsl,cpm-muram-data";
308*c66ec88fSEmmanuel Vadot				reg = <0x0 0xc000>;
309*c66ec88fSEmmanuel Vadot			};
310*c66ec88fSEmmanuel Vadot		};
311*c66ec88fSEmmanuel Vadot
312*c66ec88fSEmmanuel Vadot		timer@440 {
313*c66ec88fSEmmanuel Vadot			compatible = "fsl,mpc8360-qe-gtm",
314*c66ec88fSEmmanuel Vadot				     "fsl,qe-gtm", "fsl,gtm";
315*c66ec88fSEmmanuel Vadot			reg = <0x440 0x40>;
316*c66ec88fSEmmanuel Vadot			clock-frequency = <132000000>;
317*c66ec88fSEmmanuel Vadot			interrupts = <12 13 14 15>;
318*c66ec88fSEmmanuel Vadot			interrupt-parent = <&qeic>;
319*c66ec88fSEmmanuel Vadot		};
320*c66ec88fSEmmanuel Vadot
321*c66ec88fSEmmanuel Vadot		spi@4c0 {
322*c66ec88fSEmmanuel Vadot			cell-index = <0>;
323*c66ec88fSEmmanuel Vadot			compatible = "fsl,spi";
324*c66ec88fSEmmanuel Vadot			reg = <0x4c0 0x40>;
325*c66ec88fSEmmanuel Vadot			interrupts = <2>;
326*c66ec88fSEmmanuel Vadot			interrupt-parent = <&qeic>;
327*c66ec88fSEmmanuel Vadot			mode = "cpu";
328*c66ec88fSEmmanuel Vadot		};
329*c66ec88fSEmmanuel Vadot
330*c66ec88fSEmmanuel Vadot		spi@500 {
331*c66ec88fSEmmanuel Vadot			cell-index = <1>;
332*c66ec88fSEmmanuel Vadot			compatible = "fsl,spi";
333*c66ec88fSEmmanuel Vadot			reg = <0x500 0x40>;
334*c66ec88fSEmmanuel Vadot			interrupts = <1>;
335*c66ec88fSEmmanuel Vadot			interrupt-parent = <&qeic>;
336*c66ec88fSEmmanuel Vadot			mode = "cpu";
337*c66ec88fSEmmanuel Vadot		};
338*c66ec88fSEmmanuel Vadot
339*c66ec88fSEmmanuel Vadot		usb@6c0 {
340*c66ec88fSEmmanuel Vadot			compatible = "fsl,mpc8360-qe-usb",
341*c66ec88fSEmmanuel Vadot				     "fsl,mpc8323-qe-usb";
342*c66ec88fSEmmanuel Vadot			reg = <0x6c0 0x40 0x8b00 0x100>;
343*c66ec88fSEmmanuel Vadot			interrupts = <11>;
344*c66ec88fSEmmanuel Vadot			interrupt-parent = <&qeic>;
345*c66ec88fSEmmanuel Vadot			fsl,fullspeed-clock = "clk21";
346*c66ec88fSEmmanuel Vadot			fsl,lowspeed-clock = "brg9";
347*c66ec88fSEmmanuel Vadot			gpios = <&qe_pio_b  2 0   /* USBOE */
348*c66ec88fSEmmanuel Vadot				 &qe_pio_b  3 0   /* USBTP */
349*c66ec88fSEmmanuel Vadot				 &qe_pio_b  8 0   /* USBTN */
350*c66ec88fSEmmanuel Vadot				 &qe_pio_b  9 0   /* USBRP */
351*c66ec88fSEmmanuel Vadot				 &qe_pio_b 11 0   /* USBRN */
352*c66ec88fSEmmanuel Vadot				 &bcsr13    5 0   /* SPEED */
353*c66ec88fSEmmanuel Vadot				 &bcsr13    4 1>; /* POWER */
354*c66ec88fSEmmanuel Vadot		};
355*c66ec88fSEmmanuel Vadot
356*c66ec88fSEmmanuel Vadot		enet0: ucc@2000 {
357*c66ec88fSEmmanuel Vadot			device_type = "network";
358*c66ec88fSEmmanuel Vadot			compatible = "ucc_geth";
359*c66ec88fSEmmanuel Vadot			cell-index = <1>;
360*c66ec88fSEmmanuel Vadot			reg = <0x2000 0x200>;
361*c66ec88fSEmmanuel Vadot			interrupts = <32>;
362*c66ec88fSEmmanuel Vadot			interrupt-parent = <&qeic>;
363*c66ec88fSEmmanuel Vadot			local-mac-address = [ 00 00 00 00 00 00 ];
364*c66ec88fSEmmanuel Vadot			rx-clock-name = "none";
365*c66ec88fSEmmanuel Vadot			tx-clock-name = "clk9";
366*c66ec88fSEmmanuel Vadot			phy-handle = <&phy0>;
367*c66ec88fSEmmanuel Vadot			phy-connection-type = "rgmii-id";
368*c66ec88fSEmmanuel Vadot			pio-handle = <&pio1>;
369*c66ec88fSEmmanuel Vadot		};
370*c66ec88fSEmmanuel Vadot
371*c66ec88fSEmmanuel Vadot		enet1: ucc@3000 {
372*c66ec88fSEmmanuel Vadot			device_type = "network";
373*c66ec88fSEmmanuel Vadot			compatible = "ucc_geth";
374*c66ec88fSEmmanuel Vadot			cell-index = <2>;
375*c66ec88fSEmmanuel Vadot			reg = <0x3000 0x200>;
376*c66ec88fSEmmanuel Vadot			interrupts = <33>;
377*c66ec88fSEmmanuel Vadot			interrupt-parent = <&qeic>;
378*c66ec88fSEmmanuel Vadot			local-mac-address = [ 00 00 00 00 00 00 ];
379*c66ec88fSEmmanuel Vadot			rx-clock-name = "none";
380*c66ec88fSEmmanuel Vadot			tx-clock-name = "clk4";
381*c66ec88fSEmmanuel Vadot			phy-handle = <&phy1>;
382*c66ec88fSEmmanuel Vadot			phy-connection-type = "rgmii-id";
383*c66ec88fSEmmanuel Vadot			pio-handle = <&pio2>;
384*c66ec88fSEmmanuel Vadot		};
385*c66ec88fSEmmanuel Vadot
386*c66ec88fSEmmanuel Vadot		mdio@2120 {
387*c66ec88fSEmmanuel Vadot			#address-cells = <1>;
388*c66ec88fSEmmanuel Vadot			#size-cells = <0>;
389*c66ec88fSEmmanuel Vadot			reg = <0x2120 0x18>;
390*c66ec88fSEmmanuel Vadot			compatible = "fsl,ucc-mdio";
391*c66ec88fSEmmanuel Vadot
392*c66ec88fSEmmanuel Vadot			phy0: ethernet-phy@0 {
393*c66ec88fSEmmanuel Vadot				interrupt-parent = <&ipic>;
394*c66ec88fSEmmanuel Vadot				interrupts = <17 0x8>;
395*c66ec88fSEmmanuel Vadot				reg = <0x0>;
396*c66ec88fSEmmanuel Vadot			};
397*c66ec88fSEmmanuel Vadot			phy1: ethernet-phy@1 {
398*c66ec88fSEmmanuel Vadot				interrupt-parent = <&ipic>;
399*c66ec88fSEmmanuel Vadot				interrupts = <18 0x8>;
400*c66ec88fSEmmanuel Vadot				reg = <0x1>;
401*c66ec88fSEmmanuel Vadot			};
402*c66ec88fSEmmanuel Vadot			tbi-phy@2 {
403*c66ec88fSEmmanuel Vadot				device_type = "tbi-phy";
404*c66ec88fSEmmanuel Vadot				reg = <0x2>;
405*c66ec88fSEmmanuel Vadot			};
406*c66ec88fSEmmanuel Vadot		};
407*c66ec88fSEmmanuel Vadot
408*c66ec88fSEmmanuel Vadot		qeic: interrupt-controller@80 {
409*c66ec88fSEmmanuel Vadot			interrupt-controller;
410*c66ec88fSEmmanuel Vadot			compatible = "fsl,qe-ic";
411*c66ec88fSEmmanuel Vadot			#address-cells = <0>;
412*c66ec88fSEmmanuel Vadot			#interrupt-cells = <1>;
413*c66ec88fSEmmanuel Vadot			reg = <0x80 0x80>;
414*c66ec88fSEmmanuel Vadot			big-endian;
415*c66ec88fSEmmanuel Vadot			interrupts = <32 0x8 33 0x8>; // high:32 low:33
416*c66ec88fSEmmanuel Vadot			interrupt-parent = <&ipic>;
417*c66ec88fSEmmanuel Vadot		};
418*c66ec88fSEmmanuel Vadot	};
419*c66ec88fSEmmanuel Vadot
420*c66ec88fSEmmanuel Vadot	pci0: pci@e0008500 {
421*c66ec88fSEmmanuel Vadot		interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
422*c66ec88fSEmmanuel Vadot		interrupt-map = <
423*c66ec88fSEmmanuel Vadot
424*c66ec88fSEmmanuel Vadot				/* IDSEL 0x11 AD17 */
425*c66ec88fSEmmanuel Vadot				 0x8800 0x0 0x0 0x1 &ipic 20 0x8
426*c66ec88fSEmmanuel Vadot				 0x8800 0x0 0x0 0x2 &ipic 21 0x8
427*c66ec88fSEmmanuel Vadot				 0x8800 0x0 0x0 0x3 &ipic 22 0x8
428*c66ec88fSEmmanuel Vadot				 0x8800 0x0 0x0 0x4 &ipic 23 0x8
429*c66ec88fSEmmanuel Vadot
430*c66ec88fSEmmanuel Vadot				/* IDSEL 0x12 AD18 */
431*c66ec88fSEmmanuel Vadot				 0x9000 0x0 0x0 0x1 &ipic 22 0x8
432*c66ec88fSEmmanuel Vadot				 0x9000 0x0 0x0 0x2 &ipic 23 0x8
433*c66ec88fSEmmanuel Vadot				 0x9000 0x0 0x0 0x3 &ipic 20 0x8
434*c66ec88fSEmmanuel Vadot				 0x9000 0x0 0x0 0x4 &ipic 21 0x8
435*c66ec88fSEmmanuel Vadot
436*c66ec88fSEmmanuel Vadot				/* IDSEL 0x13 AD19 */
437*c66ec88fSEmmanuel Vadot				 0x9800 0x0 0x0 0x1 &ipic 23 0x8
438*c66ec88fSEmmanuel Vadot				 0x9800 0x0 0x0 0x2 &ipic 20 0x8
439*c66ec88fSEmmanuel Vadot				 0x9800 0x0 0x0 0x3 &ipic 21 0x8
440*c66ec88fSEmmanuel Vadot				 0x9800 0x0 0x0 0x4 &ipic 22 0x8
441*c66ec88fSEmmanuel Vadot
442*c66ec88fSEmmanuel Vadot				/* IDSEL 0x15 AD21*/
443*c66ec88fSEmmanuel Vadot				 0xa800 0x0 0x0 0x1 &ipic 20 0x8
444*c66ec88fSEmmanuel Vadot				 0xa800 0x0 0x0 0x2 &ipic 21 0x8
445*c66ec88fSEmmanuel Vadot				 0xa800 0x0 0x0 0x3 &ipic 22 0x8
446*c66ec88fSEmmanuel Vadot				 0xa800 0x0 0x0 0x4 &ipic 23 0x8
447*c66ec88fSEmmanuel Vadot
448*c66ec88fSEmmanuel Vadot				/* IDSEL 0x16 AD22*/
449*c66ec88fSEmmanuel Vadot				 0xb000 0x0 0x0 0x1 &ipic 23 0x8
450*c66ec88fSEmmanuel Vadot				 0xb000 0x0 0x0 0x2 &ipic 20 0x8
451*c66ec88fSEmmanuel Vadot				 0xb000 0x0 0x0 0x3 &ipic 21 0x8
452*c66ec88fSEmmanuel Vadot				 0xb000 0x0 0x0 0x4 &ipic 22 0x8
453*c66ec88fSEmmanuel Vadot
454*c66ec88fSEmmanuel Vadot				/* IDSEL 0x17 AD23*/
455*c66ec88fSEmmanuel Vadot				 0xb800 0x0 0x0 0x1 &ipic 22 0x8
456*c66ec88fSEmmanuel Vadot				 0xb800 0x0 0x0 0x2 &ipic 23 0x8
457*c66ec88fSEmmanuel Vadot				 0xb800 0x0 0x0 0x3 &ipic 20 0x8
458*c66ec88fSEmmanuel Vadot				 0xb800 0x0 0x0 0x4 &ipic 21 0x8
459*c66ec88fSEmmanuel Vadot
460*c66ec88fSEmmanuel Vadot				/* IDSEL 0x18 AD24*/
461*c66ec88fSEmmanuel Vadot				 0xc000 0x0 0x0 0x1 &ipic 21 0x8
462*c66ec88fSEmmanuel Vadot				 0xc000 0x0 0x0 0x2 &ipic 22 0x8
463*c66ec88fSEmmanuel Vadot				 0xc000 0x0 0x0 0x3 &ipic 23 0x8
464*c66ec88fSEmmanuel Vadot				 0xc000 0x0 0x0 0x4 &ipic 20 0x8>;
465*c66ec88fSEmmanuel Vadot		interrupt-parent = <&ipic>;
466*c66ec88fSEmmanuel Vadot		interrupts = <66 0x8>;
467*c66ec88fSEmmanuel Vadot		bus-range = <0 0>;
468*c66ec88fSEmmanuel Vadot		ranges = <0x02000000 0x0 0xa0000000 0xa0000000 0x0 0x10000000
469*c66ec88fSEmmanuel Vadot			  0x42000000 0x0 0x80000000 0x80000000 0x0 0x10000000
470*c66ec88fSEmmanuel Vadot			  0x01000000 0x0 0x00000000 0xe2000000 0x0 0x00100000>;
471*c66ec88fSEmmanuel Vadot		clock-frequency = <66666666>;
472*c66ec88fSEmmanuel Vadot		#interrupt-cells = <1>;
473*c66ec88fSEmmanuel Vadot		#size-cells = <2>;
474*c66ec88fSEmmanuel Vadot		#address-cells = <3>;
475*c66ec88fSEmmanuel Vadot		reg = <0xe0008500 0x100		/* internal registers */
476*c66ec88fSEmmanuel Vadot		       0xe0008300 0x8>;		/* config space access registers */
477*c66ec88fSEmmanuel Vadot		compatible = "fsl,mpc8349-pci";
478*c66ec88fSEmmanuel Vadot		device_type = "pci";
479*c66ec88fSEmmanuel Vadot		sleep = <&pmc 0x00010000>;
480*c66ec88fSEmmanuel Vadot	};
481*c66ec88fSEmmanuel Vadot};
482