1/*
2 * MPC8349E-mITX-GP Device Tree Source
3 *
4 * Copyright 2007 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 = "MPC8349EMITXGP";
13	compatible = "MPC8349EMITXGP", "MPC834xMITX", "MPC83xxMITX";
14	#address-cells = <1>;
15	#size-cells = <1>;
16
17	aliases {
18		ethernet0 = &enet0;
19		serial0 = &serial0;
20		serial1 = &serial1;
21		pci0 = &pci0;
22	};
23
24	cpus {
25		#address-cells = <1>;
26		#size-cells = <0>;
27
28		PowerPC,8349@0 {
29			device_type = "cpu";
30			reg = <0>;
31			d-cache-line-size = <20>;
32			i-cache-line-size = <20>;
33			d-cache-size = <8000>;
34			i-cache-size = <8000>;
35			timebase-frequency = <0>;	// from bootloader
36			bus-frequency = <0>;		// from bootloader
37			clock-frequency = <0>;		// from bootloader
38		};
39	};
40
41	memory {
42		device_type = "memory";
43		reg = <00000000 10000000>;
44	};
45
46	soc8349@e0000000 {
47		#address-cells = <1>;
48		#size-cells = <1>;
49		device_type = "soc";
50		ranges = <0 e0000000 00100000>;
51		reg = <e0000000 00000200>;
52		bus-frequency = <0>;                    // from bootloader
53
54		wdt@200 {
55			device_type = "watchdog";
56			compatible = "mpc83xx_wdt";
57			reg = <200 100>;
58		};
59
60		i2c@3000 {
61			#address-cells = <1>;
62			#size-cells = <0>;
63			cell-index = <0>;
64			compatible = "fsl-i2c";
65			reg = <3000 100>;
66			interrupts = <e 8>;
67			interrupt-parent = < &ipic >;
68			dfsrr;
69		};
70
71		i2c@3100 {
72			#address-cells = <1>;
73			#size-cells = <0>;
74			cell-index = <1>;
75			compatible = "fsl-i2c";
76			reg = <3100 100>;
77			interrupts = <f 8>;
78			interrupt-parent = < &ipic >;
79			dfsrr;
80		};
81
82		spi@7000 {
83			device_type = "spi";
84			compatible = "fsl_spi";
85			reg = <7000 1000>;
86			interrupts = <10 8>;
87			interrupt-parent = < &ipic >;
88			mode = "cpu";
89		};
90
91		usb@23000 {
92			compatible = "fsl-usb2-dr";
93			reg = <23000 1000>;
94			#address-cells = <1>;
95			#size-cells = <0>;
96			interrupt-parent = < &ipic >;
97			interrupts = <26 8>;
98			dr_mode = "otg";
99			phy_type = "ulpi";
100		};
101
102		mdio@24520 {
103			#address-cells = <1>;
104			#size-cells = <0>;
105			compatible = "fsl,gianfar-mdio";
106			reg = <24520 20>;
107
108			/* Vitesse 8201 */
109			phy1c: ethernet-phy@1c {
110				interrupt-parent = < &ipic >;
111				interrupts = <12 8>;
112				reg = <1c>;
113				device_type = "ethernet-phy";
114			};
115		};
116
117		enet0: ethernet@24000 {
118			cell-index = <0>;
119			device_type = "network";
120			model = "TSEC";
121			compatible = "gianfar";
122			reg = <24000 1000>;
123			local-mac-address = [ 00 00 00 00 00 00 ];
124			interrupts = <20 8 21 8 22 8>;
125			interrupt-parent = < &ipic >;
126			phy-handle = < &phy1c >;
127			linux,network-index = <0>;
128		};
129
130		serial0: serial@4500 {
131			cell-index = <0>;
132			device_type = "serial";
133			compatible = "ns16550";
134			reg = <4500 100>;
135			clock-frequency = <0>;		// from bootloader
136			interrupts = <9 8>;
137			interrupt-parent = < &ipic >;
138		};
139
140		serial1: serial@4600 {
141			cell-index = <1>;
142			device_type = "serial";
143			compatible = "ns16550";
144			reg = <4600 100>;
145			clock-frequency = <0>;		// from bootloader
146			interrupts = <a 8>;
147			interrupt-parent = < &ipic >;
148		};
149
150		crypto@30000 {
151			device_type = "crypto";
152			model = "SEC2";
153			compatible = "talitos";
154			reg = <30000 10000>;
155			interrupts = <b 8>;
156			interrupt-parent = < &ipic >;
157			num-channels = <4>;
158			channel-fifo-len = <18>;
159			exec-units-mask = <0000007e>;
160			descriptor-types-mask = <01010ebf>;
161		};
162
163		ipic: pic@700 {
164			interrupt-controller;
165			#address-cells = <0>;
166			#interrupt-cells = <2>;
167			reg = <700 100>;
168			device_type = "ipic";
169		};
170	};
171
172	pci0: pci@e0008600 {
173		cell-index = <2>;
174		interrupt-map-mask = <f800 0 0 7>;
175		interrupt-map = <
176				/* IDSEL 0x0F - PCI Slot */
177				7800 0 0 1 &ipic 14 8 /* PCI_INTA */
178				7800 0 0 2 &ipic 15 8 /* PCI_INTB */
179				 >;
180		interrupt-parent = < &ipic >;
181		interrupts = <43 8>;
182		bus-range = <1 1>;
183		ranges = <42000000 0 a0000000 a0000000 0 10000000
184			  02000000 0 b0000000 b0000000 0 10000000
185			  01000000 0 00000000 e3000000 0 01000000>;
186		clock-frequency = <3f940aa>;
187		#interrupt-cells = <1>;
188		#size-cells = <2>;
189		#address-cells = <3>;
190		reg = <e0008600 100>;
191		compatible = "fsl,mpc8349-pci";
192		device_type = "pci";
193	};
194};
195