18c2ecf20Sopenharmony_ci/*
28c2ecf20Sopenharmony_ci * MPC8544 Silicon/SoC Device Tree Source (post include)
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&lbc {
368c2ecf20Sopenharmony_ci	#address-cells = <2>;
378c2ecf20Sopenharmony_ci	#size-cells = <1>;
388c2ecf20Sopenharmony_ci	compatible = "fsl,mpc8544-lbc", "fsl,pq3-localbus", "simple-bus";
398c2ecf20Sopenharmony_ci	interrupts = <19 2 0 0>;
408c2ecf20Sopenharmony_ci};
418c2ecf20Sopenharmony_ci
428c2ecf20Sopenharmony_ci/* controller at 0x8000 */
438c2ecf20Sopenharmony_ci&pci0 {
448c2ecf20Sopenharmony_ci	compatible = "fsl,mpc8540-pci";
458c2ecf20Sopenharmony_ci	device_type = "pci";
468c2ecf20Sopenharmony_ci	interrupts = <24 0x2 0 0>;
478c2ecf20Sopenharmony_ci	bus-range = <0 0xff>;
488c2ecf20Sopenharmony_ci	#interrupt-cells = <1>;
498c2ecf20Sopenharmony_ci	#size-cells = <2>;
508c2ecf20Sopenharmony_ci	#address-cells = <3>;
518c2ecf20Sopenharmony_ci};
528c2ecf20Sopenharmony_ci
538c2ecf20Sopenharmony_ci/* controller at 0x9000 */
548c2ecf20Sopenharmony_ci&pci1 {
558c2ecf20Sopenharmony_ci	compatible = "fsl,mpc8548-pcie";
568c2ecf20Sopenharmony_ci	device_type = "pci";
578c2ecf20Sopenharmony_ci	#size-cells = <2>;
588c2ecf20Sopenharmony_ci	#address-cells = <3>;
598c2ecf20Sopenharmony_ci	bus-range = <0 255>;
608c2ecf20Sopenharmony_ci	clock-frequency = <33333333>;
618c2ecf20Sopenharmony_ci	interrupts = <25 2 0 0>;
628c2ecf20Sopenharmony_ci
638c2ecf20Sopenharmony_ci	pcie@0 {
648c2ecf20Sopenharmony_ci		reg = <0 0 0 0 0>;
658c2ecf20Sopenharmony_ci		#interrupt-cells = <1>;
668c2ecf20Sopenharmony_ci		#size-cells = <2>;
678c2ecf20Sopenharmony_ci		#address-cells = <3>;
688c2ecf20Sopenharmony_ci		device_type = "pci";
698c2ecf20Sopenharmony_ci		interrupts = <25 2 0 0>;
708c2ecf20Sopenharmony_ci		interrupt-map-mask = <0xf800 0 0 7>;
718c2ecf20Sopenharmony_ci
728c2ecf20Sopenharmony_ci		interrupt-map = <
738c2ecf20Sopenharmony_ci			/* IDSEL 0x0 */
748c2ecf20Sopenharmony_ci			0000 0x0 0x0 0x1 &mpic 0x4 0x1 0x0 0x0
758c2ecf20Sopenharmony_ci			0000 0x0 0x0 0x2 &mpic 0x5 0x1 0x0 0x0
768c2ecf20Sopenharmony_ci			0000 0x0 0x0 0x3 &mpic 0x6 0x1 0x0 0x0
778c2ecf20Sopenharmony_ci			0000 0x0 0x0 0x4 &mpic 0x7 0x1 0x0 0x0
788c2ecf20Sopenharmony_ci			>;
798c2ecf20Sopenharmony_ci	};
808c2ecf20Sopenharmony_ci};
818c2ecf20Sopenharmony_ci
828c2ecf20Sopenharmony_ci/* controller at 0xa000 */
838c2ecf20Sopenharmony_ci&pci2 {
848c2ecf20Sopenharmony_ci	compatible = "fsl,mpc8548-pcie";
858c2ecf20Sopenharmony_ci	device_type = "pci";
868c2ecf20Sopenharmony_ci	#size-cells = <2>;
878c2ecf20Sopenharmony_ci	#address-cells = <3>;
888c2ecf20Sopenharmony_ci	bus-range = <0 255>;
898c2ecf20Sopenharmony_ci	clock-frequency = <33333333>;
908c2ecf20Sopenharmony_ci	interrupts = <26 2 0 0>;
918c2ecf20Sopenharmony_ci
928c2ecf20Sopenharmony_ci	pcie@0 {
938c2ecf20Sopenharmony_ci		reg = <0 0 0 0 0>;
948c2ecf20Sopenharmony_ci		#interrupt-cells = <1>;
958c2ecf20Sopenharmony_ci		#size-cells = <2>;
968c2ecf20Sopenharmony_ci		#address-cells = <3>;
978c2ecf20Sopenharmony_ci		device_type = "pci";
988c2ecf20Sopenharmony_ci		interrupts = <26 2 0 0>;
998c2ecf20Sopenharmony_ci		interrupt-map-mask = <0xf800 0 0 7>;
1008c2ecf20Sopenharmony_ci		interrupt-map = <
1018c2ecf20Sopenharmony_ci			/* IDSEL 0x0 */
1028c2ecf20Sopenharmony_ci			0000 0x0 0x0 0x1 &mpic 0x0 0x1 0x0 0x0
1038c2ecf20Sopenharmony_ci			0000 0x0 0x0 0x2 &mpic 0x1 0x1 0x0 0x0
1048c2ecf20Sopenharmony_ci			0000 0x0 0x0 0x3 &mpic 0x2 0x1 0x0 0x0
1058c2ecf20Sopenharmony_ci			0000 0x0 0x0 0x4 &mpic 0x3 0x1 0x0 0x0
1068c2ecf20Sopenharmony_ci			>;
1078c2ecf20Sopenharmony_ci	};
1088c2ecf20Sopenharmony_ci};
1098c2ecf20Sopenharmony_ci
1108c2ecf20Sopenharmony_ci/* controller at 0xb000 */
1118c2ecf20Sopenharmony_ci&pci3 {
1128c2ecf20Sopenharmony_ci	compatible = "fsl,mpc8548-pcie";
1138c2ecf20Sopenharmony_ci	device_type = "pci";
1148c2ecf20Sopenharmony_ci	#size-cells = <2>;
1158c2ecf20Sopenharmony_ci	#address-cells = <3>;
1168c2ecf20Sopenharmony_ci	bus-range = <0 255>;
1178c2ecf20Sopenharmony_ci	clock-frequency = <33333333>;
1188c2ecf20Sopenharmony_ci	interrupts = <27 2 0 0>;
1198c2ecf20Sopenharmony_ci
1208c2ecf20Sopenharmony_ci	pcie@0 {
1218c2ecf20Sopenharmony_ci		reg = <0 0 0 0 0>;
1228c2ecf20Sopenharmony_ci		#interrupt-cells = <1>;
1238c2ecf20Sopenharmony_ci		#size-cells = <2>;
1248c2ecf20Sopenharmony_ci		#address-cells = <3>;
1258c2ecf20Sopenharmony_ci		device_type = "pci";
1268c2ecf20Sopenharmony_ci		interrupts = <27 2 0 0>;
1278c2ecf20Sopenharmony_ci		interrupt-map-mask = <0xf800 0 0 7>;
1288c2ecf20Sopenharmony_ci		interrupt-map = <
1298c2ecf20Sopenharmony_ci			/* IDSEL 0x0 */
1308c2ecf20Sopenharmony_ci			0000 0x0 0x0 0x1 &mpic 0x8 0x1 0x0 0x0
1318c2ecf20Sopenharmony_ci			0000 0x0 0x0 0x2 &mpic 0x9 0x1 0x0 0x0
1328c2ecf20Sopenharmony_ci			0000 0x0 0x0 0x3 &mpic 0xa 0x1 0x0 0x0
1338c2ecf20Sopenharmony_ci			0000 0x0 0x0 0x4 &mpic 0xb 0x1 0x0 0x0
1348c2ecf20Sopenharmony_ci			>;
1358c2ecf20Sopenharmony_ci	};
1368c2ecf20Sopenharmony_ci};
1378c2ecf20Sopenharmony_ci
1388c2ecf20Sopenharmony_ci&soc {
1398c2ecf20Sopenharmony_ci	#address-cells = <1>;
1408c2ecf20Sopenharmony_ci	#size-cells = <1>;
1418c2ecf20Sopenharmony_ci	device_type = "soc";
1428c2ecf20Sopenharmony_ci	compatible = "fsl,mpc8544-immr", "simple-bus";
1438c2ecf20Sopenharmony_ci	bus-frequency = <0>;		// Filled out by uboot.
1448c2ecf20Sopenharmony_ci
1458c2ecf20Sopenharmony_ci	ecm-law@0 {
1468c2ecf20Sopenharmony_ci		compatible = "fsl,ecm-law";
1478c2ecf20Sopenharmony_ci		reg = <0x0 0x1000>;
1488c2ecf20Sopenharmony_ci		fsl,num-laws = <10>;
1498c2ecf20Sopenharmony_ci	};
1508c2ecf20Sopenharmony_ci
1518c2ecf20Sopenharmony_ci	ecm@1000 {
1528c2ecf20Sopenharmony_ci		compatible = "fsl,mpc8544-ecm", "fsl,ecm";
1538c2ecf20Sopenharmony_ci		reg = <0x1000 0x1000>;
1548c2ecf20Sopenharmony_ci		interrupts = <17 2 0 0>;
1558c2ecf20Sopenharmony_ci	};
1568c2ecf20Sopenharmony_ci
1578c2ecf20Sopenharmony_ci	memory-controller@2000 {
1588c2ecf20Sopenharmony_ci		compatible = "fsl,mpc8544-memory-controller";
1598c2ecf20Sopenharmony_ci		reg = <0x2000 0x1000>;
1608c2ecf20Sopenharmony_ci		interrupts = <18 2 0 0>;
1618c2ecf20Sopenharmony_ci	};
1628c2ecf20Sopenharmony_ci
1638c2ecf20Sopenharmony_ci/include/ "pq3-i2c-0.dtsi"
1648c2ecf20Sopenharmony_ci/include/ "pq3-i2c-1.dtsi"
1658c2ecf20Sopenharmony_ci/include/ "pq3-duart-0.dtsi"
1668c2ecf20Sopenharmony_ci
1678c2ecf20Sopenharmony_ci	L2: l2-cache-controller@20000 {
1688c2ecf20Sopenharmony_ci		compatible = "fsl,mpc8544-l2-cache-controller";
1698c2ecf20Sopenharmony_ci		reg = <0x20000 0x1000>;
1708c2ecf20Sopenharmony_ci		cache-line-size = <32>;	// 32 bytes
1718c2ecf20Sopenharmony_ci		cache-size = <0x40000>; // L2, 256K
1728c2ecf20Sopenharmony_ci		interrupts = <16 2 0 0>;
1738c2ecf20Sopenharmony_ci	};
1748c2ecf20Sopenharmony_ci
1758c2ecf20Sopenharmony_ci/include/ "pq3-dma-0.dtsi"
1768c2ecf20Sopenharmony_ci/include/ "pq3-etsec1-0.dtsi"
1778c2ecf20Sopenharmony_ci/include/ "pq3-etsec1-2.dtsi"
1788c2ecf20Sopenharmony_ci
1798c2ecf20Sopenharmony_ci	ethernet@26000 {
1808c2ecf20Sopenharmony_ci		cell-index = <1>;
1818c2ecf20Sopenharmony_ci	};
1828c2ecf20Sopenharmony_ci
1838c2ecf20Sopenharmony_ci/include/ "pq3-sec2.1-0.dtsi"
1848c2ecf20Sopenharmony_ci/include/ "pq3-mpic.dtsi"
1858c2ecf20Sopenharmony_ci
1868c2ecf20Sopenharmony_ci	global-utilities@e0000 {
1878c2ecf20Sopenharmony_ci		compatible = "fsl,mpc8544-guts";
1888c2ecf20Sopenharmony_ci		reg = <0xe0000 0x1000>;
1898c2ecf20Sopenharmony_ci		fsl,has-rstcr;
1908c2ecf20Sopenharmony_ci	};
1918c2ecf20Sopenharmony_ci};
192