153e23dcbSKumar Gala/*
253e23dcbSKumar Gala * MPC8548 Silicon/SoC Device Tree Source (post include)
353e23dcbSKumar Gala *
453e23dcbSKumar Gala * Copyright 2011 Freescale Semiconductor Inc.
553e23dcbSKumar Gala *
653e23dcbSKumar Gala * Redistribution and use in source and binary forms, with or without
753e23dcbSKumar Gala * modification, are permitted provided that the following conditions are met:
853e23dcbSKumar Gala *     * Redistributions of source code must retain the above copyright
953e23dcbSKumar Gala *       notice, this list of conditions and the following disclaimer.
1053e23dcbSKumar Gala *     * Redistributions in binary form must reproduce the above copyright
1153e23dcbSKumar Gala *       notice, this list of conditions and the following disclaimer in the
1253e23dcbSKumar Gala *       documentation and/or other materials provided with the distribution.
1353e23dcbSKumar Gala *     * Neither the name of Freescale Semiconductor nor the
1453e23dcbSKumar Gala *       names of its contributors may be used to endorse or promote products
1553e23dcbSKumar Gala *       derived from this software without specific prior written permission.
1653e23dcbSKumar Gala *
1753e23dcbSKumar Gala *
1853e23dcbSKumar Gala * ALTERNATIVELY, this software may be distributed under the terms of the
1953e23dcbSKumar Gala * GNU General Public License ("GPL") as published by the Free Software
2053e23dcbSKumar Gala * Foundation, either version 2 of that License or (at your option) any
2153e23dcbSKumar Gala * later version.
2253e23dcbSKumar Gala *
2353e23dcbSKumar Gala * THIS SOFTWARE IS PROVIDED BY Freescale Semiconductor ``AS IS'' AND ANY
2453e23dcbSKumar Gala * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
2553e23dcbSKumar Gala * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
2653e23dcbSKumar Gala * DISCLAIMED. IN NO EVENT SHALL Freescale Semiconductor BE LIABLE FOR ANY
2753e23dcbSKumar Gala * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
2853e23dcbSKumar Gala * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
2953e23dcbSKumar Gala * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
3053e23dcbSKumar Gala * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
3153e23dcbSKumar Gala * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
3253e23dcbSKumar Gala * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
3353e23dcbSKumar Gala */
3453e23dcbSKumar Gala
3553e23dcbSKumar Gala&lbc {
3653e23dcbSKumar Gala	#address-cells = <2>;
3753e23dcbSKumar Gala	#size-cells = <1>;
3853e23dcbSKumar Gala	compatible = "fsl,mpc8548-lbc", "fsl,pq3-localbus", "simple-bus";
3953e23dcbSKumar Gala	interrupts = <19 2 0 0>;
4053e23dcbSKumar Gala};
4153e23dcbSKumar Gala
4253e23dcbSKumar Gala/* controller at 0x8000 */
4353e23dcbSKumar Gala&pci0 {
4453e23dcbSKumar Gala	compatible = "fsl,mpc8540-pcix", "fsl,mpc8540-pci";
4553e23dcbSKumar Gala	device_type = "pci";
4653e23dcbSKumar Gala	interrupts = <24 0x2 0 0>;
4753e23dcbSKumar Gala	bus-range = <0 0xff>;
4853e23dcbSKumar Gala	#interrupt-cells = <1>;
4953e23dcbSKumar Gala	#size-cells = <2>;
5053e23dcbSKumar Gala	#address-cells = <3>;
5153e23dcbSKumar Gala};
5253e23dcbSKumar Gala
5353e23dcbSKumar Gala/* controller at 0x9000 */
5453e23dcbSKumar Gala&pci1 {
5553e23dcbSKumar Gala	compatible = "fsl,mpc8540-pci";
5653e23dcbSKumar Gala	device_type = "pci";
5753e23dcbSKumar Gala	interrupts = <25 0x2 0 0>;
5853e23dcbSKumar Gala	bus-range = <0 0xff>;
5953e23dcbSKumar Gala	#interrupt-cells = <1>;
6053e23dcbSKumar Gala	#size-cells = <2>;
6153e23dcbSKumar Gala	#address-cells = <3>;
6253e23dcbSKumar Gala};
6353e23dcbSKumar Gala
6453e23dcbSKumar Gala/* controller at 0xa000 */
6553e23dcbSKumar Gala&pci2 {
6653e23dcbSKumar Gala	compatible = "fsl,mpc8548-pcie";
6753e23dcbSKumar Gala	device_type = "pci";
6853e23dcbSKumar Gala	#size-cells = <2>;
6953e23dcbSKumar Gala	#address-cells = <3>;
7053e23dcbSKumar Gala	bus-range = <0 255>;
7153e23dcbSKumar Gala	clock-frequency = <33333333>;
7253e23dcbSKumar Gala	interrupts = <26 2 0 0>;
7353e23dcbSKumar Gala
7453e23dcbSKumar Gala	pcie@0 {
7553e23dcbSKumar Gala		reg = <0 0 0 0 0>;
7653e23dcbSKumar Gala		#interrupt-cells = <1>;
7753e23dcbSKumar Gala		#size-cells = <2>;
7853e23dcbSKumar Gala		#address-cells = <3>;
7953e23dcbSKumar Gala		device_type = "pci";
8053e23dcbSKumar Gala		interrupts = <26 2 0 0>;
8153e23dcbSKumar Gala		interrupt-map-mask = <0xf800 0 0 7>;
8253e23dcbSKumar Gala		interrupt-map = <
8353e23dcbSKumar Gala			/* IDSEL 0x0 */
8453e23dcbSKumar Gala			0000 0x0 0x0 0x1 &mpic 0x0 0x1 0x0 0x0
8553e23dcbSKumar Gala			0000 0x0 0x0 0x2 &mpic 0x1 0x1 0x0 0x0
8653e23dcbSKumar Gala			0000 0x0 0x0 0x3 &mpic 0x2 0x1 0x0 0x0
8753e23dcbSKumar Gala			0000 0x0 0x0 0x4 &mpic 0x3 0x1 0x0 0x0
8853e23dcbSKumar Gala			>;
8953e23dcbSKumar Gala	};
9053e23dcbSKumar Gala};
9153e23dcbSKumar Gala
928232a4deSchenhui zhao&rio {
938232a4deSchenhui zhao	compatible = "fsl,srio";
948232a4deSchenhui zhao	interrupts = <48 2 0 0>;
958232a4deSchenhui zhao	#address-cells = <2>;
968232a4deSchenhui zhao	#size-cells = <2>;
978232a4deSchenhui zhao	fsl,srio-rmu-handle = <&rmu>;
988232a4deSchenhui zhao	ranges;
998232a4deSchenhui zhao
1008232a4deSchenhui zhao	port1 {
1018232a4deSchenhui zhao		#address-cells = <2>;
1028232a4deSchenhui zhao		#size-cells = <2>;
1038232a4deSchenhui zhao		cell-index = <1>;
1048232a4deSchenhui zhao	};
1058232a4deSchenhui zhao};
1068232a4deSchenhui zhao
10753e23dcbSKumar Gala&soc {
10853e23dcbSKumar Gala	#address-cells = <1>;
10953e23dcbSKumar Gala	#size-cells = <1>;
11053e23dcbSKumar Gala	device_type = "soc";
11153e23dcbSKumar Gala	compatible = "fsl,mpc8548-immr", "simple-bus";
11253e23dcbSKumar Gala	bus-frequency = <0>;		// Filled out by uboot.
11353e23dcbSKumar Gala
11453e23dcbSKumar Gala	ecm-law@0 {
11553e23dcbSKumar Gala		compatible = "fsl,ecm-law";
11653e23dcbSKumar Gala		reg = <0x0 0x1000>;
11753e23dcbSKumar Gala		fsl,num-laws = <10>;
11853e23dcbSKumar Gala	};
11953e23dcbSKumar Gala
12053e23dcbSKumar Gala	ecm@1000 {
12153e23dcbSKumar Gala		compatible = "fsl,mpc8548-ecm", "fsl,ecm";
12253e23dcbSKumar Gala		reg = <0x1000 0x1000>;
12353e23dcbSKumar Gala		interrupts = <17 2 0 0>;
12453e23dcbSKumar Gala	};
12553e23dcbSKumar Gala
12653e23dcbSKumar Gala	memory-controller@2000 {
12753e23dcbSKumar Gala		compatible = "fsl,mpc8548-memory-controller";
12853e23dcbSKumar Gala		reg = <0x2000 0x1000>;
12953e23dcbSKumar Gala		interrupts = <18 2 0 0>;
13053e23dcbSKumar Gala	};
13153e23dcbSKumar Gala
13253e23dcbSKumar Gala/include/ "pq3-i2c-0.dtsi"
13353e23dcbSKumar Gala/include/ "pq3-i2c-1.dtsi"
13453e23dcbSKumar Gala/include/ "pq3-duart-0.dtsi"
13553e23dcbSKumar Gala
13653e23dcbSKumar Gala	L2: l2-cache-controller@20000 {
13753e23dcbSKumar Gala		compatible = "fsl,mpc8548-l2-cache-controller";
13853e23dcbSKumar Gala		reg = <0x20000 0x1000>;
13953e23dcbSKumar Gala		cache-line-size = <32>;	// 32 bytes
14053e23dcbSKumar Gala		cache-size = <0x80000>; // L2, 512K
14153e23dcbSKumar Gala		interrupts = <16 2 0 0>;
14253e23dcbSKumar Gala	};
14353e23dcbSKumar Gala
14453e23dcbSKumar Gala/include/ "pq3-dma-0.dtsi"
14553e23dcbSKumar Gala/include/ "pq3-etsec1-0.dtsi"
14653e23dcbSKumar Gala/include/ "pq3-etsec1-1.dtsi"
14753e23dcbSKumar Gala/include/ "pq3-etsec1-2.dtsi"
14853e23dcbSKumar Gala/include/ "pq3-etsec1-3.dtsi"
14953e23dcbSKumar Gala
15053e23dcbSKumar Gala/include/ "pq3-sec2.1-0.dtsi"
15153e23dcbSKumar Gala/include/ "pq3-mpic.dtsi"
1528232a4deSchenhui zhao/include/ "pq3-rmu-0.dtsi"
15353e23dcbSKumar Gala
15453e23dcbSKumar Gala	global-utilities@e0000 {
15553e23dcbSKumar Gala		compatible = "fsl,mpc8548-guts";
15653e23dcbSKumar Gala		reg = <0xe0000 0x1000>;
15753e23dcbSKumar Gala		fsl,has-rstcr;
15853e23dcbSKumar Gala	};
15953e23dcbSKumar Gala};
160