blob: b5b0ec2eb88f16a9e72acb311ed13ea741f5d9cc [file] [log] [blame]
Michael Barkowski23308c52007-03-19 09:15:28 -05001/*
2 * MPC832x RDB 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
Paul Gortmakercda13dd2008-01-28 16:09:36 -050012/dts-v1/;
13
Michael Barkowski23308c52007-03-19 09:15:28 -050014/ {
15 model = "MPC8323ERDB";
16 compatible = "MPC8323ERDB", "MPC832xRDB", "MPC83xxRDB";
17 #address-cells = <1>;
18 #size-cells = <1>;
19
Kumar Galaea082fa2007-12-12 01:46:12 -060020 aliases {
21 ethernet0 = &enet0;
22 ethernet1 = &enet1;
23 serial0 = &serial0;
24 serial1 = &serial1;
25 pci0 = &pci0;
26 };
27
Michael Barkowski23308c52007-03-19 09:15:28 -050028 cpus {
29 #address-cells = <1>;
30 #size-cells = <0>;
31
32 PowerPC,8323@0 {
33 device_type = "cpu";
Paul Gortmakercda13dd2008-01-28 16:09:36 -050034 reg = <0x0>;
35 d-cache-line-size = <0x20>; // 32 bytes
36 i-cache-line-size = <0x20>; // 32 bytes
37 d-cache-size = <16384>; // L1, 16K
38 i-cache-size = <16384>; // L1, 16K
Michael Barkowski23308c52007-03-19 09:15:28 -050039 timebase-frequency = <0>;
40 bus-frequency = <0>;
41 clock-frequency = <0>;
Michael Barkowski23308c52007-03-19 09:15:28 -050042 };
43 };
44
45 memory {
46 device_type = "memory";
Paul Gortmakercda13dd2008-01-28 16:09:36 -050047 reg = <0x00000000 0x04000000>;
Michael Barkowski23308c52007-03-19 09:15:28 -050048 };
49
50 soc8323@e0000000 {
51 #address-cells = <1>;
52 #size-cells = <1>;
Michael Barkowski23308c52007-03-19 09:15:28 -050053 device_type = "soc";
Kim Phillipscf0d19f2008-07-29 15:29:24 -050054 compatible = "simple-bus";
Paul Gortmakercda13dd2008-01-28 16:09:36 -050055 ranges = <0x0 0xe0000000 0x00100000>;
56 reg = <0xe0000000 0x00000200>;
Michael Barkowski23308c52007-03-19 09:15:28 -050057 bus-frequency = <0>;
58
59 wdt@200 {
60 device_type = "watchdog";
61 compatible = "mpc83xx_wdt";
Paul Gortmakercda13dd2008-01-28 16:09:36 -050062 reg = <0x200 0x100>;
Michael Barkowski23308c52007-03-19 09:15:28 -050063 };
64
65 i2c@3000 {
Kumar Galaec9686c2007-12-11 23:17:24 -060066 #address-cells = <1>;
67 #size-cells = <0>;
68 cell-index = <0>;
Michael Barkowski23308c52007-03-19 09:15:28 -050069 compatible = "fsl-i2c";
Paul Gortmakercda13dd2008-01-28 16:09:36 -050070 reg = <0x3000 0x100>;
71 interrupts = <14 0x8>;
Kumar Galadee80552008-06-27 13:45:19 -050072 interrupt-parent = <&ipic>;
Michael Barkowski23308c52007-03-19 09:15:28 -050073 dfsrr;
74 };
75
Kumar Galaea082fa2007-12-12 01:46:12 -060076 serial0: serial@4500 {
77 cell-index = <0>;
Michael Barkowski23308c52007-03-19 09:15:28 -050078 device_type = "serial";
79 compatible = "ns16550";
Paul Gortmakercda13dd2008-01-28 16:09:36 -050080 reg = <0x4500 0x100>;
Michael Barkowski23308c52007-03-19 09:15:28 -050081 clock-frequency = <0>;
Paul Gortmakercda13dd2008-01-28 16:09:36 -050082 interrupts = <9 0x8>;
Kumar Galadee80552008-06-27 13:45:19 -050083 interrupt-parent = <&ipic>;
Michael Barkowski23308c52007-03-19 09:15:28 -050084 };
85
Kumar Galaea082fa2007-12-12 01:46:12 -060086 serial1: serial@4600 {
87 cell-index = <1>;
Michael Barkowski23308c52007-03-19 09:15:28 -050088 device_type = "serial";
89 compatible = "ns16550";
Paul Gortmakercda13dd2008-01-28 16:09:36 -050090 reg = <0x4600 0x100>;
Michael Barkowski23308c52007-03-19 09:15:28 -050091 clock-frequency = <0>;
Paul Gortmakercda13dd2008-01-28 16:09:36 -050092 interrupts = <10 0x8>;
Kumar Galadee80552008-06-27 13:45:19 -050093 interrupt-parent = <&ipic>;
94 };
95
96 dma@82a8 {
97 #address-cells = <1>;
98 #size-cells = <1>;
99 compatible = "fsl,mpc8323-dma", "fsl,elo-dma";
100 reg = <0x82a8 4>;
101 ranges = <0 0x8100 0x1a8>;
102 interrupt-parent = <&ipic>;
103 interrupts = <71 8>;
104 cell-index = <0>;
105 dma-channel@0 {
106 compatible = "fsl,mpc8323-dma-channel", "fsl,elo-dma-channel";
107 reg = <0 0x80>;
Kumar Galaaeb42762008-09-23 22:05:10 -0500108 cell-index = <0>;
Kumar Galadee80552008-06-27 13:45:19 -0500109 interrupt-parent = <&ipic>;
110 interrupts = <71 8>;
111 };
112 dma-channel@80 {
113 compatible = "fsl,mpc8323-dma-channel", "fsl,elo-dma-channel";
114 reg = <0x80 0x80>;
Kumar Galaaeb42762008-09-23 22:05:10 -0500115 cell-index = <1>;
Kumar Galadee80552008-06-27 13:45:19 -0500116 interrupt-parent = <&ipic>;
117 interrupts = <71 8>;
118 };
119 dma-channel@100 {
120 compatible = "fsl,mpc8323-dma-channel", "fsl,elo-dma-channel";
121 reg = <0x100 0x80>;
Kumar Galaaeb42762008-09-23 22:05:10 -0500122 cell-index = <2>;
Kumar Galadee80552008-06-27 13:45:19 -0500123 interrupt-parent = <&ipic>;
124 interrupts = <71 8>;
125 };
126 dma-channel@180 {
127 compatible = "fsl,mpc8323-dma-channel", "fsl,elo-dma-channel";
128 reg = <0x180 0x28>;
Kumar Galaaeb42762008-09-23 22:05:10 -0500129 cell-index = <3>;
Kumar Galadee80552008-06-27 13:45:19 -0500130 interrupt-parent = <&ipic>;
131 interrupts = <71 8>;
132 };
Michael Barkowski23308c52007-03-19 09:15:28 -0500133 };
134
135 crypto@30000 {
Kim Phillips3fd44732008-07-08 19:13:33 -0500136 compatible = "fsl,sec2.2", "fsl,sec2.1", "fsl,sec2.0";
137 reg = <0x30000 0x10000>;
Paul Gortmakercda13dd2008-01-28 16:09:36 -0500138 interrupts = <11 0x8>;
Kumar Galadee80552008-06-27 13:45:19 -0500139 interrupt-parent = <&ipic>;
Kim Phillips3fd44732008-07-08 19:13:33 -0500140 fsl,num-channels = <1>;
141 fsl,channel-fifo-len = <24>;
142 fsl,exec-units-mask = <0x4c>;
143 fsl,descriptor-types-mask = <0x0122003f>;
Michael Barkowski23308c52007-03-19 09:15:28 -0500144 };
145
Kumar Galadee80552008-06-27 13:45:19 -0500146 ipic:pic@700 {
Michael Barkowski23308c52007-03-19 09:15:28 -0500147 interrupt-controller;
148 #address-cells = <0>;
149 #interrupt-cells = <2>;
Paul Gortmakercda13dd2008-01-28 16:09:36 -0500150 reg = <0x700 0x100>;
Michael Barkowski23308c52007-03-19 09:15:28 -0500151 device_type = "ipic";
152 };
153
154 par_io@1400 {
Paul Gortmakercda13dd2008-01-28 16:09:36 -0500155 reg = <0x1400 0x100>;
Michael Barkowski23308c52007-03-19 09:15:28 -0500156 device_type = "par_io";
157 num-ports = <7>;
158
159 ucc2pio:ucc_pin@02 {
160 pio-map = <
161 /* port pin dir open_drain assignment has_irq */
162 3 4 3 0 2 0 /* MDIO */
163 3 5 1 0 2 0 /* MDC */
Paul Gortmakercda13dd2008-01-28 16:09:36 -0500164 3 21 2 0 1 0 /* RX_CLK (CLK16) */
165 3 23 2 0 1 0 /* TX_CLK (CLK3) */
166 0 18 1 0 1 0 /* TxD0 */
167 0 19 1 0 1 0 /* TxD1 */
168 0 20 1 0 1 0 /* TxD2 */
169 0 21 1 0 1 0 /* TxD3 */
170 0 22 2 0 1 0 /* RxD0 */
171 0 23 2 0 1 0 /* RxD1 */
172 0 24 2 0 1 0 /* RxD2 */
173 0 25 2 0 1 0 /* RxD3 */
174 0 26 2 0 1 0 /* RX_ER */
175 0 27 1 0 1 0 /* TX_ER */
176 0 28 2 0 1 0 /* RX_DV */
177 0 29 2 0 1 0 /* COL */
178 0 30 1 0 1 0 /* TX_EN */
179 0 31 2 0 1 0>; /* CRS */
Michael Barkowski23308c52007-03-19 09:15:28 -0500180 };
181 ucc3pio:ucc_pin@03 {
182 pio-map = <
183 /* port pin dir open_drain assignment has_irq */
Paul Gortmakercda13dd2008-01-28 16:09:36 -0500184 0 13 2 0 1 0 /* RX_CLK (CLK9) */
185 3 24 2 0 1 0 /* TX_CLK (CLK10) */
Michael Barkowski23308c52007-03-19 09:15:28 -0500186 1 0 1 0 1 0 /* TxD0 */
187 1 1 1 0 1 0 /* TxD1 */
188 1 2 1 0 1 0 /* TxD2 */
189 1 3 1 0 1 0 /* TxD3 */
190 1 4 2 0 1 0 /* RxD0 */
191 1 5 2 0 1 0 /* RxD1 */
192 1 6 2 0 1 0 /* RxD2 */
193 1 7 2 0 1 0 /* RxD3 */
194 1 8 2 0 1 0 /* RX_ER */
195 1 9 1 0 1 0 /* TX_ER */
Paul Gortmakercda13dd2008-01-28 16:09:36 -0500196 1 10 2 0 1 0 /* RX_DV */
197 1 11 2 0 1 0 /* COL */
198 1 12 1 0 1 0 /* TX_EN */
199 1 13 2 0 1 0>; /* CRS */
Michael Barkowski23308c52007-03-19 09:15:28 -0500200 };
201 };
202 };
203
204 qe@e0100000 {
205 #address-cells = <1>;
206 #size-cells = <1>;
207 device_type = "qe";
Anton Vorontsova2dd70a2008-01-24 18:39:59 +0300208 compatible = "fsl,qe";
Paul Gortmakercda13dd2008-01-28 16:09:36 -0500209 ranges = <0x0 0xe0100000 0x00100000>;
210 reg = <0xe0100000 0x480>;
Michael Barkowski23308c52007-03-19 09:15:28 -0500211 brg-frequency = <0>;
Paul Gortmakercda13dd2008-01-28 16:09:36 -0500212 bus-frequency = <198000000>;
Michael Barkowski23308c52007-03-19 09:15:28 -0500213
214 muram@10000 {
Paul Gortmaker390167e2008-01-28 02:27:51 -0500215 #address-cells = <1>;
216 #size-cells = <1>;
Anton Vorontsova2dd70a2008-01-24 18:39:59 +0300217 compatible = "fsl,qe-muram", "fsl,cpm-muram";
Paul Gortmakercda13dd2008-01-28 16:09:36 -0500218 ranges = <0x0 0x00010000 0x00004000>;
Michael Barkowski23308c52007-03-19 09:15:28 -0500219
220 data-only@0 {
Anton Vorontsova2dd70a2008-01-24 18:39:59 +0300221 compatible = "fsl,qe-muram-data",
222 "fsl,cpm-muram-data";
Paul Gortmakercda13dd2008-01-28 16:09:36 -0500223 reg = <0x0 0x4000>;
Michael Barkowski23308c52007-03-19 09:15:28 -0500224 };
225 };
226
227 spi@4c0 {
Anton Vorontsovf3a2b292008-01-24 18:40:07 +0300228 cell-index = <0>;
229 compatible = "fsl,spi";
Paul Gortmakercda13dd2008-01-28 16:09:36 -0500230 reg = <0x4c0 0x40>;
Michael Barkowski23308c52007-03-19 09:15:28 -0500231 interrupts = <2>;
232 interrupt-parent = <&qeic>;
Anton Vorontsov8237bf02007-08-23 15:36:00 +0400233 mode = "cpu-qe";
Michael Barkowski23308c52007-03-19 09:15:28 -0500234 };
235
236 spi@500 {
Anton Vorontsovf3a2b292008-01-24 18:40:07 +0300237 cell-index = <1>;
238 compatible = "fsl,spi";
Paul Gortmakercda13dd2008-01-28 16:09:36 -0500239 reg = <0x500 0x40>;
Michael Barkowski23308c52007-03-19 09:15:28 -0500240 interrupts = <1>;
241 interrupt-parent = <&qeic>;
242 mode = "cpu";
243 };
244
Kumar Galae77b28e2007-12-12 00:28:35 -0600245 enet0: ucc@3000 {
Michael Barkowski23308c52007-03-19 09:15:28 -0500246 device_type = "network";
247 compatible = "ucc_geth";
Kumar Galae77b28e2007-12-12 00:28:35 -0600248 cell-index = <2>;
Paul Gortmakercda13dd2008-01-28 16:09:36 -0500249 reg = <0x3000 0x200>;
250 interrupts = <33>;
Michael Barkowski23308c52007-03-19 09:15:28 -0500251 interrupt-parent = <&qeic>;
Timur Tabieae98262007-06-22 14:33:15 -0500252 local-mac-address = [ 00 00 00 00 00 00 ];
Timur Tabi9fb1e352007-12-03 15:17:59 -0600253 rx-clock-name = "clk16";
254 tx-clock-name = "clk3";
Michael Barkowski23308c52007-03-19 09:15:28 -0500255 phy-handle = <&phy00>;
256 pio-handle = <&ucc2pio>;
257 };
258
Kumar Galae77b28e2007-12-12 00:28:35 -0600259 enet1: ucc@2200 {
Michael Barkowski23308c52007-03-19 09:15:28 -0500260 device_type = "network";
261 compatible = "ucc_geth";
Kumar Galae77b28e2007-12-12 00:28:35 -0600262 cell-index = <3>;
Paul Gortmakercda13dd2008-01-28 16:09:36 -0500263 reg = <0x2200 0x200>;
264 interrupts = <34>;
Michael Barkowski23308c52007-03-19 09:15:28 -0500265 interrupt-parent = <&qeic>;
Timur Tabieae98262007-06-22 14:33:15 -0500266 local-mac-address = [ 00 00 00 00 00 00 ];
Timur Tabi9fb1e352007-12-03 15:17:59 -0600267 rx-clock-name = "clk9";
268 tx-clock-name = "clk10";
Michael Barkowski23308c52007-03-19 09:15:28 -0500269 phy-handle = <&phy04>;
270 pio-handle = <&ucc3pio>;
271 };
272
273 mdio@3120 {
274 #address-cells = <1>;
275 #size-cells = <0>;
Paul Gortmakercda13dd2008-01-28 16:09:36 -0500276 reg = <0x3120 0x18>;
Anton Vorontsovd0a2f822008-01-24 18:40:01 +0300277 compatible = "fsl,ucc-mdio";
Michael Barkowski23308c52007-03-19 09:15:28 -0500278
279 phy00:ethernet-phy@00 {
Kumar Galadee80552008-06-27 13:45:19 -0500280 interrupt-parent = <&ipic>;
Michael Barkowski23308c52007-03-19 09:15:28 -0500281 interrupts = <0>;
Paul Gortmakercda13dd2008-01-28 16:09:36 -0500282 reg = <0x0>;
Michael Barkowski23308c52007-03-19 09:15:28 -0500283 device_type = "ethernet-phy";
Michael Barkowski23308c52007-03-19 09:15:28 -0500284 };
285 phy04:ethernet-phy@04 {
Kumar Galadee80552008-06-27 13:45:19 -0500286 interrupt-parent = <&ipic>;
Michael Barkowski23308c52007-03-19 09:15:28 -0500287 interrupts = <0>;
Paul Gortmakercda13dd2008-01-28 16:09:36 -0500288 reg = <0x4>;
Michael Barkowski23308c52007-03-19 09:15:28 -0500289 device_type = "ethernet-phy";
Michael Barkowski23308c52007-03-19 09:15:28 -0500290 };
291 };
292
Anton Vorontsova2dd70a2008-01-24 18:39:59 +0300293 qeic:interrupt-controller@80 {
Michael Barkowski23308c52007-03-19 09:15:28 -0500294 interrupt-controller;
Anton Vorontsova2dd70a2008-01-24 18:39:59 +0300295 compatible = "fsl,qe-ic";
Michael Barkowski23308c52007-03-19 09:15:28 -0500296 #address-cells = <0>;
297 #interrupt-cells = <1>;
Paul Gortmakercda13dd2008-01-28 16:09:36 -0500298 reg = <0x80 0x80>;
Michael Barkowski23308c52007-03-19 09:15:28 -0500299 big-endian;
Paul Gortmakercda13dd2008-01-28 16:09:36 -0500300 interrupts = <32 0x8 33 0x8>; //high:32 low:33
Kumar Galadee80552008-06-27 13:45:19 -0500301 interrupt-parent = <&ipic>;
Michael Barkowski23308c52007-03-19 09:15:28 -0500302 };
303 };
Kumar Gala1b3c5cda2007-09-12 18:23:46 -0500304
Kumar Galaea082fa2007-12-12 01:46:12 -0600305 pci0: pci@e0008500 {
306 cell-index = <1>;
Paul Gortmakercda13dd2008-01-28 16:09:36 -0500307 interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
Kumar Gala1b3c5cda2007-09-12 18:23:46 -0500308 interrupt-map = <
309 /* IDSEL 0x10 AD16 (USB) */
Kumar Galadee80552008-06-27 13:45:19 -0500310 0x8000 0x0 0x0 0x1 &ipic 17 0x8
Kumar Gala1b3c5cda2007-09-12 18:23:46 -0500311
312 /* IDSEL 0x11 AD17 (Mini1)*/
Kumar Galadee80552008-06-27 13:45:19 -0500313 0x8800 0x0 0x0 0x1 &ipic 18 0x8
314 0x8800 0x0 0x0 0x2 &ipic 19 0x8
315 0x8800 0x0 0x0 0x3 &ipic 20 0x8
316 0x8800 0x0 0x0 0x4 &ipic 48 0x8
Kumar Gala1b3c5cda2007-09-12 18:23:46 -0500317
318 /* IDSEL 0x12 AD18 (PCI/Mini2) */
Kumar Galadee80552008-06-27 13:45:19 -0500319 0x9000 0x0 0x0 0x1 &ipic 19 0x8
320 0x9000 0x0 0x0 0x2 &ipic 20 0x8
321 0x9000 0x0 0x0 0x3 &ipic 48 0x8
322 0x9000 0x0 0x0 0x4 &ipic 17 0x8>;
Kumar Gala1b3c5cda2007-09-12 18:23:46 -0500323
Kumar Galadee80552008-06-27 13:45:19 -0500324 interrupt-parent = <&ipic>;
Paul Gortmakercda13dd2008-01-28 16:09:36 -0500325 interrupts = <66 0x8>;
326 bus-range = <0x0 0x0>;
327 ranges = <0x42000000 0x0 0x80000000 0x80000000 0x0 0x10000000
328 0x02000000 0x0 0x90000000 0x90000000 0x0 0x10000000
329 0x01000000 0x0 0xd0000000 0xd0000000 0x0 0x04000000>;
Kumar Gala1b3c5cda2007-09-12 18:23:46 -0500330 clock-frequency = <0>;
331 #interrupt-cells = <1>;
332 #size-cells = <2>;
333 #address-cells = <3>;
Paul Gortmakercda13dd2008-01-28 16:09:36 -0500334 reg = <0xe0008500 0x100>;
Kumar Gala1b3c5cda2007-09-12 18:23:46 -0500335 compatible = "fsl,mpc8349-pci";
336 device_type = "pci";
337 };
Michael Barkowski23308c52007-03-19 09:15:28 -0500338};