blob: c29e4f4a7ae5a735716d62a12eee89f52676095a [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 {
Kumar Galaec9686c2007-12-11 23:17:24 -060054 #address-cells = <1>;
55 #size-cells = <0>;
56 cell-index = <0>;
Timur Tabi74c37e82006-10-04 11:03:44 -050057 compatible = "fsl-i2c";
58 reg = <3000 100>;
59 interrupts = <e 8>;
Kumar Galad71a1dc2007-02-16 09:57:22 -060060 interrupt-parent = < &ipic >;
Timur Tabi74c37e82006-10-04 11:03:44 -050061 dfsrr;
62 };
63
64 i2c@3100 {
Kumar Galaec9686c2007-12-11 23:17:24 -060065 #address-cells = <1>;
66 #size-cells = <0>;
67 cell-index = <1>;
Timur Tabi74c37e82006-10-04 11:03:44 -050068 compatible = "fsl-i2c";
69 reg = <3100 100>;
70 interrupts = <f 8>;
Kumar Galad71a1dc2007-02-16 09:57:22 -060071 interrupt-parent = < &ipic >;
Timur Tabi74c37e82006-10-04 11:03:44 -050072 dfsrr;
73 };
74
75 spi@7000 {
76 device_type = "spi";
Peter Korsgaard33799e32007-10-03 17:44:58 +020077 compatible = "fsl_spi";
Timur Tabi74c37e82006-10-04 11:03:44 -050078 reg = <7000 1000>;
79 interrupts = <10 8>;
Kumar Galad71a1dc2007-02-16 09:57:22 -060080 interrupt-parent = < &ipic >;
Peter Korsgaard33799e32007-10-03 17:44:58 +020081 mode = "cpu";
Timur Tabi74c37e82006-10-04 11:03:44 -050082 };
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>;
Kumar Galad71a1dc2007-02-16 09:57:22 -060090 interrupt-parent = < &ipic >;
91 interrupts = <27 8>;
Timur Tabi74c37e82006-10-04 11:03:44 -050092 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>;
Kumar Galad71a1dc2007-02-16 09:57:22 -0600102 interrupt-parent = < &ipic >;
103 interrupts = <26 8>;
jacmet@sunsite.dkf93c7c52007-09-28 16:21:15 +0200104 dr_mode = "peripheral";
Timur Tabi74c37e82006-10-04 11:03:44 -0500105 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>;
Timur Tabi74c37e82006-10-04 11:03:44 -0500114
115 /* Vitesse 8201 */
Kumar Galad71a1dc2007-02-16 09:57:22 -0600116 phy1c: ethernet-phy@1c {
117 interrupt-parent = < &ipic >;
118 interrupts = <12 8>;
Timur Tabi74c37e82006-10-04 11:03:44 -0500119 reg = <1c>;
120 device_type = "ethernet-phy";
121 };
122
123 /* Vitesse 7385 */
Kumar Galad71a1dc2007-02-16 09:57:22 -0600124 phy1f: ethernet-phy@1f {
125 interrupt-parent = < &ipic >;
126 interrupts = <12 8>;
Timur Tabi74c37e82006-10-04 11:03:44 -0500127 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>;
Timur Tabieae98262007-06-22 14:33:15 -0500137 /*
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 */
Timur Tabi74c37e82006-10-04 11:03:44 -0500142 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>;
Kumar Galad71a1dc2007-02-16 09:57:22 -0600145 interrupt-parent = < &ipic >;
146 phy-handle = < &phy1c >;
Grant Likelyad25a4c2007-08-31 06:26:24 +1000147 linux,network-index = <0>;
Timur Tabi74c37e82006-10-04 11:03:44 -0500148 };
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>;
Timur Tabieae98262007-06-22 14:33:15 -0500157 /*
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 */
Timur Tabi74c37e82006-10-04 11:03:44 -0500162 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>;
Kumar Galad71a1dc2007-02-16 09:57:22 -0600165 interrupt-parent = < &ipic >;
166 phy-handle = < &phy1f >;
Grant Likelyad25a4c2007-08-31 06:26:24 +1000167 linux,network-index = <1>;
Timur Tabi74c37e82006-10-04 11:03:44 -0500168 };
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>;
Kumar Galad71a1dc2007-02-16 09:57:22 -0600176 interrupt-parent = < &ipic >;
Timur Tabi74c37e82006-10-04 11:03:44 -0500177 };
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>;
Kumar Galad71a1dc2007-02-16 09:57:22 -0600185 interrupt-parent = < &ipic >;
Timur Tabi74c37e82006-10-04 11:03:44 -0500186 };
187
Timur Tabi74c37e82006-10-04 11:03:44 -0500188 crypto@30000 {
189 device_type = "crypto";
190 model = "SEC2";
191 compatible = "talitos";
192 reg = <30000 10000>;
193 interrupts = <b 8>;
Kumar Galad71a1dc2007-02-16 09:57:22 -0600194 interrupt-parent = < &ipic >;
Timur Tabi74c37e82006-10-04 11:03:44 -0500195 num-channels = <4>;
196 channel-fifo-len = <18>;
197 exec-units-mask = <0000007e>;
198 descriptor-types-mask = <01010ebf>;
199 };
200
Kumar Galad71a1dc2007-02-16 09:57:22 -0600201 ipic: pic@700 {
Timur Tabi74c37e82006-10-04 11:03:44 -0500202 interrupt-controller;
203 #address-cells = <0>;
204 #interrupt-cells = <2>;
205 reg = <700 100>;
Timur Tabi74c37e82006-10-04 11:03:44 -0500206 device_type = "ipic";
207 };
208 };
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500209
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
Timur Tabi74c37e82006-10-04 11:03:44 -0500258};