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