196488746SKumar Gala/*
296488746SKumar Gala * P1010/P1014 Silicon/SoC Device Tree Source (post include)
396488746SKumar Gala *
496488746SKumar Gala * Copyright 2011 Freescale Semiconductor Inc.
596488746SKumar Gala *
696488746SKumar Gala * Redistribution and use in source and binary forms, with or without
796488746SKumar Gala * modification, are permitted provided that the following conditions are met:
896488746SKumar Gala *     * Redistributions of source code must retain the above copyright
996488746SKumar Gala *       notice, this list of conditions and the following disclaimer.
1096488746SKumar Gala *     * Redistributions in binary form must reproduce the above copyright
1196488746SKumar Gala *       notice, this list of conditions and the following disclaimer in the
1296488746SKumar Gala *       documentation and/or other materials provided with the distribution.
1396488746SKumar Gala *     * Neither the name of Freescale Semiconductor nor the
1496488746SKumar Gala *       names of its contributors may be used to endorse or promote products
1596488746SKumar Gala *       derived from this software without specific prior written permission.
1696488746SKumar Gala *
1796488746SKumar Gala *
1896488746SKumar Gala * ALTERNATIVELY, this software may be distributed under the terms of the
1996488746SKumar Gala * GNU General Public License ("GPL") as published by the Free Software
2096488746SKumar Gala * Foundation, either version 2 of that License or (at your option) any
2196488746SKumar Gala * later version.
2296488746SKumar Gala *
2396488746SKumar Gala * THIS SOFTWARE IS PROVIDED BY Freescale Semiconductor ``AS IS'' AND ANY
2496488746SKumar Gala * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
2596488746SKumar Gala * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
2696488746SKumar Gala * DISCLAIMED. IN NO EVENT SHALL Freescale Semiconductor BE LIABLE FOR ANY
2796488746SKumar Gala * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
2896488746SKumar Gala * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
2996488746SKumar Gala * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
3096488746SKumar Gala * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
3196488746SKumar Gala * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
3296488746SKumar Gala * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
3396488746SKumar Gala */
3496488746SKumar Gala
3596488746SKumar Gala&ifc {
3696488746SKumar Gala	#address-cells = <2>;
3796488746SKumar Gala	#size-cells = <1>;
3896488746SKumar Gala	compatible = "fsl,ifc", "simple-bus";
3996488746SKumar Gala	interrupts = <16 2 0 0 19 2 0 0>;
4096488746SKumar Gala};
4196488746SKumar Gala
4296488746SKumar Gala/* controller at 0x9000 */
4396488746SKumar Gala&pci0 {
4414bdc913STimur Tabi	compatible = "fsl,p1010-pcie", "fsl,qoriq-pcie-v2.3";
4596488746SKumar Gala	device_type = "pci";
4696488746SKumar Gala	#size-cells = <2>;
4796488746SKumar Gala	#address-cells = <3>;
4896488746SKumar Gala	bus-range = <0 255>;
4996488746SKumar Gala	clock-frequency = <33333333>;
5096488746SKumar Gala	interrupts = <16 2 0 0>;
5196488746SKumar Gala
5296488746SKumar Gala	pcie@0 {
5396488746SKumar Gala		reg = <0 0 0 0 0>;
5496488746SKumar Gala		#interrupt-cells = <1>;
5596488746SKumar Gala		#size-cells = <2>;
5696488746SKumar Gala		#address-cells = <3>;
5796488746SKumar Gala		device_type = "pci";
5896488746SKumar Gala		interrupts = <16 2 0 0>;
5996488746SKumar Gala		interrupt-map-mask = <0xf800 0 0 7>;
6096488746SKumar Gala		interrupt-map = <
6196488746SKumar Gala			/* IDSEL 0x0 */
6296488746SKumar Gala			0000 0x0 0x0 0x1 &mpic 0x4 0x1 0x0 0x0
6396488746SKumar Gala			0000 0x0 0x0 0x2 &mpic 0x5 0x1 0x0 0x0
6496488746SKumar Gala			0000 0x0 0x0 0x3 &mpic 0x6 0x1 0x0 0x0
6596488746SKumar Gala			0000 0x0 0x0 0x4 &mpic 0x7 0x1 0x0 0x0
6696488746SKumar Gala			>;
6796488746SKumar Gala	};
6896488746SKumar Gala};
6996488746SKumar Gala
7096488746SKumar Gala/* controller at 0xa000 */
7196488746SKumar Gala&pci1 {
7214bdc913STimur Tabi	compatible = "fsl,p1010-pcie", "fsl,qoriq-pcie-v2.3";
7396488746SKumar Gala	device_type = "pci";
7496488746SKumar Gala	#size-cells = <2>;
7596488746SKumar Gala	#address-cells = <3>;
7696488746SKumar Gala	bus-range = <0 255>;
7796488746SKumar Gala	clock-frequency = <33333333>;
7896488746SKumar Gala	interrupts = <16 2 0 0>;
7996488746SKumar Gala
8096488746SKumar Gala	pcie@0 {
8196488746SKumar Gala		reg = <0 0 0 0 0>;
8296488746SKumar Gala		#interrupt-cells = <1>;
8396488746SKumar Gala		#size-cells = <2>;
8496488746SKumar Gala		#address-cells = <3>;
8596488746SKumar Gala		device_type = "pci";
8696488746SKumar Gala		interrupts = <16 2 0 0>;
8796488746SKumar Gala		interrupt-map-mask = <0xf800 0 0 7>;
8896488746SKumar Gala
8996488746SKumar Gala		interrupt-map = <
9096488746SKumar Gala			/* IDSEL 0x0 */
9196488746SKumar Gala			0000 0x0 0x0 0x1 &mpic 0x0 0x1 0x0 0x0
9296488746SKumar Gala			0000 0x0 0x0 0x2 &mpic 0x1 0x1 0x0 0x0
9396488746SKumar Gala			0000 0x0 0x0 0x3 &mpic 0x2 0x1 0x0 0x0
9496488746SKumar Gala			0000 0x0 0x0 0x4 &mpic 0x3 0x1 0x0 0x0
9596488746SKumar Gala			>;
9696488746SKumar Gala	};
9796488746SKumar Gala};
9896488746SKumar Gala
9996488746SKumar Gala&soc {
10096488746SKumar Gala	#address-cells = <1>;
10196488746SKumar Gala	#size-cells = <1>;
10296488746SKumar Gala	device_type = "soc";
10396488746SKumar Gala	compatible = "fsl,p1010-immr", "simple-bus";
10496488746SKumar Gala	bus-frequency = <0>;		// Filled out by uboot.
10596488746SKumar Gala
10696488746SKumar Gala	ecm-law@0 {
10796488746SKumar Gala		compatible = "fsl,ecm-law";
10896488746SKumar Gala		reg = <0x0 0x1000>;
10996488746SKumar Gala		fsl,num-laws = <12>;
11096488746SKumar Gala	};
11196488746SKumar Gala
11296488746SKumar Gala	ecm@1000 {
11396488746SKumar Gala		compatible = "fsl,p1010-ecm", "fsl,ecm";
11496488746SKumar Gala		reg = <0x1000 0x1000>;
11596488746SKumar Gala		interrupts = <16 2 0 0>;
11696488746SKumar Gala	};
11796488746SKumar Gala
11896488746SKumar Gala	memory-controller@2000 {
11996488746SKumar Gala		compatible = "fsl,p1010-memory-controller";
12096488746SKumar Gala		reg = <0x2000 0x1000>;
12196488746SKumar Gala		interrupts = <16 2 0 0>;
12296488746SKumar Gala	};
12396488746SKumar Gala
12496488746SKumar Gala/include/ "pq3-i2c-0.dtsi"
125*19ae697aSChris Packham	i2c@3000 {
126*19ae697aSChris Packham		fsl,i2c-erratum-a004447;
127*19ae697aSChris Packham	};
128*19ae697aSChris Packham
12996488746SKumar Gala/include/ "pq3-i2c-1.dtsi"
130*19ae697aSChris Packham	i2c@3100 {
131*19ae697aSChris Packham		fsl,i2c-erratum-a004447;
132*19ae697aSChris Packham	};
133*19ae697aSChris Packham
13496488746SKumar Gala/include/ "pq3-duart-0.dtsi"
13596488746SKumar Gala/include/ "pq3-espi-0.dtsi"
13696488746SKumar Gala	spi0: spi@7000 {
13796488746SKumar Gala		fsl,espi-num-chipselects = <1>;
13896488746SKumar Gala	};
13996488746SKumar Gala
14096488746SKumar Gala/include/ "pq3-gpio-0.dtsi"
14196488746SKumar Gala/include/ "pq3-sata2-0.dtsi"
14296488746SKumar Gala/include/ "pq3-sata2-1.dtsi"
14396488746SKumar Gala
14496488746SKumar Gala	can0: can@1c000 {
14596488746SKumar Gala		compatible = "fsl,p1010-flexcan";
14696488746SKumar Gala		reg = <0x1c000 0x1000>;
14796488746SKumar Gala		interrupts = <48 0x2 0 0>;
148c8ae67feSPankaj Bansal		big-endian;
14996488746SKumar Gala	};
15096488746SKumar Gala
15196488746SKumar Gala	can1: can@1d000 {
15296488746SKumar Gala		compatible = "fsl,p1010-flexcan";
15396488746SKumar Gala		reg = <0x1d000 0x1000>;
15496488746SKumar Gala		interrupts = <61 0x2 0 0>;
155c8ae67feSPankaj Bansal		big-endian;
15696488746SKumar Gala	};
15796488746SKumar Gala
15896488746SKumar Gala	L2: l2-cache-controller@20000 {
15996488746SKumar Gala		compatible = "fsl,p1010-l2-cache-controller",
16096488746SKumar Gala				"fsl,p1014-l2-cache-controller";
16196488746SKumar Gala		reg = <0x20000 0x1000>;
16296488746SKumar Gala		cache-line-size = <32>;	// 32 bytes
16396488746SKumar Gala		cache-size = <0x40000>; // L2,256K
16496488746SKumar Gala		interrupts = <16 2 0 0>;
16596488746SKumar Gala	};
16696488746SKumar Gala
16796488746SKumar Gala/include/ "pq3-dma-0.dtsi"
16896488746SKumar Gala/include/ "pq3-usb2-dr-0.dtsi"
169465aceb8SRamneek Mehresh	usb@22000 {
170465aceb8SRamneek Mehresh		compatible = "fsl-usb2-dr-v1.6", "fsl-usb2-dr";
171465aceb8SRamneek Mehresh	};
17296488746SKumar Gala/include/ "pq3-esdhc-0.dtsi"
17396488746SKumar Gala	sdhc@2e000 {
174f8b5a318SJerry Huang		compatible = "fsl,p1010-esdhc", "fsl,esdhc";
175f8b5a318SJerry Huang		sdhci,auto-cmd12;
17696488746SKumar Gala	};
17796488746SKumar Gala
178396a5a56SKumar Gala/include/ "pq3-sec4.4-0.dtsi"
17996488746SKumar Gala/include/ "pq3-mpic.dtsi"
18096488746SKumar Gala/include/ "pq3-mpic-timer-B.dtsi"
18196488746SKumar Gala
18296488746SKumar Gala/include/ "pq3-etsec2-0.dtsi"
18396488746SKumar Gala/include/ "pq3-etsec2-1.dtsi"
18496488746SKumar Gala/include/ "pq3-etsec2-2.dtsi"
18596488746SKumar Gala
18696488746SKumar Gala	global-utilities@e0000 {
18796488746SKumar Gala		compatible = "fsl,p1010-guts";
18896488746SKumar Gala		reg = <0xe0000 0x1000>;
18996488746SKumar Gala		fsl,has-rstcr;
19096488746SKumar Gala	};
19196488746SKumar Gala};
192