1/*
2 * MPC8349E-mITX Device Tree Source
3 *
4 * Copyright 2006 Freescale Semiconductor Inc.
5 *
6 * This program is free software; you can redistribute it and/or modify it
7 * under the terms of the GNU General Public License as published by the
8 * Free Software Foundation; either version 2 of the License, or (at your
9 * option) any later version.
10 */
11/ {
12	model = "MPC8349EMITX";
13	compatible = "MPC8349EMITX", "MPC834xMITX", "MPC83xxMITX";
14	#address-cells = <1>;
15	#size-cells = <1>;
16
17	cpus {
18		#address-cells = <1>;
19		#size-cells = <0>;
20
21		PowerPC,8349@0 {
22			device_type = "cpu";
23			reg = <0>;
24			d-cache-line-size = <20>;
25			i-cache-line-size = <20>;
26			d-cache-size = <8000>;
27			i-cache-size = <8000>;
28			timebase-frequency = <0>;	// from bootloader
29			bus-frequency = <0>;		// from bootloader
30			clock-frequency = <0>;		// from bootloader
31		};
32	};
33
34	memory {
35		device_type = "memory";
36		reg = <00000000 10000000>;
37	};
38
39	soc8349@e0000000 {
40		#address-cells = <1>;
41		#size-cells = <1>;
42		device_type = "soc";
43		ranges = <0 e0000000 00100000>;
44		reg = <e0000000 00000200>;
45		bus-frequency = <0>;                    // from bootloader
46
47		wdt@200 {
48			device_type = "watchdog";
49			compatible = "mpc83xx_wdt";
50			reg = <200 100>;
51		};
52
53		i2c@3000 {
54			#address-cells = <1>;
55			#size-cells = <0>;
56			cell-index = <0>;
57			compatible = "fsl-i2c";
58			reg = <3000 100>;
59			interrupts = <e 8>;
60			interrupt-parent = < &ipic >;
61			dfsrr;
62		};
63
64		i2c@3100 {
65			#address-cells = <1>;
66			#size-cells = <0>;
67			cell-index = <1>;
68			compatible = "fsl-i2c";
69			reg = <3100 100>;
70			interrupts = <f 8>;
71			interrupt-parent = < &ipic >;
72			dfsrr;
73		};
74
75		spi@7000 {
76			device_type = "spi";
77			compatible = "fsl_spi";
78			reg = <7000 1000>;
79			interrupts = <10 8>;
80			interrupt-parent = < &ipic >;
81			mode = "cpu";
82		};
83
84		usb@22000 {
85			device_type = "usb";
86			compatible = "fsl-usb2-mph";
87			reg = <22000 1000>;
88			#address-cells = <1>;
89			#size-cells = <0>;
90			interrupt-parent = < &ipic >;
91			interrupts = <27 8>;
92			phy_type = "ulpi";
93			port1;
94		};
95
96		usb@23000 {
97			device_type = "usb";
98			compatible = "fsl-usb2-dr";
99			reg = <23000 1000>;
100			#address-cells = <1>;
101			#size-cells = <0>;
102			interrupt-parent = < &ipic >;
103			interrupts = <26 8>;
104			dr_mode = "peripheral";
105			phy_type = "ulpi";
106		};
107
108		mdio@24520 {
109			device_type = "mdio";
110			compatible = "gianfar";
111			reg = <24520 20>;
112			#address-cells = <1>;
113			#size-cells = <0>;
114
115			/* Vitesse 8201 */
116			phy1c: ethernet-phy@1c {
117				interrupt-parent = < &ipic >;
118				interrupts = <12 8>;
119				reg = <1c>;
120				device_type = "ethernet-phy";
121			};
122
123			/* Vitesse 7385 */
124			phy1f: ethernet-phy@1f {
125				interrupt-parent = < &ipic >;
126				interrupts = <12 8>;
127				reg = <1f>;
128				device_type = "ethernet-phy";
129			};
130		};
131
132		ethernet@24000 {
133			device_type = "network";
134			model = "TSEC";
135			compatible = "gianfar";
136			reg = <24000 1000>;
137			/*
138			 * address is deprecated and will be removed
139			 * in 2.6.25.  Only recent versions of
140			 * U-Boot support local-mac-address, however.
141			 */
142			address = [ 00 00 00 00 00 00 ];
143			local-mac-address = [ 00 00 00 00 00 00 ];
144			interrupts = <20 8 21 8 22 8>;
145			interrupt-parent = < &ipic >;
146			phy-handle = < &phy1c >;
147			linux,network-index = <0>;
148		};
149
150		ethernet@25000 {
151			#address-cells = <1>;
152			#size-cells = <0>;
153			device_type = "network";
154			model = "TSEC";
155			compatible = "gianfar";
156			reg = <25000 1000>;
157			/*
158			 * address is deprecated and will be removed
159			 * in 2.6.25.  Only recent versions of
160			 * U-Boot support local-mac-address, however.
161			 */
162			address = [ 00 00 00 00 00 00 ];
163			local-mac-address = [ 00 00 00 00 00 00 ];
164			interrupts = <23 8 24 8 25 8>;
165			interrupt-parent = < &ipic >;
166			phy-handle = < &phy1f >;
167			linux,network-index = <1>;
168		};
169
170		serial@4500 {
171			device_type = "serial";
172			compatible = "ns16550";
173			reg = <4500 100>;
174			clock-frequency = <0>;		// from bootloader
175			interrupts = <9 8>;
176			interrupt-parent = < &ipic >;
177		};
178
179		serial@4600 {
180			device_type = "serial";
181			compatible = "ns16550";
182			reg = <4600 100>;
183			clock-frequency = <0>;		// from bootloader
184			interrupts = <a 8>;
185			interrupt-parent = < &ipic >;
186		};
187
188		crypto@30000 {
189			device_type = "crypto";
190			model = "SEC2";
191			compatible = "talitos";
192			reg = <30000 10000>;
193			interrupts = <b 8>;
194			interrupt-parent = < &ipic >;
195			num-channels = <4>;
196			channel-fifo-len = <18>;
197			exec-units-mask = <0000007e>;
198			descriptor-types-mask = <01010ebf>;
199		};
200
201		ipic: pic@700 {
202			interrupt-controller;
203			#address-cells = <0>;
204			#interrupt-cells = <2>;
205			reg = <700 100>;
206			device_type = "ipic";
207		};
208	};
209
210	pci@e0008500 {
211		interrupt-map-mask = <f800 0 0 7>;
212		interrupt-map = <
213				/* IDSEL 0x10 - SATA */
214				8000 0 0 1 &ipic 16 8 /* SATA_INTA */
215				>;
216		interrupt-parent = < &ipic >;
217		interrupts = <42 8>;
218		bus-range = <0 0>;
219		ranges = <42000000 0 80000000 80000000 0 10000000
220			  02000000 0 90000000 90000000 0 10000000
221			  01000000 0 00000000 e2000000 0 01000000>;
222		clock-frequency = <3f940aa>;
223		#interrupt-cells = <1>;
224		#size-cells = <2>;
225		#address-cells = <3>;
226		reg = <e0008500 100>;
227		compatible = "fsl,mpc8349-pci";
228		device_type = "pci";
229	};
230
231	pci@e0008600 {
232		interrupt-map-mask = <f800 0 0 7>;
233		interrupt-map = <
234				/* IDSEL 0x0E - MiniPCI Slot */
235				7000 0 0 1 &ipic 15 8 /* PCI_INTA */
236
237				/* IDSEL 0x0F - PCI Slot */
238				7800 0 0 1 &ipic 14 8 /* PCI_INTA */
239				7800 0 0 2 &ipic 15 8 /* PCI_INTB */
240				 >;
241		interrupt-parent = < &ipic >;
242		interrupts = <43 8>;
243		bus-range = <0 0>;
244		ranges = <42000000 0 a0000000 a0000000 0 10000000
245			  02000000 0 b0000000 b0000000 0 10000000
246			  01000000 0 00000000 e3000000 0 01000000>;
247		clock-frequency = <3f940aa>;
248		#interrupt-cells = <1>;
249		#size-cells = <2>;
250		#address-cells = <3>;
251		reg = <e0008600 100>;
252		compatible = "fsl,mpc8349-pci";
253		device_type = "pci";
254	};
255
256
257
258};
259