18c2ecf20Sopenharmony_ci// SPDX-License-Identifier: GPL-2.0-or-later
28c2ecf20Sopenharmony_ci/*
38c2ecf20Sopenharmony_ci * MPC8323E EMDS Device Tree Source
48c2ecf20Sopenharmony_ci *
58c2ecf20Sopenharmony_ci * Copyright 2006 Freescale Semiconductor Inc.
68c2ecf20Sopenharmony_ci *
78c2ecf20Sopenharmony_ci
88c2ecf20Sopenharmony_ci * To enable external serial I/O on a Freescale MPC 8323 SYS/MDS board, do
98c2ecf20Sopenharmony_ci * this:
108c2ecf20Sopenharmony_ci *
118c2ecf20Sopenharmony_ci * 1) On chip U61, lift (disconnect) pins 21 (TXD) and 22 (RXD) from the board.
128c2ecf20Sopenharmony_ci * 2) Solder a wire from U61-21 to P19A-23.  P19 is a grid of pins on the board
138c2ecf20Sopenharmony_ci *    next to the serial ports.
148c2ecf20Sopenharmony_ci * 3) Solder a wire from U61-22 to P19K-22.
158c2ecf20Sopenharmony_ci *
168c2ecf20Sopenharmony_ci * Note that there's a typo in the schematic.  The board labels the last column
178c2ecf20Sopenharmony_ci * of pins "P19K", but in the schematic, that column is called "P19J".  So if
188c2ecf20Sopenharmony_ci * you're going by the schematic, the pin is called "P19J-K22".
198c2ecf20Sopenharmony_ci */
208c2ecf20Sopenharmony_ci
218c2ecf20Sopenharmony_ci/dts-v1/;
228c2ecf20Sopenharmony_ci
238c2ecf20Sopenharmony_ci/ {
248c2ecf20Sopenharmony_ci	model = "MPC8323EMDS";
258c2ecf20Sopenharmony_ci	compatible = "MPC8323EMDS", "MPC832xMDS", "MPC83xxMDS";
268c2ecf20Sopenharmony_ci	#address-cells = <1>;
278c2ecf20Sopenharmony_ci	#size-cells = <1>;
288c2ecf20Sopenharmony_ci
298c2ecf20Sopenharmony_ci	aliases {
308c2ecf20Sopenharmony_ci		ethernet0 = &enet0;
318c2ecf20Sopenharmony_ci		ethernet1 = &enet1;
328c2ecf20Sopenharmony_ci		serial0 = &serial0;
338c2ecf20Sopenharmony_ci		serial1 = &serial1;
348c2ecf20Sopenharmony_ci		pci0 = &pci0;
358c2ecf20Sopenharmony_ci	};
368c2ecf20Sopenharmony_ci
378c2ecf20Sopenharmony_ci	cpus {
388c2ecf20Sopenharmony_ci		#address-cells = <1>;
398c2ecf20Sopenharmony_ci		#size-cells = <0>;
408c2ecf20Sopenharmony_ci
418c2ecf20Sopenharmony_ci		PowerPC,8323@0 {
428c2ecf20Sopenharmony_ci			device_type = "cpu";
438c2ecf20Sopenharmony_ci			reg = <0x0>;
448c2ecf20Sopenharmony_ci			d-cache-line-size = <32>;	// 32 bytes
458c2ecf20Sopenharmony_ci			i-cache-line-size = <32>;	// 32 bytes
468c2ecf20Sopenharmony_ci			d-cache-size = <16384>;		// L1, 16K
478c2ecf20Sopenharmony_ci			i-cache-size = <16384>;		// L1, 16K
488c2ecf20Sopenharmony_ci			timebase-frequency = <0>;
498c2ecf20Sopenharmony_ci			bus-frequency = <0>;
508c2ecf20Sopenharmony_ci			clock-frequency = <0>;
518c2ecf20Sopenharmony_ci		};
528c2ecf20Sopenharmony_ci	};
538c2ecf20Sopenharmony_ci
548c2ecf20Sopenharmony_ci	memory {
558c2ecf20Sopenharmony_ci		device_type = "memory";
568c2ecf20Sopenharmony_ci		reg = <0x00000000 0x08000000>;
578c2ecf20Sopenharmony_ci	};
588c2ecf20Sopenharmony_ci
598c2ecf20Sopenharmony_ci	bcsr@f8000000 {
608c2ecf20Sopenharmony_ci		compatible = "fsl,mpc8323mds-bcsr";
618c2ecf20Sopenharmony_ci		reg = <0xf8000000 0x8000>;
628c2ecf20Sopenharmony_ci	};
638c2ecf20Sopenharmony_ci
648c2ecf20Sopenharmony_ci	soc8323@e0000000 {
658c2ecf20Sopenharmony_ci		#address-cells = <1>;
668c2ecf20Sopenharmony_ci		#size-cells = <1>;
678c2ecf20Sopenharmony_ci		device_type = "soc";
688c2ecf20Sopenharmony_ci		compatible = "simple-bus";
698c2ecf20Sopenharmony_ci		ranges = <0x0 0xe0000000 0x00100000>;
708c2ecf20Sopenharmony_ci		reg = <0xe0000000 0x00000200>;
718c2ecf20Sopenharmony_ci		bus-frequency = <132000000>;
728c2ecf20Sopenharmony_ci
738c2ecf20Sopenharmony_ci		wdt@200 {
748c2ecf20Sopenharmony_ci			device_type = "watchdog";
758c2ecf20Sopenharmony_ci			compatible = "mpc83xx_wdt";
768c2ecf20Sopenharmony_ci			reg = <0x200 0x100>;
778c2ecf20Sopenharmony_ci		};
788c2ecf20Sopenharmony_ci
798c2ecf20Sopenharmony_ci		pmc: power@b00 {
808c2ecf20Sopenharmony_ci			compatible = "fsl,mpc8323-pmc", "fsl,mpc8349-pmc";
818c2ecf20Sopenharmony_ci			reg = <0xb00 0x100 0xa00 0x100>;
828c2ecf20Sopenharmony_ci			interrupts = <80 0x8>;
838c2ecf20Sopenharmony_ci			interrupt-parent = <&ipic>;
848c2ecf20Sopenharmony_ci		};
858c2ecf20Sopenharmony_ci
868c2ecf20Sopenharmony_ci		i2c@3000 {
878c2ecf20Sopenharmony_ci			#address-cells = <1>;
888c2ecf20Sopenharmony_ci			#size-cells = <0>;
898c2ecf20Sopenharmony_ci			cell-index = <0>;
908c2ecf20Sopenharmony_ci			compatible = "fsl-i2c";
918c2ecf20Sopenharmony_ci			reg = <0x3000 0x100>;
928c2ecf20Sopenharmony_ci			interrupts = <14 0x8>;
938c2ecf20Sopenharmony_ci			interrupt-parent = <&ipic>;
948c2ecf20Sopenharmony_ci			dfsrr;
958c2ecf20Sopenharmony_ci
968c2ecf20Sopenharmony_ci			rtc@68 {
978c2ecf20Sopenharmony_ci				compatible = "dallas,ds1374";
988c2ecf20Sopenharmony_ci				reg = <0x68>;
998c2ecf20Sopenharmony_ci			};
1008c2ecf20Sopenharmony_ci		};
1018c2ecf20Sopenharmony_ci
1028c2ecf20Sopenharmony_ci		serial0: serial@4500 {
1038c2ecf20Sopenharmony_ci			cell-index = <0>;
1048c2ecf20Sopenharmony_ci			device_type = "serial";
1058c2ecf20Sopenharmony_ci			compatible = "fsl,ns16550", "ns16550";
1068c2ecf20Sopenharmony_ci			reg = <0x4500 0x100>;
1078c2ecf20Sopenharmony_ci			clock-frequency = <0>;
1088c2ecf20Sopenharmony_ci			interrupts = <9 0x8>;
1098c2ecf20Sopenharmony_ci			interrupt-parent = <&ipic>;
1108c2ecf20Sopenharmony_ci		};
1118c2ecf20Sopenharmony_ci
1128c2ecf20Sopenharmony_ci		serial1: serial@4600 {
1138c2ecf20Sopenharmony_ci			cell-index = <1>;
1148c2ecf20Sopenharmony_ci			device_type = "serial";
1158c2ecf20Sopenharmony_ci			compatible = "fsl,ns16550", "ns16550";
1168c2ecf20Sopenharmony_ci			reg = <0x4600 0x100>;
1178c2ecf20Sopenharmony_ci			clock-frequency = <0>;
1188c2ecf20Sopenharmony_ci			interrupts = <10 0x8>;
1198c2ecf20Sopenharmony_ci			interrupt-parent = <&ipic>;
1208c2ecf20Sopenharmony_ci		};
1218c2ecf20Sopenharmony_ci
1228c2ecf20Sopenharmony_ci		dma@82a8 {
1238c2ecf20Sopenharmony_ci			#address-cells = <1>;
1248c2ecf20Sopenharmony_ci			#size-cells = <1>;
1258c2ecf20Sopenharmony_ci			compatible = "fsl,mpc8323-dma", "fsl,elo-dma";
1268c2ecf20Sopenharmony_ci			reg = <0x82a8 4>;
1278c2ecf20Sopenharmony_ci			ranges = <0 0x8100 0x1a8>;
1288c2ecf20Sopenharmony_ci			interrupt-parent = <&ipic>;
1298c2ecf20Sopenharmony_ci			interrupts = <71 8>;
1308c2ecf20Sopenharmony_ci			cell-index = <0>;
1318c2ecf20Sopenharmony_ci			dma-channel@0 {
1328c2ecf20Sopenharmony_ci				compatible = "fsl,mpc8323-dma-channel", "fsl,elo-dma-channel";
1338c2ecf20Sopenharmony_ci				reg = <0 0x80>;
1348c2ecf20Sopenharmony_ci				cell-index = <0>;
1358c2ecf20Sopenharmony_ci				interrupt-parent = <&ipic>;
1368c2ecf20Sopenharmony_ci				interrupts = <71 8>;
1378c2ecf20Sopenharmony_ci			};
1388c2ecf20Sopenharmony_ci			dma-channel@80 {
1398c2ecf20Sopenharmony_ci				compatible = "fsl,mpc8323-dma-channel", "fsl,elo-dma-channel";
1408c2ecf20Sopenharmony_ci				reg = <0x80 0x80>;
1418c2ecf20Sopenharmony_ci				cell-index = <1>;
1428c2ecf20Sopenharmony_ci				interrupt-parent = <&ipic>;
1438c2ecf20Sopenharmony_ci				interrupts = <71 8>;
1448c2ecf20Sopenharmony_ci			};
1458c2ecf20Sopenharmony_ci			dma-channel@100 {
1468c2ecf20Sopenharmony_ci				compatible = "fsl,mpc8323-dma-channel", "fsl,elo-dma-channel";
1478c2ecf20Sopenharmony_ci				reg = <0x100 0x80>;
1488c2ecf20Sopenharmony_ci				cell-index = <2>;
1498c2ecf20Sopenharmony_ci				interrupt-parent = <&ipic>;
1508c2ecf20Sopenharmony_ci				interrupts = <71 8>;
1518c2ecf20Sopenharmony_ci			};
1528c2ecf20Sopenharmony_ci			dma-channel@180 {
1538c2ecf20Sopenharmony_ci				compatible = "fsl,mpc8323-dma-channel", "fsl,elo-dma-channel";
1548c2ecf20Sopenharmony_ci				reg = <0x180 0x28>;
1558c2ecf20Sopenharmony_ci				cell-index = <3>;
1568c2ecf20Sopenharmony_ci				interrupt-parent = <&ipic>;
1578c2ecf20Sopenharmony_ci				interrupts = <71 8>;
1588c2ecf20Sopenharmony_ci			};
1598c2ecf20Sopenharmony_ci		};
1608c2ecf20Sopenharmony_ci
1618c2ecf20Sopenharmony_ci		crypto@30000 {
1628c2ecf20Sopenharmony_ci			compatible = "fsl,sec2.2", "fsl,sec2.1", "fsl,sec2.0";
1638c2ecf20Sopenharmony_ci			reg = <0x30000 0x10000>;
1648c2ecf20Sopenharmony_ci			interrupts = <11 0x8>;
1658c2ecf20Sopenharmony_ci			interrupt-parent = <&ipic>;
1668c2ecf20Sopenharmony_ci			fsl,num-channels = <1>;
1678c2ecf20Sopenharmony_ci			fsl,channel-fifo-len = <24>;
1688c2ecf20Sopenharmony_ci			fsl,exec-units-mask = <0x4c>;
1698c2ecf20Sopenharmony_ci			fsl,descriptor-types-mask = <0x0122003f>;
1708c2ecf20Sopenharmony_ci			sleep = <&pmc 0x03000000>;
1718c2ecf20Sopenharmony_ci		};
1728c2ecf20Sopenharmony_ci
1738c2ecf20Sopenharmony_ci		ipic: pic@700 {
1748c2ecf20Sopenharmony_ci			interrupt-controller;
1758c2ecf20Sopenharmony_ci			#address-cells = <0>;
1768c2ecf20Sopenharmony_ci			#interrupt-cells = <2>;
1778c2ecf20Sopenharmony_ci			reg = <0x700 0x100>;
1788c2ecf20Sopenharmony_ci			device_type = "ipic";
1798c2ecf20Sopenharmony_ci		};
1808c2ecf20Sopenharmony_ci
1818c2ecf20Sopenharmony_ci		par_io@1400 {
1828c2ecf20Sopenharmony_ci			reg = <0x1400 0x100>;
1838c2ecf20Sopenharmony_ci			device_type = "par_io";
1848c2ecf20Sopenharmony_ci			num-ports = <7>;
1858c2ecf20Sopenharmony_ci
1868c2ecf20Sopenharmony_ci			pio3: ucc_pin@3 {
1878c2ecf20Sopenharmony_ci				pio-map = <
1888c2ecf20Sopenharmony_ci			/* port  pin  dir  open_drain  assignment  has_irq */
1898c2ecf20Sopenharmony_ci					3  4  3  0  2  0  /* MDIO */
1908c2ecf20Sopenharmony_ci					3  5  1  0  2  0  /* MDC */
1918c2ecf20Sopenharmony_ci					0 13  2  0  1  0 	/* RX_CLK (CLK9) */
1928c2ecf20Sopenharmony_ci					3 24  2  0  1  0 	/* TX_CLK (CLK10) */
1938c2ecf20Sopenharmony_ci					1  0  1  0  1  0 	/* TxD0 */
1948c2ecf20Sopenharmony_ci					1  1  1  0  1  0 	/* TxD1 */
1958c2ecf20Sopenharmony_ci					1  2  1  0  1  0 	/* TxD2 */
1968c2ecf20Sopenharmony_ci					1  3  1  0  1  0 	/* TxD3 */
1978c2ecf20Sopenharmony_ci					1  4  2  0  1  0 	/* RxD0 */
1988c2ecf20Sopenharmony_ci					1  5  2  0  1  0 	/* RxD1 */
1998c2ecf20Sopenharmony_ci					1  6  2  0  1  0 	/* RxD2 */
2008c2ecf20Sopenharmony_ci					1  7  2  0  1  0 	/* RxD3 */
2018c2ecf20Sopenharmony_ci					1  8  2  0  1  0 	/* RX_ER */
2028c2ecf20Sopenharmony_ci					1  9  1  0  1  0 	/* TX_ER */
2038c2ecf20Sopenharmony_ci					1 10  2  0  1  0 	/* RX_DV */
2048c2ecf20Sopenharmony_ci					1 11  2  0  1  0 	/* COL */
2058c2ecf20Sopenharmony_ci					1 12  1  0  1  0 	/* TX_EN */
2068c2ecf20Sopenharmony_ci					1 13  2  0  1  0>;	/* CRS */
2078c2ecf20Sopenharmony_ci			};
2088c2ecf20Sopenharmony_ci			pio4: ucc_pin@4 {
2098c2ecf20Sopenharmony_ci				pio-map = <
2108c2ecf20Sopenharmony_ci			/* port  pin  dir  open_drain  assignment  has_irq */
2118c2ecf20Sopenharmony_ci					3 31  2  0  1  0 	/* RX_CLK (CLK7) */
2128c2ecf20Sopenharmony_ci					3  6  2  0  1  0 	/* TX_CLK (CLK8) */
2138c2ecf20Sopenharmony_ci					1 18  1  0  1  0 	/* TxD0 */
2148c2ecf20Sopenharmony_ci					1 19  1  0  1  0 	/* TxD1 */
2158c2ecf20Sopenharmony_ci					1 20  1  0  1  0 	/* TxD2 */
2168c2ecf20Sopenharmony_ci					1 21  1  0  1  0 	/* TxD3 */
2178c2ecf20Sopenharmony_ci					1 22  2  0  1  0 	/* RxD0 */
2188c2ecf20Sopenharmony_ci					1 23  2  0  1  0 	/* RxD1 */
2198c2ecf20Sopenharmony_ci					1 24  2  0  1  0 	/* RxD2 */
2208c2ecf20Sopenharmony_ci					1 25  2  0  1  0 	/* RxD3 */
2218c2ecf20Sopenharmony_ci					1 26  2  0  1  0 	/* RX_ER */
2228c2ecf20Sopenharmony_ci					1 27  1  0  1  0 	/* TX_ER */
2238c2ecf20Sopenharmony_ci					1 28  2  0  1  0 	/* RX_DV */
2248c2ecf20Sopenharmony_ci					1 29  2  0  1  0 	/* COL */
2258c2ecf20Sopenharmony_ci					1 30  1  0  1  0 	/* TX_EN */
2268c2ecf20Sopenharmony_ci					1 31  2  0  1  0>;	/* CRS */
2278c2ecf20Sopenharmony_ci			};
2288c2ecf20Sopenharmony_ci			pio5: ucc_pin@5 {
2298c2ecf20Sopenharmony_ci				pio-map = <
2308c2ecf20Sopenharmony_ci				/*
2318c2ecf20Sopenharmony_ci				 *    		      open       has
2328c2ecf20Sopenharmony_ci				 *   port  pin  dir  drain  sel  irq
2338c2ecf20Sopenharmony_ci				 */
2348c2ecf20Sopenharmony_ci					2    0    1      0    2    0  /* TxD5 */
2358c2ecf20Sopenharmony_ci					2    8    2      0    2    0  /* RxD5 */
2368c2ecf20Sopenharmony_ci
2378c2ecf20Sopenharmony_ci					2   29    2      0    0    0  /* CTS5 */
2388c2ecf20Sopenharmony_ci					2   31    1      0    2    0  /* RTS5 */
2398c2ecf20Sopenharmony_ci
2408c2ecf20Sopenharmony_ci					2   24    2      0    0    0  /* CD */
2418c2ecf20Sopenharmony_ci
2428c2ecf20Sopenharmony_ci				>;
2438c2ecf20Sopenharmony_ci			};
2448c2ecf20Sopenharmony_ci
2458c2ecf20Sopenharmony_ci		};
2468c2ecf20Sopenharmony_ci	};
2478c2ecf20Sopenharmony_ci
2488c2ecf20Sopenharmony_ci	qe@e0100000 {
2498c2ecf20Sopenharmony_ci		#address-cells = <1>;
2508c2ecf20Sopenharmony_ci		#size-cells = <1>;
2518c2ecf20Sopenharmony_ci		device_type = "qe";
2528c2ecf20Sopenharmony_ci		compatible = "fsl,qe";
2538c2ecf20Sopenharmony_ci		ranges = <0x0 0xe0100000 0x00100000>;
2548c2ecf20Sopenharmony_ci		reg = <0xe0100000 0x480>;
2558c2ecf20Sopenharmony_ci		brg-frequency = <0>;
2568c2ecf20Sopenharmony_ci		bus-frequency = <198000000>;
2578c2ecf20Sopenharmony_ci		fsl,qe-num-riscs = <1>;
2588c2ecf20Sopenharmony_ci		fsl,qe-num-snums = <28>;
2598c2ecf20Sopenharmony_ci
2608c2ecf20Sopenharmony_ci		muram@10000 {
2618c2ecf20Sopenharmony_ci			#address-cells = <1>;
2628c2ecf20Sopenharmony_ci			#size-cells = <1>;
2638c2ecf20Sopenharmony_ci			compatible = "fsl,qe-muram", "fsl,cpm-muram";
2648c2ecf20Sopenharmony_ci			ranges = <0x0 0x00010000 0x00004000>;
2658c2ecf20Sopenharmony_ci
2668c2ecf20Sopenharmony_ci			data-only@0 {
2678c2ecf20Sopenharmony_ci				compatible = "fsl,qe-muram-data",
2688c2ecf20Sopenharmony_ci					     "fsl,cpm-muram-data";
2698c2ecf20Sopenharmony_ci				reg = <0x0 0x4000>;
2708c2ecf20Sopenharmony_ci			};
2718c2ecf20Sopenharmony_ci		};
2728c2ecf20Sopenharmony_ci
2738c2ecf20Sopenharmony_ci		spi@4c0 {
2748c2ecf20Sopenharmony_ci			cell-index = <0>;
2758c2ecf20Sopenharmony_ci			compatible = "fsl,spi";
2768c2ecf20Sopenharmony_ci			reg = <0x4c0 0x40>;
2778c2ecf20Sopenharmony_ci			interrupts = <2>;
2788c2ecf20Sopenharmony_ci			interrupt-parent = <&qeic>;
2798c2ecf20Sopenharmony_ci			mode = "cpu";
2808c2ecf20Sopenharmony_ci		};
2818c2ecf20Sopenharmony_ci
2828c2ecf20Sopenharmony_ci		spi@500 {
2838c2ecf20Sopenharmony_ci			cell-index = <1>;
2848c2ecf20Sopenharmony_ci			compatible = "fsl,spi";
2858c2ecf20Sopenharmony_ci			reg = <0x500 0x40>;
2868c2ecf20Sopenharmony_ci			interrupts = <1>;
2878c2ecf20Sopenharmony_ci			interrupt-parent = <&qeic>;
2888c2ecf20Sopenharmony_ci			mode = "cpu";
2898c2ecf20Sopenharmony_ci		};
2908c2ecf20Sopenharmony_ci
2918c2ecf20Sopenharmony_ci		usb@6c0 {
2928c2ecf20Sopenharmony_ci			compatible = "qe_udc";
2938c2ecf20Sopenharmony_ci			reg = <0x6c0 0x40 0x8b00 0x100>;
2948c2ecf20Sopenharmony_ci			interrupts = <11>;
2958c2ecf20Sopenharmony_ci			interrupt-parent = <&qeic>;
2968c2ecf20Sopenharmony_ci			mode = "slave";
2978c2ecf20Sopenharmony_ci		};
2988c2ecf20Sopenharmony_ci
2998c2ecf20Sopenharmony_ci		enet0: ucc@2200 {
3008c2ecf20Sopenharmony_ci			device_type = "network";
3018c2ecf20Sopenharmony_ci			compatible = "ucc_geth";
3028c2ecf20Sopenharmony_ci			cell-index = <3>;
3038c2ecf20Sopenharmony_ci			reg = <0x2200 0x200>;
3048c2ecf20Sopenharmony_ci			interrupts = <34>;
3058c2ecf20Sopenharmony_ci			interrupt-parent = <&qeic>;
3068c2ecf20Sopenharmony_ci			local-mac-address = [ 00 00 00 00 00 00 ];
3078c2ecf20Sopenharmony_ci			rx-clock-name = "clk9";
3088c2ecf20Sopenharmony_ci			tx-clock-name = "clk10";
3098c2ecf20Sopenharmony_ci			phy-handle = <&phy3>;
3108c2ecf20Sopenharmony_ci			pio-handle = <&pio3>;
3118c2ecf20Sopenharmony_ci		};
3128c2ecf20Sopenharmony_ci
3138c2ecf20Sopenharmony_ci		enet1: ucc@3200 {
3148c2ecf20Sopenharmony_ci			device_type = "network";
3158c2ecf20Sopenharmony_ci			compatible = "ucc_geth";
3168c2ecf20Sopenharmony_ci			cell-index = <4>;
3178c2ecf20Sopenharmony_ci			reg = <0x3200 0x200>;
3188c2ecf20Sopenharmony_ci			interrupts = <35>;
3198c2ecf20Sopenharmony_ci			interrupt-parent = <&qeic>;
3208c2ecf20Sopenharmony_ci			local-mac-address = [ 00 00 00 00 00 00 ];
3218c2ecf20Sopenharmony_ci			rx-clock-name = "clk7";
3228c2ecf20Sopenharmony_ci			tx-clock-name = "clk8";
3238c2ecf20Sopenharmony_ci			phy-handle = <&phy4>;
3248c2ecf20Sopenharmony_ci			pio-handle = <&pio4>;
3258c2ecf20Sopenharmony_ci		};
3268c2ecf20Sopenharmony_ci
3278c2ecf20Sopenharmony_ci		ucc@2400 {
3288c2ecf20Sopenharmony_ci			device_type = "serial";
3298c2ecf20Sopenharmony_ci			compatible = "ucc_uart";
3308c2ecf20Sopenharmony_ci			cell-index = <5>;	/* The UCC number, 1-7*/
3318c2ecf20Sopenharmony_ci			port-number = <0>;	/* Which ttyQEx device */
3328c2ecf20Sopenharmony_ci			soft-uart;		/* We need Soft-UART */
3338c2ecf20Sopenharmony_ci			reg = <0x2400 0x200>;
3348c2ecf20Sopenharmony_ci			interrupts = <40>;	/* From Table 18-12 */
3358c2ecf20Sopenharmony_ci			interrupt-parent = < &qeic >;
3368c2ecf20Sopenharmony_ci			/*
3378c2ecf20Sopenharmony_ci			 * For Soft-UART, we need to set TX to 1X, which
3388c2ecf20Sopenharmony_ci			 * means specifying separate clock sources.
3398c2ecf20Sopenharmony_ci			 */
3408c2ecf20Sopenharmony_ci			rx-clock-name = "brg5";
3418c2ecf20Sopenharmony_ci			tx-clock-name = "brg6";
3428c2ecf20Sopenharmony_ci			pio-handle = < &pio5 >;
3438c2ecf20Sopenharmony_ci		};
3448c2ecf20Sopenharmony_ci
3458c2ecf20Sopenharmony_ci
3468c2ecf20Sopenharmony_ci		mdio@2320 {
3478c2ecf20Sopenharmony_ci			#address-cells = <1>;
3488c2ecf20Sopenharmony_ci			#size-cells = <0>;
3498c2ecf20Sopenharmony_ci			reg = <0x2320 0x18>;
3508c2ecf20Sopenharmony_ci			compatible = "fsl,ucc-mdio";
3518c2ecf20Sopenharmony_ci
3528c2ecf20Sopenharmony_ci			phy3: ethernet-phy@3 {
3538c2ecf20Sopenharmony_ci				interrupt-parent = <&ipic>;
3548c2ecf20Sopenharmony_ci				interrupts = <17 0x8>;
3558c2ecf20Sopenharmony_ci				reg = <0x3>;
3568c2ecf20Sopenharmony_ci			};
3578c2ecf20Sopenharmony_ci			phy4: ethernet-phy@4 {
3588c2ecf20Sopenharmony_ci				interrupt-parent = <&ipic>;
3598c2ecf20Sopenharmony_ci				interrupts = <18 0x8>;
3608c2ecf20Sopenharmony_ci				reg = <0x4>;
3618c2ecf20Sopenharmony_ci			};
3628c2ecf20Sopenharmony_ci		};
3638c2ecf20Sopenharmony_ci
3648c2ecf20Sopenharmony_ci		qeic: interrupt-controller@80 {
3658c2ecf20Sopenharmony_ci			interrupt-controller;
3668c2ecf20Sopenharmony_ci			compatible = "fsl,qe-ic";
3678c2ecf20Sopenharmony_ci			#address-cells = <0>;
3688c2ecf20Sopenharmony_ci			#interrupt-cells = <1>;
3698c2ecf20Sopenharmony_ci			reg = <0x80 0x80>;
3708c2ecf20Sopenharmony_ci			big-endian;
3718c2ecf20Sopenharmony_ci			interrupts = <32 0x8 33 0x8>; //high:32 low:33
3728c2ecf20Sopenharmony_ci			interrupt-parent = <&ipic>;
3738c2ecf20Sopenharmony_ci		};
3748c2ecf20Sopenharmony_ci	};
3758c2ecf20Sopenharmony_ci
3768c2ecf20Sopenharmony_ci	pci0: pci@e0008500 {
3778c2ecf20Sopenharmony_ci		interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
3788c2ecf20Sopenharmony_ci		interrupt-map = <
3798c2ecf20Sopenharmony_ci				/* IDSEL 0x11 AD17 */
3808c2ecf20Sopenharmony_ci				 0x8800 0x0 0x0 0x1 &ipic 20 0x8
3818c2ecf20Sopenharmony_ci				 0x8800 0x0 0x0 0x2 &ipic 21 0x8
3828c2ecf20Sopenharmony_ci				 0x8800 0x0 0x0 0x3 &ipic 22 0x8
3838c2ecf20Sopenharmony_ci				 0x8800 0x0 0x0 0x4 &ipic 23 0x8
3848c2ecf20Sopenharmony_ci
3858c2ecf20Sopenharmony_ci				/* IDSEL 0x12 AD18 */
3868c2ecf20Sopenharmony_ci				 0x9000 0x0 0x0 0x1 &ipic 22 0x8
3878c2ecf20Sopenharmony_ci				 0x9000 0x0 0x0 0x2 &ipic 23 0x8
3888c2ecf20Sopenharmony_ci				 0x9000 0x0 0x0 0x3 &ipic 20 0x8
3898c2ecf20Sopenharmony_ci				 0x9000 0x0 0x0 0x4 &ipic 21 0x8
3908c2ecf20Sopenharmony_ci
3918c2ecf20Sopenharmony_ci				/* IDSEL 0x13 AD19 */
3928c2ecf20Sopenharmony_ci				 0x9800 0x0 0x0 0x1 &ipic 23 0x8
3938c2ecf20Sopenharmony_ci				 0x9800 0x0 0x0 0x2 &ipic 20 0x8
3948c2ecf20Sopenharmony_ci				 0x9800 0x0 0x0 0x3 &ipic 21 0x8
3958c2ecf20Sopenharmony_ci				 0x9800 0x0 0x0 0x4 &ipic 22 0x8
3968c2ecf20Sopenharmony_ci
3978c2ecf20Sopenharmony_ci				/* IDSEL 0x15 AD21*/
3988c2ecf20Sopenharmony_ci				 0xa800 0x0 0x0 0x1 &ipic 20 0x8
3998c2ecf20Sopenharmony_ci				 0xa800 0x0 0x0 0x2 &ipic 21 0x8
4008c2ecf20Sopenharmony_ci				 0xa800 0x0 0x0 0x3 &ipic 22 0x8
4018c2ecf20Sopenharmony_ci				 0xa800 0x0 0x0 0x4 &ipic 23 0x8
4028c2ecf20Sopenharmony_ci
4038c2ecf20Sopenharmony_ci				/* IDSEL 0x16 AD22*/
4048c2ecf20Sopenharmony_ci				 0xb000 0x0 0x0 0x1 &ipic 23 0x8
4058c2ecf20Sopenharmony_ci				 0xb000 0x0 0x0 0x2 &ipic 20 0x8
4068c2ecf20Sopenharmony_ci				 0xb000 0x0 0x0 0x3 &ipic 21 0x8
4078c2ecf20Sopenharmony_ci				 0xb000 0x0 0x0 0x4 &ipic 22 0x8
4088c2ecf20Sopenharmony_ci
4098c2ecf20Sopenharmony_ci				/* IDSEL 0x17 AD23*/
4108c2ecf20Sopenharmony_ci				 0xb800 0x0 0x0 0x1 &ipic 22 0x8
4118c2ecf20Sopenharmony_ci				 0xb800 0x0 0x0 0x2 &ipic 23 0x8
4128c2ecf20Sopenharmony_ci				 0xb800 0x0 0x0 0x3 &ipic 20 0x8
4138c2ecf20Sopenharmony_ci				 0xb800 0x0 0x0 0x4 &ipic 21 0x8
4148c2ecf20Sopenharmony_ci
4158c2ecf20Sopenharmony_ci				/* IDSEL 0x18 AD24*/
4168c2ecf20Sopenharmony_ci				 0xc000 0x0 0x0 0x1 &ipic 21 0x8
4178c2ecf20Sopenharmony_ci				 0xc000 0x0 0x0 0x2 &ipic 22 0x8
4188c2ecf20Sopenharmony_ci				 0xc000 0x0 0x0 0x3 &ipic 23 0x8
4198c2ecf20Sopenharmony_ci				 0xc000 0x0 0x0 0x4 &ipic 20 0x8>;
4208c2ecf20Sopenharmony_ci		interrupt-parent = <&ipic>;
4218c2ecf20Sopenharmony_ci		interrupts = <66 0x8>;
4228c2ecf20Sopenharmony_ci		bus-range = <0x0 0x0>;
4238c2ecf20Sopenharmony_ci		ranges = <0x02000000 0x0 0x90000000 0x90000000 0x0 0x10000000
4248c2ecf20Sopenharmony_ci			  0x42000000 0x0 0x80000000 0x80000000 0x0 0x10000000
4258c2ecf20Sopenharmony_ci			  0x01000000 0x0 0x00000000 0xd0000000 0x0 0x00100000>;
4268c2ecf20Sopenharmony_ci		clock-frequency = <0>;
4278c2ecf20Sopenharmony_ci		#interrupt-cells = <1>;
4288c2ecf20Sopenharmony_ci		#size-cells = <2>;
4298c2ecf20Sopenharmony_ci		#address-cells = <3>;
4308c2ecf20Sopenharmony_ci		reg = <0xe0008500 0x100		/* internal registers */
4318c2ecf20Sopenharmony_ci		       0xe0008300 0x8>;		/* config space access registers */
4328c2ecf20Sopenharmony_ci		compatible = "fsl,mpc8349-pci";
4338c2ecf20Sopenharmony_ci		device_type = "pci";
4348c2ecf20Sopenharmony_ci		sleep = <&pmc 0x00010000>;
4358c2ecf20Sopenharmony_ci	};
4368c2ecf20Sopenharmony_ci};
437