xref: /freebsd/sys/contrib/device-tree/src/powerpc/mpc834x_mds.dts (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0-or-later
2*c66ec88fSEmmanuel Vadot/*
3*c66ec88fSEmmanuel Vadot * MPC8349E MDS Device Tree Source
4*c66ec88fSEmmanuel Vadot *
5*c66ec88fSEmmanuel Vadot * Copyright 2005, 2006 Freescale Semiconductor Inc.
6*c66ec88fSEmmanuel Vadot */
7*c66ec88fSEmmanuel Vadot
8*c66ec88fSEmmanuel Vadot/dts-v1/;
9*c66ec88fSEmmanuel Vadot
10*c66ec88fSEmmanuel Vadot/ {
11*c66ec88fSEmmanuel Vadot	model = "MPC8349EMDS";
12*c66ec88fSEmmanuel Vadot	compatible = "MPC8349EMDS", "MPC834xMDS", "MPC83xxMDS";
13*c66ec88fSEmmanuel Vadot	#address-cells = <1>;
14*c66ec88fSEmmanuel Vadot	#size-cells = <1>;
15*c66ec88fSEmmanuel Vadot
16*c66ec88fSEmmanuel Vadot	aliases {
17*c66ec88fSEmmanuel Vadot		ethernet0 = &enet0;
18*c66ec88fSEmmanuel Vadot		ethernet1 = &enet1;
19*c66ec88fSEmmanuel Vadot		serial0 = &serial0;
20*c66ec88fSEmmanuel Vadot		serial1 = &serial1;
21*c66ec88fSEmmanuel Vadot		pci0 = &pci0;
22*c66ec88fSEmmanuel Vadot		pci1 = &pci1;
23*c66ec88fSEmmanuel Vadot	};
24*c66ec88fSEmmanuel Vadot
25*c66ec88fSEmmanuel Vadot	cpus {
26*c66ec88fSEmmanuel Vadot		#address-cells = <1>;
27*c66ec88fSEmmanuel Vadot		#size-cells = <0>;
28*c66ec88fSEmmanuel Vadot
29*c66ec88fSEmmanuel Vadot		PowerPC,8349@0 {
30*c66ec88fSEmmanuel Vadot			device_type = "cpu";
31*c66ec88fSEmmanuel Vadot			reg = <0x0>;
32*c66ec88fSEmmanuel Vadot			d-cache-line-size = <32>;
33*c66ec88fSEmmanuel Vadot			i-cache-line-size = <32>;
34*c66ec88fSEmmanuel Vadot			d-cache-size = <32768>;
35*c66ec88fSEmmanuel Vadot			i-cache-size = <32768>;
36*c66ec88fSEmmanuel Vadot			timebase-frequency = <0>;	// from bootloader
37*c66ec88fSEmmanuel Vadot			bus-frequency = <0>;		// from bootloader
38*c66ec88fSEmmanuel Vadot			clock-frequency = <0>;		// from bootloader
39*c66ec88fSEmmanuel Vadot		};
40*c66ec88fSEmmanuel Vadot	};
41*c66ec88fSEmmanuel Vadot
42*c66ec88fSEmmanuel Vadot	memory {
43*c66ec88fSEmmanuel Vadot		device_type = "memory";
44*c66ec88fSEmmanuel Vadot		reg = <0x00000000 0x10000000>;	// 256MB at 0
45*c66ec88fSEmmanuel Vadot	};
46*c66ec88fSEmmanuel Vadot
47*c66ec88fSEmmanuel Vadot	bcsr@e2400000 {
48*c66ec88fSEmmanuel Vadot		compatible = "fsl,mpc8349mds-bcsr";
49*c66ec88fSEmmanuel Vadot		reg = <0xe2400000 0x8000>;
50*c66ec88fSEmmanuel Vadot	};
51*c66ec88fSEmmanuel Vadot
52*c66ec88fSEmmanuel Vadot	soc8349@e0000000 {
53*c66ec88fSEmmanuel Vadot		#address-cells = <1>;
54*c66ec88fSEmmanuel Vadot		#size-cells = <1>;
55*c66ec88fSEmmanuel Vadot		device_type = "soc";
56*c66ec88fSEmmanuel Vadot		compatible = "simple-bus";
57*c66ec88fSEmmanuel Vadot		ranges = <0x0 0xe0000000 0x00100000>;
58*c66ec88fSEmmanuel Vadot		reg = <0xe0000000 0x00000200>;
59*c66ec88fSEmmanuel Vadot		bus-frequency = <0>;
60*c66ec88fSEmmanuel Vadot
61*c66ec88fSEmmanuel Vadot		wdt@200 {
62*c66ec88fSEmmanuel Vadot			device_type = "watchdog";
63*c66ec88fSEmmanuel Vadot			compatible = "mpc83xx_wdt";
64*c66ec88fSEmmanuel Vadot			reg = <0x200 0x100>;
65*c66ec88fSEmmanuel Vadot		};
66*c66ec88fSEmmanuel Vadot
67*c66ec88fSEmmanuel Vadot		i2c@3000 {
68*c66ec88fSEmmanuel Vadot			#address-cells = <1>;
69*c66ec88fSEmmanuel Vadot			#size-cells = <0>;
70*c66ec88fSEmmanuel Vadot			cell-index = <0>;
71*c66ec88fSEmmanuel Vadot			compatible = "fsl-i2c";
72*c66ec88fSEmmanuel Vadot			reg = <0x3000 0x100>;
73*c66ec88fSEmmanuel Vadot			interrupts = <14 0x8>;
74*c66ec88fSEmmanuel Vadot			interrupt-parent = <&ipic>;
75*c66ec88fSEmmanuel Vadot			dfsrr;
76*c66ec88fSEmmanuel Vadot
77*c66ec88fSEmmanuel Vadot			rtc@68 {
78*c66ec88fSEmmanuel Vadot				compatible = "dallas,ds1374";
79*c66ec88fSEmmanuel Vadot				reg = <0x68>;
80*c66ec88fSEmmanuel Vadot			};
81*c66ec88fSEmmanuel Vadot		};
82*c66ec88fSEmmanuel Vadot
83*c66ec88fSEmmanuel Vadot		i2c@3100 {
84*c66ec88fSEmmanuel Vadot			#address-cells = <1>;
85*c66ec88fSEmmanuel Vadot			#size-cells = <0>;
86*c66ec88fSEmmanuel Vadot			cell-index = <1>;
87*c66ec88fSEmmanuel Vadot			compatible = "fsl-i2c";
88*c66ec88fSEmmanuel Vadot			reg = <0x3100 0x100>;
89*c66ec88fSEmmanuel Vadot			interrupts = <15 0x8>;
90*c66ec88fSEmmanuel Vadot			interrupt-parent = <&ipic>;
91*c66ec88fSEmmanuel Vadot			dfsrr;
92*c66ec88fSEmmanuel Vadot		};
93*c66ec88fSEmmanuel Vadot
94*c66ec88fSEmmanuel Vadot		spi@7000 {
95*c66ec88fSEmmanuel Vadot			cell-index = <0>;
96*c66ec88fSEmmanuel Vadot			compatible = "fsl,spi";
97*c66ec88fSEmmanuel Vadot			reg = <0x7000 0x1000>;
98*c66ec88fSEmmanuel Vadot			interrupts = <16 0x8>;
99*c66ec88fSEmmanuel Vadot			interrupt-parent = <&ipic>;
100*c66ec88fSEmmanuel Vadot			mode = "cpu";
101*c66ec88fSEmmanuel Vadot		};
102*c66ec88fSEmmanuel Vadot
103*c66ec88fSEmmanuel Vadot		dma@82a8 {
104*c66ec88fSEmmanuel Vadot			#address-cells = <1>;
105*c66ec88fSEmmanuel Vadot			#size-cells = <1>;
106*c66ec88fSEmmanuel Vadot			compatible = "fsl,mpc8349-dma", "fsl,elo-dma";
107*c66ec88fSEmmanuel Vadot			reg = <0x82a8 4>;
108*c66ec88fSEmmanuel Vadot			ranges = <0 0x8100 0x1a8>;
109*c66ec88fSEmmanuel Vadot			interrupt-parent = <&ipic>;
110*c66ec88fSEmmanuel Vadot			interrupts = <71 8>;
111*c66ec88fSEmmanuel Vadot			cell-index = <0>;
112*c66ec88fSEmmanuel Vadot			dma-channel@0 {
113*c66ec88fSEmmanuel Vadot				compatible = "fsl,mpc8349-dma-channel", "fsl,elo-dma-channel";
114*c66ec88fSEmmanuel Vadot				reg = <0 0x80>;
115*c66ec88fSEmmanuel Vadot				cell-index = <0>;
116*c66ec88fSEmmanuel Vadot				interrupt-parent = <&ipic>;
117*c66ec88fSEmmanuel Vadot				interrupts = <71 8>;
118*c66ec88fSEmmanuel Vadot			};
119*c66ec88fSEmmanuel Vadot			dma-channel@80 {
120*c66ec88fSEmmanuel Vadot				compatible = "fsl,mpc8349-dma-channel", "fsl,elo-dma-channel";
121*c66ec88fSEmmanuel Vadot				reg = <0x80 0x80>;
122*c66ec88fSEmmanuel Vadot				cell-index = <1>;
123*c66ec88fSEmmanuel Vadot				interrupt-parent = <&ipic>;
124*c66ec88fSEmmanuel Vadot				interrupts = <71 8>;
125*c66ec88fSEmmanuel Vadot			};
126*c66ec88fSEmmanuel Vadot			dma-channel@100 {
127*c66ec88fSEmmanuel Vadot				compatible = "fsl,mpc8349-dma-channel", "fsl,elo-dma-channel";
128*c66ec88fSEmmanuel Vadot				reg = <0x100 0x80>;
129*c66ec88fSEmmanuel Vadot				cell-index = <2>;
130*c66ec88fSEmmanuel Vadot				interrupt-parent = <&ipic>;
131*c66ec88fSEmmanuel Vadot				interrupts = <71 8>;
132*c66ec88fSEmmanuel Vadot			};
133*c66ec88fSEmmanuel Vadot			dma-channel@180 {
134*c66ec88fSEmmanuel Vadot				compatible = "fsl,mpc8349-dma-channel", "fsl,elo-dma-channel";
135*c66ec88fSEmmanuel Vadot				reg = <0x180 0x28>;
136*c66ec88fSEmmanuel Vadot				cell-index = <3>;
137*c66ec88fSEmmanuel Vadot				interrupt-parent = <&ipic>;
138*c66ec88fSEmmanuel Vadot				interrupts = <71 8>;
139*c66ec88fSEmmanuel Vadot			};
140*c66ec88fSEmmanuel Vadot		};
141*c66ec88fSEmmanuel Vadot
142*c66ec88fSEmmanuel Vadot		/* phy type (ULPI or SERIAL) are only types supported for MPH */
143*c66ec88fSEmmanuel Vadot		/* port = 0 or 1 */
144*c66ec88fSEmmanuel Vadot		usb@22000 {
145*c66ec88fSEmmanuel Vadot			compatible = "fsl-usb2-mph";
146*c66ec88fSEmmanuel Vadot			reg = <0x22000 0x1000>;
147*c66ec88fSEmmanuel Vadot			#address-cells = <1>;
148*c66ec88fSEmmanuel Vadot			#size-cells = <0>;
149*c66ec88fSEmmanuel Vadot			interrupt-parent = <&ipic>;
150*c66ec88fSEmmanuel Vadot			interrupts = <39 0x8>;
151*c66ec88fSEmmanuel Vadot			phy_type = "ulpi";
152*c66ec88fSEmmanuel Vadot			port0;
153*c66ec88fSEmmanuel Vadot		};
154*c66ec88fSEmmanuel Vadot		/* phy type (ULPI, UTMI, UTMI_WIDE, SERIAL) */
155*c66ec88fSEmmanuel Vadot		usb@23000 {
156*c66ec88fSEmmanuel Vadot			compatible = "fsl-usb2-dr";
157*c66ec88fSEmmanuel Vadot			reg = <0x23000 0x1000>;
158*c66ec88fSEmmanuel Vadot			#address-cells = <1>;
159*c66ec88fSEmmanuel Vadot			#size-cells = <0>;
160*c66ec88fSEmmanuel Vadot			interrupt-parent = <&ipic>;
161*c66ec88fSEmmanuel Vadot			interrupts = <38 0x8>;
162*c66ec88fSEmmanuel Vadot			dr_mode = "otg";
163*c66ec88fSEmmanuel Vadot			phy_type = "ulpi";
164*c66ec88fSEmmanuel Vadot		};
165*c66ec88fSEmmanuel Vadot
166*c66ec88fSEmmanuel Vadot		enet0: ethernet@24000 {
167*c66ec88fSEmmanuel Vadot			#address-cells = <1>;
168*c66ec88fSEmmanuel Vadot			#size-cells = <1>;
169*c66ec88fSEmmanuel Vadot			cell-index = <0>;
170*c66ec88fSEmmanuel Vadot			device_type = "network";
171*c66ec88fSEmmanuel Vadot			model = "TSEC";
172*c66ec88fSEmmanuel Vadot			compatible = "gianfar";
173*c66ec88fSEmmanuel Vadot			reg = <0x24000 0x1000>;
174*c66ec88fSEmmanuel Vadot			ranges = <0x0 0x24000 0x1000>;
175*c66ec88fSEmmanuel Vadot			local-mac-address = [ 00 00 00 00 00 00 ];
176*c66ec88fSEmmanuel Vadot			interrupts = <32 0x8 33 0x8 34 0x8>;
177*c66ec88fSEmmanuel Vadot			interrupt-parent = <&ipic>;
178*c66ec88fSEmmanuel Vadot			tbi-handle = <&tbi0>;
179*c66ec88fSEmmanuel Vadot			phy-handle = <&phy0>;
180*c66ec88fSEmmanuel Vadot			linux,network-index = <0>;
181*c66ec88fSEmmanuel Vadot
182*c66ec88fSEmmanuel Vadot			mdio@520 {
183*c66ec88fSEmmanuel Vadot				#address-cells = <1>;
184*c66ec88fSEmmanuel Vadot				#size-cells = <0>;
185*c66ec88fSEmmanuel Vadot				compatible = "fsl,gianfar-mdio";
186*c66ec88fSEmmanuel Vadot				reg = <0x520 0x20>;
187*c66ec88fSEmmanuel Vadot
188*c66ec88fSEmmanuel Vadot				phy0: ethernet-phy@0 {
189*c66ec88fSEmmanuel Vadot					interrupt-parent = <&ipic>;
190*c66ec88fSEmmanuel Vadot					interrupts = <17 0x8>;
191*c66ec88fSEmmanuel Vadot					reg = <0x0>;
192*c66ec88fSEmmanuel Vadot				};
193*c66ec88fSEmmanuel Vadot
194*c66ec88fSEmmanuel Vadot				phy1: ethernet-phy@1 {
195*c66ec88fSEmmanuel Vadot					interrupt-parent = <&ipic>;
196*c66ec88fSEmmanuel Vadot					interrupts = <18 0x8>;
197*c66ec88fSEmmanuel Vadot					reg = <0x1>;
198*c66ec88fSEmmanuel Vadot				};
199*c66ec88fSEmmanuel Vadot
200*c66ec88fSEmmanuel Vadot				tbi0: tbi-phy@11 {
201*c66ec88fSEmmanuel Vadot					reg = <0x11>;
202*c66ec88fSEmmanuel Vadot					device_type = "tbi-phy";
203*c66ec88fSEmmanuel Vadot				};
204*c66ec88fSEmmanuel Vadot			};
205*c66ec88fSEmmanuel Vadot		};
206*c66ec88fSEmmanuel Vadot
207*c66ec88fSEmmanuel Vadot		enet1: ethernet@25000 {
208*c66ec88fSEmmanuel Vadot			#address-cells = <1>;
209*c66ec88fSEmmanuel Vadot			#size-cells = <1>;
210*c66ec88fSEmmanuel Vadot			cell-index = <1>;
211*c66ec88fSEmmanuel Vadot			device_type = "network";
212*c66ec88fSEmmanuel Vadot			model = "TSEC";
213*c66ec88fSEmmanuel Vadot			compatible = "gianfar";
214*c66ec88fSEmmanuel Vadot			reg = <0x25000 0x1000>;
215*c66ec88fSEmmanuel Vadot			ranges = <0x0 0x25000 0x1000>;
216*c66ec88fSEmmanuel Vadot			local-mac-address = [ 00 00 00 00 00 00 ];
217*c66ec88fSEmmanuel Vadot			interrupts = <35 0x8 36 0x8 37 0x8>;
218*c66ec88fSEmmanuel Vadot			interrupt-parent = <&ipic>;
219*c66ec88fSEmmanuel Vadot			tbi-handle = <&tbi1>;
220*c66ec88fSEmmanuel Vadot			phy-handle = <&phy1>;
221*c66ec88fSEmmanuel Vadot			linux,network-index = <1>;
222*c66ec88fSEmmanuel Vadot
223*c66ec88fSEmmanuel Vadot			mdio@520 {
224*c66ec88fSEmmanuel Vadot				#address-cells = <1>;
225*c66ec88fSEmmanuel Vadot				#size-cells = <0>;
226*c66ec88fSEmmanuel Vadot				compatible = "fsl,gianfar-tbi";
227*c66ec88fSEmmanuel Vadot				reg = <0x520 0x20>;
228*c66ec88fSEmmanuel Vadot
229*c66ec88fSEmmanuel Vadot				tbi1: tbi-phy@11 {
230*c66ec88fSEmmanuel Vadot					reg = <0x11>;
231*c66ec88fSEmmanuel Vadot					device_type = "tbi-phy";
232*c66ec88fSEmmanuel Vadot				};
233*c66ec88fSEmmanuel Vadot			};
234*c66ec88fSEmmanuel Vadot		};
235*c66ec88fSEmmanuel Vadot
236*c66ec88fSEmmanuel Vadot		serial0: serial@4500 {
237*c66ec88fSEmmanuel Vadot			cell-index = <0>;
238*c66ec88fSEmmanuel Vadot			device_type = "serial";
239*c66ec88fSEmmanuel Vadot			compatible = "fsl,ns16550", "ns16550";
240*c66ec88fSEmmanuel Vadot			reg = <0x4500 0x100>;
241*c66ec88fSEmmanuel Vadot			clock-frequency = <0>;
242*c66ec88fSEmmanuel Vadot			interrupts = <9 0x8>;
243*c66ec88fSEmmanuel Vadot			interrupt-parent = <&ipic>;
244*c66ec88fSEmmanuel Vadot		};
245*c66ec88fSEmmanuel Vadot
246*c66ec88fSEmmanuel Vadot		serial1: serial@4600 {
247*c66ec88fSEmmanuel Vadot			cell-index = <1>;
248*c66ec88fSEmmanuel Vadot			device_type = "serial";
249*c66ec88fSEmmanuel Vadot			compatible = "fsl,ns16550", "ns16550";
250*c66ec88fSEmmanuel Vadot			reg = <0x4600 0x100>;
251*c66ec88fSEmmanuel Vadot			clock-frequency = <0>;
252*c66ec88fSEmmanuel Vadot			interrupts = <10 0x8>;
253*c66ec88fSEmmanuel Vadot			interrupt-parent = <&ipic>;
254*c66ec88fSEmmanuel Vadot		};
255*c66ec88fSEmmanuel Vadot
256*c66ec88fSEmmanuel Vadot		crypto@30000 {
257*c66ec88fSEmmanuel Vadot			compatible = "fsl,sec2.0";
258*c66ec88fSEmmanuel Vadot			reg = <0x30000 0x10000>;
259*c66ec88fSEmmanuel Vadot			interrupts = <11 0x8>;
260*c66ec88fSEmmanuel Vadot			interrupt-parent = <&ipic>;
261*c66ec88fSEmmanuel Vadot			fsl,num-channels = <4>;
262*c66ec88fSEmmanuel Vadot			fsl,channel-fifo-len = <24>;
263*c66ec88fSEmmanuel Vadot			fsl,exec-units-mask = <0x7e>;
264*c66ec88fSEmmanuel Vadot			fsl,descriptor-types-mask = <0x01010ebf>;
265*c66ec88fSEmmanuel Vadot		};
266*c66ec88fSEmmanuel Vadot
267*c66ec88fSEmmanuel Vadot		/* IPIC
268*c66ec88fSEmmanuel Vadot		 * interrupts cell = <intr #, sense>
269*c66ec88fSEmmanuel Vadot		 * sense values match linux IORESOURCE_IRQ_* defines:
270*c66ec88fSEmmanuel Vadot		 * sense == 8: Level, low assertion
271*c66ec88fSEmmanuel Vadot		 * sense == 2: Edge, high-to-low change
272*c66ec88fSEmmanuel Vadot		 */
273*c66ec88fSEmmanuel Vadot		ipic: pic@700 {
274*c66ec88fSEmmanuel Vadot			interrupt-controller;
275*c66ec88fSEmmanuel Vadot			#address-cells = <0>;
276*c66ec88fSEmmanuel Vadot			#interrupt-cells = <2>;
277*c66ec88fSEmmanuel Vadot			reg = <0x700 0x100>;
278*c66ec88fSEmmanuel Vadot			device_type = "ipic";
279*c66ec88fSEmmanuel Vadot		};
280*c66ec88fSEmmanuel Vadot	};
281*c66ec88fSEmmanuel Vadot
282*c66ec88fSEmmanuel Vadot	pci0: pci@e0008500 {
283*c66ec88fSEmmanuel Vadot		interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
284*c66ec88fSEmmanuel Vadot		interrupt-map = <
285*c66ec88fSEmmanuel Vadot
286*c66ec88fSEmmanuel Vadot				/* IDSEL 0x11 */
287*c66ec88fSEmmanuel Vadot				 0x8800 0x0 0x0 0x1 &ipic 20 0x8
288*c66ec88fSEmmanuel Vadot				 0x8800 0x0 0x0 0x2 &ipic 21 0x8
289*c66ec88fSEmmanuel Vadot				 0x8800 0x0 0x0 0x3 &ipic 22 0x8
290*c66ec88fSEmmanuel Vadot				 0x8800 0x0 0x0 0x4 &ipic 23 0x8
291*c66ec88fSEmmanuel Vadot
292*c66ec88fSEmmanuel Vadot				/* IDSEL 0x12 */
293*c66ec88fSEmmanuel Vadot				 0x9000 0x0 0x0 0x1 &ipic 22 0x8
294*c66ec88fSEmmanuel Vadot				 0x9000 0x0 0x0 0x2 &ipic 23 0x8
295*c66ec88fSEmmanuel Vadot				 0x9000 0x0 0x0 0x3 &ipic 20 0x8
296*c66ec88fSEmmanuel Vadot				 0x9000 0x0 0x0 0x4 &ipic 21 0x8
297*c66ec88fSEmmanuel Vadot
298*c66ec88fSEmmanuel Vadot				/* IDSEL 0x13 */
299*c66ec88fSEmmanuel Vadot				 0x9800 0x0 0x0 0x1 &ipic 23 0x8
300*c66ec88fSEmmanuel Vadot				 0x9800 0x0 0x0 0x2 &ipic 20 0x8
301*c66ec88fSEmmanuel Vadot				 0x9800 0x0 0x0 0x3 &ipic 21 0x8
302*c66ec88fSEmmanuel Vadot				 0x9800 0x0 0x0 0x4 &ipic 22 0x8
303*c66ec88fSEmmanuel Vadot
304*c66ec88fSEmmanuel Vadot				/* IDSEL 0x15 */
305*c66ec88fSEmmanuel Vadot				 0xa800 0x0 0x0 0x1 &ipic 20 0x8
306*c66ec88fSEmmanuel Vadot				 0xa800 0x0 0x0 0x2 &ipic 21 0x8
307*c66ec88fSEmmanuel Vadot				 0xa800 0x0 0x0 0x3 &ipic 22 0x8
308*c66ec88fSEmmanuel Vadot				 0xa800 0x0 0x0 0x4 &ipic 23 0x8
309*c66ec88fSEmmanuel Vadot
310*c66ec88fSEmmanuel Vadot				/* IDSEL 0x16 */
311*c66ec88fSEmmanuel Vadot				 0xb000 0x0 0x0 0x1 &ipic 23 0x8
312*c66ec88fSEmmanuel Vadot				 0xb000 0x0 0x0 0x2 &ipic 20 0x8
313*c66ec88fSEmmanuel Vadot				 0xb000 0x0 0x0 0x3 &ipic 21 0x8
314*c66ec88fSEmmanuel Vadot				 0xb000 0x0 0x0 0x4 &ipic 22 0x8
315*c66ec88fSEmmanuel Vadot
316*c66ec88fSEmmanuel Vadot				/* IDSEL 0x17 */
317*c66ec88fSEmmanuel Vadot				 0xb800 0x0 0x0 0x1 &ipic 22 0x8
318*c66ec88fSEmmanuel Vadot				 0xb800 0x0 0x0 0x2 &ipic 23 0x8
319*c66ec88fSEmmanuel Vadot				 0xb800 0x0 0x0 0x3 &ipic 20 0x8
320*c66ec88fSEmmanuel Vadot				 0xb800 0x0 0x0 0x4 &ipic 21 0x8
321*c66ec88fSEmmanuel Vadot
322*c66ec88fSEmmanuel Vadot				/* IDSEL 0x18 */
323*c66ec88fSEmmanuel Vadot				 0xc000 0x0 0x0 0x1 &ipic 21 0x8
324*c66ec88fSEmmanuel Vadot				 0xc000 0x0 0x0 0x2 &ipic 22 0x8
325*c66ec88fSEmmanuel Vadot				 0xc000 0x0 0x0 0x3 &ipic 23 0x8
326*c66ec88fSEmmanuel Vadot				 0xc000 0x0 0x0 0x4 &ipic 20 0x8>;
327*c66ec88fSEmmanuel Vadot		interrupt-parent = <&ipic>;
328*c66ec88fSEmmanuel Vadot		interrupts = <66 0x8>;
329*c66ec88fSEmmanuel Vadot		bus-range = <0 0>;
330*c66ec88fSEmmanuel Vadot		ranges = <0x02000000 0x0 0x90000000 0x90000000 0x0 0x10000000
331*c66ec88fSEmmanuel Vadot			  0x42000000 0x0 0x80000000 0x80000000 0x0 0x10000000
332*c66ec88fSEmmanuel Vadot			  0x01000000 0x0 0x00000000 0xe2000000 0x0 0x00100000>;
333*c66ec88fSEmmanuel Vadot		clock-frequency = <66666666>;
334*c66ec88fSEmmanuel Vadot		#interrupt-cells = <1>;
335*c66ec88fSEmmanuel Vadot		#size-cells = <2>;
336*c66ec88fSEmmanuel Vadot		#address-cells = <3>;
337*c66ec88fSEmmanuel Vadot		reg = <0xe0008500 0x100		/* internal registers */
338*c66ec88fSEmmanuel Vadot		       0xe0008300 0x8>;		/* config space access registers */
339*c66ec88fSEmmanuel Vadot		compatible = "fsl,mpc8349-pci";
340*c66ec88fSEmmanuel Vadot		device_type = "pci";
341*c66ec88fSEmmanuel Vadot	};
342*c66ec88fSEmmanuel Vadot
343*c66ec88fSEmmanuel Vadot	pci1: pci@e0008600 {
344*c66ec88fSEmmanuel Vadot		interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
345*c66ec88fSEmmanuel Vadot		interrupt-map = <
346*c66ec88fSEmmanuel Vadot
347*c66ec88fSEmmanuel Vadot				/* IDSEL 0x11 */
348*c66ec88fSEmmanuel Vadot				 0x8800 0x0 0x0 0x1 &ipic 20 0x8
349*c66ec88fSEmmanuel Vadot				 0x8800 0x0 0x0 0x2 &ipic 21 0x8
350*c66ec88fSEmmanuel Vadot				 0x8800 0x0 0x0 0x3 &ipic 22 0x8
351*c66ec88fSEmmanuel Vadot				 0x8800 0x0 0x0 0x4 &ipic 23 0x8
352*c66ec88fSEmmanuel Vadot
353*c66ec88fSEmmanuel Vadot				/* IDSEL 0x12 */
354*c66ec88fSEmmanuel Vadot				 0x9000 0x0 0x0 0x1 &ipic 22 0x8
355*c66ec88fSEmmanuel Vadot				 0x9000 0x0 0x0 0x2 &ipic 23 0x8
356*c66ec88fSEmmanuel Vadot				 0x9000 0x0 0x0 0x3 &ipic 20 0x8
357*c66ec88fSEmmanuel Vadot				 0x9000 0x0 0x0 0x4 &ipic 21 0x8
358*c66ec88fSEmmanuel Vadot
359*c66ec88fSEmmanuel Vadot				/* IDSEL 0x13 */
360*c66ec88fSEmmanuel Vadot				 0x9800 0x0 0x0 0x1 &ipic 23 0x8
361*c66ec88fSEmmanuel Vadot				 0x9800 0x0 0x0 0x2 &ipic 20 0x8
362*c66ec88fSEmmanuel Vadot				 0x9800 0x0 0x0 0x3 &ipic 21 0x8
363*c66ec88fSEmmanuel Vadot				 0x9800 0x0 0x0 0x4 &ipic 22 0x8
364*c66ec88fSEmmanuel Vadot
365*c66ec88fSEmmanuel Vadot				/* IDSEL 0x15 */
366*c66ec88fSEmmanuel Vadot				 0xa800 0x0 0x0 0x1 &ipic 20 0x8
367*c66ec88fSEmmanuel Vadot				 0xa800 0x0 0x0 0x2 &ipic 21 0x8
368*c66ec88fSEmmanuel Vadot				 0xa800 0x0 0x0 0x3 &ipic 22 0x8
369*c66ec88fSEmmanuel Vadot				 0xa800 0x0 0x0 0x4 &ipic 23 0x8
370*c66ec88fSEmmanuel Vadot
371*c66ec88fSEmmanuel Vadot				/* IDSEL 0x16 */
372*c66ec88fSEmmanuel Vadot				 0xb000 0x0 0x0 0x1 &ipic 23 0x8
373*c66ec88fSEmmanuel Vadot				 0xb000 0x0 0x0 0x2 &ipic 20 0x8
374*c66ec88fSEmmanuel Vadot				 0xb000 0x0 0x0 0x3 &ipic 21 0x8
375*c66ec88fSEmmanuel Vadot				 0xb000 0x0 0x0 0x4 &ipic 22 0x8
376*c66ec88fSEmmanuel Vadot
377*c66ec88fSEmmanuel Vadot				/* IDSEL 0x17 */
378*c66ec88fSEmmanuel Vadot				 0xb800 0x0 0x0 0x1 &ipic 22 0x8
379*c66ec88fSEmmanuel Vadot				 0xb800 0x0 0x0 0x2 &ipic 23 0x8
380*c66ec88fSEmmanuel Vadot				 0xb800 0x0 0x0 0x3 &ipic 20 0x8
381*c66ec88fSEmmanuel Vadot				 0xb800 0x0 0x0 0x4 &ipic 21 0x8
382*c66ec88fSEmmanuel Vadot
383*c66ec88fSEmmanuel Vadot				/* IDSEL 0x18 */
384*c66ec88fSEmmanuel Vadot				 0xc000 0x0 0x0 0x1 &ipic 21 0x8
385*c66ec88fSEmmanuel Vadot				 0xc000 0x0 0x0 0x2 &ipic 22 0x8
386*c66ec88fSEmmanuel Vadot				 0xc000 0x0 0x0 0x3 &ipic 23 0x8
387*c66ec88fSEmmanuel Vadot				 0xc000 0x0 0x0 0x4 &ipic 20 0x8>;
388*c66ec88fSEmmanuel Vadot		interrupt-parent = <&ipic>;
389*c66ec88fSEmmanuel Vadot		interrupts = <67 0x8>;
390*c66ec88fSEmmanuel Vadot		bus-range = <0 0>;
391*c66ec88fSEmmanuel Vadot		ranges = <0x02000000 0x0 0xb0000000 0xb0000000 0x0 0x10000000
392*c66ec88fSEmmanuel Vadot			  0x42000000 0x0 0xa0000000 0xa0000000 0x0 0x10000000
393*c66ec88fSEmmanuel Vadot			  0x01000000 0x0 0x00000000 0xe2100000 0x0 0x00100000>;
394*c66ec88fSEmmanuel Vadot		clock-frequency = <66666666>;
395*c66ec88fSEmmanuel Vadot		#interrupt-cells = <1>;
396*c66ec88fSEmmanuel Vadot		#size-cells = <2>;
397*c66ec88fSEmmanuel Vadot		#address-cells = <3>;
398*c66ec88fSEmmanuel Vadot		reg = <0xe0008600 0x100		/* internal registers */
399*c66ec88fSEmmanuel Vadot		       0xe0008380 0x8>;		/* config space access registers */
400*c66ec88fSEmmanuel Vadot		compatible = "fsl,mpc8349-pci";
401*c66ec88fSEmmanuel Vadot		device_type = "pci";
402*c66ec88fSEmmanuel Vadot	};
403*c66ec88fSEmmanuel Vadot};
404