blob: f5c3086bcb5df5a259b4da0f9a2a4d55666150ca [file] [log] [blame]
Timur Tabi74c37e82006-10-04 11:03:44 -05001/*
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";
Kumar Galad71a1dc2007-02-16 09:57:22 -060013 compatible = "MPC8349EMITX", "MPC834xMITX", "MPC83xxMITX";
Timur Tabi74c37e82006-10-04 11:03:44 -050014 #address-cells = <1>;
15 #size-cells = <1>;
16
17 cpus {
Timur Tabi74c37e82006-10-04 11:03:44 -050018 #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
Timur Tabi74c37e82006-10-04 11:03:44 -050031 };
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>;
Timur Tabi74c37e82006-10-04 11:03:44 -050042 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 device_type = "i2c";
55 compatible = "fsl-i2c";
56 reg = <3000 100>;
57 interrupts = <e 8>;
Kumar Galad71a1dc2007-02-16 09:57:22 -060058 interrupt-parent = < &ipic >;
Timur Tabi74c37e82006-10-04 11:03:44 -050059 dfsrr;
60 };
61
62 i2c@3100 {
63 device_type = "i2c";
64 compatible = "fsl-i2c";
65 reg = <3100 100>;
66 interrupts = <f 8>;
Kumar Galad71a1dc2007-02-16 09:57:22 -060067 interrupt-parent = < &ipic >;
Timur Tabi74c37e82006-10-04 11:03:44 -050068 dfsrr;
69 };
70
71 spi@7000 {
72 device_type = "spi";
73 compatible = "mpc83xx_spi";
74 reg = <7000 1000>;
75 interrupts = <10 8>;
Kumar Galad71a1dc2007-02-16 09:57:22 -060076 interrupt-parent = < &ipic >;
Timur Tabi74c37e82006-10-04 11:03:44 -050077 mode = <0>;
78 };
79
80 usb@22000 {
81 device_type = "usb";
82 compatible = "fsl-usb2-mph";
83 reg = <22000 1000>;
84 #address-cells = <1>;
85 #size-cells = <0>;
Kumar Galad71a1dc2007-02-16 09:57:22 -060086 interrupt-parent = < &ipic >;
87 interrupts = <27 8>;
Timur Tabi74c37e82006-10-04 11:03:44 -050088 phy_type = "ulpi";
89 port1;
90 };
91
92 usb@23000 {
93 device_type = "usb";
94 compatible = "fsl-usb2-dr";
95 reg = <23000 1000>;
96 #address-cells = <1>;
97 #size-cells = <0>;
Kumar Galad71a1dc2007-02-16 09:57:22 -060098 interrupt-parent = < &ipic >;
99 interrupts = <26 8>;
Timur Tabi74c37e82006-10-04 11:03:44 -0500100 phy_type = "ulpi";
101 };
102
103 mdio@24520 {
104 device_type = "mdio";
105 compatible = "gianfar";
106 reg = <24520 20>;
107 #address-cells = <1>;
108 #size-cells = <0>;
Timur Tabi74c37e82006-10-04 11:03:44 -0500109
110 /* Vitesse 8201 */
Kumar Galad71a1dc2007-02-16 09:57:22 -0600111 phy1c: ethernet-phy@1c {
112 interrupt-parent = < &ipic >;
113 interrupts = <12 8>;
Timur Tabi74c37e82006-10-04 11:03:44 -0500114 reg = <1c>;
115 device_type = "ethernet-phy";
116 };
117
118 /* Vitesse 7385 */
Kumar Galad71a1dc2007-02-16 09:57:22 -0600119 phy1f: ethernet-phy@1f {
120 interrupt-parent = < &ipic >;
121 interrupts = <12 8>;
Timur Tabi74c37e82006-10-04 11:03:44 -0500122 reg = <1f>;
123 device_type = "ethernet-phy";
124 };
125 };
126
127 ethernet@24000 {
128 device_type = "network";
129 model = "TSEC";
130 compatible = "gianfar";
131 reg = <24000 1000>;
Timur Tabieae98262007-06-22 14:33:15 -0500132 /*
133 * address is deprecated and will be removed
134 * in 2.6.25. Only recent versions of
135 * U-Boot support local-mac-address, however.
136 */
Timur Tabi74c37e82006-10-04 11:03:44 -0500137 address = [ 00 00 00 00 00 00 ];
138 local-mac-address = [ 00 00 00 00 00 00 ];
139 interrupts = <20 8 21 8 22 8>;
Kumar Galad71a1dc2007-02-16 09:57:22 -0600140 interrupt-parent = < &ipic >;
141 phy-handle = < &phy1c >;
Grant Likelyad25a4c2007-08-31 06:26:24 +1000142 linux,network-index = <0>;
Timur Tabi74c37e82006-10-04 11:03:44 -0500143 };
144
145 ethernet@25000 {
146 #address-cells = <1>;
147 #size-cells = <0>;
148 device_type = "network";
149 model = "TSEC";
150 compatible = "gianfar";
151 reg = <25000 1000>;
Timur Tabieae98262007-06-22 14:33:15 -0500152 /*
153 * address is deprecated and will be removed
154 * in 2.6.25. Only recent versions of
155 * U-Boot support local-mac-address, however.
156 */
Timur Tabi74c37e82006-10-04 11:03:44 -0500157 address = [ 00 00 00 00 00 00 ];
158 local-mac-address = [ 00 00 00 00 00 00 ];
159 interrupts = <23 8 24 8 25 8>;
Kumar Galad71a1dc2007-02-16 09:57:22 -0600160 interrupt-parent = < &ipic >;
161 phy-handle = < &phy1f >;
Grant Likelyad25a4c2007-08-31 06:26:24 +1000162 linux,network-index = <1>;
Timur Tabi74c37e82006-10-04 11:03:44 -0500163 };
164
165 serial@4500 {
166 device_type = "serial";
167 compatible = "ns16550";
168 reg = <4500 100>;
169 clock-frequency = <0>; // from bootloader
170 interrupts = <9 8>;
Kumar Galad71a1dc2007-02-16 09:57:22 -0600171 interrupt-parent = < &ipic >;
Timur Tabi74c37e82006-10-04 11:03:44 -0500172 };
173
174 serial@4600 {
175 device_type = "serial";
176 compatible = "ns16550";
177 reg = <4600 100>;
178 clock-frequency = <0>; // from bootloader
179 interrupts = <a 8>;
Kumar Galad71a1dc2007-02-16 09:57:22 -0600180 interrupt-parent = < &ipic >;
Timur Tabi74c37e82006-10-04 11:03:44 -0500181 };
182
Timur Tabi74c37e82006-10-04 11:03:44 -0500183 crypto@30000 {
184 device_type = "crypto";
185 model = "SEC2";
186 compatible = "talitos";
187 reg = <30000 10000>;
188 interrupts = <b 8>;
Kumar Galad71a1dc2007-02-16 09:57:22 -0600189 interrupt-parent = < &ipic >;
Timur Tabi74c37e82006-10-04 11:03:44 -0500190 num-channels = <4>;
191 channel-fifo-len = <18>;
192 exec-units-mask = <0000007e>;
193 descriptor-types-mask = <01010ebf>;
194 };
195
Kumar Galad71a1dc2007-02-16 09:57:22 -0600196 ipic: pic@700 {
Timur Tabi74c37e82006-10-04 11:03:44 -0500197 interrupt-controller;
198 #address-cells = <0>;
199 #interrupt-cells = <2>;
200 reg = <700 100>;
Timur Tabi74c37e82006-10-04 11:03:44 -0500201 device_type = "ipic";
202 };
203 };
Kumar Gala1b3c5cda2007-09-12 18:23:46 -0500204
205 pci@e0008500 {
206 interrupt-map-mask = <f800 0 0 7>;
207 interrupt-map = <
208 /* IDSEL 0x10 - SATA */
209 8000 0 0 1 &ipic 16 8 /* SATA_INTA */
210 >;
211 interrupt-parent = < &ipic >;
212 interrupts = <42 8>;
213 bus-range = <0 0>;
214 ranges = <42000000 0 80000000 80000000 0 10000000
215 02000000 0 90000000 90000000 0 10000000
216 01000000 0 00000000 e2000000 0 01000000>;
217 clock-frequency = <3f940aa>;
218 #interrupt-cells = <1>;
219 #size-cells = <2>;
220 #address-cells = <3>;
221 reg = <e0008500 100>;
222 compatible = "fsl,mpc8349-pci";
223 device_type = "pci";
224 };
225
226 pci@e0008600 {
227 interrupt-map-mask = <f800 0 0 7>;
228 interrupt-map = <
229 /* IDSEL 0x0E - MiniPCI Slot */
230 7000 0 0 1 &ipic 15 8 /* PCI_INTA */
231
232 /* IDSEL 0x0F - PCI Slot */
233 7800 0 0 1 &ipic 14 8 /* PCI_INTA */
234 7800 0 0 2 &ipic 15 8 /* PCI_INTB */
235 >;
236 interrupt-parent = < &ipic >;
237 interrupts = <43 8>;
238 bus-range = <0 0>;
239 ranges = <42000000 0 a0000000 a0000000 0 10000000
240 02000000 0 b0000000 b0000000 0 10000000
241 01000000 0 00000000 e3000000 0 01000000>;
242 clock-frequency = <3f940aa>;
243 #interrupt-cells = <1>;
244 #size-cells = <2>;
245 #address-cells = <3>;
246 reg = <e0008600 100>;
247 compatible = "fsl,mpc8349-pci";
248 device_type = "pci";
249 };
250
251
252
Timur Tabi74c37e82006-10-04 11:03:44 -0500253};