blob: a14399b61fa9cbe04ca7230fbd9185c0213fdb23 [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
Kumar Galaea082fa2007-12-12 01:46:12 -060017 aliases {
18 ethernet0 = &enet0;
19 ethernet1 = &enet1;
20 serial0 = &serial0;
21 serial1 = &serial1;
22 pci0 = &pci0;
23 pci1 = &pci1;
24 };
25
Timur Tabi74c37e82006-10-04 11:03:44 -050026 cpus {
Timur Tabi74c37e82006-10-04 11:03:44 -050027 #address-cells = <1>;
28 #size-cells = <0>;
29
30 PowerPC,8349@0 {
31 device_type = "cpu";
32 reg = <0>;
33 d-cache-line-size = <20>;
34 i-cache-line-size = <20>;
35 d-cache-size = <8000>;
36 i-cache-size = <8000>;
37 timebase-frequency = <0>; // from bootloader
38 bus-frequency = <0>; // from bootloader
39 clock-frequency = <0>; // from bootloader
Timur Tabi74c37e82006-10-04 11:03:44 -050040 };
41 };
42
43 memory {
44 device_type = "memory";
45 reg = <00000000 10000000>;
46 };
47
48 soc8349@e0000000 {
49 #address-cells = <1>;
50 #size-cells = <1>;
Timur Tabi74c37e82006-10-04 11:03:44 -050051 device_type = "soc";
52 ranges = <0 e0000000 00100000>;
53 reg = <e0000000 00000200>;
54 bus-frequency = <0>; // from bootloader
55
56 wdt@200 {
57 device_type = "watchdog";
58 compatible = "mpc83xx_wdt";
59 reg = <200 100>;
60 };
61
62 i2c@3000 {
Kumar Galaec9686c2007-12-11 23:17:24 -060063 #address-cells = <1>;
64 #size-cells = <0>;
65 cell-index = <0>;
Timur Tabi74c37e82006-10-04 11:03:44 -050066 compatible = "fsl-i2c";
67 reg = <3000 100>;
68 interrupts = <e 8>;
Kumar Galad71a1dc2007-02-16 09:57:22 -060069 interrupt-parent = < &ipic >;
Timur Tabi74c37e82006-10-04 11:03:44 -050070 dfsrr;
71 };
72
73 i2c@3100 {
Kumar Galaec9686c2007-12-11 23:17:24 -060074 #address-cells = <1>;
75 #size-cells = <0>;
76 cell-index = <1>;
Timur Tabi74c37e82006-10-04 11:03:44 -050077 compatible = "fsl-i2c";
78 reg = <3100 100>;
79 interrupts = <f 8>;
Kumar Galad71a1dc2007-02-16 09:57:22 -060080 interrupt-parent = < &ipic >;
Timur Tabi74c37e82006-10-04 11:03:44 -050081 dfsrr;
82 };
83
84 spi@7000 {
85 device_type = "spi";
Peter Korsgaard33799e32007-10-03 17:44:58 +020086 compatible = "fsl_spi";
Timur Tabi74c37e82006-10-04 11:03:44 -050087 reg = <7000 1000>;
88 interrupts = <10 8>;
Kumar Galad71a1dc2007-02-16 09:57:22 -060089 interrupt-parent = < &ipic >;
Peter Korsgaard33799e32007-10-03 17:44:58 +020090 mode = "cpu";
Timur Tabi74c37e82006-10-04 11:03:44 -050091 };
92
93 usb@22000 {
Timur Tabi74c37e82006-10-04 11:03:44 -050094 compatible = "fsl-usb2-mph";
95 reg = <22000 1000>;
96 #address-cells = <1>;
97 #size-cells = <0>;
Kumar Galad71a1dc2007-02-16 09:57:22 -060098 interrupt-parent = < &ipic >;
99 interrupts = <27 8>;
Timur Tabi74c37e82006-10-04 11:03:44 -0500100 phy_type = "ulpi";
101 port1;
102 };
103
104 usb@23000 {
Timur Tabi74c37e82006-10-04 11:03:44 -0500105 compatible = "fsl-usb2-dr";
106 reg = <23000 1000>;
107 #address-cells = <1>;
108 #size-cells = <0>;
Kumar Galad71a1dc2007-02-16 09:57:22 -0600109 interrupt-parent = < &ipic >;
110 interrupts = <26 8>;
jacmet@sunsite.dkf93c7c52007-09-28 16:21:15 +0200111 dr_mode = "peripheral";
Timur Tabi74c37e82006-10-04 11:03:44 -0500112 phy_type = "ulpi";
113 };
114
115 mdio@24520 {
Timur Tabi74c37e82006-10-04 11:03:44 -0500116 #address-cells = <1>;
117 #size-cells = <0>;
Kumar Galae77b28e2007-12-12 00:28:35 -0600118 compatible = "fsl,gianfar-mdio";
119 reg = <24520 20>;
Timur Tabi74c37e82006-10-04 11:03:44 -0500120
121 /* Vitesse 8201 */
Kumar Galad71a1dc2007-02-16 09:57:22 -0600122 phy1c: ethernet-phy@1c {
123 interrupt-parent = < &ipic >;
124 interrupts = <12 8>;
Timur Tabi74c37e82006-10-04 11:03:44 -0500125 reg = <1c>;
126 device_type = "ethernet-phy";
127 };
128
129 /* Vitesse 7385 */
Kumar Galad71a1dc2007-02-16 09:57:22 -0600130 phy1f: ethernet-phy@1f {
131 interrupt-parent = < &ipic >;
132 interrupts = <12 8>;
Timur Tabi74c37e82006-10-04 11:03:44 -0500133 reg = <1f>;
134 device_type = "ethernet-phy";
135 };
136 };
137
Kumar Galae77b28e2007-12-12 00:28:35 -0600138 enet0: ethernet@24000 {
139 cell-index = <0>;
Timur Tabi74c37e82006-10-04 11:03:44 -0500140 device_type = "network";
141 model = "TSEC";
142 compatible = "gianfar";
143 reg = <24000 1000>;
Timur Tabi74c37e82006-10-04 11:03:44 -0500144 local-mac-address = [ 00 00 00 00 00 00 ];
145 interrupts = <20 8 21 8 22 8>;
Kumar Galad71a1dc2007-02-16 09:57:22 -0600146 interrupt-parent = < &ipic >;
147 phy-handle = < &phy1c >;
Grant Likelyad25a4c2007-08-31 06:26:24 +1000148 linux,network-index = <0>;
Timur Tabi74c37e82006-10-04 11:03:44 -0500149 };
150
Kumar Galae77b28e2007-12-12 00:28:35 -0600151 enet1: ethernet@25000 {
152 cell-index = <1>;
Timur Tabi74c37e82006-10-04 11:03:44 -0500153 device_type = "network";
154 model = "TSEC";
155 compatible = "gianfar";
156 reg = <25000 1000>;
Timur Tabi74c37e82006-10-04 11:03:44 -0500157 local-mac-address = [ 00 00 00 00 00 00 ];
158 interrupts = <23 8 24 8 25 8>;
Kumar Galad71a1dc2007-02-16 09:57:22 -0600159 interrupt-parent = < &ipic >;
160 phy-handle = < &phy1f >;
Grant Likelyad25a4c2007-08-31 06:26:24 +1000161 linux,network-index = <1>;
Timur Tabi74c37e82006-10-04 11:03:44 -0500162 };
163
Kumar Galaea082fa2007-12-12 01:46:12 -0600164 serial0: serial@4500 {
165 cell-index = <0>;
Timur Tabi74c37e82006-10-04 11:03:44 -0500166 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
Kumar Galaea082fa2007-12-12 01:46:12 -0600174 serial1: serial@4600 {
175 cell-index = <1>;
Timur Tabi74c37e82006-10-04 11:03:44 -0500176 device_type = "serial";
177 compatible = "ns16550";
178 reg = <4600 100>;
179 clock-frequency = <0>; // from bootloader
180 interrupts = <a 8>;
Kumar Galad71a1dc2007-02-16 09:57:22 -0600181 interrupt-parent = < &ipic >;
Timur Tabi74c37e82006-10-04 11:03:44 -0500182 };
183
Timur Tabi74c37e82006-10-04 11:03:44 -0500184 crypto@30000 {
185 device_type = "crypto";
186 model = "SEC2";
187 compatible = "talitos";
188 reg = <30000 10000>;
189 interrupts = <b 8>;
Kumar Galad71a1dc2007-02-16 09:57:22 -0600190 interrupt-parent = < &ipic >;
Timur Tabi74c37e82006-10-04 11:03:44 -0500191 num-channels = <4>;
192 channel-fifo-len = <18>;
193 exec-units-mask = <0000007e>;
194 descriptor-types-mask = <01010ebf>;
195 };
196
Kumar Galad71a1dc2007-02-16 09:57:22 -0600197 ipic: pic@700 {
Timur Tabi74c37e82006-10-04 11:03:44 -0500198 interrupt-controller;
199 #address-cells = <0>;
200 #interrupt-cells = <2>;
201 reg = <700 100>;
Timur Tabi74c37e82006-10-04 11:03:44 -0500202 device_type = "ipic";
203 };
204 };
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500205
Kumar Galaea082fa2007-12-12 01:46:12 -0600206 pci0: pci@e0008500 {
207 cell-index = <1>;
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500208 interrupt-map-mask = <f800 0 0 7>;
209 interrupt-map = <
210 /* IDSEL 0x10 - SATA */
211 8000 0 0 1 &ipic 16 8 /* SATA_INTA */
212 >;
213 interrupt-parent = < &ipic >;
214 interrupts = <42 8>;
215 bus-range = <0 0>;
216 ranges = <42000000 0 80000000 80000000 0 10000000
217 02000000 0 90000000 90000000 0 10000000
218 01000000 0 00000000 e2000000 0 01000000>;
219 clock-frequency = <3f940aa>;
220 #interrupt-cells = <1>;
221 #size-cells = <2>;
222 #address-cells = <3>;
223 reg = <e0008500 100>;
224 compatible = "fsl,mpc8349-pci";
225 device_type = "pci";
226 };
227
Kumar Galaea082fa2007-12-12 01:46:12 -0600228 pci1: pci@e0008600 {
229 cell-index = <2>;
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500230 interrupt-map-mask = <f800 0 0 7>;
231 interrupt-map = <
232 /* IDSEL 0x0E - MiniPCI Slot */
233 7000 0 0 1 &ipic 15 8 /* PCI_INTA */
234
235 /* IDSEL 0x0F - PCI Slot */
236 7800 0 0 1 &ipic 14 8 /* PCI_INTA */
237 7800 0 0 2 &ipic 15 8 /* PCI_INTB */
238 >;
239 interrupt-parent = < &ipic >;
240 interrupts = <43 8>;
241 bus-range = <0 0>;
242 ranges = <42000000 0 a0000000 a0000000 0 10000000
243 02000000 0 b0000000 b0000000 0 10000000
244 01000000 0 00000000 e3000000 0 01000000>;
245 clock-frequency = <3f940aa>;
246 #interrupt-cells = <1>;
247 #size-cells = <2>;
248 #address-cells = <3>;
249 reg = <e0008600 100>;
250 compatible = "fsl,mpc8349-pci";
251 device_type = "pci";
252 };
253
Anton Vorontsov9b6d19d2007-12-04 22:45:31 +0300254 localbus@e0005000 {
255 #address-cells = <2>;
256 #size-cells = <1>;
257 compatible = "fsl,mpc8349e-localbus",
258 "fsl,pq2pro-localbus";
259 reg = <e0005000 d8>;
260 ranges = <3 0 f0000000 210>;
Kumar Gala1b3c5cd2007-09-12 18:23:46 -0500261
Anton Vorontsov9b6d19d2007-12-04 22:45:31 +0300262 pata@3,0 {
263 compatible = "fsl,mpc8349emitx-pata", "ata-generic";
264 reg = <3 0 10 3 20c 4>;
265 reg-shift = <1>;
266 pio-mode = <6>;
267 interrupts = <17 8>;
268 interrupt-parent = <&ipic>;
269 };
270 };
Timur Tabi74c37e82006-10-04 11:03:44 -0500271};