1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * MPC8323E EMDS Device Tree Source
5 * Copyright 2006 Freescale Semiconductor Inc.
8 * To enable external serial I/O on a Freescale MPC 8323 SYS/MDS board, do
11 * 1) On chip U61, lift (disconnect) pins 21 (TXD) and 22 (RXD) from the board.
12 * 2) Solder a wire from U61-21 to P19A-23. P19 is a grid of pins on the board
13 * next to the serial ports.
14 * 3) Solder a wire from U61-22 to P19K-22.
16 * Note that there's a typo in the schematic. The board labels the last column
17 * of pins "P19K", but in the schematic, that column is called "P19J". So if
18 * you're going by the schematic, the pin is called "P19J-K22".
24 model = "MPC8323EMDS";
25 compatible = "MPC8323EMDS", "MPC832xMDS", "MPC83xxMDS";
44 d-cache-line-size = <32>; // 32 bytes
45 i-cache-line-size = <32>; // 32 bytes
46 d-cache-size = <16384>; // L1, 16K
47 i-cache-size = <16384>; // L1, 16K
48 timebase-frequency = <0>;
50 clock-frequency = <0>;
55 device_type = "memory";
56 reg = <0x00000000 0x08000000>;
60 compatible = "fsl,mpc8323mds-bcsr";
61 reg = <0xf8000000 0x8000>;
68 compatible = "simple-bus";
69 ranges = <0x0 0xe0000000 0x00100000>;
70 reg = <0xe0000000 0x00000200>;
71 bus-frequency = <132000000>;
74 device_type = "watchdog";
75 compatible = "mpc83xx_wdt";
80 compatible = "fsl,mpc8323-pmc", "fsl,mpc8349-pmc";
81 reg = <0xb00 0x100 0xa00 0x100>;
82 interrupts = <80 0x8>;
83 interrupt-parent = <&ipic>;
90 compatible = "fsl-i2c";
92 interrupts = <14 0x8>;
93 interrupt-parent = <&ipic>;
97 compatible = "dallas,ds1374";
102 serial0: serial@4500 {
104 device_type = "serial";
105 compatible = "fsl,ns16550", "ns16550";
106 reg = <0x4500 0x100>;
107 clock-frequency = <0>;
108 interrupts = <9 0x8>;
109 interrupt-parent = <&ipic>;
112 serial1: serial@4600 {
114 device_type = "serial";
115 compatible = "fsl,ns16550", "ns16550";
116 reg = <0x4600 0x100>;
117 clock-frequency = <0>;
118 interrupts = <10 0x8>;
119 interrupt-parent = <&ipic>;
123 #address-cells = <1>;
125 compatible = "fsl,mpc8323-dma", "fsl,elo-dma";
127 ranges = <0 0x8100 0x1a8>;
128 interrupt-parent = <&ipic>;
132 compatible = "fsl,mpc8323-dma-channel", "fsl,elo-dma-channel";
135 interrupt-parent = <&ipic>;
139 compatible = "fsl,mpc8323-dma-channel", "fsl,elo-dma-channel";
142 interrupt-parent = <&ipic>;
146 compatible = "fsl,mpc8323-dma-channel", "fsl,elo-dma-channel";
149 interrupt-parent = <&ipic>;
153 compatible = "fsl,mpc8323-dma-channel", "fsl,elo-dma-channel";
156 interrupt-parent = <&ipic>;
162 compatible = "fsl,sec2.2", "fsl,sec2.1", "fsl,sec2.0";
163 reg = <0x30000 0x10000>;
164 interrupts = <11 0x8>;
165 interrupt-parent = <&ipic>;
166 fsl,num-channels = <1>;
167 fsl,channel-fifo-len = <24>;
168 fsl,exec-units-mask = <0x4c>;
169 fsl,descriptor-types-mask = <0x0122003f>;
170 sleep = <&pmc 0x03000000>;
174 interrupt-controller;
175 #address-cells = <0>;
176 #interrupt-cells = <2>;
178 device_type = "ipic";
182 reg = <0x1400 0x100>;
183 device_type = "par_io";
188 /* port pin dir open_drain assignment has_irq */
189 3 4 3 0 2 0 /* MDIO */
190 3 5 1 0 2 0 /* MDC */
191 0 13 2 0 1 0 /* RX_CLK (CLK9) */
192 3 24 2 0 1 0 /* TX_CLK (CLK10) */
193 1 0 1 0 1 0 /* TxD0 */
194 1 1 1 0 1 0 /* TxD1 */
195 1 2 1 0 1 0 /* TxD2 */
196 1 3 1 0 1 0 /* TxD3 */
197 1 4 2 0 1 0 /* RxD0 */
198 1 5 2 0 1 0 /* RxD1 */
199 1 6 2 0 1 0 /* RxD2 */
200 1 7 2 0 1 0 /* RxD3 */
201 1 8 2 0 1 0 /* RX_ER */
202 1 9 1 0 1 0 /* TX_ER */
203 1 10 2 0 1 0 /* RX_DV */
204 1 11 2 0 1 0 /* COL */
205 1 12 1 0 1 0 /* TX_EN */
206 1 13 2 0 1 0>; /* CRS */
210 /* port pin dir open_drain assignment has_irq */
211 3 31 2 0 1 0 /* RX_CLK (CLK7) */
212 3 6 2 0 1 0 /* TX_CLK (CLK8) */
213 1 18 1 0 1 0 /* TxD0 */
214 1 19 1 0 1 0 /* TxD1 */
215 1 20 1 0 1 0 /* TxD2 */
216 1 21 1 0 1 0 /* TxD3 */
217 1 22 2 0 1 0 /* RxD0 */
218 1 23 2 0 1 0 /* RxD1 */
219 1 24 2 0 1 0 /* RxD2 */
220 1 25 2 0 1 0 /* RxD3 */
221 1 26 2 0 1 0 /* RX_ER */
222 1 27 1 0 1 0 /* TX_ER */
223 1 28 2 0 1 0 /* RX_DV */
224 1 29 2 0 1 0 /* COL */
225 1 30 1 0 1 0 /* TX_EN */
226 1 31 2 0 1 0>; /* CRS */
232 * port pin dir drain sel irq
234 2 0 1 0 2 0 /* TxD5 */
235 2 8 2 0 2 0 /* RxD5 */
237 2 29 2 0 0 0 /* CTS5 */
238 2 31 1 0 2 0 /* RTS5 */
240 2 24 2 0 0 0 /* CD */
249 #address-cells = <1>;
252 compatible = "fsl,qe";
253 ranges = <0x0 0xe0100000 0x00100000>;
254 reg = <0xe0100000 0x480>;
256 bus-frequency = <198000000>;
257 fsl,qe-num-riscs = <1>;
258 fsl,qe-num-snums = <28>;
261 #address-cells = <1>;
263 compatible = "fsl,qe-muram", "fsl,cpm-muram";
264 ranges = <0x0 0x00010000 0x00004000>;
267 compatible = "fsl,qe-muram-data",
268 "fsl,cpm-muram-data";
275 compatible = "fsl,spi";
278 interrupt-parent = <&qeic>;
284 compatible = "fsl,spi";
287 interrupt-parent = <&qeic>;
292 compatible = "qe_udc";
293 reg = <0x6c0 0x40 0x8b00 0x100>;
295 interrupt-parent = <&qeic>;
300 device_type = "network";
301 compatible = "ucc_geth";
303 reg = <0x2200 0x200>;
305 interrupt-parent = <&qeic>;
306 local-mac-address = [ 00 00 00 00 00 00 ];
307 rx-clock-name = "clk9";
308 tx-clock-name = "clk10";
309 phy-handle = <&phy3>;
310 pio-handle = <&pio3>;
314 device_type = "network";
315 compatible = "ucc_geth";
317 reg = <0x3200 0x200>;
319 interrupt-parent = <&qeic>;
320 local-mac-address = [ 00 00 00 00 00 00 ];
321 rx-clock-name = "clk7";
322 tx-clock-name = "clk8";
323 phy-handle = <&phy4>;
324 pio-handle = <&pio4>;
328 device_type = "serial";
329 compatible = "ucc_uart";
330 cell-index = <5>; /* The UCC number, 1-7*/
331 port-number = <0>; /* Which ttyQEx device */
332 soft-uart; /* We need Soft-UART */
333 reg = <0x2400 0x200>;
334 interrupts = <40>; /* From Table 18-12 */
335 interrupt-parent = < &qeic >;
337 * For Soft-UART, we need to set TX to 1X, which
338 * means specifying separate clock sources.
340 rx-clock-name = "brg5";
341 tx-clock-name = "brg6";
342 pio-handle = < &pio5 >;
347 #address-cells = <1>;
350 compatible = "fsl,ucc-mdio";
352 phy3: ethernet-phy@3 {
353 interrupt-parent = <&ipic>;
354 interrupts = <17 0x8>;
357 phy4: ethernet-phy@4 {
358 interrupt-parent = <&ipic>;
359 interrupts = <18 0x8>;
364 qeic: interrupt-controller@80 {
365 interrupt-controller;
366 compatible = "fsl,qe-ic";
367 #address-cells = <0>;
368 #interrupt-cells = <1>;
371 interrupts = <32 0x8 33 0x8>; //high:32 low:33
372 interrupt-parent = <&ipic>;
377 interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
379 /* IDSEL 0x11 AD17 */
380 0x8800 0x0 0x0 0x1 &ipic 20 0x8
381 0x8800 0x0 0x0 0x2 &ipic 21 0x8
382 0x8800 0x0 0x0 0x3 &ipic 22 0x8
383 0x8800 0x0 0x0 0x4 &ipic 23 0x8
385 /* IDSEL 0x12 AD18 */
386 0x9000 0x0 0x0 0x1 &ipic 22 0x8
387 0x9000 0x0 0x0 0x2 &ipic 23 0x8
388 0x9000 0x0 0x0 0x3 &ipic 20 0x8
389 0x9000 0x0 0x0 0x4 &ipic 21 0x8
391 /* IDSEL 0x13 AD19 */
392 0x9800 0x0 0x0 0x1 &ipic 23 0x8
393 0x9800 0x0 0x0 0x2 &ipic 20 0x8
394 0x9800 0x0 0x0 0x3 &ipic 21 0x8
395 0x9800 0x0 0x0 0x4 &ipic 22 0x8
398 0xa800 0x0 0x0 0x1 &ipic 20 0x8
399 0xa800 0x0 0x0 0x2 &ipic 21 0x8
400 0xa800 0x0 0x0 0x3 &ipic 22 0x8
401 0xa800 0x0 0x0 0x4 &ipic 23 0x8
404 0xb000 0x0 0x0 0x1 &ipic 23 0x8
405 0xb000 0x0 0x0 0x2 &ipic 20 0x8
406 0xb000 0x0 0x0 0x3 &ipic 21 0x8
407 0xb000 0x0 0x0 0x4 &ipic 22 0x8
410 0xb800 0x0 0x0 0x1 &ipic 22 0x8
411 0xb800 0x0 0x0 0x2 &ipic 23 0x8
412 0xb800 0x0 0x0 0x3 &ipic 20 0x8
413 0xb800 0x0 0x0 0x4 &ipic 21 0x8
416 0xc000 0x0 0x0 0x1 &ipic 21 0x8
417 0xc000 0x0 0x0 0x2 &ipic 22 0x8
418 0xc000 0x0 0x0 0x3 &ipic 23 0x8
419 0xc000 0x0 0x0 0x4 &ipic 20 0x8>;
420 interrupt-parent = <&ipic>;
421 interrupts = <66 0x8>;
422 bus-range = <0x0 0x0>;
423 ranges = <0x02000000 0x0 0x90000000 0x90000000 0x0 0x10000000
424 0x42000000 0x0 0x80000000 0x80000000 0x0 0x10000000
425 0x01000000 0x0 0x00000000 0xd0000000 0x0 0x00100000>;
426 clock-frequency = <0>;
427 #interrupt-cells = <1>;
429 #address-cells = <3>;
430 reg = <0xe0008500 0x100 /* internal registers */
431 0xe0008300 0x8>; /* config space access registers */
432 compatible = "fsl,mpc8349-pci";
434 sleep = <&pmc 0x00010000>;