14e36afa7SKumar Gala/*
24e36afa7SKumar Gala * P1020/P1011 Silicon/SoC Device Tree Source (post include)
34e36afa7SKumar Gala *
44e36afa7SKumar Gala * Copyright 2011 Freescale Semiconductor Inc.
54e36afa7SKumar Gala *
64e36afa7SKumar Gala * Redistribution and use in source and binary forms, with or without
74e36afa7SKumar Gala * modification, are permitted provided that the following conditions are met:
84e36afa7SKumar Gala *     * Redistributions of source code must retain the above copyright
94e36afa7SKumar Gala *       notice, this list of conditions and the following disclaimer.
104e36afa7SKumar Gala *     * Redistributions in binary form must reproduce the above copyright
114e36afa7SKumar Gala *       notice, this list of conditions and the following disclaimer in the
124e36afa7SKumar Gala *       documentation and/or other materials provided with the distribution.
134e36afa7SKumar Gala *     * Neither the name of Freescale Semiconductor nor the
144e36afa7SKumar Gala *       names of its contributors may be used to endorse or promote products
154e36afa7SKumar Gala *       derived from this software without specific prior written permission.
164e36afa7SKumar Gala *
174e36afa7SKumar Gala *
184e36afa7SKumar Gala * ALTERNATIVELY, this software may be distributed under the terms of the
194e36afa7SKumar Gala * GNU General Public License ("GPL") as published by the Free Software
204e36afa7SKumar Gala * Foundation, either version 2 of that License or (at your option) any
214e36afa7SKumar Gala * later version.
224e36afa7SKumar Gala *
234e36afa7SKumar Gala * THIS SOFTWARE IS PROVIDED BY Freescale Semiconductor ``AS IS'' AND ANY
244e36afa7SKumar Gala * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
254e36afa7SKumar Gala * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
264e36afa7SKumar Gala * DISCLAIMED. IN NO EVENT SHALL Freescale Semiconductor BE LIABLE FOR ANY
274e36afa7SKumar Gala * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
284e36afa7SKumar Gala * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
294e36afa7SKumar Gala * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
304e36afa7SKumar Gala * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
314e36afa7SKumar Gala * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
324e36afa7SKumar Gala * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
334e36afa7SKumar Gala */
344e36afa7SKumar Gala
354e36afa7SKumar Gala&lbc {
364e36afa7SKumar Gala	#address-cells = <2>;
374e36afa7SKumar Gala	#size-cells = <1>;
384e36afa7SKumar Gala	compatible = "fsl,p1020-elbc", "fsl,elbc", "simple-bus";
39297649b9SWang Dongsheng	interrupts = <19 2 0 0>,
40297649b9SWang Dongsheng		     <16 2 0 0>;
414e36afa7SKumar Gala};
424e36afa7SKumar Gala
434e36afa7SKumar Gala/* controller at 0x9000 */
444e36afa7SKumar Gala&pci0 {
454e36afa7SKumar Gala	compatible = "fsl,mpc8548-pcie";
464e36afa7SKumar Gala	device_type = "pci";
474e36afa7SKumar Gala	#size-cells = <2>;
484e36afa7SKumar Gala	#address-cells = <3>;
494e36afa7SKumar Gala	bus-range = <0 255>;
504e36afa7SKumar Gala	clock-frequency = <33333333>;
514e36afa7SKumar Gala	interrupts = <16 2 0 0>;
524e36afa7SKumar Gala
534e36afa7SKumar Gala	pcie@0 {
544e36afa7SKumar Gala		reg = <0 0 0 0 0>;
554e36afa7SKumar Gala		#interrupt-cells = <1>;
564e36afa7SKumar Gala		#size-cells = <2>;
574e36afa7SKumar Gala		#address-cells = <3>;
584e36afa7SKumar Gala		device_type = "pci";
594e36afa7SKumar Gala		interrupts = <16 2 0 0>;
604e36afa7SKumar Gala		interrupt-map-mask = <0xf800 0 0 7>;
614e36afa7SKumar Gala		interrupt-map = <
624e36afa7SKumar Gala			/* IDSEL 0x0 */
634e36afa7SKumar Gala			0000 0x0 0x0 0x1 &mpic 0x4 0x1 0x0 0x0
644e36afa7SKumar Gala			0000 0x0 0x0 0x2 &mpic 0x5 0x1 0x0 0x0
654e36afa7SKumar Gala			0000 0x0 0x0 0x3 &mpic 0x6 0x1 0x0 0x0
664e36afa7SKumar Gala			0000 0x0 0x0 0x4 &mpic 0x7 0x1 0x0 0x0
674e36afa7SKumar Gala			>;
684e36afa7SKumar Gala	};
694e36afa7SKumar Gala};
704e36afa7SKumar Gala
714e36afa7SKumar Gala/* controller at 0xa000 */
724e36afa7SKumar Gala&pci1 {
734e36afa7SKumar Gala	compatible = "fsl,mpc8548-pcie";
744e36afa7SKumar Gala	device_type = "pci";
754e36afa7SKumar Gala	#size-cells = <2>;
764e36afa7SKumar Gala	#address-cells = <3>;
774e36afa7SKumar Gala	bus-range = <0 255>;
784e36afa7SKumar Gala	clock-frequency = <33333333>;
794e36afa7SKumar Gala	interrupts = <16 2 0 0>;
804e36afa7SKumar Gala
814e36afa7SKumar Gala	pcie@0 {
824e36afa7SKumar Gala		reg = <0 0 0 0 0>;
834e36afa7SKumar Gala		#interrupt-cells = <1>;
844e36afa7SKumar Gala		#size-cells = <2>;
854e36afa7SKumar Gala		#address-cells = <3>;
864e36afa7SKumar Gala		device_type = "pci";
874e36afa7SKumar Gala		interrupts = <16 2 0 0>;
884e36afa7SKumar Gala		interrupt-map-mask = <0xf800 0 0 7>;
894e36afa7SKumar Gala
904e36afa7SKumar Gala		interrupt-map = <
914e36afa7SKumar Gala			/* IDSEL 0x0 */
924e36afa7SKumar Gala			0000 0x0 0x0 0x1 &mpic 0x0 0x1 0x0 0x0
934e36afa7SKumar Gala			0000 0x0 0x0 0x2 &mpic 0x1 0x1 0x0 0x0
944e36afa7SKumar Gala			0000 0x0 0x0 0x3 &mpic 0x2 0x1 0x0 0x0
954e36afa7SKumar Gala			0000 0x0 0x0 0x4 &mpic 0x3 0x1 0x0 0x0
964e36afa7SKumar Gala			>;
974e36afa7SKumar Gala	};
984e36afa7SKumar Gala};
994e36afa7SKumar Gala
1004e36afa7SKumar Gala&soc {
1014e36afa7SKumar Gala	#address-cells = <1>;
1024e36afa7SKumar Gala	#size-cells = <1>;
1034e36afa7SKumar Gala	device_type = "soc";
1044e36afa7SKumar Gala	compatible = "fsl,p1020-immr", "simple-bus";
1054e36afa7SKumar Gala	bus-frequency = <0>;		// Filled out by uboot.
1064e36afa7SKumar Gala
1074e36afa7SKumar Gala	ecm-law@0 {
1084e36afa7SKumar Gala		compatible = "fsl,ecm-law";
1094e36afa7SKumar Gala		reg = <0x0 0x1000>;
1104e36afa7SKumar Gala		fsl,num-laws = <12>;
1114e36afa7SKumar Gala	};
1124e36afa7SKumar Gala
1134e36afa7SKumar Gala	ecm@1000 {
1144e36afa7SKumar Gala		compatible = "fsl,p1020-ecm", "fsl,ecm";
1154e36afa7SKumar Gala		reg = <0x1000 0x1000>;
1164e36afa7SKumar Gala		interrupts = <16 2 0 0>;
1174e36afa7SKumar Gala	};
1184e36afa7SKumar Gala
1194e36afa7SKumar Gala	memory-controller@2000 {
1204e36afa7SKumar Gala		compatible = "fsl,p1020-memory-controller";
1214e36afa7SKumar Gala		reg = <0x2000 0x1000>;
1224e36afa7SKumar Gala		interrupts = <16 2 0 0>;
1234e36afa7SKumar Gala	};
1244e36afa7SKumar Gala
1254e36afa7SKumar Gala/include/ "pq3-i2c-0.dtsi"
1264e36afa7SKumar Gala/include/ "pq3-i2c-1.dtsi"
1274e36afa7SKumar Gala/include/ "pq3-duart-0.dtsi"
1284e36afa7SKumar Gala
1294e36afa7SKumar Gala/include/ "pq3-espi-0.dtsi"
1304e36afa7SKumar Gala	spi@7000 {
1314e36afa7SKumar Gala		fsl,espi-num-chipselects = <4>;
1324e36afa7SKumar Gala	};
1334e36afa7SKumar Gala
1344e36afa7SKumar Gala/include/ "pq3-gpio-0.dtsi"
1354e36afa7SKumar Gala
1364e36afa7SKumar Gala	L2: l2-cache-controller@20000 {
1374e36afa7SKumar Gala		compatible = "fsl,p1020-l2-cache-controller";
1384e36afa7SKumar Gala		reg = <0x20000 0x1000>;
1394e36afa7SKumar Gala		cache-line-size = <32>;	// 32 bytes
1404e36afa7SKumar Gala		cache-size = <0x40000>; // L2,256K
1414e36afa7SKumar Gala		interrupts = <16 2 0 0>;
1424e36afa7SKumar Gala	};
1434e36afa7SKumar Gala
1444e36afa7SKumar Gala/include/ "pq3-dma-0.dtsi"
1454e36afa7SKumar Gala/include/ "pq3-usb2-dr-0.dtsi"
146465aceb8SRamneek Mehresh	usb@22000 {
147465aceb8SRamneek Mehresh		compatible = "fsl-usb2-dr-v1.6", "fsl-usb2-dr";
148465aceb8SRamneek Mehresh	};
1494e36afa7SKumar Gala/include/ "pq3-usb2-dr-1.dtsi"
150465aceb8SRamneek Mehresh	usb@23000 {
151465aceb8SRamneek Mehresh		compatible = "fsl-usb2-dr-v1.6", "fsl-usb2-dr";
152465aceb8SRamneek Mehresh	};
1534e36afa7SKumar Gala
1544e36afa7SKumar Gala/include/ "pq3-esdhc-0.dtsi"
155f8b5a318SJerry Huang	sdhc@2e000 {
156f8b5a318SJerry Huang		compatible = "fsl,p1020-esdhc", "fsl,esdhc";
157f8b5a318SJerry Huang		sdhci,auto-cmd12;
158f8b5a318SJerry Huang	};
1594e36afa7SKumar Gala/include/ "pq3-sec3.3-0.dtsi"
1604e36afa7SKumar Gala
1614e36afa7SKumar Gala/include/ "pq3-mpic.dtsi"
1624e36afa7SKumar Gala/include/ "pq3-mpic-timer-B.dtsi"
1634e36afa7SKumar Gala
1644e36afa7SKumar Gala/include/ "pq3-etsec2-0.dtsi"
1654e36afa7SKumar Gala	enet0: enet0_grp2: ethernet@b0000 {
1664e36afa7SKumar Gala	};
1674e36afa7SKumar Gala
1684e36afa7SKumar Gala/include/ "pq3-etsec2-1.dtsi"
1694e36afa7SKumar Gala	enet1: enet1_grp2: ethernet@b1000 {
1704e36afa7SKumar Gala	};
1714e36afa7SKumar Gala
1724e36afa7SKumar Gala/include/ "pq3-etsec2-2.dtsi"
1734e36afa7SKumar Gala	enet2: enet2_grp2: ethernet@b2000 {
1744e36afa7SKumar Gala	};
1754e36afa7SKumar Gala
1764e36afa7SKumar Gala	global-utilities@e0000 {
1774e36afa7SKumar Gala		compatible = "fsl,p1020-guts";
1784e36afa7SKumar Gala		reg = <0xe0000 0x1000>;
1794e36afa7SKumar Gala		fsl,has-rstcr;
1804e36afa7SKumar Gala	};
1814e36afa7SKumar Gala};
1824e36afa7SKumar Gala
1834e36afa7SKumar Gala/include/ "pq3-etsec2-grp2-0.dtsi"
1844e36afa7SKumar Gala/include/ "pq3-etsec2-grp2-1.dtsi"
1854e36afa7SKumar Gala/include/ "pq3-etsec2-grp2-2.dtsi"
186