12e8685a4SKumar Gala/*
22e8685a4SKumar Gala * MPC8536 Silicon/SoC Device Tree Source (post include)
32e8685a4SKumar Gala *
42e8685a4SKumar Gala * Copyright 2011 Freescale Semiconductor Inc.
52e8685a4SKumar Gala *
62e8685a4SKumar Gala * Redistribution and use in source and binary forms, with or without
72e8685a4SKumar Gala * modification, are permitted provided that the following conditions are met:
82e8685a4SKumar Gala *     * Redistributions of source code must retain the above copyright
92e8685a4SKumar Gala *       notice, this list of conditions and the following disclaimer.
102e8685a4SKumar Gala *     * Redistributions in binary form must reproduce the above copyright
112e8685a4SKumar Gala *       notice, this list of conditions and the following disclaimer in the
122e8685a4SKumar Gala *       documentation and/or other materials provided with the distribution.
132e8685a4SKumar Gala *     * Neither the name of Freescale Semiconductor nor the
142e8685a4SKumar Gala *       names of its contributors may be used to endorse or promote products
152e8685a4SKumar Gala *       derived from this software without specific prior written permission.
162e8685a4SKumar Gala *
172e8685a4SKumar Gala *
182e8685a4SKumar Gala * ALTERNATIVELY, this software may be distributed under the terms of the
192e8685a4SKumar Gala * GNU General Public License ("GPL") as published by the Free Software
202e8685a4SKumar Gala * Foundation, either version 2 of that License or (at your option) any
212e8685a4SKumar Gala * later version.
222e8685a4SKumar Gala *
232e8685a4SKumar Gala * THIS SOFTWARE IS PROVIDED BY Freescale Semiconductor ``AS IS'' AND ANY
242e8685a4SKumar Gala * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
252e8685a4SKumar Gala * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
262e8685a4SKumar Gala * DISCLAIMED. IN NO EVENT SHALL Freescale Semiconductor BE LIABLE FOR ANY
272e8685a4SKumar Gala * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
282e8685a4SKumar Gala * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
292e8685a4SKumar Gala * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
302e8685a4SKumar Gala * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
312e8685a4SKumar Gala * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
322e8685a4SKumar Gala * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
332e8685a4SKumar Gala */
342e8685a4SKumar Gala
352e8685a4SKumar Gala&lbc {
362e8685a4SKumar Gala	#address-cells = <2>;
372e8685a4SKumar Gala	#size-cells = <1>;
382e8685a4SKumar Gala	compatible = "fsl,mpc8536-elbc", "fsl,elbc", "simple-bus";
392e8685a4SKumar Gala	interrupts = <19 2 0 0>;
402e8685a4SKumar Gala};
412e8685a4SKumar Gala
422e8685a4SKumar Gala/* controller at 0x8000 */
432e8685a4SKumar Gala&pci0 {
442e8685a4SKumar Gala	compatible = "fsl,mpc8540-pci";
452e8685a4SKumar Gala	device_type = "pci";
462e8685a4SKumar Gala	interrupts = <24 0x2 0 0>;
472e8685a4SKumar Gala	bus-range = <0 0xff>;
482e8685a4SKumar Gala	#interrupt-cells = <1>;
492e8685a4SKumar Gala	#size-cells = <2>;
502e8685a4SKumar Gala	#address-cells = <3>;
512e8685a4SKumar Gala};
522e8685a4SKumar Gala
532e8685a4SKumar Gala/* controller at 0x9000 */
542e8685a4SKumar Gala&pci1 {
552e8685a4SKumar Gala	compatible = "fsl,mpc8548-pcie";
562e8685a4SKumar Gala	device_type = "pci";
572e8685a4SKumar Gala	#size-cells = <2>;
582e8685a4SKumar Gala	#address-cells = <3>;
592e8685a4SKumar Gala	bus-range = <0 255>;
602e8685a4SKumar Gala	clock-frequency = <33333333>;
612e8685a4SKumar Gala	interrupts = <25 2 0 0>;
622e8685a4SKumar Gala
632e8685a4SKumar Gala	pcie@0 {
642e8685a4SKumar Gala		reg = <0 0 0 0 0>;
652e8685a4SKumar Gala		#interrupt-cells = <1>;
662e8685a4SKumar Gala		#size-cells = <2>;
672e8685a4SKumar Gala		#address-cells = <3>;
682e8685a4SKumar Gala		device_type = "pci";
692e8685a4SKumar Gala		interrupts = <25 2 0 0>;
702e8685a4SKumar Gala		interrupt-map-mask = <0xf800 0 0 7>;
712e8685a4SKumar Gala
722e8685a4SKumar Gala		interrupt-map = <
732e8685a4SKumar Gala			/* IDSEL 0x0 */
742e8685a4SKumar Gala			0000 0x0 0x0 0x1 &mpic 0x4 0x1 0x0 0x0
752e8685a4SKumar Gala			0000 0x0 0x0 0x2 &mpic 0x5 0x1 0x0 0x0
762e8685a4SKumar Gala			0000 0x0 0x0 0x3 &mpic 0x6 0x1 0x0 0x0
772e8685a4SKumar Gala			0000 0x0 0x0 0x4 &mpic 0x7 0x1 0x0 0x0
782e8685a4SKumar Gala			>;
792e8685a4SKumar Gala	};
802e8685a4SKumar Gala};
812e8685a4SKumar Gala
822e8685a4SKumar Gala/* controller at 0xa000 */
832e8685a4SKumar Gala&pci2 {
842e8685a4SKumar Gala	compatible = "fsl,mpc8548-pcie";
852e8685a4SKumar Gala	device_type = "pci";
862e8685a4SKumar Gala	#size-cells = <2>;
872e8685a4SKumar Gala	#address-cells = <3>;
882e8685a4SKumar Gala	bus-range = <0 255>;
892e8685a4SKumar Gala	clock-frequency = <33333333>;
902e8685a4SKumar Gala	interrupts = <26 2 0 0>;
912e8685a4SKumar Gala
922e8685a4SKumar Gala	pcie@0 {
932e8685a4SKumar Gala		reg = <0 0 0 0 0>;
942e8685a4SKumar Gala		#interrupt-cells = <1>;
952e8685a4SKumar Gala		#size-cells = <2>;
962e8685a4SKumar Gala		#address-cells = <3>;
972e8685a4SKumar Gala		device_type = "pci";
982e8685a4SKumar Gala		interrupts = <26 2 0 0>;
992e8685a4SKumar Gala		interrupt-map-mask = <0xf800 0 0 7>;
1002e8685a4SKumar Gala		interrupt-map = <
1012e8685a4SKumar Gala			/* IDSEL 0x0 */
1022e8685a4SKumar Gala			0000 0x0 0x0 0x1 &mpic 0x0 0x1 0x0 0x0
1032e8685a4SKumar Gala			0000 0x0 0x0 0x2 &mpic 0x1 0x1 0x0 0x0
1042e8685a4SKumar Gala			0000 0x0 0x0 0x3 &mpic 0x2 0x1 0x0 0x0
1052e8685a4SKumar Gala			0000 0x0 0x0 0x4 &mpic 0x3 0x1 0x0 0x0
1062e8685a4SKumar Gala			>;
1072e8685a4SKumar Gala	};
1082e8685a4SKumar Gala};
1092e8685a4SKumar Gala
1102e8685a4SKumar Gala/* controller at 0xb000 */
1112e8685a4SKumar Gala&pci3 {
1122e8685a4SKumar Gala	compatible = "fsl,mpc8548-pcie";
1132e8685a4SKumar Gala	device_type = "pci";
1142e8685a4SKumar Gala	#size-cells = <2>;
1152e8685a4SKumar Gala	#address-cells = <3>;
1162e8685a4SKumar Gala	bus-range = <0 255>;
1172e8685a4SKumar Gala	clock-frequency = <33333333>;
1182e8685a4SKumar Gala	interrupts = <27 2 0 0>;
1192e8685a4SKumar Gala
1202e8685a4SKumar Gala	pcie@0 {
1212e8685a4SKumar Gala		reg = <0 0 0 0 0>;
1222e8685a4SKumar Gala		#interrupt-cells = <1>;
1232e8685a4SKumar Gala		#size-cells = <2>;
1242e8685a4SKumar Gala		#address-cells = <3>;
1252e8685a4SKumar Gala		device_type = "pci";
1262e8685a4SKumar Gala		interrupts = <27 2 0 0>;
1272e8685a4SKumar Gala		interrupt-map-mask = <0xf800 0 0 7>;
1282e8685a4SKumar Gala		interrupt-map = <
1292e8685a4SKumar Gala			/* IDSEL 0x0 */
1302e8685a4SKumar Gala			0000 0x0 0x0 0x1 &mpic 0x8 0x1 0x0 0x0
1312e8685a4SKumar Gala			0000 0x0 0x0 0x2 &mpic 0x9 0x1 0x0 0x0
1322e8685a4SKumar Gala			0000 0x0 0x0 0x3 &mpic 0xa 0x1 0x0 0x0
1332e8685a4SKumar Gala			0000 0x0 0x0 0x4 &mpic 0xb 0x1 0x0 0x0
1342e8685a4SKumar Gala			>;
1352e8685a4SKumar Gala	};
1362e8685a4SKumar Gala};
1372e8685a4SKumar Gala&soc {
1382e8685a4SKumar Gala	#address-cells = <1>;
1392e8685a4SKumar Gala	#size-cells = <1>;
1402e8685a4SKumar Gala	device_type = "soc";
1412e8685a4SKumar Gala	compatible = "fsl,mpc8536-immr", "simple-bus";
1422e8685a4SKumar Gala	bus-frequency = <0>;		// Filled out by uboot.
1432e8685a4SKumar Gala
1442e8685a4SKumar Gala	ecm-law@0 {
1452e8685a4SKumar Gala		compatible = "fsl,ecm-law";
1462e8685a4SKumar Gala		reg = <0x0 0x1000>;
1472e8685a4SKumar Gala		fsl,num-laws = <12>;
1482e8685a4SKumar Gala	};
1492e8685a4SKumar Gala
1502e8685a4SKumar Gala	ecm@1000 {
1512e8685a4SKumar Gala		compatible = "fsl,mpc8536-ecm", "fsl,ecm";
1522e8685a4SKumar Gala		reg = <0x1000 0x1000>;
1532e8685a4SKumar Gala		interrupts = <17 2 0 0>;
1542e8685a4SKumar Gala	};
1552e8685a4SKumar Gala
1562e8685a4SKumar Gala	memory-controller@2000 {
1572e8685a4SKumar Gala		compatible = "fsl,mpc8536-memory-controller";
1582e8685a4SKumar Gala		reg = <0x2000 0x1000>;
1592e8685a4SKumar Gala		interrupts = <18 2 0 0>;
1602e8685a4SKumar Gala	};
1612e8685a4SKumar Gala
1622e8685a4SKumar Gala/include/ "pq3-i2c-0.dtsi"
1632e8685a4SKumar Gala/include/ "pq3-i2c-1.dtsi"
1642e8685a4SKumar Gala/include/ "pq3-duart-0.dtsi"
1652e8685a4SKumar Gala
1662e8685a4SKumar Gala/include/ "pq3-espi-0.dtsi"
1672e8685a4SKumar Gala	spi@7000 {
1682e8685a4SKumar Gala		fsl,espi-num-chipselects = <4>;
1692e8685a4SKumar Gala	};
1702e8685a4SKumar Gala
1712e8685a4SKumar Gala/include/ "pq3-gpio-0.dtsi"
1722e8685a4SKumar Gala
1732e8685a4SKumar Gala	/* mark compat w/8572 to get some erratum treatment */
1742e8685a4SKumar Gala	gpio-controller@f000 {
17578c102c2SUwe Kleine-König		compatible = "fsl,mpc8572-gpio";
1762e8685a4SKumar Gala	};
1772e8685a4SKumar Gala
1782e8685a4SKumar Gala	sata@18000 {
1792e8685a4SKumar Gala		compatible = "fsl,mpc8536-sata", "fsl,pq-sata";
1802e8685a4SKumar Gala		reg = <0x18000 0x1000>;
1812e8685a4SKumar Gala		cell-index = <1>;
1822e8685a4SKumar Gala		interrupts = <74 0x2 0 0>;
1832e8685a4SKumar Gala	};
1842e8685a4SKumar Gala
1852e8685a4SKumar Gala	sata@19000 {
1862e8685a4SKumar Gala		compatible = "fsl,mpc8536-sata", "fsl,pq-sata";
1872e8685a4SKumar Gala		reg = <0x19000 0x1000>;
1882e8685a4SKumar Gala		cell-index = <2>;
1892e8685a4SKumar Gala		interrupts = <41 0x2 0 0>;
1902e8685a4SKumar Gala	};
1912e8685a4SKumar Gala
1922e8685a4SKumar Gala	L2: l2-cache-controller@20000 {
1932e8685a4SKumar Gala		compatible = "fsl,mpc8536-l2-cache-controller";
1942e8685a4SKumar Gala		reg = <0x20000 0x1000>;
1952e8685a4SKumar Gala		cache-line-size = <32>;	// 32 bytes
1962e8685a4SKumar Gala		cache-size = <0x80000>; // L2, 512K
1972e8685a4SKumar Gala		interrupts = <16 2 0 0>;
1982e8685a4SKumar Gala	};
1992e8685a4SKumar Gala
2002e8685a4SKumar Gala/include/ "pq3-dma-0.dtsi"
2012e8685a4SKumar Gala/include/ "pq3-etsec1-0.dtsi"
2022e8685a4SKumar Gala/include/ "pq3-etsec1-timer-0.dtsi"
2032e8685a4SKumar Gala
2042e8685a4SKumar Gala	usb@22000 {
205465aceb8SRamneek Mehresh		compatible = "fsl-usb2-mph-v1.2", "fsl,mpc8536-usb2-mph", "fsl-usb2-mph";
2062e8685a4SKumar Gala		reg = <0x22000 0x1000>;
2072e8685a4SKumar Gala		#address-cells = <1>;
2082e8685a4SKumar Gala		#size-cells = <0>;
2092e8685a4SKumar Gala		interrupts = <28 0x2 0 0>;
2102e8685a4SKumar Gala	};
2112e8685a4SKumar Gala
2122e8685a4SKumar Gala	usb@23000 {
213465aceb8SRamneek Mehresh		compatible = "fsl-usb2-mph-v1.2", "fsl,mpc8536-usb2-mph", "fsl-usb2-mph";
2142e8685a4SKumar Gala		reg = <0x23000 0x1000>;
2152e8685a4SKumar Gala		#address-cells = <1>;
2162e8685a4SKumar Gala		#size-cells = <0>;
2172e8685a4SKumar Gala		interrupts = <46 0x2 0 0>;
2182e8685a4SKumar Gala	};
2192e8685a4SKumar Gala
2202e8685a4SKumar Gala	ptp_clock@24e00 {
2212e8685a4SKumar Gala		interrupts = <68 2 0 0 69 2 0 0 70 2 0 0 71 2 0 0>;
2222e8685a4SKumar Gala	};
2232e8685a4SKumar Gala
2242e8685a4SKumar Gala/include/ "pq3-etsec1-2.dtsi"
2252e8685a4SKumar Gala
2262e8685a4SKumar Gala	ethernet@26000 {
2272e8685a4SKumar Gala		cell-index = <1>;
2282e8685a4SKumar Gala	};
2292e8685a4SKumar Gala
2302e8685a4SKumar Gala	usb@2b000 {
2312e8685a4SKumar Gala		compatible = "fsl,mpc8536-usb2-dr", "fsl-usb2-dr";
2322e8685a4SKumar Gala		reg = <0x2b000 0x1000>;
2332e8685a4SKumar Gala		#address-cells = <1>;
2342e8685a4SKumar Gala		#size-cells = <0>;
2352e8685a4SKumar Gala		interrupts = <60 0x2 0 0>;
2362e8685a4SKumar Gala	};
2372e8685a4SKumar Gala
2382e8685a4SKumar Gala/include/ "pq3-esdhc-0.dtsi"
239f8b5a318SJerry Huang	sdhc@2e000 {
240f8b5a318SJerry Huang		compatible = "fsl,mpc8536-esdhc", "fsl,esdhc";
241f8b5a318SJerry Huang	};
242f8b5a318SJerry Huang
2432e8685a4SKumar Gala/include/ "pq3-sec3.0-0.dtsi"
2442e8685a4SKumar Gala/include/ "pq3-mpic.dtsi"
2452e8685a4SKumar Gala/include/ "pq3-mpic-timer-B.dtsi"
2462e8685a4SKumar Gala
2472e8685a4SKumar Gala	global-utilities@e0000 {
2482e8685a4SKumar Gala		compatible = "fsl,mpc8536-guts";
2492e8685a4SKumar Gala		reg = <0xe0000 0x1000>;
2502e8685a4SKumar Gala		fsl,has-rstcr;
2512e8685a4SKumar Gala	};
2522e8685a4SKumar Gala};
253