18c2ecf20Sopenharmony_ci// SPDX-License-Identifier: GPL-2.0-or-later
28c2ecf20Sopenharmony_ci/*
38c2ecf20Sopenharmony_ci * MPC832x RDB Device Tree Source
48c2ecf20Sopenharmony_ci *
58c2ecf20Sopenharmony_ci * Copyright 2007 Freescale Semiconductor Inc.
68c2ecf20Sopenharmony_ci */
78c2ecf20Sopenharmony_ci
88c2ecf20Sopenharmony_ci/dts-v1/;
98c2ecf20Sopenharmony_ci
108c2ecf20Sopenharmony_ci/ {
118c2ecf20Sopenharmony_ci	model = "MPC8323ERDB";
128c2ecf20Sopenharmony_ci	compatible = "MPC8323ERDB", "MPC832xRDB", "MPC83xxRDB";
138c2ecf20Sopenharmony_ci	#address-cells = <1>;
148c2ecf20Sopenharmony_ci	#size-cells = <1>;
158c2ecf20Sopenharmony_ci
168c2ecf20Sopenharmony_ci	aliases {
178c2ecf20Sopenharmony_ci		ethernet0 = &enet1;
188c2ecf20Sopenharmony_ci		ethernet1 = &enet0;
198c2ecf20Sopenharmony_ci		serial0 = &serial0;
208c2ecf20Sopenharmony_ci		serial1 = &serial1;
218c2ecf20Sopenharmony_ci		pci0 = &pci0;
228c2ecf20Sopenharmony_ci	};
238c2ecf20Sopenharmony_ci
248c2ecf20Sopenharmony_ci	cpus {
258c2ecf20Sopenharmony_ci		#address-cells = <1>;
268c2ecf20Sopenharmony_ci		#size-cells = <0>;
278c2ecf20Sopenharmony_ci
288c2ecf20Sopenharmony_ci		PowerPC,8323@0 {
298c2ecf20Sopenharmony_ci			device_type = "cpu";
308c2ecf20Sopenharmony_ci			reg = <0x0>;
318c2ecf20Sopenharmony_ci			d-cache-line-size = <0x20>;	// 32 bytes
328c2ecf20Sopenharmony_ci			i-cache-line-size = <0x20>;	// 32 bytes
338c2ecf20Sopenharmony_ci			d-cache-size = <16384>;	// L1, 16K
348c2ecf20Sopenharmony_ci			i-cache-size = <16384>;	// L1, 16K
358c2ecf20Sopenharmony_ci			timebase-frequency = <0>;
368c2ecf20Sopenharmony_ci			bus-frequency = <0>;
378c2ecf20Sopenharmony_ci			clock-frequency = <0>;
388c2ecf20Sopenharmony_ci		};
398c2ecf20Sopenharmony_ci	};
408c2ecf20Sopenharmony_ci
418c2ecf20Sopenharmony_ci	memory {
428c2ecf20Sopenharmony_ci		device_type = "memory";
438c2ecf20Sopenharmony_ci		reg = <0x00000000 0x04000000>;
448c2ecf20Sopenharmony_ci	};
458c2ecf20Sopenharmony_ci
468c2ecf20Sopenharmony_ci	soc8323@e0000000 {
478c2ecf20Sopenharmony_ci		#address-cells = <1>;
488c2ecf20Sopenharmony_ci		#size-cells = <1>;
498c2ecf20Sopenharmony_ci		device_type = "soc";
508c2ecf20Sopenharmony_ci		compatible = "simple-bus";
518c2ecf20Sopenharmony_ci		ranges = <0x0 0xe0000000 0x00100000>;
528c2ecf20Sopenharmony_ci		reg = <0xe0000000 0x00000200>;
538c2ecf20Sopenharmony_ci		bus-frequency = <0>;
548c2ecf20Sopenharmony_ci
558c2ecf20Sopenharmony_ci		wdt@200 {
568c2ecf20Sopenharmony_ci			device_type = "watchdog";
578c2ecf20Sopenharmony_ci			compatible = "mpc83xx_wdt";
588c2ecf20Sopenharmony_ci			reg = <0x200 0x100>;
598c2ecf20Sopenharmony_ci		};
608c2ecf20Sopenharmony_ci
618c2ecf20Sopenharmony_ci		pmc: power@b00 {
628c2ecf20Sopenharmony_ci			compatible = "fsl,mpc8323-pmc", "fsl,mpc8349-pmc";
638c2ecf20Sopenharmony_ci			reg = <0xb00 0x100 0xa00 0x100>;
648c2ecf20Sopenharmony_ci			interrupts = <80 0x8>;
658c2ecf20Sopenharmony_ci			interrupt-parent = <&ipic>;
668c2ecf20Sopenharmony_ci		};
678c2ecf20Sopenharmony_ci
688c2ecf20Sopenharmony_ci		i2c@3000 {
698c2ecf20Sopenharmony_ci			#address-cells = <1>;
708c2ecf20Sopenharmony_ci			#size-cells = <0>;
718c2ecf20Sopenharmony_ci			cell-index = <0>;
728c2ecf20Sopenharmony_ci			compatible = "fsl-i2c";
738c2ecf20Sopenharmony_ci			reg = <0x3000 0x100>;
748c2ecf20Sopenharmony_ci			interrupts = <14 0x8>;
758c2ecf20Sopenharmony_ci			interrupt-parent = <&ipic>;
768c2ecf20Sopenharmony_ci			dfsrr;
778c2ecf20Sopenharmony_ci		};
788c2ecf20Sopenharmony_ci
798c2ecf20Sopenharmony_ci		serial0: serial@4500 {
808c2ecf20Sopenharmony_ci			cell-index = <0>;
818c2ecf20Sopenharmony_ci			device_type = "serial";
828c2ecf20Sopenharmony_ci			compatible = "fsl,ns16550", "ns16550";
838c2ecf20Sopenharmony_ci			reg = <0x4500 0x100>;
848c2ecf20Sopenharmony_ci			clock-frequency = <0>;
858c2ecf20Sopenharmony_ci			interrupts = <9 0x8>;
868c2ecf20Sopenharmony_ci			interrupt-parent = <&ipic>;
878c2ecf20Sopenharmony_ci		};
888c2ecf20Sopenharmony_ci
898c2ecf20Sopenharmony_ci		serial1: serial@4600 {
908c2ecf20Sopenharmony_ci			cell-index = <1>;
918c2ecf20Sopenharmony_ci			device_type = "serial";
928c2ecf20Sopenharmony_ci			compatible = "fsl,ns16550", "ns16550";
938c2ecf20Sopenharmony_ci			reg = <0x4600 0x100>;
948c2ecf20Sopenharmony_ci			clock-frequency = <0>;
958c2ecf20Sopenharmony_ci			interrupts = <10 0x8>;
968c2ecf20Sopenharmony_ci			interrupt-parent = <&ipic>;
978c2ecf20Sopenharmony_ci		};
988c2ecf20Sopenharmony_ci
998c2ecf20Sopenharmony_ci		dma@82a8 {
1008c2ecf20Sopenharmony_ci			#address-cells = <1>;
1018c2ecf20Sopenharmony_ci			#size-cells = <1>;
1028c2ecf20Sopenharmony_ci			compatible = "fsl,mpc8323-dma", "fsl,elo-dma";
1038c2ecf20Sopenharmony_ci			reg = <0x82a8 4>;
1048c2ecf20Sopenharmony_ci			ranges = <0 0x8100 0x1a8>;
1058c2ecf20Sopenharmony_ci			interrupt-parent = <&ipic>;
1068c2ecf20Sopenharmony_ci			interrupts = <71 8>;
1078c2ecf20Sopenharmony_ci			cell-index = <0>;
1088c2ecf20Sopenharmony_ci			dma-channel@0 {
1098c2ecf20Sopenharmony_ci				compatible = "fsl,mpc8323-dma-channel", "fsl,elo-dma-channel";
1108c2ecf20Sopenharmony_ci				reg = <0 0x80>;
1118c2ecf20Sopenharmony_ci				cell-index = <0>;
1128c2ecf20Sopenharmony_ci				interrupt-parent = <&ipic>;
1138c2ecf20Sopenharmony_ci				interrupts = <71 8>;
1148c2ecf20Sopenharmony_ci			};
1158c2ecf20Sopenharmony_ci			dma-channel@80 {
1168c2ecf20Sopenharmony_ci				compatible = "fsl,mpc8323-dma-channel", "fsl,elo-dma-channel";
1178c2ecf20Sopenharmony_ci				reg = <0x80 0x80>;
1188c2ecf20Sopenharmony_ci				cell-index = <1>;
1198c2ecf20Sopenharmony_ci				interrupt-parent = <&ipic>;
1208c2ecf20Sopenharmony_ci				interrupts = <71 8>;
1218c2ecf20Sopenharmony_ci			};
1228c2ecf20Sopenharmony_ci			dma-channel@100 {
1238c2ecf20Sopenharmony_ci				compatible = "fsl,mpc8323-dma-channel", "fsl,elo-dma-channel";
1248c2ecf20Sopenharmony_ci				reg = <0x100 0x80>;
1258c2ecf20Sopenharmony_ci				cell-index = <2>;
1268c2ecf20Sopenharmony_ci				interrupt-parent = <&ipic>;
1278c2ecf20Sopenharmony_ci				interrupts = <71 8>;
1288c2ecf20Sopenharmony_ci			};
1298c2ecf20Sopenharmony_ci			dma-channel@180 {
1308c2ecf20Sopenharmony_ci				compatible = "fsl,mpc8323-dma-channel", "fsl,elo-dma-channel";
1318c2ecf20Sopenharmony_ci				reg = <0x180 0x28>;
1328c2ecf20Sopenharmony_ci				cell-index = <3>;
1338c2ecf20Sopenharmony_ci				interrupt-parent = <&ipic>;
1348c2ecf20Sopenharmony_ci				interrupts = <71 8>;
1358c2ecf20Sopenharmony_ci			};
1368c2ecf20Sopenharmony_ci		};
1378c2ecf20Sopenharmony_ci
1388c2ecf20Sopenharmony_ci		crypto@30000 {
1398c2ecf20Sopenharmony_ci			compatible = "fsl,sec2.2", "fsl,sec2.1", "fsl,sec2.0";
1408c2ecf20Sopenharmony_ci			reg = <0x30000 0x10000>;
1418c2ecf20Sopenharmony_ci			interrupts = <11 0x8>;
1428c2ecf20Sopenharmony_ci			interrupt-parent = <&ipic>;
1438c2ecf20Sopenharmony_ci			fsl,num-channels = <1>;
1448c2ecf20Sopenharmony_ci			fsl,channel-fifo-len = <24>;
1458c2ecf20Sopenharmony_ci			fsl,exec-units-mask = <0x4c>;
1468c2ecf20Sopenharmony_ci			fsl,descriptor-types-mask = <0x0122003f>;
1478c2ecf20Sopenharmony_ci			sleep = <&pmc 0x03000000>;
1488c2ecf20Sopenharmony_ci		};
1498c2ecf20Sopenharmony_ci
1508c2ecf20Sopenharmony_ci		ipic:pic@700 {
1518c2ecf20Sopenharmony_ci			interrupt-controller;
1528c2ecf20Sopenharmony_ci			#address-cells = <0>;
1538c2ecf20Sopenharmony_ci			#interrupt-cells = <2>;
1548c2ecf20Sopenharmony_ci			reg = <0x700 0x100>;
1558c2ecf20Sopenharmony_ci			device_type = "ipic";
1568c2ecf20Sopenharmony_ci		};
1578c2ecf20Sopenharmony_ci
1588c2ecf20Sopenharmony_ci		par_io@1400 {
1598c2ecf20Sopenharmony_ci			#address-cells = <1>;
1608c2ecf20Sopenharmony_ci			#size-cells = <1>;
1618c2ecf20Sopenharmony_ci			reg = <0x1400 0x100>;
1628c2ecf20Sopenharmony_ci			ranges = <3 0x1448 0x18>;
1638c2ecf20Sopenharmony_ci			compatible = "fsl,mpc8323-qe-pario";
1648c2ecf20Sopenharmony_ci			device_type = "par_io";
1658c2ecf20Sopenharmony_ci			num-ports = <7>;
1668c2ecf20Sopenharmony_ci
1678c2ecf20Sopenharmony_ci			qe_pio_d: gpio-controller@1448 {
1688c2ecf20Sopenharmony_ci				#gpio-cells = <2>;
1698c2ecf20Sopenharmony_ci				compatible = "fsl,mpc8323-qe-pario-bank";
1708c2ecf20Sopenharmony_ci				reg = <3 0x18>;
1718c2ecf20Sopenharmony_ci				gpio-controller;
1728c2ecf20Sopenharmony_ci			};
1738c2ecf20Sopenharmony_ci
1748c2ecf20Sopenharmony_ci			ucc2pio:ucc_pin@2 {
1758c2ecf20Sopenharmony_ci				pio-map = <
1768c2ecf20Sopenharmony_ci			/* port  pin  dir  open_drain  assignment  has_irq */
1778c2ecf20Sopenharmony_ci					3  4  3  0  2  0 	/* MDIO */
1788c2ecf20Sopenharmony_ci					3  5  1  0  2  0 	/* MDC */
1798c2ecf20Sopenharmony_ci					3 21  2  0  1  0 	/* RX_CLK (CLK16) */
1808c2ecf20Sopenharmony_ci					3 23  2  0  1  0 	/* TX_CLK (CLK3) */
1818c2ecf20Sopenharmony_ci					0 18  1  0  1  0 	/* TxD0 */
1828c2ecf20Sopenharmony_ci					0 19  1  0  1  0 	/* TxD1 */
1838c2ecf20Sopenharmony_ci					0 20  1  0  1  0 	/* TxD2 */
1848c2ecf20Sopenharmony_ci					0 21  1  0  1  0 	/* TxD3 */
1858c2ecf20Sopenharmony_ci					0 22  2  0  1  0 	/* RxD0 */
1868c2ecf20Sopenharmony_ci					0 23  2  0  1  0 	/* RxD1 */
1878c2ecf20Sopenharmony_ci					0 24  2  0  1  0 	/* RxD2 */
1888c2ecf20Sopenharmony_ci					0 25  2  0  1  0 	/* RxD3 */
1898c2ecf20Sopenharmony_ci					0 26  2  0  1  0 	/* RX_ER */
1908c2ecf20Sopenharmony_ci					0 27  1  0  1  0 	/* TX_ER */
1918c2ecf20Sopenharmony_ci					0 28  2  0  1  0 	/* RX_DV */
1928c2ecf20Sopenharmony_ci					0 29  2  0  1  0 	/* COL */
1938c2ecf20Sopenharmony_ci					0 30  1  0  1  0 	/* TX_EN */
1948c2ecf20Sopenharmony_ci					0 31  2  0  1  0>;      /* CRS */
1958c2ecf20Sopenharmony_ci			};
1968c2ecf20Sopenharmony_ci			ucc3pio:ucc_pin@3 {
1978c2ecf20Sopenharmony_ci				pio-map = <
1988c2ecf20Sopenharmony_ci			/* port  pin  dir  open_drain  assignment  has_irq */
1998c2ecf20Sopenharmony_ci					0 13  2  0  1  0 	/* RX_CLK (CLK9) */
2008c2ecf20Sopenharmony_ci					3 24  2  0  1  0 	/* TX_CLK (CLK10) */
2018c2ecf20Sopenharmony_ci					1  0  1  0  1  0 	/* TxD0 */
2028c2ecf20Sopenharmony_ci					1  1  1  0  1  0 	/* TxD1 */
2038c2ecf20Sopenharmony_ci					1  2  1  0  1  0 	/* TxD2 */
2048c2ecf20Sopenharmony_ci					1  3  1  0  1  0 	/* TxD3 */
2058c2ecf20Sopenharmony_ci					1  4  2  0  1  0 	/* RxD0 */
2068c2ecf20Sopenharmony_ci					1  5  2  0  1  0 	/* RxD1 */
2078c2ecf20Sopenharmony_ci					1  6  2  0  1  0 	/* RxD2 */
2088c2ecf20Sopenharmony_ci					1  7  2  0  1  0 	/* RxD3 */
2098c2ecf20Sopenharmony_ci					1  8  2  0  1  0 	/* RX_ER */
2108c2ecf20Sopenharmony_ci					1  9  1  0  1  0 	/* TX_ER */
2118c2ecf20Sopenharmony_ci					1 10  2  0  1  0 	/* RX_DV */
2128c2ecf20Sopenharmony_ci					1 11  2  0  1  0 	/* COL */
2138c2ecf20Sopenharmony_ci					1 12  1  0  1  0 	/* TX_EN */
2148c2ecf20Sopenharmony_ci					1 13  2  0  1  0>;      /* CRS */
2158c2ecf20Sopenharmony_ci			};
2168c2ecf20Sopenharmony_ci		};
2178c2ecf20Sopenharmony_ci	};
2188c2ecf20Sopenharmony_ci
2198c2ecf20Sopenharmony_ci	qe@e0100000 {
2208c2ecf20Sopenharmony_ci		#address-cells = <1>;
2218c2ecf20Sopenharmony_ci		#size-cells = <1>;
2228c2ecf20Sopenharmony_ci		device_type = "qe";
2238c2ecf20Sopenharmony_ci		compatible = "fsl,qe";
2248c2ecf20Sopenharmony_ci		ranges = <0x0 0xe0100000 0x00100000>;
2258c2ecf20Sopenharmony_ci		reg = <0xe0100000 0x480>;
2268c2ecf20Sopenharmony_ci		brg-frequency = <0>;
2278c2ecf20Sopenharmony_ci		bus-frequency = <198000000>;
2288c2ecf20Sopenharmony_ci		fsl,qe-num-riscs = <1>;
2298c2ecf20Sopenharmony_ci		fsl,qe-num-snums = <28>;
2308c2ecf20Sopenharmony_ci
2318c2ecf20Sopenharmony_ci		muram@10000 {
2328c2ecf20Sopenharmony_ci 			#address-cells = <1>;
2338c2ecf20Sopenharmony_ci 			#size-cells = <1>;
2348c2ecf20Sopenharmony_ci			compatible = "fsl,qe-muram", "fsl,cpm-muram";
2358c2ecf20Sopenharmony_ci			ranges = <0x0 0x00010000 0x00004000>;
2368c2ecf20Sopenharmony_ci
2378c2ecf20Sopenharmony_ci			data-only@0 {
2388c2ecf20Sopenharmony_ci				compatible = "fsl,qe-muram-data",
2398c2ecf20Sopenharmony_ci					     "fsl,cpm-muram-data";
2408c2ecf20Sopenharmony_ci				reg = <0x0 0x4000>;
2418c2ecf20Sopenharmony_ci			};
2428c2ecf20Sopenharmony_ci		};
2438c2ecf20Sopenharmony_ci
2448c2ecf20Sopenharmony_ci		spi@4c0 {
2458c2ecf20Sopenharmony_ci			#address-cells = <1>;
2468c2ecf20Sopenharmony_ci			#size-cells = <0>;
2478c2ecf20Sopenharmony_ci			cell-index = <0>;
2488c2ecf20Sopenharmony_ci			compatible = "fsl,spi";
2498c2ecf20Sopenharmony_ci			reg = <0x4c0 0x40>;
2508c2ecf20Sopenharmony_ci			interrupts = <2>;
2518c2ecf20Sopenharmony_ci			interrupt-parent = <&qeic>;
2528c2ecf20Sopenharmony_ci			cs-gpios = <&qe_pio_d 13 0>;
2538c2ecf20Sopenharmony_ci			mode = "cpu-qe";
2548c2ecf20Sopenharmony_ci
2558c2ecf20Sopenharmony_ci			mmc-slot@0 {
2568c2ecf20Sopenharmony_ci				compatible = "fsl,mpc8323rdb-mmc-slot",
2578c2ecf20Sopenharmony_ci					     "mmc-spi-slot";
2588c2ecf20Sopenharmony_ci				reg = <0>;
2598c2ecf20Sopenharmony_ci				gpios = <&qe_pio_d 14 1
2608c2ecf20Sopenharmony_ci					 &qe_pio_d 15 0>;
2618c2ecf20Sopenharmony_ci				voltage-ranges = <3300 3300>;
2628c2ecf20Sopenharmony_ci				spi-max-frequency = <50000000>;
2638c2ecf20Sopenharmony_ci			};
2648c2ecf20Sopenharmony_ci		};
2658c2ecf20Sopenharmony_ci
2668c2ecf20Sopenharmony_ci		spi@500 {
2678c2ecf20Sopenharmony_ci			cell-index = <1>;
2688c2ecf20Sopenharmony_ci			compatible = "fsl,spi";
2698c2ecf20Sopenharmony_ci			reg = <0x500 0x40>;
2708c2ecf20Sopenharmony_ci			interrupts = <1>;
2718c2ecf20Sopenharmony_ci			interrupt-parent = <&qeic>;
2728c2ecf20Sopenharmony_ci			mode = "cpu";
2738c2ecf20Sopenharmony_ci		};
2748c2ecf20Sopenharmony_ci
2758c2ecf20Sopenharmony_ci		enet0: ucc@3000 {
2768c2ecf20Sopenharmony_ci			device_type = "network";
2778c2ecf20Sopenharmony_ci			compatible = "ucc_geth";
2788c2ecf20Sopenharmony_ci			cell-index = <2>;
2798c2ecf20Sopenharmony_ci			reg = <0x3000 0x200>;
2808c2ecf20Sopenharmony_ci			interrupts = <33>;
2818c2ecf20Sopenharmony_ci			interrupt-parent = <&qeic>;
2828c2ecf20Sopenharmony_ci			local-mac-address = [ 00 00 00 00 00 00 ];
2838c2ecf20Sopenharmony_ci			rx-clock-name = "clk16";
2848c2ecf20Sopenharmony_ci			tx-clock-name = "clk3";
2858c2ecf20Sopenharmony_ci			phy-handle = <&phy00>;
2868c2ecf20Sopenharmony_ci			pio-handle = <&ucc2pio>;
2878c2ecf20Sopenharmony_ci		};
2888c2ecf20Sopenharmony_ci
2898c2ecf20Sopenharmony_ci		enet1: ucc@2200 {
2908c2ecf20Sopenharmony_ci			device_type = "network";
2918c2ecf20Sopenharmony_ci			compatible = "ucc_geth";
2928c2ecf20Sopenharmony_ci			cell-index = <3>;
2938c2ecf20Sopenharmony_ci			reg = <0x2200 0x200>;
2948c2ecf20Sopenharmony_ci			interrupts = <34>;
2958c2ecf20Sopenharmony_ci			interrupt-parent = <&qeic>;
2968c2ecf20Sopenharmony_ci			local-mac-address = [ 00 00 00 00 00 00 ];
2978c2ecf20Sopenharmony_ci			rx-clock-name = "clk9";
2988c2ecf20Sopenharmony_ci			tx-clock-name = "clk10";
2998c2ecf20Sopenharmony_ci			phy-handle = <&phy04>;
3008c2ecf20Sopenharmony_ci			pio-handle = <&ucc3pio>;
3018c2ecf20Sopenharmony_ci		};
3028c2ecf20Sopenharmony_ci
3038c2ecf20Sopenharmony_ci		mdio@3120 {
3048c2ecf20Sopenharmony_ci			#address-cells = <1>;
3058c2ecf20Sopenharmony_ci			#size-cells = <0>;
3068c2ecf20Sopenharmony_ci			reg = <0x3120 0x18>;
3078c2ecf20Sopenharmony_ci			compatible = "fsl,ucc-mdio";
3088c2ecf20Sopenharmony_ci
3098c2ecf20Sopenharmony_ci			phy00:ethernet-phy@0 {
3108c2ecf20Sopenharmony_ci				reg = <0x0>;
3118c2ecf20Sopenharmony_ci			};
3128c2ecf20Sopenharmony_ci			phy04:ethernet-phy@4 {
3138c2ecf20Sopenharmony_ci				reg = <0x4>;
3148c2ecf20Sopenharmony_ci			};
3158c2ecf20Sopenharmony_ci		};
3168c2ecf20Sopenharmony_ci
3178c2ecf20Sopenharmony_ci		qeic:interrupt-controller@80 {
3188c2ecf20Sopenharmony_ci			interrupt-controller;
3198c2ecf20Sopenharmony_ci			compatible = "fsl,qe-ic";
3208c2ecf20Sopenharmony_ci			#address-cells = <0>;
3218c2ecf20Sopenharmony_ci			#interrupt-cells = <1>;
3228c2ecf20Sopenharmony_ci			reg = <0x80 0x80>;
3238c2ecf20Sopenharmony_ci			big-endian;
3248c2ecf20Sopenharmony_ci			interrupts = <32 0x8 33 0x8>; //high:32 low:33
3258c2ecf20Sopenharmony_ci			interrupt-parent = <&ipic>;
3268c2ecf20Sopenharmony_ci		};
3278c2ecf20Sopenharmony_ci	};
3288c2ecf20Sopenharmony_ci
3298c2ecf20Sopenharmony_ci	pci0: pci@e0008500 {
3308c2ecf20Sopenharmony_ci		interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
3318c2ecf20Sopenharmony_ci		interrupt-map = <
3328c2ecf20Sopenharmony_ci				/* IDSEL 0x10 AD16 (USB) */
3338c2ecf20Sopenharmony_ci				 0x8000 0x0 0x0 0x1 &ipic 17 0x8
3348c2ecf20Sopenharmony_ci
3358c2ecf20Sopenharmony_ci				/* IDSEL 0x11 AD17 (Mini1)*/
3368c2ecf20Sopenharmony_ci				 0x8800 0x0 0x0 0x1 &ipic 18 0x8
3378c2ecf20Sopenharmony_ci				 0x8800 0x0 0x0 0x2 &ipic 19 0x8
3388c2ecf20Sopenharmony_ci				 0x8800 0x0 0x0 0x3 &ipic 20 0x8
3398c2ecf20Sopenharmony_ci				 0x8800 0x0 0x0 0x4 &ipic 48 0x8
3408c2ecf20Sopenharmony_ci
3418c2ecf20Sopenharmony_ci				/* IDSEL 0x12 AD18 (PCI/Mini2) */
3428c2ecf20Sopenharmony_ci				 0x9000 0x0 0x0 0x1 &ipic 19 0x8
3438c2ecf20Sopenharmony_ci				 0x9000 0x0 0x0 0x2 &ipic 20 0x8
3448c2ecf20Sopenharmony_ci				 0x9000 0x0 0x0 0x3 &ipic 48 0x8
3458c2ecf20Sopenharmony_ci				 0x9000 0x0 0x0 0x4 &ipic 17 0x8>;
3468c2ecf20Sopenharmony_ci
3478c2ecf20Sopenharmony_ci		interrupt-parent = <&ipic>;
3488c2ecf20Sopenharmony_ci		interrupts = <66 0x8>;
3498c2ecf20Sopenharmony_ci		bus-range = <0x0 0x0>;
3508c2ecf20Sopenharmony_ci		ranges = <0x42000000 0x0 0x80000000 0x80000000 0x0 0x10000000
3518c2ecf20Sopenharmony_ci			  0x02000000 0x0 0x90000000 0x90000000 0x0 0x10000000
3528c2ecf20Sopenharmony_ci			  0x01000000 0x0 0xd0000000 0xd0000000 0x0 0x04000000>;
3538c2ecf20Sopenharmony_ci		clock-frequency = <0>;
3548c2ecf20Sopenharmony_ci		#interrupt-cells = <1>;
3558c2ecf20Sopenharmony_ci		#size-cells = <2>;
3568c2ecf20Sopenharmony_ci		#address-cells = <3>;
3578c2ecf20Sopenharmony_ci		reg = <0xe0008500 0x100		/* internal registers */
3588c2ecf20Sopenharmony_ci		       0xe0008300 0x8>;		/* config space access registers */
3598c2ecf20Sopenharmony_ci		compatible = "fsl,mpc8349-pci";
3608c2ecf20Sopenharmony_ci		device_type = "pci";
3618c2ecf20Sopenharmony_ci		sleep = <&pmc 0x00010000>;
3628c2ecf20Sopenharmony_ci	};
3638c2ecf20Sopenharmony_ci};
364