blob: 502f47c01797215f80fb2f8cef3938c152a149c5 [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
31 32-bit;
32 };
33 };
34
35 memory {
36 device_type = "memory";
37 reg = <00000000 10000000>;
38 };
39
40 soc8349@e0000000 {
41 #address-cells = <1>;
42 #size-cells = <1>;
43 #interrupt-cells = <2>;
44 device_type = "soc";
45 ranges = <0 e0000000 00100000>;
46 reg = <e0000000 00000200>;
47 bus-frequency = <0>; // from bootloader
48
49 wdt@200 {
50 device_type = "watchdog";
51 compatible = "mpc83xx_wdt";
52 reg = <200 100>;
53 };
54
55 i2c@3000 {
56 device_type = "i2c";
57 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 {
65 device_type = "i2c";
66 compatible = "fsl-i2c";
67 reg = <3100 100>;
68 interrupts = <f 8>;
Kumar Galad71a1dc2007-02-16 09:57:22 -060069 interrupt-parent = < &ipic >;
Timur Tabi74c37e82006-10-04 11:03:44 -050070 dfsrr;
71 };
72
73 spi@7000 {
74 device_type = "spi";
75 compatible = "mpc83xx_spi";
76 reg = <7000 1000>;
77 interrupts = <10 8>;
Kumar Galad71a1dc2007-02-16 09:57:22 -060078 interrupt-parent = < &ipic >;
Timur Tabi74c37e82006-10-04 11:03:44 -050079 mode = <0>;
80 };
81
82 usb@22000 {
83 device_type = "usb";
84 compatible = "fsl-usb2-mph";
85 reg = <22000 1000>;
86 #address-cells = <1>;
87 #size-cells = <0>;
Kumar Galad71a1dc2007-02-16 09:57:22 -060088 interrupt-parent = < &ipic >;
89 interrupts = <27 8>;
Timur Tabi74c37e82006-10-04 11:03:44 -050090 phy_type = "ulpi";
91 port1;
92 };
93
94 usb@23000 {
95 device_type = "usb";
96 compatible = "fsl-usb2-dr";
97 reg = <23000 1000>;
98 #address-cells = <1>;
99 #size-cells = <0>;
Kumar Galad71a1dc2007-02-16 09:57:22 -0600100 interrupt-parent = < &ipic >;
101 interrupts = <26 8>;
Timur Tabi74c37e82006-10-04 11:03:44 -0500102 phy_type = "ulpi";
103 };
104
105 mdio@24520 {
106 device_type = "mdio";
107 compatible = "gianfar";
108 reg = <24520 20>;
109 #address-cells = <1>;
110 #size-cells = <0>;
Timur Tabi74c37e82006-10-04 11:03:44 -0500111
112 /* Vitesse 8201 */
Kumar Galad71a1dc2007-02-16 09:57:22 -0600113 phy1c: ethernet-phy@1c {
114 interrupt-parent = < &ipic >;
115 interrupts = <12 8>;
Timur Tabi74c37e82006-10-04 11:03:44 -0500116 reg = <1c>;
117 device_type = "ethernet-phy";
118 };
119
120 /* Vitesse 7385 */
Kumar Galad71a1dc2007-02-16 09:57:22 -0600121 phy1f: ethernet-phy@1f {
122 interrupt-parent = < &ipic >;
123 interrupts = <12 8>;
Timur Tabi74c37e82006-10-04 11:03:44 -0500124 reg = <1f>;
125 device_type = "ethernet-phy";
126 };
127 };
128
129 ethernet@24000 {
130 device_type = "network";
131 model = "TSEC";
132 compatible = "gianfar";
133 reg = <24000 1000>;
Timur Tabieae98262007-06-22 14:33:15 -0500134 /*
135 * address is deprecated and will be removed
136 * in 2.6.25. Only recent versions of
137 * U-Boot support local-mac-address, however.
138 */
Timur Tabi74c37e82006-10-04 11:03:44 -0500139 address = [ 00 00 00 00 00 00 ];
140 local-mac-address = [ 00 00 00 00 00 00 ];
141 interrupts = <20 8 21 8 22 8>;
Kumar Galad71a1dc2007-02-16 09:57:22 -0600142 interrupt-parent = < &ipic >;
143 phy-handle = < &phy1c >;
Timur Tabi74c37e82006-10-04 11:03:44 -0500144 };
145
146 ethernet@25000 {
147 #address-cells = <1>;
148 #size-cells = <0>;
149 device_type = "network";
150 model = "TSEC";
151 compatible = "gianfar";
152 reg = <25000 1000>;
Timur Tabieae98262007-06-22 14:33:15 -0500153 /*
154 * address is deprecated and will be removed
155 * in 2.6.25. Only recent versions of
156 * U-Boot support local-mac-address, however.
157 */
Timur Tabi74c37e82006-10-04 11:03:44 -0500158 address = [ 00 00 00 00 00 00 ];
159 local-mac-address = [ 00 00 00 00 00 00 ];
160 interrupts = <23 8 24 8 25 8>;
Kumar Galad71a1dc2007-02-16 09:57:22 -0600161 interrupt-parent = < &ipic >;
162 phy-handle = < &phy1f >;
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
183 pci@8500 {
184 interrupt-map-mask = <f800 0 0 7>;
185 interrupt-map = <
186 /* IDSEL 0x10 - SATA */
Kumar Galad71a1dc2007-02-16 09:57:22 -0600187 8000 0 0 1 &ipic 16 8 /* SATA_INTA */
Timur Tabi74c37e82006-10-04 11:03:44 -0500188 >;
Kumar Galad71a1dc2007-02-16 09:57:22 -0600189 interrupt-parent = < &ipic >;
Timur Tabi74c37e82006-10-04 11:03:44 -0500190 interrupts = <42 8>;
191 bus-range = <0 0>;
192 ranges = <42000000 0 80000000 80000000 0 10000000
193 02000000 0 90000000 90000000 0 10000000
194 01000000 0 00000000 e2000000 0 01000000>;
195 clock-frequency = <3f940aa>;
196 #interrupt-cells = <1>;
197 #size-cells = <2>;
198 #address-cells = <3>;
199 reg = <8500 100>;
Roy Zang344ffde2007-07-10 18:47:21 +0800200 compatible = "fsl,mpc8349-pci";
Timur Tabi74c37e82006-10-04 11:03:44 -0500201 device_type = "pci";
202 };
203
204 pci@8600 {
205 interrupt-map-mask = <f800 0 0 7>;
206 interrupt-map = <
207 /* IDSEL 0x0E - MiniPCI Slot */
Kumar Galad71a1dc2007-02-16 09:57:22 -0600208 7000 0 0 1 &ipic 15 8 /* PCI_INTA */
Timur Tabi74c37e82006-10-04 11:03:44 -0500209
210 /* IDSEL 0x0F - PCI Slot */
Kumar Galad71a1dc2007-02-16 09:57:22 -0600211 7800 0 0 1 &ipic 14 8 /* PCI_INTA */
212 7800 0 0 2 &ipic 15 8 /* PCI_INTB */
Timur Tabi74c37e82006-10-04 11:03:44 -0500213 >;
Kumar Galad71a1dc2007-02-16 09:57:22 -0600214 interrupt-parent = < &ipic >;
Timur Tabi74c37e82006-10-04 11:03:44 -0500215 interrupts = <43 8>;
216 bus-range = <1 1>;
217 ranges = <42000000 0 a0000000 a0000000 0 10000000
218 02000000 0 b0000000 b0000000 0 10000000
219 01000000 0 00000000 e3000000 0 01000000>;
220 clock-frequency = <3f940aa>;
221 #interrupt-cells = <1>;
222 #size-cells = <2>;
223 #address-cells = <3>;
224 reg = <8600 100>;
Roy Zang344ffde2007-07-10 18:47:21 +0800225 compatible = "fsl,mpc8349-pci";
Timur Tabi74c37e82006-10-04 11:03:44 -0500226 device_type = "pci";
227 };
228
229 crypto@30000 {
230 device_type = "crypto";
231 model = "SEC2";
232 compatible = "talitos";
233 reg = <30000 10000>;
234 interrupts = <b 8>;
Kumar Galad71a1dc2007-02-16 09:57:22 -0600235 interrupt-parent = < &ipic >;
Timur Tabi74c37e82006-10-04 11:03:44 -0500236 num-channels = <4>;
237 channel-fifo-len = <18>;
238 exec-units-mask = <0000007e>;
239 descriptor-types-mask = <01010ebf>;
240 };
241
Kumar Galad71a1dc2007-02-16 09:57:22 -0600242 ipic: pic@700 {
Timur Tabi74c37e82006-10-04 11:03:44 -0500243 interrupt-controller;
244 #address-cells = <0>;
245 #interrupt-cells = <2>;
246 reg = <700 100>;
247 built-in;
248 device_type = "ipic";
249 };
250 };
251};