xref: /freebsd-src/sys/contrib/device-tree/src/powerpc/mpc832x_mds.dts (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0-or-later
2*c66ec88fSEmmanuel Vadot/*
3*c66ec88fSEmmanuel Vadot * MPC8323E EMDS Device Tree Source
4*c66ec88fSEmmanuel Vadot *
5*c66ec88fSEmmanuel Vadot * Copyright 2006 Freescale Semiconductor Inc.
6*c66ec88fSEmmanuel Vadot *
7*c66ec88fSEmmanuel Vadot
8*c66ec88fSEmmanuel Vadot * To enable external serial I/O on a Freescale MPC 8323 SYS/MDS board, do
9*c66ec88fSEmmanuel Vadot * this:
10*c66ec88fSEmmanuel Vadot *
11*c66ec88fSEmmanuel Vadot * 1) On chip U61, lift (disconnect) pins 21 (TXD) and 22 (RXD) from the board.
12*c66ec88fSEmmanuel Vadot * 2) Solder a wire from U61-21 to P19A-23.  P19 is a grid of pins on the board
13*c66ec88fSEmmanuel Vadot *    next to the serial ports.
14*c66ec88fSEmmanuel Vadot * 3) Solder a wire from U61-22 to P19K-22.
15*c66ec88fSEmmanuel Vadot *
16*c66ec88fSEmmanuel Vadot * Note that there's a typo in the schematic.  The board labels the last column
17*c66ec88fSEmmanuel Vadot * of pins "P19K", but in the schematic, that column is called "P19J".  So if
18*c66ec88fSEmmanuel Vadot * you're going by the schematic, the pin is called "P19J-K22".
19*c66ec88fSEmmanuel Vadot */
20*c66ec88fSEmmanuel Vadot
21*c66ec88fSEmmanuel Vadot/dts-v1/;
22*c66ec88fSEmmanuel Vadot
23*c66ec88fSEmmanuel Vadot/ {
24*c66ec88fSEmmanuel Vadot	model = "MPC8323EMDS";
25*c66ec88fSEmmanuel Vadot	compatible = "MPC8323EMDS", "MPC832xMDS", "MPC83xxMDS";
26*c66ec88fSEmmanuel Vadot	#address-cells = <1>;
27*c66ec88fSEmmanuel Vadot	#size-cells = <1>;
28*c66ec88fSEmmanuel Vadot
29*c66ec88fSEmmanuel Vadot	aliases {
30*c66ec88fSEmmanuel Vadot		ethernet0 = &enet0;
31*c66ec88fSEmmanuel Vadot		ethernet1 = &enet1;
32*c66ec88fSEmmanuel Vadot		serial0 = &serial0;
33*c66ec88fSEmmanuel Vadot		serial1 = &serial1;
34*c66ec88fSEmmanuel Vadot		pci0 = &pci0;
35*c66ec88fSEmmanuel Vadot	};
36*c66ec88fSEmmanuel Vadot
37*c66ec88fSEmmanuel Vadot	cpus {
38*c66ec88fSEmmanuel Vadot		#address-cells = <1>;
39*c66ec88fSEmmanuel Vadot		#size-cells = <0>;
40*c66ec88fSEmmanuel Vadot
41*c66ec88fSEmmanuel Vadot		PowerPC,8323@0 {
42*c66ec88fSEmmanuel Vadot			device_type = "cpu";
43*c66ec88fSEmmanuel Vadot			reg = <0x0>;
44*c66ec88fSEmmanuel Vadot			d-cache-line-size = <32>;	// 32 bytes
45*c66ec88fSEmmanuel Vadot			i-cache-line-size = <32>;	// 32 bytes
46*c66ec88fSEmmanuel Vadot			d-cache-size = <16384>;		// L1, 16K
47*c66ec88fSEmmanuel Vadot			i-cache-size = <16384>;		// L1, 16K
48*c66ec88fSEmmanuel Vadot			timebase-frequency = <0>;
49*c66ec88fSEmmanuel Vadot			bus-frequency = <0>;
50*c66ec88fSEmmanuel Vadot			clock-frequency = <0>;
51*c66ec88fSEmmanuel Vadot		};
52*c66ec88fSEmmanuel Vadot	};
53*c66ec88fSEmmanuel Vadot
54*c66ec88fSEmmanuel Vadot	memory {
55*c66ec88fSEmmanuel Vadot		device_type = "memory";
56*c66ec88fSEmmanuel Vadot		reg = <0x00000000 0x08000000>;
57*c66ec88fSEmmanuel Vadot	};
58*c66ec88fSEmmanuel Vadot
59*c66ec88fSEmmanuel Vadot	bcsr@f8000000 {
60*c66ec88fSEmmanuel Vadot		compatible = "fsl,mpc8323mds-bcsr";
61*c66ec88fSEmmanuel Vadot		reg = <0xf8000000 0x8000>;
62*c66ec88fSEmmanuel Vadot	};
63*c66ec88fSEmmanuel Vadot
64*c66ec88fSEmmanuel Vadot	soc8323@e0000000 {
65*c66ec88fSEmmanuel Vadot		#address-cells = <1>;
66*c66ec88fSEmmanuel Vadot		#size-cells = <1>;
67*c66ec88fSEmmanuel Vadot		device_type = "soc";
68*c66ec88fSEmmanuel Vadot		compatible = "simple-bus";
69*c66ec88fSEmmanuel Vadot		ranges = <0x0 0xe0000000 0x00100000>;
70*c66ec88fSEmmanuel Vadot		reg = <0xe0000000 0x00000200>;
71*c66ec88fSEmmanuel Vadot		bus-frequency = <132000000>;
72*c66ec88fSEmmanuel Vadot
73*c66ec88fSEmmanuel Vadot		wdt@200 {
74*c66ec88fSEmmanuel Vadot			device_type = "watchdog";
75*c66ec88fSEmmanuel Vadot			compatible = "mpc83xx_wdt";
76*c66ec88fSEmmanuel Vadot			reg = <0x200 0x100>;
77*c66ec88fSEmmanuel Vadot		};
78*c66ec88fSEmmanuel Vadot
79*c66ec88fSEmmanuel Vadot		pmc: power@b00 {
80*c66ec88fSEmmanuel Vadot			compatible = "fsl,mpc8323-pmc", "fsl,mpc8349-pmc";
81*c66ec88fSEmmanuel Vadot			reg = <0xb00 0x100 0xa00 0x100>;
82*c66ec88fSEmmanuel Vadot			interrupts = <80 0x8>;
83*c66ec88fSEmmanuel Vadot			interrupt-parent = <&ipic>;
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 = <14 0x8>;
93*c66ec88fSEmmanuel Vadot			interrupt-parent = <&ipic>;
94*c66ec88fSEmmanuel Vadot			dfsrr;
95*c66ec88fSEmmanuel Vadot
96*c66ec88fSEmmanuel Vadot			rtc@68 {
97*c66ec88fSEmmanuel Vadot				compatible = "dallas,ds1374";
98*c66ec88fSEmmanuel Vadot				reg = <0x68>;
99*c66ec88fSEmmanuel Vadot			};
100*c66ec88fSEmmanuel Vadot		};
101*c66ec88fSEmmanuel Vadot
102*c66ec88fSEmmanuel Vadot		serial0: serial@4500 {
103*c66ec88fSEmmanuel Vadot			cell-index = <0>;
104*c66ec88fSEmmanuel Vadot			device_type = "serial";
105*c66ec88fSEmmanuel Vadot			compatible = "fsl,ns16550", "ns16550";
106*c66ec88fSEmmanuel Vadot			reg = <0x4500 0x100>;
107*c66ec88fSEmmanuel Vadot			clock-frequency = <0>;
108*c66ec88fSEmmanuel Vadot			interrupts = <9 0x8>;
109*c66ec88fSEmmanuel Vadot			interrupt-parent = <&ipic>;
110*c66ec88fSEmmanuel Vadot		};
111*c66ec88fSEmmanuel Vadot
112*c66ec88fSEmmanuel Vadot		serial1: serial@4600 {
113*c66ec88fSEmmanuel Vadot			cell-index = <1>;
114*c66ec88fSEmmanuel Vadot			device_type = "serial";
115*c66ec88fSEmmanuel Vadot			compatible = "fsl,ns16550", "ns16550";
116*c66ec88fSEmmanuel Vadot			reg = <0x4600 0x100>;
117*c66ec88fSEmmanuel Vadot			clock-frequency = <0>;
118*c66ec88fSEmmanuel Vadot			interrupts = <10 0x8>;
119*c66ec88fSEmmanuel Vadot			interrupt-parent = <&ipic>;
120*c66ec88fSEmmanuel Vadot		};
121*c66ec88fSEmmanuel Vadot
122*c66ec88fSEmmanuel Vadot		dma@82a8 {
123*c66ec88fSEmmanuel Vadot			#address-cells = <1>;
124*c66ec88fSEmmanuel Vadot			#size-cells = <1>;
125*c66ec88fSEmmanuel Vadot			compatible = "fsl,mpc8323-dma", "fsl,elo-dma";
126*c66ec88fSEmmanuel Vadot			reg = <0x82a8 4>;
127*c66ec88fSEmmanuel Vadot			ranges = <0 0x8100 0x1a8>;
128*c66ec88fSEmmanuel Vadot			interrupt-parent = <&ipic>;
129*c66ec88fSEmmanuel Vadot			interrupts = <71 8>;
130*c66ec88fSEmmanuel Vadot			cell-index = <0>;
131*c66ec88fSEmmanuel Vadot			dma-channel@0 {
132*c66ec88fSEmmanuel Vadot				compatible = "fsl,mpc8323-dma-channel", "fsl,elo-dma-channel";
133*c66ec88fSEmmanuel Vadot				reg = <0 0x80>;
134*c66ec88fSEmmanuel Vadot				cell-index = <0>;
135*c66ec88fSEmmanuel Vadot				interrupt-parent = <&ipic>;
136*c66ec88fSEmmanuel Vadot				interrupts = <71 8>;
137*c66ec88fSEmmanuel Vadot			};
138*c66ec88fSEmmanuel Vadot			dma-channel@80 {
139*c66ec88fSEmmanuel Vadot				compatible = "fsl,mpc8323-dma-channel", "fsl,elo-dma-channel";
140*c66ec88fSEmmanuel Vadot				reg = <0x80 0x80>;
141*c66ec88fSEmmanuel Vadot				cell-index = <1>;
142*c66ec88fSEmmanuel Vadot				interrupt-parent = <&ipic>;
143*c66ec88fSEmmanuel Vadot				interrupts = <71 8>;
144*c66ec88fSEmmanuel Vadot			};
145*c66ec88fSEmmanuel Vadot			dma-channel@100 {
146*c66ec88fSEmmanuel Vadot				compatible = "fsl,mpc8323-dma-channel", "fsl,elo-dma-channel";
147*c66ec88fSEmmanuel Vadot				reg = <0x100 0x80>;
148*c66ec88fSEmmanuel Vadot				cell-index = <2>;
149*c66ec88fSEmmanuel Vadot				interrupt-parent = <&ipic>;
150*c66ec88fSEmmanuel Vadot				interrupts = <71 8>;
151*c66ec88fSEmmanuel Vadot			};
152*c66ec88fSEmmanuel Vadot			dma-channel@180 {
153*c66ec88fSEmmanuel Vadot				compatible = "fsl,mpc8323-dma-channel", "fsl,elo-dma-channel";
154*c66ec88fSEmmanuel Vadot				reg = <0x180 0x28>;
155*c66ec88fSEmmanuel Vadot				cell-index = <3>;
156*c66ec88fSEmmanuel Vadot				interrupt-parent = <&ipic>;
157*c66ec88fSEmmanuel Vadot				interrupts = <71 8>;
158*c66ec88fSEmmanuel Vadot			};
159*c66ec88fSEmmanuel Vadot		};
160*c66ec88fSEmmanuel Vadot
161*c66ec88fSEmmanuel Vadot		crypto@30000 {
162*c66ec88fSEmmanuel Vadot			compatible = "fsl,sec2.2", "fsl,sec2.1", "fsl,sec2.0";
163*c66ec88fSEmmanuel Vadot			reg = <0x30000 0x10000>;
164*c66ec88fSEmmanuel Vadot			interrupts = <11 0x8>;
165*c66ec88fSEmmanuel Vadot			interrupt-parent = <&ipic>;
166*c66ec88fSEmmanuel Vadot			fsl,num-channels = <1>;
167*c66ec88fSEmmanuel Vadot			fsl,channel-fifo-len = <24>;
168*c66ec88fSEmmanuel Vadot			fsl,exec-units-mask = <0x4c>;
169*c66ec88fSEmmanuel Vadot			fsl,descriptor-types-mask = <0x0122003f>;
170*c66ec88fSEmmanuel Vadot			sleep = <&pmc 0x03000000>;
171*c66ec88fSEmmanuel Vadot		};
172*c66ec88fSEmmanuel Vadot
173*c66ec88fSEmmanuel Vadot		ipic: pic@700 {
174*c66ec88fSEmmanuel Vadot			interrupt-controller;
175*c66ec88fSEmmanuel Vadot			#address-cells = <0>;
176*c66ec88fSEmmanuel Vadot			#interrupt-cells = <2>;
177*c66ec88fSEmmanuel Vadot			reg = <0x700 0x100>;
178*c66ec88fSEmmanuel Vadot			device_type = "ipic";
179*c66ec88fSEmmanuel Vadot		};
180*c66ec88fSEmmanuel Vadot
181*c66ec88fSEmmanuel Vadot		par_io@1400 {
182*c66ec88fSEmmanuel Vadot			reg = <0x1400 0x100>;
183*c66ec88fSEmmanuel Vadot			device_type = "par_io";
184*c66ec88fSEmmanuel Vadot			num-ports = <7>;
185*c66ec88fSEmmanuel Vadot
186*c66ec88fSEmmanuel Vadot			pio3: ucc_pin@3 {
187*c66ec88fSEmmanuel Vadot				pio-map = <
188*c66ec88fSEmmanuel Vadot			/* port  pin  dir  open_drain  assignment  has_irq */
189*c66ec88fSEmmanuel Vadot					3  4  3  0  2  0  /* MDIO */
190*c66ec88fSEmmanuel Vadot					3  5  1  0  2  0  /* MDC */
191*c66ec88fSEmmanuel Vadot					0 13  2  0  1  0 	/* RX_CLK (CLK9) */
192*c66ec88fSEmmanuel Vadot					3 24  2  0  1  0 	/* TX_CLK (CLK10) */
193*c66ec88fSEmmanuel Vadot					1  0  1  0  1  0 	/* TxD0 */
194*c66ec88fSEmmanuel Vadot					1  1  1  0  1  0 	/* TxD1 */
195*c66ec88fSEmmanuel Vadot					1  2  1  0  1  0 	/* TxD2 */
196*c66ec88fSEmmanuel Vadot					1  3  1  0  1  0 	/* TxD3 */
197*c66ec88fSEmmanuel Vadot					1  4  2  0  1  0 	/* RxD0 */
198*c66ec88fSEmmanuel Vadot					1  5  2  0  1  0 	/* RxD1 */
199*c66ec88fSEmmanuel Vadot					1  6  2  0  1  0 	/* RxD2 */
200*c66ec88fSEmmanuel Vadot					1  7  2  0  1  0 	/* RxD3 */
201*c66ec88fSEmmanuel Vadot					1  8  2  0  1  0 	/* RX_ER */
202*c66ec88fSEmmanuel Vadot					1  9  1  0  1  0 	/* TX_ER */
203*c66ec88fSEmmanuel Vadot					1 10  2  0  1  0 	/* RX_DV */
204*c66ec88fSEmmanuel Vadot					1 11  2  0  1  0 	/* COL */
205*c66ec88fSEmmanuel Vadot					1 12  1  0  1  0 	/* TX_EN */
206*c66ec88fSEmmanuel Vadot					1 13  2  0  1  0>;	/* CRS */
207*c66ec88fSEmmanuel Vadot			};
208*c66ec88fSEmmanuel Vadot			pio4: ucc_pin@4 {
209*c66ec88fSEmmanuel Vadot				pio-map = <
210*c66ec88fSEmmanuel Vadot			/* port  pin  dir  open_drain  assignment  has_irq */
211*c66ec88fSEmmanuel Vadot					3 31  2  0  1  0 	/* RX_CLK (CLK7) */
212*c66ec88fSEmmanuel Vadot					3  6  2  0  1  0 	/* TX_CLK (CLK8) */
213*c66ec88fSEmmanuel Vadot					1 18  1  0  1  0 	/* TxD0 */
214*c66ec88fSEmmanuel Vadot					1 19  1  0  1  0 	/* TxD1 */
215*c66ec88fSEmmanuel Vadot					1 20  1  0  1  0 	/* TxD2 */
216*c66ec88fSEmmanuel Vadot					1 21  1  0  1  0 	/* TxD3 */
217*c66ec88fSEmmanuel Vadot					1 22  2  0  1  0 	/* RxD0 */
218*c66ec88fSEmmanuel Vadot					1 23  2  0  1  0 	/* RxD1 */
219*c66ec88fSEmmanuel Vadot					1 24  2  0  1  0 	/* RxD2 */
220*c66ec88fSEmmanuel Vadot					1 25  2  0  1  0 	/* RxD3 */
221*c66ec88fSEmmanuel Vadot					1 26  2  0  1  0 	/* RX_ER */
222*c66ec88fSEmmanuel Vadot					1 27  1  0  1  0 	/* TX_ER */
223*c66ec88fSEmmanuel Vadot					1 28  2  0  1  0 	/* RX_DV */
224*c66ec88fSEmmanuel Vadot					1 29  2  0  1  0 	/* COL */
225*c66ec88fSEmmanuel Vadot					1 30  1  0  1  0 	/* TX_EN */
226*c66ec88fSEmmanuel Vadot					1 31  2  0  1  0>;	/* CRS */
227*c66ec88fSEmmanuel Vadot			};
228*c66ec88fSEmmanuel Vadot			pio5: ucc_pin@5 {
229*c66ec88fSEmmanuel Vadot				pio-map = <
230*c66ec88fSEmmanuel Vadot				/*
231*c66ec88fSEmmanuel Vadot				 *    		      open       has
232*c66ec88fSEmmanuel Vadot				 *   port  pin  dir  drain  sel  irq
233*c66ec88fSEmmanuel Vadot				 */
234*c66ec88fSEmmanuel Vadot					2    0    1      0    2    0  /* TxD5 */
235*c66ec88fSEmmanuel Vadot					2    8    2      0    2    0  /* RxD5 */
236*c66ec88fSEmmanuel Vadot
237*c66ec88fSEmmanuel Vadot					2   29    2      0    0    0  /* CTS5 */
238*c66ec88fSEmmanuel Vadot					2   31    1      0    2    0  /* RTS5 */
239*c66ec88fSEmmanuel Vadot
240*c66ec88fSEmmanuel Vadot					2   24    2      0    0    0  /* CD */
241*c66ec88fSEmmanuel Vadot
242*c66ec88fSEmmanuel Vadot				>;
243*c66ec88fSEmmanuel Vadot			};
244*c66ec88fSEmmanuel Vadot
245*c66ec88fSEmmanuel Vadot		};
246*c66ec88fSEmmanuel Vadot	};
247*c66ec88fSEmmanuel Vadot
248*c66ec88fSEmmanuel Vadot	qe@e0100000 {
249*c66ec88fSEmmanuel Vadot		#address-cells = <1>;
250*c66ec88fSEmmanuel Vadot		#size-cells = <1>;
251*c66ec88fSEmmanuel Vadot		device_type = "qe";
252*c66ec88fSEmmanuel Vadot		compatible = "fsl,qe";
253*c66ec88fSEmmanuel Vadot		ranges = <0x0 0xe0100000 0x00100000>;
254*c66ec88fSEmmanuel Vadot		reg = <0xe0100000 0x480>;
255*c66ec88fSEmmanuel Vadot		brg-frequency = <0>;
256*c66ec88fSEmmanuel Vadot		bus-frequency = <198000000>;
257*c66ec88fSEmmanuel Vadot		fsl,qe-num-riscs = <1>;
258*c66ec88fSEmmanuel Vadot		fsl,qe-num-snums = <28>;
259*c66ec88fSEmmanuel Vadot
260*c66ec88fSEmmanuel Vadot		muram@10000 {
261*c66ec88fSEmmanuel Vadot			#address-cells = <1>;
262*c66ec88fSEmmanuel Vadot			#size-cells = <1>;
263*c66ec88fSEmmanuel Vadot			compatible = "fsl,qe-muram", "fsl,cpm-muram";
264*c66ec88fSEmmanuel Vadot			ranges = <0x0 0x00010000 0x00004000>;
265*c66ec88fSEmmanuel Vadot
266*c66ec88fSEmmanuel Vadot			data-only@0 {
267*c66ec88fSEmmanuel Vadot				compatible = "fsl,qe-muram-data",
268*c66ec88fSEmmanuel Vadot					     "fsl,cpm-muram-data";
269*c66ec88fSEmmanuel Vadot				reg = <0x0 0x4000>;
270*c66ec88fSEmmanuel Vadot			};
271*c66ec88fSEmmanuel Vadot		};
272*c66ec88fSEmmanuel Vadot
273*c66ec88fSEmmanuel Vadot		spi@4c0 {
274*c66ec88fSEmmanuel Vadot			cell-index = <0>;
275*c66ec88fSEmmanuel Vadot			compatible = "fsl,spi";
276*c66ec88fSEmmanuel Vadot			reg = <0x4c0 0x40>;
277*c66ec88fSEmmanuel Vadot			interrupts = <2>;
278*c66ec88fSEmmanuel Vadot			interrupt-parent = <&qeic>;
279*c66ec88fSEmmanuel Vadot			mode = "cpu";
280*c66ec88fSEmmanuel Vadot		};
281*c66ec88fSEmmanuel Vadot
282*c66ec88fSEmmanuel Vadot		spi@500 {
283*c66ec88fSEmmanuel Vadot			cell-index = <1>;
284*c66ec88fSEmmanuel Vadot			compatible = "fsl,spi";
285*c66ec88fSEmmanuel Vadot			reg = <0x500 0x40>;
286*c66ec88fSEmmanuel Vadot			interrupts = <1>;
287*c66ec88fSEmmanuel Vadot			interrupt-parent = <&qeic>;
288*c66ec88fSEmmanuel Vadot			mode = "cpu";
289*c66ec88fSEmmanuel Vadot		};
290*c66ec88fSEmmanuel Vadot
291*c66ec88fSEmmanuel Vadot		usb@6c0 {
292*c66ec88fSEmmanuel Vadot			compatible = "qe_udc";
293*c66ec88fSEmmanuel Vadot			reg = <0x6c0 0x40 0x8b00 0x100>;
294*c66ec88fSEmmanuel Vadot			interrupts = <11>;
295*c66ec88fSEmmanuel Vadot			interrupt-parent = <&qeic>;
296*c66ec88fSEmmanuel Vadot			mode = "slave";
297*c66ec88fSEmmanuel Vadot		};
298*c66ec88fSEmmanuel Vadot
299*c66ec88fSEmmanuel Vadot		enet0: ucc@2200 {
300*c66ec88fSEmmanuel Vadot			device_type = "network";
301*c66ec88fSEmmanuel Vadot			compatible = "ucc_geth";
302*c66ec88fSEmmanuel Vadot			cell-index = <3>;
303*c66ec88fSEmmanuel Vadot			reg = <0x2200 0x200>;
304*c66ec88fSEmmanuel Vadot			interrupts = <34>;
305*c66ec88fSEmmanuel Vadot			interrupt-parent = <&qeic>;
306*c66ec88fSEmmanuel Vadot			local-mac-address = [ 00 00 00 00 00 00 ];
307*c66ec88fSEmmanuel Vadot			rx-clock-name = "clk9";
308*c66ec88fSEmmanuel Vadot			tx-clock-name = "clk10";
309*c66ec88fSEmmanuel Vadot			phy-handle = <&phy3>;
310*c66ec88fSEmmanuel Vadot			pio-handle = <&pio3>;
311*c66ec88fSEmmanuel Vadot		};
312*c66ec88fSEmmanuel Vadot
313*c66ec88fSEmmanuel Vadot		enet1: ucc@3200 {
314*c66ec88fSEmmanuel Vadot			device_type = "network";
315*c66ec88fSEmmanuel Vadot			compatible = "ucc_geth";
316*c66ec88fSEmmanuel Vadot			cell-index = <4>;
317*c66ec88fSEmmanuel Vadot			reg = <0x3200 0x200>;
318*c66ec88fSEmmanuel Vadot			interrupts = <35>;
319*c66ec88fSEmmanuel Vadot			interrupt-parent = <&qeic>;
320*c66ec88fSEmmanuel Vadot			local-mac-address = [ 00 00 00 00 00 00 ];
321*c66ec88fSEmmanuel Vadot			rx-clock-name = "clk7";
322*c66ec88fSEmmanuel Vadot			tx-clock-name = "clk8";
323*c66ec88fSEmmanuel Vadot			phy-handle = <&phy4>;
324*c66ec88fSEmmanuel Vadot			pio-handle = <&pio4>;
325*c66ec88fSEmmanuel Vadot		};
326*c66ec88fSEmmanuel Vadot
327*c66ec88fSEmmanuel Vadot		ucc@2400 {
328*c66ec88fSEmmanuel Vadot			device_type = "serial";
329*c66ec88fSEmmanuel Vadot			compatible = "ucc_uart";
330*c66ec88fSEmmanuel Vadot			cell-index = <5>;	/* The UCC number, 1-7*/
331*c66ec88fSEmmanuel Vadot			port-number = <0>;	/* Which ttyQEx device */
332*c66ec88fSEmmanuel Vadot			soft-uart;		/* We need Soft-UART */
333*c66ec88fSEmmanuel Vadot			reg = <0x2400 0x200>;
334*c66ec88fSEmmanuel Vadot			interrupts = <40>;	/* From Table 18-12 */
335*c66ec88fSEmmanuel Vadot			interrupt-parent = < &qeic >;
336*c66ec88fSEmmanuel Vadot			/*
337*c66ec88fSEmmanuel Vadot			 * For Soft-UART, we need to set TX to 1X, which
338*c66ec88fSEmmanuel Vadot			 * means specifying separate clock sources.
339*c66ec88fSEmmanuel Vadot			 */
340*c66ec88fSEmmanuel Vadot			rx-clock-name = "brg5";
341*c66ec88fSEmmanuel Vadot			tx-clock-name = "brg6";
342*c66ec88fSEmmanuel Vadot			pio-handle = < &pio5 >;
343*c66ec88fSEmmanuel Vadot		};
344*c66ec88fSEmmanuel Vadot
345*c66ec88fSEmmanuel Vadot
346*c66ec88fSEmmanuel Vadot		mdio@2320 {
347*c66ec88fSEmmanuel Vadot			#address-cells = <1>;
348*c66ec88fSEmmanuel Vadot			#size-cells = <0>;
349*c66ec88fSEmmanuel Vadot			reg = <0x2320 0x18>;
350*c66ec88fSEmmanuel Vadot			compatible = "fsl,ucc-mdio";
351*c66ec88fSEmmanuel Vadot
352*c66ec88fSEmmanuel Vadot			phy3: ethernet-phy@3 {
353*c66ec88fSEmmanuel Vadot				interrupt-parent = <&ipic>;
354*c66ec88fSEmmanuel Vadot				interrupts = <17 0x8>;
355*c66ec88fSEmmanuel Vadot				reg = <0x3>;
356*c66ec88fSEmmanuel Vadot			};
357*c66ec88fSEmmanuel Vadot			phy4: ethernet-phy@4 {
358*c66ec88fSEmmanuel Vadot				interrupt-parent = <&ipic>;
359*c66ec88fSEmmanuel Vadot				interrupts = <18 0x8>;
360*c66ec88fSEmmanuel Vadot				reg = <0x4>;
361*c66ec88fSEmmanuel Vadot			};
362*c66ec88fSEmmanuel Vadot		};
363*c66ec88fSEmmanuel Vadot
364*c66ec88fSEmmanuel Vadot		qeic: interrupt-controller@80 {
365*c66ec88fSEmmanuel Vadot			interrupt-controller;
366*c66ec88fSEmmanuel Vadot			compatible = "fsl,qe-ic";
367*c66ec88fSEmmanuel Vadot			#address-cells = <0>;
368*c66ec88fSEmmanuel Vadot			#interrupt-cells = <1>;
369*c66ec88fSEmmanuel Vadot			reg = <0x80 0x80>;
370*c66ec88fSEmmanuel Vadot			big-endian;
371*c66ec88fSEmmanuel Vadot			interrupts = <32 0x8 33 0x8>; //high:32 low:33
372*c66ec88fSEmmanuel Vadot			interrupt-parent = <&ipic>;
373*c66ec88fSEmmanuel Vadot		};
374*c66ec88fSEmmanuel Vadot	};
375*c66ec88fSEmmanuel Vadot
376*c66ec88fSEmmanuel Vadot	pci0: pci@e0008500 {
377*c66ec88fSEmmanuel Vadot		interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
378*c66ec88fSEmmanuel Vadot		interrupt-map = <
379*c66ec88fSEmmanuel Vadot				/* IDSEL 0x11 AD17 */
380*c66ec88fSEmmanuel Vadot				 0x8800 0x0 0x0 0x1 &ipic 20 0x8
381*c66ec88fSEmmanuel Vadot				 0x8800 0x0 0x0 0x2 &ipic 21 0x8
382*c66ec88fSEmmanuel Vadot				 0x8800 0x0 0x0 0x3 &ipic 22 0x8
383*c66ec88fSEmmanuel Vadot				 0x8800 0x0 0x0 0x4 &ipic 23 0x8
384*c66ec88fSEmmanuel Vadot
385*c66ec88fSEmmanuel Vadot				/* IDSEL 0x12 AD18 */
386*c66ec88fSEmmanuel Vadot				 0x9000 0x0 0x0 0x1 &ipic 22 0x8
387*c66ec88fSEmmanuel Vadot				 0x9000 0x0 0x0 0x2 &ipic 23 0x8
388*c66ec88fSEmmanuel Vadot				 0x9000 0x0 0x0 0x3 &ipic 20 0x8
389*c66ec88fSEmmanuel Vadot				 0x9000 0x0 0x0 0x4 &ipic 21 0x8
390*c66ec88fSEmmanuel Vadot
391*c66ec88fSEmmanuel Vadot				/* IDSEL 0x13 AD19 */
392*c66ec88fSEmmanuel Vadot				 0x9800 0x0 0x0 0x1 &ipic 23 0x8
393*c66ec88fSEmmanuel Vadot				 0x9800 0x0 0x0 0x2 &ipic 20 0x8
394*c66ec88fSEmmanuel Vadot				 0x9800 0x0 0x0 0x3 &ipic 21 0x8
395*c66ec88fSEmmanuel Vadot				 0x9800 0x0 0x0 0x4 &ipic 22 0x8
396*c66ec88fSEmmanuel Vadot
397*c66ec88fSEmmanuel Vadot				/* IDSEL 0x15 AD21*/
398*c66ec88fSEmmanuel Vadot				 0xa800 0x0 0x0 0x1 &ipic 20 0x8
399*c66ec88fSEmmanuel Vadot				 0xa800 0x0 0x0 0x2 &ipic 21 0x8
400*c66ec88fSEmmanuel Vadot				 0xa800 0x0 0x0 0x3 &ipic 22 0x8
401*c66ec88fSEmmanuel Vadot				 0xa800 0x0 0x0 0x4 &ipic 23 0x8
402*c66ec88fSEmmanuel Vadot
403*c66ec88fSEmmanuel Vadot				/* IDSEL 0x16 AD22*/
404*c66ec88fSEmmanuel Vadot				 0xb000 0x0 0x0 0x1 &ipic 23 0x8
405*c66ec88fSEmmanuel Vadot				 0xb000 0x0 0x0 0x2 &ipic 20 0x8
406*c66ec88fSEmmanuel Vadot				 0xb000 0x0 0x0 0x3 &ipic 21 0x8
407*c66ec88fSEmmanuel Vadot				 0xb000 0x0 0x0 0x4 &ipic 22 0x8
408*c66ec88fSEmmanuel Vadot
409*c66ec88fSEmmanuel Vadot				/* IDSEL 0x17 AD23*/
410*c66ec88fSEmmanuel Vadot				 0xb800 0x0 0x0 0x1 &ipic 22 0x8
411*c66ec88fSEmmanuel Vadot				 0xb800 0x0 0x0 0x2 &ipic 23 0x8
412*c66ec88fSEmmanuel Vadot				 0xb800 0x0 0x0 0x3 &ipic 20 0x8
413*c66ec88fSEmmanuel Vadot				 0xb800 0x0 0x0 0x4 &ipic 21 0x8
414*c66ec88fSEmmanuel Vadot
415*c66ec88fSEmmanuel Vadot				/* IDSEL 0x18 AD24*/
416*c66ec88fSEmmanuel Vadot				 0xc000 0x0 0x0 0x1 &ipic 21 0x8
417*c66ec88fSEmmanuel Vadot				 0xc000 0x0 0x0 0x2 &ipic 22 0x8
418*c66ec88fSEmmanuel Vadot				 0xc000 0x0 0x0 0x3 &ipic 23 0x8
419*c66ec88fSEmmanuel Vadot				 0xc000 0x0 0x0 0x4 &ipic 20 0x8>;
420*c66ec88fSEmmanuel Vadot		interrupt-parent = <&ipic>;
421*c66ec88fSEmmanuel Vadot		interrupts = <66 0x8>;
422*c66ec88fSEmmanuel Vadot		bus-range = <0x0 0x0>;
423*c66ec88fSEmmanuel Vadot		ranges = <0x02000000 0x0 0x90000000 0x90000000 0x0 0x10000000
424*c66ec88fSEmmanuel Vadot			  0x42000000 0x0 0x80000000 0x80000000 0x0 0x10000000
425*c66ec88fSEmmanuel Vadot			  0x01000000 0x0 0x00000000 0xd0000000 0x0 0x00100000>;
426*c66ec88fSEmmanuel Vadot		clock-frequency = <0>;
427*c66ec88fSEmmanuel Vadot		#interrupt-cells = <1>;
428*c66ec88fSEmmanuel Vadot		#size-cells = <2>;
429*c66ec88fSEmmanuel Vadot		#address-cells = <3>;
430*c66ec88fSEmmanuel Vadot		reg = <0xe0008500 0x100		/* internal registers */
431*c66ec88fSEmmanuel Vadot		       0xe0008300 0x8>;		/* config space access registers */
432*c66ec88fSEmmanuel Vadot		compatible = "fsl,mpc8349-pci";
433*c66ec88fSEmmanuel Vadot		device_type = "pci";
434*c66ec88fSEmmanuel Vadot		sleep = <&pmc 0x00010000>;
435*c66ec88fSEmmanuel Vadot	};
436*c66ec88fSEmmanuel Vadot};
437