xref: /freebsd-src/sys/contrib/device-tree/src/powerpc/mpc832x_rdb.dts (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0-or-later
2*c66ec88fSEmmanuel Vadot/*
3*c66ec88fSEmmanuel Vadot * MPC832x RDB Device Tree Source
4*c66ec88fSEmmanuel Vadot *
5*c66ec88fSEmmanuel Vadot * Copyright 2007 Freescale Semiconductor Inc.
6*c66ec88fSEmmanuel Vadot */
7*c66ec88fSEmmanuel Vadot
8*c66ec88fSEmmanuel Vadot/dts-v1/;
9*c66ec88fSEmmanuel Vadot
10*c66ec88fSEmmanuel Vadot/ {
11*c66ec88fSEmmanuel Vadot	model = "MPC8323ERDB";
12*c66ec88fSEmmanuel Vadot	compatible = "MPC8323ERDB", "MPC832xRDB", "MPC83xxRDB";
13*c66ec88fSEmmanuel Vadot	#address-cells = <1>;
14*c66ec88fSEmmanuel Vadot	#size-cells = <1>;
15*c66ec88fSEmmanuel Vadot
16*c66ec88fSEmmanuel Vadot	aliases {
17*c66ec88fSEmmanuel Vadot		ethernet0 = &enet1;
18*c66ec88fSEmmanuel Vadot		ethernet1 = &enet0;
19*c66ec88fSEmmanuel Vadot		serial0 = &serial0;
20*c66ec88fSEmmanuel Vadot		serial1 = &serial1;
21*c66ec88fSEmmanuel Vadot		pci0 = &pci0;
22*c66ec88fSEmmanuel Vadot	};
23*c66ec88fSEmmanuel Vadot
24*c66ec88fSEmmanuel Vadot	cpus {
25*c66ec88fSEmmanuel Vadot		#address-cells = <1>;
26*c66ec88fSEmmanuel Vadot		#size-cells = <0>;
27*c66ec88fSEmmanuel Vadot
28*c66ec88fSEmmanuel Vadot		PowerPC,8323@0 {
29*c66ec88fSEmmanuel Vadot			device_type = "cpu";
30*c66ec88fSEmmanuel Vadot			reg = <0x0>;
31*c66ec88fSEmmanuel Vadot			d-cache-line-size = <0x20>;	// 32 bytes
32*c66ec88fSEmmanuel Vadot			i-cache-line-size = <0x20>;	// 32 bytes
33*c66ec88fSEmmanuel Vadot			d-cache-size = <16384>;	// L1, 16K
34*c66ec88fSEmmanuel Vadot			i-cache-size = <16384>;	// L1, 16K
35*c66ec88fSEmmanuel Vadot			timebase-frequency = <0>;
36*c66ec88fSEmmanuel Vadot			bus-frequency = <0>;
37*c66ec88fSEmmanuel Vadot			clock-frequency = <0>;
38*c66ec88fSEmmanuel Vadot		};
39*c66ec88fSEmmanuel Vadot	};
40*c66ec88fSEmmanuel Vadot
41*c66ec88fSEmmanuel Vadot	memory {
42*c66ec88fSEmmanuel Vadot		device_type = "memory";
43*c66ec88fSEmmanuel Vadot		reg = <0x00000000 0x04000000>;
44*c66ec88fSEmmanuel Vadot	};
45*c66ec88fSEmmanuel Vadot
46*c66ec88fSEmmanuel Vadot	soc8323@e0000000 {
47*c66ec88fSEmmanuel Vadot		#address-cells = <1>;
48*c66ec88fSEmmanuel Vadot		#size-cells = <1>;
49*c66ec88fSEmmanuel Vadot		device_type = "soc";
50*c66ec88fSEmmanuel Vadot		compatible = "simple-bus";
51*c66ec88fSEmmanuel Vadot		ranges = <0x0 0xe0000000 0x00100000>;
52*c66ec88fSEmmanuel Vadot		reg = <0xe0000000 0x00000200>;
53*c66ec88fSEmmanuel Vadot		bus-frequency = <0>;
54*c66ec88fSEmmanuel Vadot
55*c66ec88fSEmmanuel Vadot		wdt@200 {
56*c66ec88fSEmmanuel Vadot			device_type = "watchdog";
57*c66ec88fSEmmanuel Vadot			compatible = "mpc83xx_wdt";
58*c66ec88fSEmmanuel Vadot			reg = <0x200 0x100>;
59*c66ec88fSEmmanuel Vadot		};
60*c66ec88fSEmmanuel Vadot
61*c66ec88fSEmmanuel Vadot		pmc: power@b00 {
62*c66ec88fSEmmanuel Vadot			compatible = "fsl,mpc8323-pmc", "fsl,mpc8349-pmc";
63*c66ec88fSEmmanuel Vadot			reg = <0xb00 0x100 0xa00 0x100>;
64*c66ec88fSEmmanuel Vadot			interrupts = <80 0x8>;
65*c66ec88fSEmmanuel Vadot			interrupt-parent = <&ipic>;
66*c66ec88fSEmmanuel Vadot		};
67*c66ec88fSEmmanuel Vadot
68*c66ec88fSEmmanuel Vadot		i2c@3000 {
69*c66ec88fSEmmanuel Vadot			#address-cells = <1>;
70*c66ec88fSEmmanuel Vadot			#size-cells = <0>;
71*c66ec88fSEmmanuel Vadot			cell-index = <0>;
72*c66ec88fSEmmanuel Vadot			compatible = "fsl-i2c";
73*c66ec88fSEmmanuel Vadot			reg = <0x3000 0x100>;
74*c66ec88fSEmmanuel Vadot			interrupts = <14 0x8>;
75*c66ec88fSEmmanuel Vadot			interrupt-parent = <&ipic>;
76*c66ec88fSEmmanuel Vadot			dfsrr;
77*c66ec88fSEmmanuel Vadot		};
78*c66ec88fSEmmanuel Vadot
79*c66ec88fSEmmanuel Vadot		serial0: serial@4500 {
80*c66ec88fSEmmanuel Vadot			cell-index = <0>;
81*c66ec88fSEmmanuel Vadot			device_type = "serial";
82*c66ec88fSEmmanuel Vadot			compatible = "fsl,ns16550", "ns16550";
83*c66ec88fSEmmanuel Vadot			reg = <0x4500 0x100>;
84*c66ec88fSEmmanuel Vadot			clock-frequency = <0>;
85*c66ec88fSEmmanuel Vadot			interrupts = <9 0x8>;
86*c66ec88fSEmmanuel Vadot			interrupt-parent = <&ipic>;
87*c66ec88fSEmmanuel Vadot		};
88*c66ec88fSEmmanuel Vadot
89*c66ec88fSEmmanuel Vadot		serial1: serial@4600 {
90*c66ec88fSEmmanuel Vadot			cell-index = <1>;
91*c66ec88fSEmmanuel Vadot			device_type = "serial";
92*c66ec88fSEmmanuel Vadot			compatible = "fsl,ns16550", "ns16550";
93*c66ec88fSEmmanuel Vadot			reg = <0x4600 0x100>;
94*c66ec88fSEmmanuel Vadot			clock-frequency = <0>;
95*c66ec88fSEmmanuel Vadot			interrupts = <10 0x8>;
96*c66ec88fSEmmanuel Vadot			interrupt-parent = <&ipic>;
97*c66ec88fSEmmanuel Vadot		};
98*c66ec88fSEmmanuel Vadot
99*c66ec88fSEmmanuel Vadot		dma@82a8 {
100*c66ec88fSEmmanuel Vadot			#address-cells = <1>;
101*c66ec88fSEmmanuel Vadot			#size-cells = <1>;
102*c66ec88fSEmmanuel Vadot			compatible = "fsl,mpc8323-dma", "fsl,elo-dma";
103*c66ec88fSEmmanuel Vadot			reg = <0x82a8 4>;
104*c66ec88fSEmmanuel Vadot			ranges = <0 0x8100 0x1a8>;
105*c66ec88fSEmmanuel Vadot			interrupt-parent = <&ipic>;
106*c66ec88fSEmmanuel Vadot			interrupts = <71 8>;
107*c66ec88fSEmmanuel Vadot			cell-index = <0>;
108*c66ec88fSEmmanuel Vadot			dma-channel@0 {
109*c66ec88fSEmmanuel Vadot				compatible = "fsl,mpc8323-dma-channel", "fsl,elo-dma-channel";
110*c66ec88fSEmmanuel Vadot				reg = <0 0x80>;
111*c66ec88fSEmmanuel Vadot				cell-index = <0>;
112*c66ec88fSEmmanuel Vadot				interrupt-parent = <&ipic>;
113*c66ec88fSEmmanuel Vadot				interrupts = <71 8>;
114*c66ec88fSEmmanuel Vadot			};
115*c66ec88fSEmmanuel Vadot			dma-channel@80 {
116*c66ec88fSEmmanuel Vadot				compatible = "fsl,mpc8323-dma-channel", "fsl,elo-dma-channel";
117*c66ec88fSEmmanuel Vadot				reg = <0x80 0x80>;
118*c66ec88fSEmmanuel Vadot				cell-index = <1>;
119*c66ec88fSEmmanuel Vadot				interrupt-parent = <&ipic>;
120*c66ec88fSEmmanuel Vadot				interrupts = <71 8>;
121*c66ec88fSEmmanuel Vadot			};
122*c66ec88fSEmmanuel Vadot			dma-channel@100 {
123*c66ec88fSEmmanuel Vadot				compatible = "fsl,mpc8323-dma-channel", "fsl,elo-dma-channel";
124*c66ec88fSEmmanuel Vadot				reg = <0x100 0x80>;
125*c66ec88fSEmmanuel Vadot				cell-index = <2>;
126*c66ec88fSEmmanuel Vadot				interrupt-parent = <&ipic>;
127*c66ec88fSEmmanuel Vadot				interrupts = <71 8>;
128*c66ec88fSEmmanuel Vadot			};
129*c66ec88fSEmmanuel Vadot			dma-channel@180 {
130*c66ec88fSEmmanuel Vadot				compatible = "fsl,mpc8323-dma-channel", "fsl,elo-dma-channel";
131*c66ec88fSEmmanuel Vadot				reg = <0x180 0x28>;
132*c66ec88fSEmmanuel Vadot				cell-index = <3>;
133*c66ec88fSEmmanuel Vadot				interrupt-parent = <&ipic>;
134*c66ec88fSEmmanuel Vadot				interrupts = <71 8>;
135*c66ec88fSEmmanuel Vadot			};
136*c66ec88fSEmmanuel Vadot		};
137*c66ec88fSEmmanuel Vadot
138*c66ec88fSEmmanuel Vadot		crypto@30000 {
139*c66ec88fSEmmanuel Vadot			compatible = "fsl,sec2.2", "fsl,sec2.1", "fsl,sec2.0";
140*c66ec88fSEmmanuel Vadot			reg = <0x30000 0x10000>;
141*c66ec88fSEmmanuel Vadot			interrupts = <11 0x8>;
142*c66ec88fSEmmanuel Vadot			interrupt-parent = <&ipic>;
143*c66ec88fSEmmanuel Vadot			fsl,num-channels = <1>;
144*c66ec88fSEmmanuel Vadot			fsl,channel-fifo-len = <24>;
145*c66ec88fSEmmanuel Vadot			fsl,exec-units-mask = <0x4c>;
146*c66ec88fSEmmanuel Vadot			fsl,descriptor-types-mask = <0x0122003f>;
147*c66ec88fSEmmanuel Vadot			sleep = <&pmc 0x03000000>;
148*c66ec88fSEmmanuel Vadot		};
149*c66ec88fSEmmanuel Vadot
150*c66ec88fSEmmanuel Vadot		ipic:pic@700 {
151*c66ec88fSEmmanuel Vadot			interrupt-controller;
152*c66ec88fSEmmanuel Vadot			#address-cells = <0>;
153*c66ec88fSEmmanuel Vadot			#interrupt-cells = <2>;
154*c66ec88fSEmmanuel Vadot			reg = <0x700 0x100>;
155*c66ec88fSEmmanuel Vadot			device_type = "ipic";
156*c66ec88fSEmmanuel Vadot		};
157*c66ec88fSEmmanuel Vadot
158*c66ec88fSEmmanuel Vadot		par_io@1400 {
159*c66ec88fSEmmanuel Vadot			#address-cells = <1>;
160*c66ec88fSEmmanuel Vadot			#size-cells = <1>;
161*c66ec88fSEmmanuel Vadot			reg = <0x1400 0x100>;
162*c66ec88fSEmmanuel Vadot			ranges = <3 0x1448 0x18>;
163*c66ec88fSEmmanuel Vadot			compatible = "fsl,mpc8323-qe-pario";
164*c66ec88fSEmmanuel Vadot			device_type = "par_io";
165*c66ec88fSEmmanuel Vadot			num-ports = <7>;
166*c66ec88fSEmmanuel Vadot
167*c66ec88fSEmmanuel Vadot			qe_pio_d: gpio-controller@1448 {
168*c66ec88fSEmmanuel Vadot				#gpio-cells = <2>;
169*c66ec88fSEmmanuel Vadot				compatible = "fsl,mpc8323-qe-pario-bank";
170*c66ec88fSEmmanuel Vadot				reg = <3 0x18>;
171*c66ec88fSEmmanuel Vadot				gpio-controller;
172*c66ec88fSEmmanuel Vadot			};
173*c66ec88fSEmmanuel Vadot
174*c66ec88fSEmmanuel Vadot			ucc2pio:ucc_pin@2 {
175*c66ec88fSEmmanuel Vadot				pio-map = <
176*c66ec88fSEmmanuel Vadot			/* port  pin  dir  open_drain  assignment  has_irq */
177*c66ec88fSEmmanuel Vadot					3  4  3  0  2  0 	/* MDIO */
178*c66ec88fSEmmanuel Vadot					3  5  1  0  2  0 	/* MDC */
179*c66ec88fSEmmanuel Vadot					3 21  2  0  1  0 	/* RX_CLK (CLK16) */
180*c66ec88fSEmmanuel Vadot					3 23  2  0  1  0 	/* TX_CLK (CLK3) */
181*c66ec88fSEmmanuel Vadot					0 18  1  0  1  0 	/* TxD0 */
182*c66ec88fSEmmanuel Vadot					0 19  1  0  1  0 	/* TxD1 */
183*c66ec88fSEmmanuel Vadot					0 20  1  0  1  0 	/* TxD2 */
184*c66ec88fSEmmanuel Vadot					0 21  1  0  1  0 	/* TxD3 */
185*c66ec88fSEmmanuel Vadot					0 22  2  0  1  0 	/* RxD0 */
186*c66ec88fSEmmanuel Vadot					0 23  2  0  1  0 	/* RxD1 */
187*c66ec88fSEmmanuel Vadot					0 24  2  0  1  0 	/* RxD2 */
188*c66ec88fSEmmanuel Vadot					0 25  2  0  1  0 	/* RxD3 */
189*c66ec88fSEmmanuel Vadot					0 26  2  0  1  0 	/* RX_ER */
190*c66ec88fSEmmanuel Vadot					0 27  1  0  1  0 	/* TX_ER */
191*c66ec88fSEmmanuel Vadot					0 28  2  0  1  0 	/* RX_DV */
192*c66ec88fSEmmanuel Vadot					0 29  2  0  1  0 	/* COL */
193*c66ec88fSEmmanuel Vadot					0 30  1  0  1  0 	/* TX_EN */
194*c66ec88fSEmmanuel Vadot					0 31  2  0  1  0>;      /* CRS */
195*c66ec88fSEmmanuel Vadot			};
196*c66ec88fSEmmanuel Vadot			ucc3pio:ucc_pin@3 {
197*c66ec88fSEmmanuel Vadot				pio-map = <
198*c66ec88fSEmmanuel Vadot			/* port  pin  dir  open_drain  assignment  has_irq */
199*c66ec88fSEmmanuel Vadot					0 13  2  0  1  0 	/* RX_CLK (CLK9) */
200*c66ec88fSEmmanuel Vadot					3 24  2  0  1  0 	/* TX_CLK (CLK10) */
201*c66ec88fSEmmanuel Vadot					1  0  1  0  1  0 	/* TxD0 */
202*c66ec88fSEmmanuel Vadot					1  1  1  0  1  0 	/* TxD1 */
203*c66ec88fSEmmanuel Vadot					1  2  1  0  1  0 	/* TxD2 */
204*c66ec88fSEmmanuel Vadot					1  3  1  0  1  0 	/* TxD3 */
205*c66ec88fSEmmanuel Vadot					1  4  2  0  1  0 	/* RxD0 */
206*c66ec88fSEmmanuel Vadot					1  5  2  0  1  0 	/* RxD1 */
207*c66ec88fSEmmanuel Vadot					1  6  2  0  1  0 	/* RxD2 */
208*c66ec88fSEmmanuel Vadot					1  7  2  0  1  0 	/* RxD3 */
209*c66ec88fSEmmanuel Vadot					1  8  2  0  1  0 	/* RX_ER */
210*c66ec88fSEmmanuel Vadot					1  9  1  0  1  0 	/* TX_ER */
211*c66ec88fSEmmanuel Vadot					1 10  2  0  1  0 	/* RX_DV */
212*c66ec88fSEmmanuel Vadot					1 11  2  0  1  0 	/* COL */
213*c66ec88fSEmmanuel Vadot					1 12  1  0  1  0 	/* TX_EN */
214*c66ec88fSEmmanuel Vadot					1 13  2  0  1  0>;      /* CRS */
215*c66ec88fSEmmanuel Vadot			};
216*c66ec88fSEmmanuel Vadot		};
217*c66ec88fSEmmanuel Vadot	};
218*c66ec88fSEmmanuel Vadot
219*c66ec88fSEmmanuel Vadot	qe@e0100000 {
220*c66ec88fSEmmanuel Vadot		#address-cells = <1>;
221*c66ec88fSEmmanuel Vadot		#size-cells = <1>;
222*c66ec88fSEmmanuel Vadot		device_type = "qe";
223*c66ec88fSEmmanuel Vadot		compatible = "fsl,qe";
224*c66ec88fSEmmanuel Vadot		ranges = <0x0 0xe0100000 0x00100000>;
225*c66ec88fSEmmanuel Vadot		reg = <0xe0100000 0x480>;
226*c66ec88fSEmmanuel Vadot		brg-frequency = <0>;
227*c66ec88fSEmmanuel Vadot		bus-frequency = <198000000>;
228*c66ec88fSEmmanuel Vadot		fsl,qe-num-riscs = <1>;
229*c66ec88fSEmmanuel Vadot		fsl,qe-num-snums = <28>;
230*c66ec88fSEmmanuel Vadot
231*c66ec88fSEmmanuel Vadot		muram@10000 {
232*c66ec88fSEmmanuel Vadot 			#address-cells = <1>;
233*c66ec88fSEmmanuel Vadot 			#size-cells = <1>;
234*c66ec88fSEmmanuel Vadot			compatible = "fsl,qe-muram", "fsl,cpm-muram";
235*c66ec88fSEmmanuel Vadot			ranges = <0x0 0x00010000 0x00004000>;
236*c66ec88fSEmmanuel Vadot
237*c66ec88fSEmmanuel Vadot			data-only@0 {
238*c66ec88fSEmmanuel Vadot				compatible = "fsl,qe-muram-data",
239*c66ec88fSEmmanuel Vadot					     "fsl,cpm-muram-data";
240*c66ec88fSEmmanuel Vadot				reg = <0x0 0x4000>;
241*c66ec88fSEmmanuel Vadot			};
242*c66ec88fSEmmanuel Vadot		};
243*c66ec88fSEmmanuel Vadot
244*c66ec88fSEmmanuel Vadot		spi@4c0 {
245*c66ec88fSEmmanuel Vadot			#address-cells = <1>;
246*c66ec88fSEmmanuel Vadot			#size-cells = <0>;
247*c66ec88fSEmmanuel Vadot			cell-index = <0>;
248*c66ec88fSEmmanuel Vadot			compatible = "fsl,spi";
249*c66ec88fSEmmanuel Vadot			reg = <0x4c0 0x40>;
250*c66ec88fSEmmanuel Vadot			interrupts = <2>;
251*c66ec88fSEmmanuel Vadot			interrupt-parent = <&qeic>;
252*c66ec88fSEmmanuel Vadot			cs-gpios = <&qe_pio_d 13 0>;
253*c66ec88fSEmmanuel Vadot			mode = "cpu-qe";
254*c66ec88fSEmmanuel Vadot
255*c66ec88fSEmmanuel Vadot			mmc-slot@0 {
256*c66ec88fSEmmanuel Vadot				compatible = "fsl,mpc8323rdb-mmc-slot",
257*c66ec88fSEmmanuel Vadot					     "mmc-spi-slot";
258*c66ec88fSEmmanuel Vadot				reg = <0>;
259*c66ec88fSEmmanuel Vadot				gpios = <&qe_pio_d 14 1
260*c66ec88fSEmmanuel Vadot					 &qe_pio_d 15 0>;
261*c66ec88fSEmmanuel Vadot				voltage-ranges = <3300 3300>;
262*c66ec88fSEmmanuel Vadot				spi-max-frequency = <50000000>;
263*c66ec88fSEmmanuel Vadot			};
264*c66ec88fSEmmanuel Vadot		};
265*c66ec88fSEmmanuel Vadot
266*c66ec88fSEmmanuel Vadot		spi@500 {
267*c66ec88fSEmmanuel Vadot			cell-index = <1>;
268*c66ec88fSEmmanuel Vadot			compatible = "fsl,spi";
269*c66ec88fSEmmanuel Vadot			reg = <0x500 0x40>;
270*c66ec88fSEmmanuel Vadot			interrupts = <1>;
271*c66ec88fSEmmanuel Vadot			interrupt-parent = <&qeic>;
272*c66ec88fSEmmanuel Vadot			mode = "cpu";
273*c66ec88fSEmmanuel Vadot		};
274*c66ec88fSEmmanuel Vadot
275*c66ec88fSEmmanuel Vadot		enet0: ucc@3000 {
276*c66ec88fSEmmanuel Vadot			device_type = "network";
277*c66ec88fSEmmanuel Vadot			compatible = "ucc_geth";
278*c66ec88fSEmmanuel Vadot			cell-index = <2>;
279*c66ec88fSEmmanuel Vadot			reg = <0x3000 0x200>;
280*c66ec88fSEmmanuel Vadot			interrupts = <33>;
281*c66ec88fSEmmanuel Vadot			interrupt-parent = <&qeic>;
282*c66ec88fSEmmanuel Vadot			local-mac-address = [ 00 00 00 00 00 00 ];
283*c66ec88fSEmmanuel Vadot			rx-clock-name = "clk16";
284*c66ec88fSEmmanuel Vadot			tx-clock-name = "clk3";
285*c66ec88fSEmmanuel Vadot			phy-handle = <&phy00>;
286*c66ec88fSEmmanuel Vadot			pio-handle = <&ucc2pio>;
287*c66ec88fSEmmanuel Vadot		};
288*c66ec88fSEmmanuel Vadot
289*c66ec88fSEmmanuel Vadot		enet1: ucc@2200 {
290*c66ec88fSEmmanuel Vadot			device_type = "network";
291*c66ec88fSEmmanuel Vadot			compatible = "ucc_geth";
292*c66ec88fSEmmanuel Vadot			cell-index = <3>;
293*c66ec88fSEmmanuel Vadot			reg = <0x2200 0x200>;
294*c66ec88fSEmmanuel Vadot			interrupts = <34>;
295*c66ec88fSEmmanuel Vadot			interrupt-parent = <&qeic>;
296*c66ec88fSEmmanuel Vadot			local-mac-address = [ 00 00 00 00 00 00 ];
297*c66ec88fSEmmanuel Vadot			rx-clock-name = "clk9";
298*c66ec88fSEmmanuel Vadot			tx-clock-name = "clk10";
299*c66ec88fSEmmanuel Vadot			phy-handle = <&phy04>;
300*c66ec88fSEmmanuel Vadot			pio-handle = <&ucc3pio>;
301*c66ec88fSEmmanuel Vadot		};
302*c66ec88fSEmmanuel Vadot
303*c66ec88fSEmmanuel Vadot		mdio@3120 {
304*c66ec88fSEmmanuel Vadot			#address-cells = <1>;
305*c66ec88fSEmmanuel Vadot			#size-cells = <0>;
306*c66ec88fSEmmanuel Vadot			reg = <0x3120 0x18>;
307*c66ec88fSEmmanuel Vadot			compatible = "fsl,ucc-mdio";
308*c66ec88fSEmmanuel Vadot
309*c66ec88fSEmmanuel Vadot			phy00:ethernet-phy@0 {
310*c66ec88fSEmmanuel Vadot				reg = <0x0>;
311*c66ec88fSEmmanuel Vadot			};
312*c66ec88fSEmmanuel Vadot			phy04:ethernet-phy@4 {
313*c66ec88fSEmmanuel Vadot				reg = <0x4>;
314*c66ec88fSEmmanuel Vadot			};
315*c66ec88fSEmmanuel Vadot		};
316*c66ec88fSEmmanuel Vadot
317*c66ec88fSEmmanuel Vadot		qeic:interrupt-controller@80 {
318*c66ec88fSEmmanuel Vadot			interrupt-controller;
319*c66ec88fSEmmanuel Vadot			compatible = "fsl,qe-ic";
320*c66ec88fSEmmanuel Vadot			#address-cells = <0>;
321*c66ec88fSEmmanuel Vadot			#interrupt-cells = <1>;
322*c66ec88fSEmmanuel Vadot			reg = <0x80 0x80>;
323*c66ec88fSEmmanuel Vadot			big-endian;
324*c66ec88fSEmmanuel Vadot			interrupts = <32 0x8 33 0x8>; //high:32 low:33
325*c66ec88fSEmmanuel Vadot			interrupt-parent = <&ipic>;
326*c66ec88fSEmmanuel Vadot		};
327*c66ec88fSEmmanuel Vadot	};
328*c66ec88fSEmmanuel Vadot
329*c66ec88fSEmmanuel Vadot	pci0: pci@e0008500 {
330*c66ec88fSEmmanuel Vadot		interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
331*c66ec88fSEmmanuel Vadot		interrupt-map = <
332*c66ec88fSEmmanuel Vadot				/* IDSEL 0x10 AD16 (USB) */
333*c66ec88fSEmmanuel Vadot				 0x8000 0x0 0x0 0x1 &ipic 17 0x8
334*c66ec88fSEmmanuel Vadot
335*c66ec88fSEmmanuel Vadot				/* IDSEL 0x11 AD17 (Mini1)*/
336*c66ec88fSEmmanuel Vadot				 0x8800 0x0 0x0 0x1 &ipic 18 0x8
337*c66ec88fSEmmanuel Vadot				 0x8800 0x0 0x0 0x2 &ipic 19 0x8
338*c66ec88fSEmmanuel Vadot				 0x8800 0x0 0x0 0x3 &ipic 20 0x8
339*c66ec88fSEmmanuel Vadot				 0x8800 0x0 0x0 0x4 &ipic 48 0x8
340*c66ec88fSEmmanuel Vadot
341*c66ec88fSEmmanuel Vadot				/* IDSEL 0x12 AD18 (PCI/Mini2) */
342*c66ec88fSEmmanuel Vadot				 0x9000 0x0 0x0 0x1 &ipic 19 0x8
343*c66ec88fSEmmanuel Vadot				 0x9000 0x0 0x0 0x2 &ipic 20 0x8
344*c66ec88fSEmmanuel Vadot				 0x9000 0x0 0x0 0x3 &ipic 48 0x8
345*c66ec88fSEmmanuel Vadot				 0x9000 0x0 0x0 0x4 &ipic 17 0x8>;
346*c66ec88fSEmmanuel Vadot
347*c66ec88fSEmmanuel Vadot		interrupt-parent = <&ipic>;
348*c66ec88fSEmmanuel Vadot		interrupts = <66 0x8>;
349*c66ec88fSEmmanuel Vadot		bus-range = <0x0 0x0>;
350*c66ec88fSEmmanuel Vadot		ranges = <0x42000000 0x0 0x80000000 0x80000000 0x0 0x10000000
351*c66ec88fSEmmanuel Vadot			  0x02000000 0x0 0x90000000 0x90000000 0x0 0x10000000
352*c66ec88fSEmmanuel Vadot			  0x01000000 0x0 0xd0000000 0xd0000000 0x0 0x04000000>;
353*c66ec88fSEmmanuel Vadot		clock-frequency = <0>;
354*c66ec88fSEmmanuel Vadot		#interrupt-cells = <1>;
355*c66ec88fSEmmanuel Vadot		#size-cells = <2>;
356*c66ec88fSEmmanuel Vadot		#address-cells = <3>;
357*c66ec88fSEmmanuel Vadot		reg = <0xe0008500 0x100		/* internal registers */
358*c66ec88fSEmmanuel Vadot		       0xe0008300 0x8>;		/* config space access registers */
359*c66ec88fSEmmanuel Vadot		compatible = "fsl,mpc8349-pci";
360*c66ec88fSEmmanuel Vadot		device_type = "pci";
361*c66ec88fSEmmanuel Vadot		sleep = <&pmc 0x00010000>;
362*c66ec88fSEmmanuel Vadot	};
363*c66ec88fSEmmanuel Vadot};
364