153291959SKumar Gala/*
253291959SKumar Gala * MPC8572 Silicon/SoC Device Tree Source (post include)
353291959SKumar Gala *
453291959SKumar Gala * Copyright 2011 Freescale Semiconductor Inc.
553291959SKumar Gala *
653291959SKumar Gala * Redistribution and use in source and binary forms, with or without
753291959SKumar Gala * modification, are permitted provided that the following conditions are met:
853291959SKumar Gala *     * Redistributions of source code must retain the above copyright
953291959SKumar Gala *       notice, this list of conditions and the following disclaimer.
1053291959SKumar Gala *     * Redistributions in binary form must reproduce the above copyright
1153291959SKumar Gala *       notice, this list of conditions and the following disclaimer in the
1253291959SKumar Gala *       documentation and/or other materials provided with the distribution.
1353291959SKumar Gala *     * Neither the name of Freescale Semiconductor nor the
1453291959SKumar Gala *       names of its contributors may be used to endorse or promote products
1553291959SKumar Gala *       derived from this software without specific prior written permission.
1653291959SKumar Gala *
1753291959SKumar Gala *
1853291959SKumar Gala * ALTERNATIVELY, this software may be distributed under the terms of the
1953291959SKumar Gala * GNU General Public License ("GPL") as published by the Free Software
2053291959SKumar Gala * Foundation, either version 2 of that License or (at your option) any
2153291959SKumar Gala * later version.
2253291959SKumar Gala *
2353291959SKumar Gala * THIS SOFTWARE IS PROVIDED BY Freescale Semiconductor ``AS IS'' AND ANY
2453291959SKumar Gala * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
2553291959SKumar Gala * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
2653291959SKumar Gala * DISCLAIMED. IN NO EVENT SHALL Freescale Semiconductor BE LIABLE FOR ANY
2753291959SKumar Gala * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
2853291959SKumar Gala * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
2953291959SKumar Gala * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
3053291959SKumar Gala * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
3153291959SKumar Gala * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
3253291959SKumar Gala * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
3353291959SKumar Gala */
3453291959SKumar Gala
3553291959SKumar Gala&lbc {
3653291959SKumar Gala	#address-cells = <2>;
3753291959SKumar Gala	#size-cells = <1>;
3853291959SKumar Gala	compatible = "fsl,mpc8572-elbc", "fsl,elbc", "simple-bus";
3953291959SKumar Gala	interrupts = <19 2 0 0>;
4053291959SKumar Gala};
4153291959SKumar Gala
4253291959SKumar Gala/* controller at 0x8000 */
4353291959SKumar Gala&pci0 {
4453291959SKumar Gala	compatible = "fsl,mpc8548-pcie";
4553291959SKumar Gala	device_type = "pci";
4653291959SKumar Gala	#size-cells = <2>;
4753291959SKumar Gala	#address-cells = <3>;
4853291959SKumar Gala	bus-range = <0 255>;
4953291959SKumar Gala	clock-frequency = <33333333>;
5053291959SKumar Gala	interrupts = <24 2 0 0>;
5153291959SKumar Gala
5253291959SKumar Gala	pcie@0 {
5353291959SKumar Gala		reg = <0 0 0 0 0>;
5453291959SKumar Gala		#interrupt-cells = <1>;
5553291959SKumar Gala		#size-cells = <2>;
5653291959SKumar Gala		#address-cells = <3>;
5753291959SKumar Gala		device_type = "pci";
5853291959SKumar Gala		interrupts = <24 2 0 0>;
5953291959SKumar Gala		interrupt-map-mask = <0xf800 0 0 7>;
6053291959SKumar Gala
6153291959SKumar Gala		interrupt-map = <
6253291959SKumar Gala			/* IDSEL 0x0 */
6353291959SKumar Gala			0000 0x0 0x0 0x1 &mpic 0x8 0x1 0x0 0x0
6453291959SKumar Gala			0000 0x0 0x0 0x2 &mpic 0x9 0x1 0x0 0x0
6553291959SKumar Gala			0000 0x0 0x0 0x3 &mpic 0xa 0x1 0x0 0x0
6653291959SKumar Gala			0000 0x0 0x0 0x4 &mpic 0xb 0x1 0x0 0x0
6753291959SKumar Gala			>;
6853291959SKumar Gala	};
6953291959SKumar Gala};
7053291959SKumar Gala
7153291959SKumar Gala/* controller at 0x9000 */
7253291959SKumar Gala&pci1 {
7353291959SKumar Gala	compatible = "fsl,mpc8548-pcie";
7453291959SKumar Gala	device_type = "pci";
7553291959SKumar Gala	#size-cells = <2>;
7653291959SKumar Gala	#address-cells = <3>;
7753291959SKumar Gala	bus-range = <0 255>;
7853291959SKumar Gala	clock-frequency = <33333333>;
7953291959SKumar Gala	interrupts = <25 2 0 0>;
8053291959SKumar Gala
8153291959SKumar Gala	pcie@0 {
8253291959SKumar Gala		reg = <0 0 0 0 0>;
8353291959SKumar Gala		#interrupt-cells = <1>;
8453291959SKumar Gala		#size-cells = <2>;
8553291959SKumar Gala		#address-cells = <3>;
8653291959SKumar Gala		device_type = "pci";
8753291959SKumar Gala		interrupts = <25 2 0 0>;
8853291959SKumar Gala		interrupt-map-mask = <0xf800 0 0 7>;
8953291959SKumar Gala
9053291959SKumar Gala		interrupt-map = <
9153291959SKumar Gala			/* IDSEL 0x0 */
9253291959SKumar Gala			0000 0x0 0x0 0x1 &mpic 0x4 0x1 0x0 0x0
9353291959SKumar Gala			0000 0x0 0x0 0x2 &mpic 0x5 0x1 0x0 0x0
9453291959SKumar Gala			0000 0x0 0x0 0x3 &mpic 0x6 0x1 0x0 0x0
9553291959SKumar Gala			0000 0x0 0x0 0x4 &mpic 0x7 0x1 0x0 0x0
9653291959SKumar Gala			>;
9753291959SKumar Gala	};
9853291959SKumar Gala};
9953291959SKumar Gala
10053291959SKumar Gala/* controller at 0xa000 */
10153291959SKumar Gala&pci2 {
10253291959SKumar Gala	compatible = "fsl,mpc8548-pcie";
10353291959SKumar Gala	device_type = "pci";
10453291959SKumar Gala	#size-cells = <2>;
10553291959SKumar Gala	#address-cells = <3>;
10653291959SKumar Gala	bus-range = <0 255>;
10753291959SKumar Gala	clock-frequency = <33333333>;
10853291959SKumar Gala	interrupts = <26 2 0 0>;
10953291959SKumar Gala
11053291959SKumar Gala	pcie@0 {
11153291959SKumar Gala		reg = <0 0 0 0 0>;
11253291959SKumar Gala		#interrupt-cells = <1>;
11353291959SKumar Gala		#size-cells = <2>;
11453291959SKumar Gala		#address-cells = <3>;
11553291959SKumar Gala		device_type = "pci";
11653291959SKumar Gala		interrupts = <26 2 0 0>;
11753291959SKumar Gala		interrupt-map-mask = <0xf800 0 0 7>;
11853291959SKumar Gala		interrupt-map = <
11953291959SKumar Gala			/* IDSEL 0x0 */
12053291959SKumar Gala			0000 0x0 0x0 0x1 &mpic 0x0 0x1 0x0 0x0
12153291959SKumar Gala			0000 0x0 0x0 0x2 &mpic 0x1 0x1 0x0 0x0
12253291959SKumar Gala			0000 0x0 0x0 0x3 &mpic 0x2 0x1 0x0 0x0
12353291959SKumar Gala			0000 0x0 0x0 0x4 &mpic 0x3 0x1 0x0 0x0
12453291959SKumar Gala			>;
12553291959SKumar Gala	};
12653291959SKumar Gala};
12753291959SKumar Gala
12853291959SKumar Gala&soc {
12953291959SKumar Gala	#address-cells = <1>;
13053291959SKumar Gala	#size-cells = <1>;
13153291959SKumar Gala	device_type = "soc";
13253291959SKumar Gala	compatible = "fsl,mpc8572-immr", "simple-bus";
13353291959SKumar Gala	bus-frequency = <0>;		// Filled out by uboot.
13453291959SKumar Gala
13553291959SKumar Gala	ecm-law@0 {
13653291959SKumar Gala		compatible = "fsl,ecm-law";
13753291959SKumar Gala		reg = <0x0 0x1000>;
13853291959SKumar Gala		fsl,num-laws = <12>;
13953291959SKumar Gala	};
14053291959SKumar Gala
14153291959SKumar Gala	ecm@1000 {
14253291959SKumar Gala		compatible = "fsl,mpc8572-ecm", "fsl,ecm";
14353291959SKumar Gala		reg = <0x1000 0x1000>;
14453291959SKumar Gala		interrupts = <17 2 0 0>;
14553291959SKumar Gala	};
14653291959SKumar Gala
14753291959SKumar Gala	memory-controller@2000 {
14853291959SKumar Gala		compatible = "fsl,mpc8572-memory-controller";
14953291959SKumar Gala		reg = <0x2000 0x1000>;
15053291959SKumar Gala		interrupts = <18 2 0 0>;
15153291959SKumar Gala	};
15253291959SKumar Gala
15353291959SKumar Gala	memory-controller@6000 {
15453291959SKumar Gala		compatible = "fsl,mpc8572-memory-controller";
15553291959SKumar Gala		reg = <0x6000 0x1000>;
15653291959SKumar Gala		interrupts = <18 2 0 0>;
15753291959SKumar Gala	};
15853291959SKumar Gala
15953291959SKumar Gala/include/ "pq3-i2c-0.dtsi"
16053291959SKumar Gala/include/ "pq3-i2c-1.dtsi"
16153291959SKumar Gala/include/ "pq3-duart-0.dtsi"
16253291959SKumar Gala/include/ "pq3-dma-1.dtsi"
16353291959SKumar Gala/include/ "pq3-gpio-0.dtsi"
16453291959SKumar Gala	gpio-controller@f000 {
16553291959SKumar Gala		compatible = "fsl,mpc8572-gpio", "fsl,pq3-gpio";
16653291959SKumar Gala	};
16753291959SKumar Gala
16853291959SKumar Gala	L2: l2-cache-controller@20000 {
16953291959SKumar Gala		compatible = "fsl,mpc8572-l2-cache-controller";
17053291959SKumar Gala		reg = <0x20000 0x1000>;
17153291959SKumar Gala		cache-line-size = <32>;	// 32 bytes
17253291959SKumar Gala		cache-size = <0x100000>; // L2,1M
17353291959SKumar Gala		interrupts = <16 2 0 0>;
17453291959SKumar Gala	};
17553291959SKumar Gala
17653291959SKumar Gala/include/ "pq3-dma-0.dtsi"
17753291959SKumar Gala/include/ "pq3-etsec1-0.dtsi"
17853291959SKumar Gala/include/ "pq3-etsec1-timer-0.dtsi"
17953291959SKumar Gala
18053291959SKumar Gala	ptp_clock@24e00 {
18153291959SKumar Gala		interrupts = <68 2 0 0 69 2 0 0 70 2 0 0 71 2 0 0>;
18253291959SKumar Gala	};
18353291959SKumar Gala
18453291959SKumar Gala/include/ "pq3-etsec1-1.dtsi"
18553291959SKumar Gala/include/ "pq3-etsec1-2.dtsi"
18653291959SKumar Gala/include/ "pq3-etsec1-3.dtsi"
18753291959SKumar Gala/include/ "pq3-sec3.0-0.dtsi"
18853291959SKumar Gala/include/ "pq3-mpic.dtsi"
18953291959SKumar Gala/include/ "pq3-mpic-timer-B.dtsi"
19053291959SKumar Gala
19153291959SKumar Gala	global-utilities@e0000 {
19253291959SKumar Gala		compatible = "fsl,mpc8572-guts";
19353291959SKumar Gala		reg = <0xe0000 0x1000>;
19453291959SKumar Gala		fsl,has-rstcr;
19553291959SKumar Gala	};
19653291959SKumar Gala};
197