18c2ecf20Sopenharmony_ci/*
28c2ecf20Sopenharmony_ci * MPC8544DS 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 0x800000>;
418c2ecf20Sopenharmony_ci		bank-width = <2>;
428c2ecf20Sopenharmony_ci		device-width = <1>;
438c2ecf20Sopenharmony_ci
448c2ecf20Sopenharmony_ci		partition@0 {
458c2ecf20Sopenharmony_ci			reg = <0x0 0x10000>;
468c2ecf20Sopenharmony_ci			label = "dtb-nor";
478c2ecf20Sopenharmony_ci		};
488c2ecf20Sopenharmony_ci
498c2ecf20Sopenharmony_ci		partition@20000 {
508c2ecf20Sopenharmony_ci			reg = <0x20000 0x30000>;
518c2ecf20Sopenharmony_ci			label = "diagnostic-nor";
528c2ecf20Sopenharmony_ci			read-only;
538c2ecf20Sopenharmony_ci		};
548c2ecf20Sopenharmony_ci
558c2ecf20Sopenharmony_ci		partition@200000 {
568c2ecf20Sopenharmony_ci			reg = <0x200000 0x200000>;
578c2ecf20Sopenharmony_ci			label = "dink-nor";
588c2ecf20Sopenharmony_ci			read-only;
598c2ecf20Sopenharmony_ci		};
608c2ecf20Sopenharmony_ci
618c2ecf20Sopenharmony_ci		partition@400000 {
628c2ecf20Sopenharmony_ci			reg = <0x400000 0x380000>;
638c2ecf20Sopenharmony_ci			label = "kernel-nor";
648c2ecf20Sopenharmony_ci		};
658c2ecf20Sopenharmony_ci
668c2ecf20Sopenharmony_ci		partition@780000 {
678c2ecf20Sopenharmony_ci			reg = <0x780000 0x80000>;
688c2ecf20Sopenharmony_ci			label = "u-boot-nor";
698c2ecf20Sopenharmony_ci			read-only;
708c2ecf20Sopenharmony_ci		};
718c2ecf20Sopenharmony_ci	};
728c2ecf20Sopenharmony_ci};
738c2ecf20Sopenharmony_ci
748c2ecf20Sopenharmony_ci&board_soc {
758c2ecf20Sopenharmony_ci	enet0: ethernet@24000 {
768c2ecf20Sopenharmony_ci		phy-handle = <&phy0>;
778c2ecf20Sopenharmony_ci		tbi-handle = <&tbi0>;
788c2ecf20Sopenharmony_ci		phy-connection-type = "rgmii-id";
798c2ecf20Sopenharmony_ci	};
808c2ecf20Sopenharmony_ci
818c2ecf20Sopenharmony_ci	mdio@24520 {
828c2ecf20Sopenharmony_ci		phy0: ethernet-phy@0 {
838c2ecf20Sopenharmony_ci			interrupts = <10 1 0 0>;
848c2ecf20Sopenharmony_ci			reg = <0x0>;
858c2ecf20Sopenharmony_ci		};
868c2ecf20Sopenharmony_ci		phy1: ethernet-phy@1 {
878c2ecf20Sopenharmony_ci			interrupts = <10 1 0 0>;
888c2ecf20Sopenharmony_ci			reg = <0x1>;
898c2ecf20Sopenharmony_ci		};
908c2ecf20Sopenharmony_ci
918c2ecf20Sopenharmony_ci		sgmii_phy0: sgmii-phy@0 {
928c2ecf20Sopenharmony_ci			interrupts = <6 1 0 0>;
938c2ecf20Sopenharmony_ci			reg = <0x1c>;
948c2ecf20Sopenharmony_ci		};
958c2ecf20Sopenharmony_ci		sgmii_phy1: sgmii-phy@1 {
968c2ecf20Sopenharmony_ci			interrupts = <6 1 0 0>;
978c2ecf20Sopenharmony_ci			reg = <0x1d>;
988c2ecf20Sopenharmony_ci		};
998c2ecf20Sopenharmony_ci
1008c2ecf20Sopenharmony_ci		tbi0: tbi-phy@11 {
1018c2ecf20Sopenharmony_ci			reg = <0x11>;
1028c2ecf20Sopenharmony_ci			device_type = "tbi-phy";
1038c2ecf20Sopenharmony_ci		};
1048c2ecf20Sopenharmony_ci	};
1058c2ecf20Sopenharmony_ci
1068c2ecf20Sopenharmony_ci	enet2: ethernet@26000 {
1078c2ecf20Sopenharmony_ci		phy-handle = <&phy1>;
1088c2ecf20Sopenharmony_ci		tbi-handle = <&tbi1>;
1098c2ecf20Sopenharmony_ci		phy-connection-type = "rgmii-id";
1108c2ecf20Sopenharmony_ci	};
1118c2ecf20Sopenharmony_ci
1128c2ecf20Sopenharmony_ci	mdio@26520 {
1138c2ecf20Sopenharmony_ci		tbi1: tbi-phy@11 {
1148c2ecf20Sopenharmony_ci			reg = <0x11>;
1158c2ecf20Sopenharmony_ci			device_type = "tbi-phy";
1168c2ecf20Sopenharmony_ci		};
1178c2ecf20Sopenharmony_ci	};
1188c2ecf20Sopenharmony_ci};
1198c2ecf20Sopenharmony_ci
1208c2ecf20Sopenharmony_ci&board_pci3 {
1218c2ecf20Sopenharmony_ci	pcie@0 {
1228c2ecf20Sopenharmony_ci		interrupt-map-mask = <0xff00 0x0 0x0 0x7>;
1238c2ecf20Sopenharmony_ci		interrupt-map = <
1248c2ecf20Sopenharmony_ci			// IDSEL 0x1c  USB
1258c2ecf20Sopenharmony_ci			0xe000 0x0 0x0 0x1 &i8259 0xc 0x2
1268c2ecf20Sopenharmony_ci			0xe100 0x0 0x0 0x2 &i8259 0x9 0x2
1278c2ecf20Sopenharmony_ci			0xe200 0x0 0x0 0x3 &i8259 0xa 0x2
1288c2ecf20Sopenharmony_ci			0xe300 0x0 0x0 0x4 &i8259 0xb 0x2
1298c2ecf20Sopenharmony_ci
1308c2ecf20Sopenharmony_ci			// IDSEL 0x1d  Audio
1318c2ecf20Sopenharmony_ci			0xe800 0x0 0x0 0x1 &i8259 0x6 0x2
1328c2ecf20Sopenharmony_ci
1338c2ecf20Sopenharmony_ci			// IDSEL 0x1e Legacy
1348c2ecf20Sopenharmony_ci			0xf000 0x0 0x0 0x1 &i8259 0x7 0x2
1358c2ecf20Sopenharmony_ci			0xf100 0x0 0x0 0x1 &i8259 0x7 0x2
1368c2ecf20Sopenharmony_ci
1378c2ecf20Sopenharmony_ci			// IDSEL 0x1f IDE/SATA
1388c2ecf20Sopenharmony_ci			0xf800 0x0 0x0 0x1 &i8259 0xe 0x2
1398c2ecf20Sopenharmony_ci			0xf900 0x0 0x0 0x1 &i8259 0x5 0x2
1408c2ecf20Sopenharmony_ci			>;
1418c2ecf20Sopenharmony_ci
1428c2ecf20Sopenharmony_ci
1438c2ecf20Sopenharmony_ci		uli1575@0 {
1448c2ecf20Sopenharmony_ci			reg = <0x0 0x0 0x0 0x0 0x0>;
1458c2ecf20Sopenharmony_ci			#size-cells = <2>;
1468c2ecf20Sopenharmony_ci			#address-cells = <3>;
1478c2ecf20Sopenharmony_ci			ranges = <0x2000000 0x0 0xb0000000
1488c2ecf20Sopenharmony_ci				  0x2000000 0x0 0xb0000000
1498c2ecf20Sopenharmony_ci				  0x0 0x100000
1508c2ecf20Sopenharmony_ci
1518c2ecf20Sopenharmony_ci				  0x1000000 0x0 0x0
1528c2ecf20Sopenharmony_ci				  0x1000000 0x0 0x0
1538c2ecf20Sopenharmony_ci				  0x0 0x100000>;
1548c2ecf20Sopenharmony_ci			isa@1e {
1558c2ecf20Sopenharmony_ci				device_type = "isa";
1568c2ecf20Sopenharmony_ci				#interrupt-cells = <2>;
1578c2ecf20Sopenharmony_ci				#size-cells = <1>;
1588c2ecf20Sopenharmony_ci				#address-cells = <2>;
1598c2ecf20Sopenharmony_ci				reg = <0xf000 0x0 0x0 0x0 0x0>;
1608c2ecf20Sopenharmony_ci				ranges = <0x1 0x0 0x1000000 0x0 0x0
1618c2ecf20Sopenharmony_ci					  0x1000>;
1628c2ecf20Sopenharmony_ci				interrupt-parent = <&i8259>;
1638c2ecf20Sopenharmony_ci
1648c2ecf20Sopenharmony_ci				i8259: interrupt-controller@20 {
1658c2ecf20Sopenharmony_ci					reg = <0x1 0x20 0x2
1668c2ecf20Sopenharmony_ci					       0x1 0xa0 0x2
1678c2ecf20Sopenharmony_ci					       0x1 0x4d0 0x2>;
1688c2ecf20Sopenharmony_ci					interrupt-controller;
1698c2ecf20Sopenharmony_ci					device_type = "interrupt-controller";
1708c2ecf20Sopenharmony_ci					#address-cells = <0>;
1718c2ecf20Sopenharmony_ci					#interrupt-cells = <2>;
1728c2ecf20Sopenharmony_ci					compatible = "chrp,iic";
1738c2ecf20Sopenharmony_ci					interrupts = <9 2 0 0>;
1748c2ecf20Sopenharmony_ci					interrupt-parent = <&mpic>;
1758c2ecf20Sopenharmony_ci				};
1768c2ecf20Sopenharmony_ci
1778c2ecf20Sopenharmony_ci				i8042@60 {
1788c2ecf20Sopenharmony_ci					#size-cells = <0>;
1798c2ecf20Sopenharmony_ci					#address-cells = <1>;
1808c2ecf20Sopenharmony_ci					reg = <0x1 0x60 0x1 0x1 0x64 0x1>;
1818c2ecf20Sopenharmony_ci					interrupts = <1 3 12 3>;
1828c2ecf20Sopenharmony_ci					interrupt-parent =
1838c2ecf20Sopenharmony_ci						<&i8259>;
1848c2ecf20Sopenharmony_ci
1858c2ecf20Sopenharmony_ci					keyboard@0 {
1868c2ecf20Sopenharmony_ci						reg = <0x0>;
1878c2ecf20Sopenharmony_ci						compatible = "pnpPNP,303";
1888c2ecf20Sopenharmony_ci					};
1898c2ecf20Sopenharmony_ci
1908c2ecf20Sopenharmony_ci					mouse@1 {
1918c2ecf20Sopenharmony_ci						reg = <0x1>;
1928c2ecf20Sopenharmony_ci						compatible = "pnpPNP,f03";
1938c2ecf20Sopenharmony_ci					};
1948c2ecf20Sopenharmony_ci				};
1958c2ecf20Sopenharmony_ci
1968c2ecf20Sopenharmony_ci				rtc@70 {
1978c2ecf20Sopenharmony_ci					compatible = "pnpPNP,b00";
1988c2ecf20Sopenharmony_ci					reg = <0x1 0x70 0x2>;
1998c2ecf20Sopenharmony_ci				};
2008c2ecf20Sopenharmony_ci
2018c2ecf20Sopenharmony_ci				gpio@400 {
2028c2ecf20Sopenharmony_ci					reg = <0x1 0x400 0x80>;
2038c2ecf20Sopenharmony_ci				};
2048c2ecf20Sopenharmony_ci			};
2058c2ecf20Sopenharmony_ci		};
2068c2ecf20Sopenharmony_ci	};
2078c2ecf20Sopenharmony_ci};
208