18c2ecf20Sopenharmony_ci/*
28c2ecf20Sopenharmony_ci * MPC8572DS Device Tree Source stub (no addresses or top-level ranges)
38c2ecf20Sopenharmony_ci *
48c2ecf20Sopenharmony_ci * Copyright 2011 Freescale Semiconductor Inc.
58c2ecf20Sopenharmony_ci *
68c2ecf20Sopenharmony_ci * Redistribution and use in source and binary forms, with or without
78c2ecf20Sopenharmony_ci * modification, are permitted provided that the following conditions are met:
88c2ecf20Sopenharmony_ci *     * Redistributions of source code must retain the above copyright
98c2ecf20Sopenharmony_ci *       notice, this list of conditions and the following disclaimer.
108c2ecf20Sopenharmony_ci *     * Redistributions in binary form must reproduce the above copyright
118c2ecf20Sopenharmony_ci *       notice, this list of conditions and the following disclaimer in the
128c2ecf20Sopenharmony_ci *       documentation and/or other materials provided with the distribution.
138c2ecf20Sopenharmony_ci *     * Neither the name of Freescale Semiconductor nor the
148c2ecf20Sopenharmony_ci *       names of its contributors may be used to endorse or promote products
158c2ecf20Sopenharmony_ci *       derived from this software without specific prior written permission.
168c2ecf20Sopenharmony_ci *
178c2ecf20Sopenharmony_ci *
188c2ecf20Sopenharmony_ci * ALTERNATIVELY, this software may be distributed under the terms of the
198c2ecf20Sopenharmony_ci * GNU General Public License ("GPL") as published by the Free Software
208c2ecf20Sopenharmony_ci * Foundation, either version 2 of that License or (at your option) any
218c2ecf20Sopenharmony_ci * later version.
228c2ecf20Sopenharmony_ci *
238c2ecf20Sopenharmony_ci * THIS SOFTWARE IS PROVIDED BY Freescale Semiconductor ``AS IS'' AND ANY
248c2ecf20Sopenharmony_ci * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
258c2ecf20Sopenharmony_ci * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
268c2ecf20Sopenharmony_ci * DISCLAIMED. IN NO EVENT SHALL Freescale Semiconductor BE LIABLE FOR ANY
278c2ecf20Sopenharmony_ci * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
288c2ecf20Sopenharmony_ci * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
298c2ecf20Sopenharmony_ci * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
308c2ecf20Sopenharmony_ci * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
318c2ecf20Sopenharmony_ci * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
328c2ecf20Sopenharmony_ci * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
338c2ecf20Sopenharmony_ci */
348c2ecf20Sopenharmony_ci
358c2ecf20Sopenharmony_ci&board_lbc {
368c2ecf20Sopenharmony_ci	nor@0,0 {
378c2ecf20Sopenharmony_ci		#address-cells = <1>;
388c2ecf20Sopenharmony_ci		#size-cells = <1>;
398c2ecf20Sopenharmony_ci		compatible = "cfi-flash";
408c2ecf20Sopenharmony_ci		reg = <0x0 0x0 0x8000000>;
418c2ecf20Sopenharmony_ci		bank-width = <2>;
428c2ecf20Sopenharmony_ci		device-width = <1>;
438c2ecf20Sopenharmony_ci
448c2ecf20Sopenharmony_ci		partition@0 {
458c2ecf20Sopenharmony_ci			reg = <0x0 0x03000000>;
468c2ecf20Sopenharmony_ci			label = "ramdisk-nor";
478c2ecf20Sopenharmony_ci		};
488c2ecf20Sopenharmony_ci
498c2ecf20Sopenharmony_ci		partition@3000000 {
508c2ecf20Sopenharmony_ci			reg = <0x03000000 0x00e00000>;
518c2ecf20Sopenharmony_ci			label = "diagnostic-nor";
528c2ecf20Sopenharmony_ci			read-only;
538c2ecf20Sopenharmony_ci		};
548c2ecf20Sopenharmony_ci
558c2ecf20Sopenharmony_ci		partition@3e00000 {
568c2ecf20Sopenharmony_ci			reg = <0x03e00000 0x00200000>;
578c2ecf20Sopenharmony_ci			label = "dink-nor";
588c2ecf20Sopenharmony_ci			read-only;
598c2ecf20Sopenharmony_ci		};
608c2ecf20Sopenharmony_ci
618c2ecf20Sopenharmony_ci		partition@4000000 {
628c2ecf20Sopenharmony_ci			reg = <0x04000000 0x00400000>;
638c2ecf20Sopenharmony_ci			label = "kernel-nor";
648c2ecf20Sopenharmony_ci		};
658c2ecf20Sopenharmony_ci
668c2ecf20Sopenharmony_ci		partition@4400000 {
678c2ecf20Sopenharmony_ci			reg = <0x04400000 0x03b00000>;
688c2ecf20Sopenharmony_ci			label = "fs-nor";
698c2ecf20Sopenharmony_ci		};
708c2ecf20Sopenharmony_ci
718c2ecf20Sopenharmony_ci		partition@7f00000 {
728c2ecf20Sopenharmony_ci			reg = <0x07f00000 0x00060000>;
738c2ecf20Sopenharmony_ci			label = "dtb-nor";
748c2ecf20Sopenharmony_ci		};
758c2ecf20Sopenharmony_ci
768c2ecf20Sopenharmony_ci		partition@7f60000 {
778c2ecf20Sopenharmony_ci			reg = <0x07f60000 0x00020000>;
788c2ecf20Sopenharmony_ci			label = "env-nor";
798c2ecf20Sopenharmony_ci			read-only;
808c2ecf20Sopenharmony_ci		};
818c2ecf20Sopenharmony_ci
828c2ecf20Sopenharmony_ci		partition@7f80000 {
838c2ecf20Sopenharmony_ci			reg = <0x07f80000 0x00080000>;
848c2ecf20Sopenharmony_ci			label = "u-boot-nor";
858c2ecf20Sopenharmony_ci			read-only;
868c2ecf20Sopenharmony_ci		};
878c2ecf20Sopenharmony_ci	};
888c2ecf20Sopenharmony_ci
898c2ecf20Sopenharmony_ci	nand@2,0 {
908c2ecf20Sopenharmony_ci		#address-cells = <1>;
918c2ecf20Sopenharmony_ci		#size-cells = <1>;
928c2ecf20Sopenharmony_ci		compatible = "fsl,mpc8572-fcm-nand",
938c2ecf20Sopenharmony_ci			     "fsl,elbc-fcm-nand";
948c2ecf20Sopenharmony_ci		reg = <0x2 0x0 0x40000>;
958c2ecf20Sopenharmony_ci
968c2ecf20Sopenharmony_ci		partition@0 {
978c2ecf20Sopenharmony_ci			reg = <0x0 0x02000000>;
988c2ecf20Sopenharmony_ci			label = "u-boot-nand";
998c2ecf20Sopenharmony_ci			read-only;
1008c2ecf20Sopenharmony_ci		};
1018c2ecf20Sopenharmony_ci
1028c2ecf20Sopenharmony_ci		partition@2000000 {
1038c2ecf20Sopenharmony_ci			reg = <0x02000000 0x10000000>;
1048c2ecf20Sopenharmony_ci			label = "fs-nand";
1058c2ecf20Sopenharmony_ci		};
1068c2ecf20Sopenharmony_ci
1078c2ecf20Sopenharmony_ci		partition@12000000 {
1088c2ecf20Sopenharmony_ci			reg = <0x12000000 0x08000000>;
1098c2ecf20Sopenharmony_ci			label = "ramdisk-nand";
1108c2ecf20Sopenharmony_ci		};
1118c2ecf20Sopenharmony_ci
1128c2ecf20Sopenharmony_ci		partition@1a000000 {
1138c2ecf20Sopenharmony_ci			reg = <0x1a000000 0x04000000>;
1148c2ecf20Sopenharmony_ci			label = "kernel-nand";
1158c2ecf20Sopenharmony_ci		};
1168c2ecf20Sopenharmony_ci
1178c2ecf20Sopenharmony_ci		partition@1e000000 {
1188c2ecf20Sopenharmony_ci			reg = <0x1e000000 0x01000000>;
1198c2ecf20Sopenharmony_ci			label = "dtb-nand";
1208c2ecf20Sopenharmony_ci		};
1218c2ecf20Sopenharmony_ci
1228c2ecf20Sopenharmony_ci		partition@1f000000 {
1238c2ecf20Sopenharmony_ci			reg = <0x1f000000 0x21000000>;
1248c2ecf20Sopenharmony_ci			label = "empty-nand";
1258c2ecf20Sopenharmony_ci		};
1268c2ecf20Sopenharmony_ci	};
1278c2ecf20Sopenharmony_ci
1288c2ecf20Sopenharmony_ci	nand@4,0 {
1298c2ecf20Sopenharmony_ci		compatible = "fsl,mpc8572-fcm-nand",
1308c2ecf20Sopenharmony_ci			     "fsl,elbc-fcm-nand";
1318c2ecf20Sopenharmony_ci		reg = <0x4 0x0 0x40000>;
1328c2ecf20Sopenharmony_ci	};
1338c2ecf20Sopenharmony_ci
1348c2ecf20Sopenharmony_ci	nand@5,0 {
1358c2ecf20Sopenharmony_ci		compatible = "fsl,mpc8572-fcm-nand",
1368c2ecf20Sopenharmony_ci			     "fsl,elbc-fcm-nand";
1378c2ecf20Sopenharmony_ci		reg = <0x5 0x0 0x40000>;
1388c2ecf20Sopenharmony_ci	};
1398c2ecf20Sopenharmony_ci
1408c2ecf20Sopenharmony_ci	nand@6,0 {
1418c2ecf20Sopenharmony_ci		compatible = "fsl,mpc8572-fcm-nand",
1428c2ecf20Sopenharmony_ci			     "fsl,elbc-fcm-nand";
1438c2ecf20Sopenharmony_ci		reg = <0x6 0x0 0x40000>;
1448c2ecf20Sopenharmony_ci	};
1458c2ecf20Sopenharmony_ci};
1468c2ecf20Sopenharmony_ci
1478c2ecf20Sopenharmony_ci&board_soc {
1488c2ecf20Sopenharmony_ci	enet0: ethernet@24000 {
1498c2ecf20Sopenharmony_ci		tbi-handle = <&tbi0>;
1508c2ecf20Sopenharmony_ci		phy-handle = <&phy0>;
1518c2ecf20Sopenharmony_ci		phy-connection-type = "rgmii-id";
1528c2ecf20Sopenharmony_ci	};
1538c2ecf20Sopenharmony_ci
1548c2ecf20Sopenharmony_ci	mdio@24520 {
1558c2ecf20Sopenharmony_ci		phy0: ethernet-phy@0 {
1568c2ecf20Sopenharmony_ci			interrupts = <10 1 0 0>;
1578c2ecf20Sopenharmony_ci			reg = <0x0>;
1588c2ecf20Sopenharmony_ci		};
1598c2ecf20Sopenharmony_ci		phy1: ethernet-phy@1 {
1608c2ecf20Sopenharmony_ci			interrupts = <10 1 0 0>;
1618c2ecf20Sopenharmony_ci			reg = <0x1>;
1628c2ecf20Sopenharmony_ci		};
1638c2ecf20Sopenharmony_ci		phy2: ethernet-phy@2 {
1648c2ecf20Sopenharmony_ci			interrupts = <10 1 0 0>;
1658c2ecf20Sopenharmony_ci			reg = <0x2>;
1668c2ecf20Sopenharmony_ci		};
1678c2ecf20Sopenharmony_ci		phy3: ethernet-phy@3 {
1688c2ecf20Sopenharmony_ci			interrupts = <10 1 0 0>;
1698c2ecf20Sopenharmony_ci			reg = <0x3>;
1708c2ecf20Sopenharmony_ci		};
1718c2ecf20Sopenharmony_ci
1728c2ecf20Sopenharmony_ci		sgmii_phy0: sgmii-phy@0 {
1738c2ecf20Sopenharmony_ci			interrupts = <6 1 0 0>;
1748c2ecf20Sopenharmony_ci			reg = <0x1c>;
1758c2ecf20Sopenharmony_ci		};
1768c2ecf20Sopenharmony_ci		sgmii_phy1: sgmii-phy@1 {
1778c2ecf20Sopenharmony_ci			interrupts = <6 1 0 0>;
1788c2ecf20Sopenharmony_ci			reg = <0x1d>;
1798c2ecf20Sopenharmony_ci		};
1808c2ecf20Sopenharmony_ci		sgmii_phy2: sgmii-phy@2 {
1818c2ecf20Sopenharmony_ci			interrupts = <7 1 0 0>;
1828c2ecf20Sopenharmony_ci			reg = <0x1e>;
1838c2ecf20Sopenharmony_ci		};
1848c2ecf20Sopenharmony_ci		sgmii_phy3: sgmii-phy@3 {
1858c2ecf20Sopenharmony_ci			interrupts = <7 1 0 0>;
1868c2ecf20Sopenharmony_ci			reg = <0x1f>;
1878c2ecf20Sopenharmony_ci		};
1888c2ecf20Sopenharmony_ci
1898c2ecf20Sopenharmony_ci		tbi0: tbi-phy@11 {
1908c2ecf20Sopenharmony_ci			reg = <0x11>;
1918c2ecf20Sopenharmony_ci			device_type = "tbi-phy";
1928c2ecf20Sopenharmony_ci		};
1938c2ecf20Sopenharmony_ci	};
1948c2ecf20Sopenharmony_ci
1958c2ecf20Sopenharmony_ci	ptp_clock@24e00 {
1968c2ecf20Sopenharmony_ci		fsl,tclk-period = <5>;
1978c2ecf20Sopenharmony_ci		fsl,tmr-prsc = <200>;
1988c2ecf20Sopenharmony_ci		fsl,tmr-add = <0xAAAAAAAB>;
1998c2ecf20Sopenharmony_ci		fsl,tmr-fiper1 = <0x3B9AC9FB>;
2008c2ecf20Sopenharmony_ci		fsl,tmr-fiper2 = <0x3B9AC9FB>;
2018c2ecf20Sopenharmony_ci		fsl,max-adj = <499999999>;
2028c2ecf20Sopenharmony_ci	};
2038c2ecf20Sopenharmony_ci
2048c2ecf20Sopenharmony_ci	enet1: ethernet@25000 {
2058c2ecf20Sopenharmony_ci		tbi-handle = <&tbi1>;
2068c2ecf20Sopenharmony_ci		phy-handle = <&phy1>;
2078c2ecf20Sopenharmony_ci		phy-connection-type = "rgmii-id";
2088c2ecf20Sopenharmony_ci
2098c2ecf20Sopenharmony_ci	};
2108c2ecf20Sopenharmony_ci
2118c2ecf20Sopenharmony_ci	mdio@25520 {
2128c2ecf20Sopenharmony_ci		tbi1: tbi-phy@11 {
2138c2ecf20Sopenharmony_ci			reg = <0x11>;
2148c2ecf20Sopenharmony_ci			device_type = "tbi-phy";
2158c2ecf20Sopenharmony_ci		};
2168c2ecf20Sopenharmony_ci	};
2178c2ecf20Sopenharmony_ci
2188c2ecf20Sopenharmony_ci	enet2: ethernet@26000 {
2198c2ecf20Sopenharmony_ci		tbi-handle = <&tbi2>;
2208c2ecf20Sopenharmony_ci		phy-handle = <&phy2>;
2218c2ecf20Sopenharmony_ci		phy-connection-type = "rgmii-id";
2228c2ecf20Sopenharmony_ci
2238c2ecf20Sopenharmony_ci	};
2248c2ecf20Sopenharmony_ci	mdio@26520 {
2258c2ecf20Sopenharmony_ci		tbi2: tbi-phy@11 {
2268c2ecf20Sopenharmony_ci			reg = <0x11>;
2278c2ecf20Sopenharmony_ci			device_type = "tbi-phy";
2288c2ecf20Sopenharmony_ci		};
2298c2ecf20Sopenharmony_ci	};
2308c2ecf20Sopenharmony_ci
2318c2ecf20Sopenharmony_ci	enet3: ethernet@27000 {
2328c2ecf20Sopenharmony_ci		tbi-handle = <&tbi3>;
2338c2ecf20Sopenharmony_ci		phy-handle = <&phy3>;
2348c2ecf20Sopenharmony_ci		phy-connection-type = "rgmii-id";
2358c2ecf20Sopenharmony_ci	};
2368c2ecf20Sopenharmony_ci
2378c2ecf20Sopenharmony_ci	mdio@27520 {
2388c2ecf20Sopenharmony_ci		tbi3: tbi-phy@11 {
2398c2ecf20Sopenharmony_ci			reg = <0x11>;
2408c2ecf20Sopenharmony_ci			device_type = "tbi-phy";
2418c2ecf20Sopenharmony_ci		};
2428c2ecf20Sopenharmony_ci	};
2438c2ecf20Sopenharmony_ci};
2448c2ecf20Sopenharmony_ci
2458c2ecf20Sopenharmony_ci&board_pci0 {
2468c2ecf20Sopenharmony_ci	pcie@0 {
2478c2ecf20Sopenharmony_ci		interrupt-map-mask = <0xff00 0x0 0x0 0x7>;
2488c2ecf20Sopenharmony_ci		interrupt-map = <
2498c2ecf20Sopenharmony_ci			/* IDSEL 0x11 func 0 - PCI slot 1 */
2508c2ecf20Sopenharmony_ci			0x8800 0x0 0x0 0x1 &mpic 0x2 0x1 0 0
2518c2ecf20Sopenharmony_ci			0x8800 0x0 0x0 0x2 &mpic 0x3 0x1 0 0
2528c2ecf20Sopenharmony_ci			0x8800 0x0 0x0 0x3 &mpic 0x4 0x1 0 0
2538c2ecf20Sopenharmony_ci			0x8800 0x0 0x0 0x4 &mpic 0x1 0x1 0 0
2548c2ecf20Sopenharmony_ci
2558c2ecf20Sopenharmony_ci			/* IDSEL 0x11 func 1 - PCI slot 1 */
2568c2ecf20Sopenharmony_ci			0x8900 0x0 0x0 0x1 &mpic 0x2 0x1 0 0
2578c2ecf20Sopenharmony_ci			0x8900 0x0 0x0 0x2 &mpic 0x3 0x1 0 0
2588c2ecf20Sopenharmony_ci			0x8900 0x0 0x0 0x3 &mpic 0x4 0x1 0 0
2598c2ecf20Sopenharmony_ci			0x8900 0x0 0x0 0x4 &mpic 0x1 0x1 0 0
2608c2ecf20Sopenharmony_ci
2618c2ecf20Sopenharmony_ci			/* IDSEL 0x11 func 2 - PCI slot 1 */
2628c2ecf20Sopenharmony_ci			0x8a00 0x0 0x0 0x1 &mpic 0x2 0x1 0 0
2638c2ecf20Sopenharmony_ci			0x8a00 0x0 0x0 0x2 &mpic 0x3 0x1 0 0
2648c2ecf20Sopenharmony_ci			0x8a00 0x0 0x0 0x3 &mpic 0x4 0x1 0 0
2658c2ecf20Sopenharmony_ci			0x8a00 0x0 0x0 0x4 &mpic 0x1 0x1 0 0
2668c2ecf20Sopenharmony_ci
2678c2ecf20Sopenharmony_ci			/* IDSEL 0x11 func 3 - PCI slot 1 */
2688c2ecf20Sopenharmony_ci			0x8b00 0x0 0x0 0x1 &mpic 0x2 0x1 0 0
2698c2ecf20Sopenharmony_ci			0x8b00 0x0 0x0 0x2 &mpic 0x3 0x1 0 0
2708c2ecf20Sopenharmony_ci			0x8b00 0x0 0x0 0x3 &mpic 0x4 0x1 0 0
2718c2ecf20Sopenharmony_ci			0x8b00 0x0 0x0 0x4 &mpic 0x1 0x1 0 0
2728c2ecf20Sopenharmony_ci
2738c2ecf20Sopenharmony_ci			/* IDSEL 0x11 func 4 - PCI slot 1 */
2748c2ecf20Sopenharmony_ci			0x8c00 0x0 0x0 0x1 &mpic 0x2 0x1 0 0
2758c2ecf20Sopenharmony_ci			0x8c00 0x0 0x0 0x2 &mpic 0x3 0x1 0 0
2768c2ecf20Sopenharmony_ci			0x8c00 0x0 0x0 0x3 &mpic 0x4 0x1 0 0
2778c2ecf20Sopenharmony_ci			0x8c00 0x0 0x0 0x4 &mpic 0x1 0x1 0 0
2788c2ecf20Sopenharmony_ci
2798c2ecf20Sopenharmony_ci			/* IDSEL 0x11 func 5 - PCI slot 1 */
2808c2ecf20Sopenharmony_ci			0x8d00 0x0 0x0 0x1 &mpic 0x2 0x1 0 0
2818c2ecf20Sopenharmony_ci			0x8d00 0x0 0x0 0x2 &mpic 0x3 0x1 0 0
2828c2ecf20Sopenharmony_ci			0x8d00 0x0 0x0 0x3 &mpic 0x4 0x1 0 0
2838c2ecf20Sopenharmony_ci			0x8d00 0x0 0x0 0x4 &mpic 0x1 0x1 0 0
2848c2ecf20Sopenharmony_ci
2858c2ecf20Sopenharmony_ci			/* IDSEL 0x11 func 6 - PCI slot 1 */
2868c2ecf20Sopenharmony_ci			0x8e00 0x0 0x0 0x1 &mpic 0x2 0x1 0 0
2878c2ecf20Sopenharmony_ci			0x8e00 0x0 0x0 0x2 &mpic 0x3 0x1 0 0
2888c2ecf20Sopenharmony_ci			0x8e00 0x0 0x0 0x3 &mpic 0x4 0x1 0 0
2898c2ecf20Sopenharmony_ci			0x8e00 0x0 0x0 0x4 &mpic 0x1 0x1 0 0
2908c2ecf20Sopenharmony_ci
2918c2ecf20Sopenharmony_ci			/* IDSEL 0x11 func 7 - PCI slot 1 */
2928c2ecf20Sopenharmony_ci			0x8f00 0x0 0x0 0x1 &mpic 0x2 0x1 0 0
2938c2ecf20Sopenharmony_ci			0x8f00 0x0 0x0 0x2 &mpic 0x3 0x1 0 0
2948c2ecf20Sopenharmony_ci			0x8f00 0x0 0x0 0x3 &mpic 0x4 0x1 0 0
2958c2ecf20Sopenharmony_ci			0x8f00 0x0 0x0 0x4 &mpic 0x1 0x1 0 0
2968c2ecf20Sopenharmony_ci
2978c2ecf20Sopenharmony_ci			/* IDSEL 0x12 func 0 - PCI slot 2 */
2988c2ecf20Sopenharmony_ci			0x9000 0x0 0x0 0x1 &mpic 0x3 0x1 0 0
2998c2ecf20Sopenharmony_ci			0x9000 0x0 0x0 0x2 &mpic 0x4 0x1 0 0
3008c2ecf20Sopenharmony_ci			0x9000 0x0 0x0 0x3 &mpic 0x1 0x1 0 0
3018c2ecf20Sopenharmony_ci			0x9000 0x0 0x0 0x4 &mpic 0x2 0x1 0 0
3028c2ecf20Sopenharmony_ci
3038c2ecf20Sopenharmony_ci			/* IDSEL 0x12 func 1 - PCI slot 2 */
3048c2ecf20Sopenharmony_ci			0x9100 0x0 0x0 0x1 &mpic 0x3 0x1 0 0
3058c2ecf20Sopenharmony_ci			0x9100 0x0 0x0 0x2 &mpic 0x4 0x1 0 0
3068c2ecf20Sopenharmony_ci			0x9100 0x0 0x0 0x3 &mpic 0x1 0x1 0 0
3078c2ecf20Sopenharmony_ci			0x9100 0x0 0x0 0x4 &mpic 0x2 0x1 0 0
3088c2ecf20Sopenharmony_ci
3098c2ecf20Sopenharmony_ci			/* IDSEL 0x12 func 2 - PCI slot 2 */
3108c2ecf20Sopenharmony_ci			0x9200 0x0 0x0 0x1 &mpic 0x3 0x1 0 0
3118c2ecf20Sopenharmony_ci			0x9200 0x0 0x0 0x2 &mpic 0x4 0x1 0 0
3128c2ecf20Sopenharmony_ci			0x9200 0x0 0x0 0x3 &mpic 0x1 0x1 0 0
3138c2ecf20Sopenharmony_ci			0x9200 0x0 0x0 0x4 &mpic 0x2 0x1 0 0
3148c2ecf20Sopenharmony_ci
3158c2ecf20Sopenharmony_ci			/* IDSEL 0x12 func 3 - PCI slot 2 */
3168c2ecf20Sopenharmony_ci			0x9300 0x0 0x0 0x1 &mpic 0x3 0x1 0 0
3178c2ecf20Sopenharmony_ci			0x9300 0x0 0x0 0x2 &mpic 0x4 0x1 0 0
3188c2ecf20Sopenharmony_ci			0x9300 0x0 0x0 0x3 &mpic 0x1 0x1 0 0
3198c2ecf20Sopenharmony_ci			0x9300 0x0 0x0 0x4 &mpic 0x2 0x1 0 0
3208c2ecf20Sopenharmony_ci
3218c2ecf20Sopenharmony_ci			/* IDSEL 0x12 func 4 - PCI slot 2 */
3228c2ecf20Sopenharmony_ci			0x9400 0x0 0x0 0x1 &mpic 0x3 0x1 0 0
3238c2ecf20Sopenharmony_ci			0x9400 0x0 0x0 0x2 &mpic 0x4 0x1 0 0
3248c2ecf20Sopenharmony_ci			0x9400 0x0 0x0 0x3 &mpic 0x1 0x1 0 0
3258c2ecf20Sopenharmony_ci			0x9400 0x0 0x0 0x4 &mpic 0x2 0x1 0 0
3268c2ecf20Sopenharmony_ci
3278c2ecf20Sopenharmony_ci			/* IDSEL 0x12 func 5 - PCI slot 2 */
3288c2ecf20Sopenharmony_ci			0x9500 0x0 0x0 0x1 &mpic 0x3 0x1 0 0
3298c2ecf20Sopenharmony_ci			0x9500 0x0 0x0 0x2 &mpic 0x4 0x1 0 0
3308c2ecf20Sopenharmony_ci			0x9500 0x0 0x0 0x3 &mpic 0x1 0x1 0 0
3318c2ecf20Sopenharmony_ci			0x9500 0x0 0x0 0x4 &mpic 0x2 0x1 0 0
3328c2ecf20Sopenharmony_ci
3338c2ecf20Sopenharmony_ci			/* IDSEL 0x12 func 6 - PCI slot 2 */
3348c2ecf20Sopenharmony_ci			0x9600 0x0 0x0 0x1 &mpic 0x3 0x1 0 0
3358c2ecf20Sopenharmony_ci			0x9600 0x0 0x0 0x2 &mpic 0x4 0x1 0 0
3368c2ecf20Sopenharmony_ci			0x9600 0x0 0x0 0x3 &mpic 0x1 0x1 0 0
3378c2ecf20Sopenharmony_ci			0x9600 0x0 0x0 0x4 &mpic 0x2 0x1 0 0
3388c2ecf20Sopenharmony_ci
3398c2ecf20Sopenharmony_ci			/* IDSEL 0x12 func 7 - PCI slot 2 */
3408c2ecf20Sopenharmony_ci			0x9700 0x0 0x0 0x1 &mpic 0x3 0x1 0 0
3418c2ecf20Sopenharmony_ci			0x9700 0x0 0x0 0x2 &mpic 0x4 0x1 0 0
3428c2ecf20Sopenharmony_ci			0x9700 0x0 0x0 0x3 &mpic 0x1 0x1 0 0
3438c2ecf20Sopenharmony_ci			0x9700 0x0 0x0 0x4 &mpic 0x2 0x1 0 0
3448c2ecf20Sopenharmony_ci
3458c2ecf20Sopenharmony_ci			// IDSEL 0x1c  USB
3468c2ecf20Sopenharmony_ci			0xe000 0x0 0x0 0x1 &i8259 0xc 0x2
3478c2ecf20Sopenharmony_ci			0xe100 0x0 0x0 0x2 &i8259 0x9 0x2
3488c2ecf20Sopenharmony_ci			0xe200 0x0 0x0 0x3 &i8259 0xa 0x2
3498c2ecf20Sopenharmony_ci			0xe300 0x0 0x0 0x4 &i8259 0xb 0x2
3508c2ecf20Sopenharmony_ci
3518c2ecf20Sopenharmony_ci			// IDSEL 0x1d  Audio
3528c2ecf20Sopenharmony_ci			0xe800 0x0 0x0 0x1 &i8259 0x6 0x2
3538c2ecf20Sopenharmony_ci
3548c2ecf20Sopenharmony_ci			// IDSEL 0x1e Legacy
3558c2ecf20Sopenharmony_ci			0xf000 0x0 0x0 0x1 &i8259 0x7 0x2
3568c2ecf20Sopenharmony_ci			0xf100 0x0 0x0 0x1 &i8259 0x7 0x2
3578c2ecf20Sopenharmony_ci
3588c2ecf20Sopenharmony_ci			// IDSEL 0x1f IDE/SATA
3598c2ecf20Sopenharmony_ci			0xf800 0x0 0x0 0x1 &i8259 0xe 0x2
3608c2ecf20Sopenharmony_ci			0xf900 0x0 0x0 0x1 &i8259 0x5 0x2
3618c2ecf20Sopenharmony_ci			>;
3628c2ecf20Sopenharmony_ci
3638c2ecf20Sopenharmony_ci
3648c2ecf20Sopenharmony_ci		uli1575@0 {
3658c2ecf20Sopenharmony_ci			reg = <0x0 0x0 0x0 0x0 0x0>;
3668c2ecf20Sopenharmony_ci			#size-cells = <2>;
3678c2ecf20Sopenharmony_ci			#address-cells = <3>;
3688c2ecf20Sopenharmony_ci			ranges = <0x2000000 0x0 0x80000000
3698c2ecf20Sopenharmony_ci				  0x2000000 0x0 0x80000000
3708c2ecf20Sopenharmony_ci				  0x0 0x20000000
3718c2ecf20Sopenharmony_ci
3728c2ecf20Sopenharmony_ci				  0x1000000 0x0 0x0
3738c2ecf20Sopenharmony_ci				  0x1000000 0x0 0x0
3748c2ecf20Sopenharmony_ci				  0x0 0x10000>;
3758c2ecf20Sopenharmony_ci			isa@1e {
3768c2ecf20Sopenharmony_ci				device_type = "isa";
3778c2ecf20Sopenharmony_ci				#interrupt-cells = <2>;
3788c2ecf20Sopenharmony_ci				#size-cells = <1>;
3798c2ecf20Sopenharmony_ci				#address-cells = <2>;
3808c2ecf20Sopenharmony_ci				reg = <0xf000 0x0 0x0 0x0 0x0>;
3818c2ecf20Sopenharmony_ci				ranges = <0x1 0x0 0x1000000 0x0 0x0
3828c2ecf20Sopenharmony_ci					  0x1000>;
3838c2ecf20Sopenharmony_ci				interrupt-parent = <&i8259>;
3848c2ecf20Sopenharmony_ci
3858c2ecf20Sopenharmony_ci				i8259: interrupt-controller@20 {
3868c2ecf20Sopenharmony_ci					reg = <0x1 0x20 0x2
3878c2ecf20Sopenharmony_ci					       0x1 0xa0 0x2
3888c2ecf20Sopenharmony_ci					       0x1 0x4d0 0x2>;
3898c2ecf20Sopenharmony_ci					interrupt-controller;
3908c2ecf20Sopenharmony_ci					device_type = "interrupt-controller";
3918c2ecf20Sopenharmony_ci					#address-cells = <0>;
3928c2ecf20Sopenharmony_ci					#interrupt-cells = <2>;
3938c2ecf20Sopenharmony_ci					compatible = "chrp,iic";
3948c2ecf20Sopenharmony_ci					interrupts = <9 2 0 0>;
3958c2ecf20Sopenharmony_ci					interrupt-parent = <&mpic>;
3968c2ecf20Sopenharmony_ci				};
3978c2ecf20Sopenharmony_ci
3988c2ecf20Sopenharmony_ci				i8042@60 {
3998c2ecf20Sopenharmony_ci					#size-cells = <0>;
4008c2ecf20Sopenharmony_ci					#address-cells = <1>;
4018c2ecf20Sopenharmony_ci					reg = <0x1 0x60 0x1 0x1 0x64 0x1>;
4028c2ecf20Sopenharmony_ci					interrupts = <1 3 12 3>;
4038c2ecf20Sopenharmony_ci					interrupt-parent =
4048c2ecf20Sopenharmony_ci						<&i8259>;
4058c2ecf20Sopenharmony_ci
4068c2ecf20Sopenharmony_ci					keyboard@0 {
4078c2ecf20Sopenharmony_ci						reg = <0x0>;
4088c2ecf20Sopenharmony_ci						compatible = "pnpPNP,303";
4098c2ecf20Sopenharmony_ci					};
4108c2ecf20Sopenharmony_ci
4118c2ecf20Sopenharmony_ci					mouse@1 {
4128c2ecf20Sopenharmony_ci						reg = <0x1>;
4138c2ecf20Sopenharmony_ci						compatible = "pnpPNP,f03";
4148c2ecf20Sopenharmony_ci					};
4158c2ecf20Sopenharmony_ci				};
4168c2ecf20Sopenharmony_ci
4178c2ecf20Sopenharmony_ci				rtc@70 {
4188c2ecf20Sopenharmony_ci					compatible = "pnpPNP,b00";
4198c2ecf20Sopenharmony_ci					reg = <0x1 0x70 0x2>;
4208c2ecf20Sopenharmony_ci				};
4218c2ecf20Sopenharmony_ci
4228c2ecf20Sopenharmony_ci				gpio@400 {
4238c2ecf20Sopenharmony_ci					reg = <0x1 0x400 0x80>;
4248c2ecf20Sopenharmony_ci				};
4258c2ecf20Sopenharmony_ci			};
4268c2ecf20Sopenharmony_ci		};
4278c2ecf20Sopenharmony_ci	};
4288c2ecf20Sopenharmony_ci};
429