xref: /freebsd-src/sys/contrib/device-tree/src/powerpc/mpc8349emitx.dts (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0-or-later
2*c66ec88fSEmmanuel Vadot/*
3*c66ec88fSEmmanuel Vadot * MPC8349E-mITX Device Tree Source
4*c66ec88fSEmmanuel Vadot *
5*c66ec88fSEmmanuel Vadot * Copyright 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 = "MPC8349EMITX";
12*c66ec88fSEmmanuel Vadot	compatible = "MPC8349EMITX", "MPC834xMITX", "MPC83xxMITX";
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>;
45*c66ec88fSEmmanuel Vadot	};
46*c66ec88fSEmmanuel Vadot
47*c66ec88fSEmmanuel Vadot	soc8349@e0000000 {
48*c66ec88fSEmmanuel Vadot		#address-cells = <1>;
49*c66ec88fSEmmanuel Vadot		#size-cells = <1>;
50*c66ec88fSEmmanuel Vadot		device_type = "soc";
51*c66ec88fSEmmanuel Vadot		compatible = "simple-bus";
52*c66ec88fSEmmanuel Vadot		ranges = <0x0 0xe0000000 0x00100000>;
53*c66ec88fSEmmanuel Vadot		reg = <0xe0000000 0x00000200>;
54*c66ec88fSEmmanuel Vadot		bus-frequency = <0>;                    // from bootloader
55*c66ec88fSEmmanuel Vadot
56*c66ec88fSEmmanuel Vadot		wdt@200 {
57*c66ec88fSEmmanuel Vadot			device_type = "watchdog";
58*c66ec88fSEmmanuel Vadot			compatible = "mpc83xx_wdt";
59*c66ec88fSEmmanuel Vadot			reg = <0x200 0x100>;
60*c66ec88fSEmmanuel Vadot		};
61*c66ec88fSEmmanuel Vadot
62*c66ec88fSEmmanuel Vadot		gpio1: gpio-controller@c00 {
63*c66ec88fSEmmanuel Vadot			#gpio-cells = <2>;
64*c66ec88fSEmmanuel Vadot			compatible = "fsl,mpc8349-gpio";
65*c66ec88fSEmmanuel Vadot			reg = <0xc00 0x100>;
66*c66ec88fSEmmanuel Vadot			interrupts = <74 0x8>;
67*c66ec88fSEmmanuel Vadot			interrupt-parent = <&ipic>;
68*c66ec88fSEmmanuel Vadot			gpio-controller;
69*c66ec88fSEmmanuel Vadot		};
70*c66ec88fSEmmanuel Vadot
71*c66ec88fSEmmanuel Vadot		gpio2: gpio-controller@d00 {
72*c66ec88fSEmmanuel Vadot			#gpio-cells = <2>;
73*c66ec88fSEmmanuel Vadot			compatible = "fsl,mpc8349-gpio";
74*c66ec88fSEmmanuel Vadot			reg = <0xd00 0x100>;
75*c66ec88fSEmmanuel Vadot			interrupts = <75 0x8>;
76*c66ec88fSEmmanuel Vadot			interrupt-parent = <&ipic>;
77*c66ec88fSEmmanuel Vadot			gpio-controller;
78*c66ec88fSEmmanuel Vadot		};
79*c66ec88fSEmmanuel Vadot
80*c66ec88fSEmmanuel Vadot		i2c@3000 {
81*c66ec88fSEmmanuel Vadot			#address-cells = <1>;
82*c66ec88fSEmmanuel Vadot			#size-cells = <0>;
83*c66ec88fSEmmanuel Vadot			cell-index = <0>;
84*c66ec88fSEmmanuel Vadot			compatible = "fsl-i2c";
85*c66ec88fSEmmanuel Vadot			reg = <0x3000 0x100>;
86*c66ec88fSEmmanuel Vadot			interrupts = <14 0x8>;
87*c66ec88fSEmmanuel Vadot			interrupt-parent = <&ipic>;
88*c66ec88fSEmmanuel Vadot			dfsrr;
89*c66ec88fSEmmanuel Vadot
90*c66ec88fSEmmanuel Vadot			eeprom: at24@50 {
91*c66ec88fSEmmanuel Vadot				compatible = "st,24c256", "atmel,24c256";
92*c66ec88fSEmmanuel Vadot				reg = <0x50>;
93*c66ec88fSEmmanuel Vadot			};
94*c66ec88fSEmmanuel Vadot
95*c66ec88fSEmmanuel Vadot		};
96*c66ec88fSEmmanuel Vadot
97*c66ec88fSEmmanuel Vadot		i2c@3100 {
98*c66ec88fSEmmanuel Vadot			#address-cells = <1>;
99*c66ec88fSEmmanuel Vadot			#size-cells = <0>;
100*c66ec88fSEmmanuel Vadot			cell-index = <1>;
101*c66ec88fSEmmanuel Vadot			compatible = "fsl-i2c";
102*c66ec88fSEmmanuel Vadot			reg = <0x3100 0x100>;
103*c66ec88fSEmmanuel Vadot			interrupts = <15 0x8>;
104*c66ec88fSEmmanuel Vadot			interrupt-parent = <&ipic>;
105*c66ec88fSEmmanuel Vadot			dfsrr;
106*c66ec88fSEmmanuel Vadot
107*c66ec88fSEmmanuel Vadot			rtc@68 {
108*c66ec88fSEmmanuel Vadot				compatible = "dallas,ds1339";
109*c66ec88fSEmmanuel Vadot				reg = <0x68>;
110*c66ec88fSEmmanuel Vadot				interrupts = <18 0x8>;
111*c66ec88fSEmmanuel Vadot				interrupt-parent = <&ipic>;
112*c66ec88fSEmmanuel Vadot			};
113*c66ec88fSEmmanuel Vadot
114*c66ec88fSEmmanuel Vadot			pcf1: iexp@38 {
115*c66ec88fSEmmanuel Vadot				#gpio-cells = <2>;
116*c66ec88fSEmmanuel Vadot				compatible = "ti,pcf8574a";
117*c66ec88fSEmmanuel Vadot				reg = <0x38>;
118*c66ec88fSEmmanuel Vadot				gpio-controller;
119*c66ec88fSEmmanuel Vadot			};
120*c66ec88fSEmmanuel Vadot
121*c66ec88fSEmmanuel Vadot			pcf2: iexp@39 {
122*c66ec88fSEmmanuel Vadot				#gpio-cells = <2>;
123*c66ec88fSEmmanuel Vadot				compatible = "ti,pcf8574a";
124*c66ec88fSEmmanuel Vadot				reg = <0x39>;
125*c66ec88fSEmmanuel Vadot				gpio-controller;
126*c66ec88fSEmmanuel Vadot			};
127*c66ec88fSEmmanuel Vadot
128*c66ec88fSEmmanuel Vadot			spd: at24@51 {
129*c66ec88fSEmmanuel Vadot				compatible = "atmel,spd";
130*c66ec88fSEmmanuel Vadot				reg = <0x51>;
131*c66ec88fSEmmanuel Vadot			};
132*c66ec88fSEmmanuel Vadot
133*c66ec88fSEmmanuel Vadot			mcu_pio: mcu@a {
134*c66ec88fSEmmanuel Vadot				#gpio-cells = <2>;
135*c66ec88fSEmmanuel Vadot				compatible = "fsl,mc9s08qg8-mpc8349emitx",
136*c66ec88fSEmmanuel Vadot					     "fsl,mcu-mpc8349emitx";
137*c66ec88fSEmmanuel Vadot				reg = <0x0a>;
138*c66ec88fSEmmanuel Vadot				gpio-controller;
139*c66ec88fSEmmanuel Vadot			};
140*c66ec88fSEmmanuel Vadot		};
141*c66ec88fSEmmanuel Vadot
142*c66ec88fSEmmanuel Vadot		spi@7000 {
143*c66ec88fSEmmanuel Vadot			cell-index = <0>;
144*c66ec88fSEmmanuel Vadot			compatible = "fsl,spi";
145*c66ec88fSEmmanuel Vadot			reg = <0x7000 0x1000>;
146*c66ec88fSEmmanuel Vadot			interrupts = <16 0x8>;
147*c66ec88fSEmmanuel Vadot			interrupt-parent = <&ipic>;
148*c66ec88fSEmmanuel Vadot			mode = "cpu";
149*c66ec88fSEmmanuel Vadot		};
150*c66ec88fSEmmanuel Vadot
151*c66ec88fSEmmanuel Vadot		dma@82a8 {
152*c66ec88fSEmmanuel Vadot			#address-cells = <1>;
153*c66ec88fSEmmanuel Vadot			#size-cells = <1>;
154*c66ec88fSEmmanuel Vadot			compatible = "fsl,mpc8349-dma", "fsl,elo-dma";
155*c66ec88fSEmmanuel Vadot			reg = <0x82a8 4>;
156*c66ec88fSEmmanuel Vadot			ranges = <0 0x8100 0x1a8>;
157*c66ec88fSEmmanuel Vadot			interrupt-parent = <&ipic>;
158*c66ec88fSEmmanuel Vadot			interrupts = <71 8>;
159*c66ec88fSEmmanuel Vadot			cell-index = <0>;
160*c66ec88fSEmmanuel Vadot			dma-channel@0 {
161*c66ec88fSEmmanuel Vadot				compatible = "fsl,mpc8349-dma-channel", "fsl,elo-dma-channel";
162*c66ec88fSEmmanuel Vadot				reg = <0 0x80>;
163*c66ec88fSEmmanuel Vadot				cell-index = <0>;
164*c66ec88fSEmmanuel Vadot				interrupt-parent = <&ipic>;
165*c66ec88fSEmmanuel Vadot				interrupts = <71 8>;
166*c66ec88fSEmmanuel Vadot			};
167*c66ec88fSEmmanuel Vadot			dma-channel@80 {
168*c66ec88fSEmmanuel Vadot				compatible = "fsl,mpc8349-dma-channel", "fsl,elo-dma-channel";
169*c66ec88fSEmmanuel Vadot				reg = <0x80 0x80>;
170*c66ec88fSEmmanuel Vadot				cell-index = <1>;
171*c66ec88fSEmmanuel Vadot				interrupt-parent = <&ipic>;
172*c66ec88fSEmmanuel Vadot				interrupts = <71 8>;
173*c66ec88fSEmmanuel Vadot			};
174*c66ec88fSEmmanuel Vadot			dma-channel@100 {
175*c66ec88fSEmmanuel Vadot				compatible = "fsl,mpc8349-dma-channel", "fsl,elo-dma-channel";
176*c66ec88fSEmmanuel Vadot				reg = <0x100 0x80>;
177*c66ec88fSEmmanuel Vadot				cell-index = <2>;
178*c66ec88fSEmmanuel Vadot				interrupt-parent = <&ipic>;
179*c66ec88fSEmmanuel Vadot				interrupts = <71 8>;
180*c66ec88fSEmmanuel Vadot			};
181*c66ec88fSEmmanuel Vadot			dma-channel@180 {
182*c66ec88fSEmmanuel Vadot				compatible = "fsl,mpc8349-dma-channel", "fsl,elo-dma-channel";
183*c66ec88fSEmmanuel Vadot				reg = <0x180 0x28>;
184*c66ec88fSEmmanuel Vadot				cell-index = <3>;
185*c66ec88fSEmmanuel Vadot				interrupt-parent = <&ipic>;
186*c66ec88fSEmmanuel Vadot				interrupts = <71 8>;
187*c66ec88fSEmmanuel Vadot			};
188*c66ec88fSEmmanuel Vadot		};
189*c66ec88fSEmmanuel Vadot
190*c66ec88fSEmmanuel Vadot		usb@22000 {
191*c66ec88fSEmmanuel Vadot			compatible = "fsl-usb2-mph";
192*c66ec88fSEmmanuel Vadot			reg = <0x22000 0x1000>;
193*c66ec88fSEmmanuel Vadot			#address-cells = <1>;
194*c66ec88fSEmmanuel Vadot			#size-cells = <0>;
195*c66ec88fSEmmanuel Vadot			interrupt-parent = <&ipic>;
196*c66ec88fSEmmanuel Vadot			interrupts = <39 0x8>;
197*c66ec88fSEmmanuel Vadot			phy_type = "ulpi";
198*c66ec88fSEmmanuel Vadot			port0;
199*c66ec88fSEmmanuel Vadot		};
200*c66ec88fSEmmanuel Vadot
201*c66ec88fSEmmanuel Vadot		usb@23000 {
202*c66ec88fSEmmanuel Vadot			compatible = "fsl-usb2-dr";
203*c66ec88fSEmmanuel Vadot			reg = <0x23000 0x1000>;
204*c66ec88fSEmmanuel Vadot			#address-cells = <1>;
205*c66ec88fSEmmanuel Vadot			#size-cells = <0>;
206*c66ec88fSEmmanuel Vadot			interrupt-parent = <&ipic>;
207*c66ec88fSEmmanuel Vadot			interrupts = <38 0x8>;
208*c66ec88fSEmmanuel Vadot			dr_mode = "peripheral";
209*c66ec88fSEmmanuel Vadot			phy_type = "ulpi";
210*c66ec88fSEmmanuel Vadot		};
211*c66ec88fSEmmanuel Vadot
212*c66ec88fSEmmanuel Vadot		enet0: ethernet@24000 {
213*c66ec88fSEmmanuel Vadot			#address-cells = <1>;
214*c66ec88fSEmmanuel Vadot			#size-cells = <1>;
215*c66ec88fSEmmanuel Vadot			cell-index = <0>;
216*c66ec88fSEmmanuel Vadot			device_type = "network";
217*c66ec88fSEmmanuel Vadot			model = "TSEC";
218*c66ec88fSEmmanuel Vadot			compatible = "gianfar";
219*c66ec88fSEmmanuel Vadot			reg = <0x24000 0x1000>;
220*c66ec88fSEmmanuel Vadot			ranges = <0x0 0x24000 0x1000>;
221*c66ec88fSEmmanuel Vadot			local-mac-address = [ 00 00 00 00 00 00 ];
222*c66ec88fSEmmanuel Vadot			interrupts = <32 0x8 33 0x8 34 0x8>;
223*c66ec88fSEmmanuel Vadot			interrupt-parent = <&ipic>;
224*c66ec88fSEmmanuel Vadot			tbi-handle = <&tbi0>;
225*c66ec88fSEmmanuel Vadot			phy-handle = <&phy1c>;
226*c66ec88fSEmmanuel Vadot			linux,network-index = <0>;
227*c66ec88fSEmmanuel Vadot
228*c66ec88fSEmmanuel Vadot			mdio@520 {
229*c66ec88fSEmmanuel Vadot				#address-cells = <1>;
230*c66ec88fSEmmanuel Vadot				#size-cells = <0>;
231*c66ec88fSEmmanuel Vadot				compatible = "fsl,gianfar-mdio";
232*c66ec88fSEmmanuel Vadot				reg = <0x520 0x20>;
233*c66ec88fSEmmanuel Vadot
234*c66ec88fSEmmanuel Vadot				/* Vitesse 8201 */
235*c66ec88fSEmmanuel Vadot				phy1c: ethernet-phy@1c {
236*c66ec88fSEmmanuel Vadot					interrupt-parent = <&ipic>;
237*c66ec88fSEmmanuel Vadot					interrupts = <18 0x8>;
238*c66ec88fSEmmanuel Vadot					reg = <0x1c>;
239*c66ec88fSEmmanuel Vadot				};
240*c66ec88fSEmmanuel Vadot
241*c66ec88fSEmmanuel Vadot				tbi0: tbi-phy@11 {
242*c66ec88fSEmmanuel Vadot					reg = <0x11>;
243*c66ec88fSEmmanuel Vadot					device_type = "tbi-phy";
244*c66ec88fSEmmanuel Vadot				};
245*c66ec88fSEmmanuel Vadot			};
246*c66ec88fSEmmanuel Vadot		};
247*c66ec88fSEmmanuel Vadot
248*c66ec88fSEmmanuel Vadot		enet1: ethernet@25000 {
249*c66ec88fSEmmanuel Vadot			#address-cells = <1>;
250*c66ec88fSEmmanuel Vadot			#size-cells = <1>;
251*c66ec88fSEmmanuel Vadot			cell-index = <1>;
252*c66ec88fSEmmanuel Vadot			device_type = "network";
253*c66ec88fSEmmanuel Vadot			model = "TSEC";
254*c66ec88fSEmmanuel Vadot			compatible = "gianfar";
255*c66ec88fSEmmanuel Vadot			reg = <0x25000 0x1000>;
256*c66ec88fSEmmanuel Vadot			ranges = <0x0 0x25000 0x1000>;
257*c66ec88fSEmmanuel Vadot			local-mac-address = [ 00 00 00 00 00 00 ];
258*c66ec88fSEmmanuel Vadot			interrupts = <35 0x8 36 0x8 37 0x8>;
259*c66ec88fSEmmanuel Vadot			interrupt-parent = <&ipic>;
260*c66ec88fSEmmanuel Vadot			/* Vitesse 7385 isn't on the MDIO bus */
261*c66ec88fSEmmanuel Vadot			fixed-link = <1 1 1000 0 0>;
262*c66ec88fSEmmanuel Vadot			linux,network-index = <1>;
263*c66ec88fSEmmanuel Vadot			tbi-handle = <&tbi1>;
264*c66ec88fSEmmanuel Vadot
265*c66ec88fSEmmanuel Vadot			mdio@520 {
266*c66ec88fSEmmanuel Vadot				#address-cells = <1>;
267*c66ec88fSEmmanuel Vadot				#size-cells = <0>;
268*c66ec88fSEmmanuel Vadot				compatible = "fsl,gianfar-tbi";
269*c66ec88fSEmmanuel Vadot				reg = <0x520 0x20>;
270*c66ec88fSEmmanuel Vadot
271*c66ec88fSEmmanuel Vadot				tbi1: tbi-phy@11 {
272*c66ec88fSEmmanuel Vadot					reg = <0x11>;
273*c66ec88fSEmmanuel Vadot					device_type = "tbi-phy";
274*c66ec88fSEmmanuel Vadot				};
275*c66ec88fSEmmanuel Vadot			};
276*c66ec88fSEmmanuel Vadot		};
277*c66ec88fSEmmanuel Vadot
278*c66ec88fSEmmanuel Vadot		serial0: serial@4500 {
279*c66ec88fSEmmanuel Vadot			cell-index = <0>;
280*c66ec88fSEmmanuel Vadot			device_type = "serial";
281*c66ec88fSEmmanuel Vadot			compatible = "fsl,ns16550", "ns16550";
282*c66ec88fSEmmanuel Vadot			reg = <0x4500 0x100>;
283*c66ec88fSEmmanuel Vadot			clock-frequency = <0>;		// from bootloader
284*c66ec88fSEmmanuel Vadot			interrupts = <9 0x8>;
285*c66ec88fSEmmanuel Vadot			interrupt-parent = <&ipic>;
286*c66ec88fSEmmanuel Vadot		};
287*c66ec88fSEmmanuel Vadot
288*c66ec88fSEmmanuel Vadot		serial1: serial@4600 {
289*c66ec88fSEmmanuel Vadot			cell-index = <1>;
290*c66ec88fSEmmanuel Vadot			device_type = "serial";
291*c66ec88fSEmmanuel Vadot			compatible = "fsl,ns16550", "ns16550";
292*c66ec88fSEmmanuel Vadot			reg = <0x4600 0x100>;
293*c66ec88fSEmmanuel Vadot			clock-frequency = <0>;		// from bootloader
294*c66ec88fSEmmanuel Vadot			interrupts = <10 0x8>;
295*c66ec88fSEmmanuel Vadot			interrupt-parent = <&ipic>;
296*c66ec88fSEmmanuel Vadot		};
297*c66ec88fSEmmanuel Vadot
298*c66ec88fSEmmanuel Vadot		crypto@30000 {
299*c66ec88fSEmmanuel Vadot			compatible = "fsl,sec2.0";
300*c66ec88fSEmmanuel Vadot			reg = <0x30000 0x10000>;
301*c66ec88fSEmmanuel Vadot			interrupts = <11 0x8>;
302*c66ec88fSEmmanuel Vadot			interrupt-parent = <&ipic>;
303*c66ec88fSEmmanuel Vadot			fsl,num-channels = <4>;
304*c66ec88fSEmmanuel Vadot			fsl,channel-fifo-len = <24>;
305*c66ec88fSEmmanuel Vadot			fsl,exec-units-mask = <0x7e>;
306*c66ec88fSEmmanuel Vadot			fsl,descriptor-types-mask = <0x01010ebf>;
307*c66ec88fSEmmanuel Vadot		};
308*c66ec88fSEmmanuel Vadot
309*c66ec88fSEmmanuel Vadot		ipic: pic@700 {
310*c66ec88fSEmmanuel Vadot			interrupt-controller;
311*c66ec88fSEmmanuel Vadot			#address-cells = <0>;
312*c66ec88fSEmmanuel Vadot			#interrupt-cells = <2>;
313*c66ec88fSEmmanuel Vadot			reg = <0x700 0x100>;
314*c66ec88fSEmmanuel Vadot			device_type = "ipic";
315*c66ec88fSEmmanuel Vadot		};
316*c66ec88fSEmmanuel Vadot
317*c66ec88fSEmmanuel Vadot		gpio-leds {
318*c66ec88fSEmmanuel Vadot			compatible = "gpio-leds";
319*c66ec88fSEmmanuel Vadot
320*c66ec88fSEmmanuel Vadot			green {
321*c66ec88fSEmmanuel Vadot				label = "Green";
322*c66ec88fSEmmanuel Vadot				gpios = <&pcf1 0 1>;
323*c66ec88fSEmmanuel Vadot				linux,default-trigger = "heartbeat";
324*c66ec88fSEmmanuel Vadot			};
325*c66ec88fSEmmanuel Vadot
326*c66ec88fSEmmanuel Vadot			yellow {
327*c66ec88fSEmmanuel Vadot				label = "Yellow";
328*c66ec88fSEmmanuel Vadot				gpios = <&pcf1 1 1>;
329*c66ec88fSEmmanuel Vadot				/* linux,default-trigger = "heartbeat"; */
330*c66ec88fSEmmanuel Vadot				default-state = "on";
331*c66ec88fSEmmanuel Vadot			};
332*c66ec88fSEmmanuel Vadot		};
333*c66ec88fSEmmanuel Vadot
334*c66ec88fSEmmanuel Vadot	};
335*c66ec88fSEmmanuel Vadot
336*c66ec88fSEmmanuel Vadot	pci0: pci@e0008500 {
337*c66ec88fSEmmanuel Vadot		interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
338*c66ec88fSEmmanuel Vadot		interrupt-map = <
339*c66ec88fSEmmanuel Vadot				/* IDSEL 0x10 - SATA */
340*c66ec88fSEmmanuel Vadot				0x8000 0x0 0x0 0x1 &ipic 22 0x8 /* SATA_INTA */
341*c66ec88fSEmmanuel Vadot				>;
342*c66ec88fSEmmanuel Vadot		interrupt-parent = <&ipic>;
343*c66ec88fSEmmanuel Vadot		interrupts = <66 0x8>;
344*c66ec88fSEmmanuel Vadot		bus-range = <0x0 0x0>;
345*c66ec88fSEmmanuel Vadot		ranges = <0x42000000 0x0 0x80000000 0x80000000 0x0 0x10000000
346*c66ec88fSEmmanuel Vadot			  0x02000000 0x0 0x90000000 0x90000000 0x0 0x10000000
347*c66ec88fSEmmanuel Vadot			  0x01000000 0x0 0x00000000 0xe2000000 0x0 0x01000000>;
348*c66ec88fSEmmanuel Vadot		clock-frequency = <66666666>;
349*c66ec88fSEmmanuel Vadot		#interrupt-cells = <1>;
350*c66ec88fSEmmanuel Vadot		#size-cells = <2>;
351*c66ec88fSEmmanuel Vadot		#address-cells = <3>;
352*c66ec88fSEmmanuel Vadot		reg = <0xe0008500 0x100		/* internal registers */
353*c66ec88fSEmmanuel Vadot		       0xe0008300 0x8>;		/* config space access registers */
354*c66ec88fSEmmanuel Vadot		compatible = "fsl,mpc8349-pci";
355*c66ec88fSEmmanuel Vadot		device_type = "pci";
356*c66ec88fSEmmanuel Vadot	};
357*c66ec88fSEmmanuel Vadot
358*c66ec88fSEmmanuel Vadot	pci1: pci@e0008600 {
359*c66ec88fSEmmanuel Vadot		interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
360*c66ec88fSEmmanuel Vadot		interrupt-map = <
361*c66ec88fSEmmanuel Vadot				/* IDSEL 0x0E - MiniPCI Slot */
362*c66ec88fSEmmanuel Vadot				0x7000 0x0 0x0 0x1 &ipic 21 0x8 /* PCI_INTA */
363*c66ec88fSEmmanuel Vadot
364*c66ec88fSEmmanuel Vadot				/* IDSEL 0x0F - PCI Slot */
365*c66ec88fSEmmanuel Vadot				0x7800 0x0 0x0 0x1 &ipic 20 0x8 /* PCI_INTA */
366*c66ec88fSEmmanuel Vadot				0x7800 0x0 0x0 0x2 &ipic 21 0x8 /* PCI_INTB */
367*c66ec88fSEmmanuel Vadot				>;
368*c66ec88fSEmmanuel Vadot		interrupt-parent = <&ipic>;
369*c66ec88fSEmmanuel Vadot		interrupts = <67 0x8>;
370*c66ec88fSEmmanuel Vadot		bus-range = <0x0 0x0>;
371*c66ec88fSEmmanuel Vadot		ranges = <0x42000000 0x0 0xa0000000 0xa0000000 0x0 0x10000000
372*c66ec88fSEmmanuel Vadot			  0x02000000 0x0 0xb0000000 0xb0000000 0x0 0x10000000
373*c66ec88fSEmmanuel Vadot			  0x01000000 0x0 0x00000000 0xe3000000 0x0 0x01000000>;
374*c66ec88fSEmmanuel Vadot		clock-frequency = <66666666>;
375*c66ec88fSEmmanuel Vadot		#interrupt-cells = <1>;
376*c66ec88fSEmmanuel Vadot		#size-cells = <2>;
377*c66ec88fSEmmanuel Vadot		#address-cells = <3>;
378*c66ec88fSEmmanuel Vadot		reg = <0xe0008600 0x100		/* internal registers */
379*c66ec88fSEmmanuel Vadot		       0xe0008380 0x8>;		/* config space access registers */
380*c66ec88fSEmmanuel Vadot		compatible = "fsl,mpc8349-pci";
381*c66ec88fSEmmanuel Vadot		device_type = "pci";
382*c66ec88fSEmmanuel Vadot	};
383*c66ec88fSEmmanuel Vadot
384*c66ec88fSEmmanuel Vadot	localbus@e0005000 {
385*c66ec88fSEmmanuel Vadot		#address-cells = <2>;
386*c66ec88fSEmmanuel Vadot		#size-cells = <1>;
387*c66ec88fSEmmanuel Vadot		compatible = "fsl,mpc8349e-localbus",
388*c66ec88fSEmmanuel Vadot			     "fsl,pq2pro-localbus",
389*c66ec88fSEmmanuel Vadot			     "simple-bus";
390*c66ec88fSEmmanuel Vadot		reg = <0xe0005000 0xd8>;
391*c66ec88fSEmmanuel Vadot		ranges = <0x0 0x0 0xfe000000 0x1000000	/* flash */
392*c66ec88fSEmmanuel Vadot			  0x1 0x0 0xf8000000 0x20000	/* VSC 7385 */
393*c66ec88fSEmmanuel Vadot			  0x2 0x0 0xf9000000 0x200000	/* exp slot */
394*c66ec88fSEmmanuel Vadot			  0x3 0x0 0xf0000000 0x210>;	/* CF slot */
395*c66ec88fSEmmanuel Vadot
396*c66ec88fSEmmanuel Vadot		flash@0,0 {
397*c66ec88fSEmmanuel Vadot			compatible = "cfi-flash";
398*c66ec88fSEmmanuel Vadot			reg = <0x0      0x0 0x800000>;
399*c66ec88fSEmmanuel Vadot			bank-width = <2>;
400*c66ec88fSEmmanuel Vadot			device-width = <1>;
401*c66ec88fSEmmanuel Vadot		};
402*c66ec88fSEmmanuel Vadot
403*c66ec88fSEmmanuel Vadot		flash@0,800000 {
404*c66ec88fSEmmanuel Vadot			#address-cells = <1>;
405*c66ec88fSEmmanuel Vadot			#size-cells = <1>;
406*c66ec88fSEmmanuel Vadot			compatible = "cfi-flash";
407*c66ec88fSEmmanuel Vadot			reg = <0x0 0x800000 0x800000>;
408*c66ec88fSEmmanuel Vadot			bank-width = <2>;
409*c66ec88fSEmmanuel Vadot			device-width = <1>;
410*c66ec88fSEmmanuel Vadot		};
411*c66ec88fSEmmanuel Vadot
412*c66ec88fSEmmanuel Vadot		pata@3,0 {
413*c66ec88fSEmmanuel Vadot			compatible = "fsl,mpc8349emitx-pata", "ata-generic";
414*c66ec88fSEmmanuel Vadot			reg = <0x3 0x0 0x10 0x3 0x20c 0x4>;
415*c66ec88fSEmmanuel Vadot			reg-shift = <1>;
416*c66ec88fSEmmanuel Vadot			pio-mode = <6>;
417*c66ec88fSEmmanuel Vadot			interrupts = <23 0x8>;
418*c66ec88fSEmmanuel Vadot			interrupt-parent = <&ipic>;
419*c66ec88fSEmmanuel Vadot		};
420*c66ec88fSEmmanuel Vadot	};
421*c66ec88fSEmmanuel Vadot};
422