103f4201bSKumar Gala/*
203f4201bSKumar Gala * P5020/5010 Silicon/SoC Device Tree Source (post include)
303f4201bSKumar Gala *
403f4201bSKumar Gala * Copyright 2011 Freescale Semiconductor Inc.
503f4201bSKumar Gala *
603f4201bSKumar Gala * Redistribution and use in source and binary forms, with or without
703f4201bSKumar Gala * modification, are permitted provided that the following conditions are met:
803f4201bSKumar Gala *     * Redistributions of source code must retain the above copyright
903f4201bSKumar Gala *       notice, this list of conditions and the following disclaimer.
1003f4201bSKumar Gala *     * Redistributions in binary form must reproduce the above copyright
1103f4201bSKumar Gala *       notice, this list of conditions and the following disclaimer in the
1203f4201bSKumar Gala *       documentation and/or other materials provided with the distribution.
1303f4201bSKumar Gala *     * Neither the name of Freescale Semiconductor nor the
1403f4201bSKumar Gala *       names of its contributors may be used to endorse or promote products
1503f4201bSKumar Gala *       derived from this software without specific prior written permission.
1603f4201bSKumar Gala *
1703f4201bSKumar Gala *
1803f4201bSKumar Gala * ALTERNATIVELY, this software may be distributed under the terms of the
1903f4201bSKumar Gala * GNU General Public License ("GPL") as published by the Free Software
2003f4201bSKumar Gala * Foundation, either version 2 of that License or (at your option) any
2103f4201bSKumar Gala * later version.
2203f4201bSKumar Gala *
2303f4201bSKumar Gala * THIS SOFTWARE IS PROVIDED BY Freescale Semiconductor ``AS IS'' AND ANY
2403f4201bSKumar Gala * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
2503f4201bSKumar Gala * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
2603f4201bSKumar Gala * DISCLAIMED. IN NO EVENT SHALL Freescale Semiconductor BE LIABLE FOR ANY
2703f4201bSKumar Gala * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
2803f4201bSKumar Gala * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
2903f4201bSKumar Gala * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
3003f4201bSKumar Gala * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
3103f4201bSKumar Gala * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
3203f4201bSKumar Gala * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
3303f4201bSKumar Gala */
3403f4201bSKumar Gala
3503f4201bSKumar Gala&lbc {
3603f4201bSKumar Gala	compatible = "fsl,p5020-elbc", "fsl,elbc", "simple-bus";
3703f4201bSKumar Gala	interrupts = <25 2 0 0>;
3803f4201bSKumar Gala	#address-cells = <2>;
3903f4201bSKumar Gala	#size-cells = <1>;
4003f4201bSKumar Gala};
4103f4201bSKumar Gala
4203f4201bSKumar Gala/* controller at 0x200000 */
4303f4201bSKumar Gala&pci0 {
4403f4201bSKumar Gala	compatible = "fsl,p5020-pcie", "fsl,qoriq-pcie-v2.2";
4503f4201bSKumar Gala	device_type = "pci";
4603f4201bSKumar Gala	#size-cells = <2>;
4703f4201bSKumar Gala	#address-cells = <3>;
4803f4201bSKumar Gala	bus-range = <0x0 0xff>;
4903f4201bSKumar Gala	clock-frequency = <33333333>;
5003f4201bSKumar Gala	interrupts = <16 2 1 15>;
5103f4201bSKumar Gala	pcie@0 {
5203f4201bSKumar Gala		reg = <0 0 0 0 0>;
5303f4201bSKumar Gala		#interrupt-cells = <1>;
5403f4201bSKumar Gala		#size-cells = <2>;
5503f4201bSKumar Gala		#address-cells = <3>;
5603f4201bSKumar Gala		device_type = "pci";
5703f4201bSKumar Gala		interrupts = <16 2 1 15>;
5803f4201bSKumar Gala		interrupt-map-mask = <0xf800 0 0 7>;
5903f4201bSKumar Gala		interrupt-map = <
6003f4201bSKumar Gala			/* IDSEL 0x0 */
6103f4201bSKumar Gala			0000 0 0 1 &mpic 40 1 0 0
6203f4201bSKumar Gala			0000 0 0 2 &mpic 1 1 0 0
6303f4201bSKumar Gala			0000 0 0 3 &mpic 2 1 0 0
6403f4201bSKumar Gala			0000 0 0 4 &mpic 3 1 0 0
6503f4201bSKumar Gala			>;
6603f4201bSKumar Gala	};
6703f4201bSKumar Gala};
6803f4201bSKumar Gala
6903f4201bSKumar Gala/* controller at 0x201000 */
7003f4201bSKumar Gala&pci1 {
7103f4201bSKumar Gala	compatible = "fsl,p5020-pcie", "fsl,qoriq-pcie-v2.2";
7203f4201bSKumar Gala	device_type = "pci";
7303f4201bSKumar Gala	#size-cells = <2>;
7403f4201bSKumar Gala	#address-cells = <3>;
7503f4201bSKumar Gala	bus-range = <0 0xff>;
7603f4201bSKumar Gala	clock-frequency = <33333333>;
7703f4201bSKumar Gala	interrupts = <16 2 1 14>;
7803f4201bSKumar Gala	pcie@0 {
7903f4201bSKumar Gala		reg = <0 0 0 0 0>;
8003f4201bSKumar Gala		#interrupt-cells = <1>;
8103f4201bSKumar Gala		#size-cells = <2>;
8203f4201bSKumar Gala		#address-cells = <3>;
8303f4201bSKumar Gala		device_type = "pci";
8403f4201bSKumar Gala		interrupts = <16 2 1 14>;
8503f4201bSKumar Gala		interrupt-map-mask = <0xf800 0 0 7>;
8603f4201bSKumar Gala		interrupt-map = <
8703f4201bSKumar Gala			/* IDSEL 0x0 */
8803f4201bSKumar Gala			0000 0 0 1 &mpic 41 1 0 0
8903f4201bSKumar Gala			0000 0 0 2 &mpic 5 1 0 0
9003f4201bSKumar Gala			0000 0 0 3 &mpic 6 1 0 0
9103f4201bSKumar Gala			0000 0 0 4 &mpic 7 1 0 0
9203f4201bSKumar Gala			>;
9303f4201bSKumar Gala	};
9403f4201bSKumar Gala};
9503f4201bSKumar Gala
9603f4201bSKumar Gala/* controller at 0x202000 */
9703f4201bSKumar Gala&pci2 {
9803f4201bSKumar Gala	compatible = "fsl,p5020-pcie", "fsl,qoriq-pcie-v2.2";
9903f4201bSKumar Gala	device_type = "pci";
10003f4201bSKumar Gala	#size-cells = <2>;
10103f4201bSKumar Gala	#address-cells = <3>;
10203f4201bSKumar Gala	bus-range = <0x0 0xff>;
10303f4201bSKumar Gala	clock-frequency = <33333333>;
10403f4201bSKumar Gala	interrupts = <16 2 1 13>;
10503f4201bSKumar Gala	pcie@0 {
10603f4201bSKumar Gala		reg = <0 0 0 0 0>;
10703f4201bSKumar Gala		#interrupt-cells = <1>;
10803f4201bSKumar Gala		#size-cells = <2>;
10903f4201bSKumar Gala		#address-cells = <3>;
11003f4201bSKumar Gala		device_type = "pci";
11103f4201bSKumar Gala		interrupts = <16 2 1 13>;
11203f4201bSKumar Gala		interrupt-map-mask = <0xf800 0 0 7>;
11303f4201bSKumar Gala		interrupt-map = <
11403f4201bSKumar Gala			/* IDSEL 0x0 */
11503f4201bSKumar Gala			0000 0 0 1 &mpic 42 1 0 0
11603f4201bSKumar Gala			0000 0 0 2 &mpic 9 1 0 0
11703f4201bSKumar Gala			0000 0 0 3 &mpic 10 1 0 0
11803f4201bSKumar Gala			0000 0 0 4 &mpic 11 1 0 0
11903f4201bSKumar Gala			>;
12003f4201bSKumar Gala	};
12103f4201bSKumar Gala};
12203f4201bSKumar Gala
12303f4201bSKumar Gala/* controller at 0x203000 */
12403f4201bSKumar Gala&pci3 {
12503f4201bSKumar Gala	compatible = "fsl,p5020-pcie", "fsl,qoriq-pcie-v2.2";
12603f4201bSKumar Gala	device_type = "pci";
12703f4201bSKumar Gala	#size-cells = <2>;
12803f4201bSKumar Gala	#address-cells = <3>;
12903f4201bSKumar Gala	bus-range = <0x0 0xff>;
13003f4201bSKumar Gala	clock-frequency = <33333333>;
13103f4201bSKumar Gala	interrupts = <16 2 1 12>;
13203f4201bSKumar Gala	pcie@0 {
13303f4201bSKumar Gala		reg = <0 0 0 0 0>;
13403f4201bSKumar Gala		#interrupt-cells = <1>;
13503f4201bSKumar Gala		#size-cells = <2>;
13603f4201bSKumar Gala		#address-cells = <3>;
13703f4201bSKumar Gala		device_type = "pci";
13803f4201bSKumar Gala		interrupts = <16 2 1 12>;
13903f4201bSKumar Gala		interrupt-map-mask = <0xf800 0 0 7>;
14003f4201bSKumar Gala		interrupt-map = <
14103f4201bSKumar Gala			/* IDSEL 0x0 */
14203f4201bSKumar Gala			0000 0 0 1 &mpic 43 1 0 0
14303f4201bSKumar Gala			0000 0 0 2 &mpic 0 1 0 0
14403f4201bSKumar Gala			0000 0 0 3 &mpic 4 1 0 0
14503f4201bSKumar Gala			0000 0 0 4 &mpic 8 1 0 0
14603f4201bSKumar Gala			>;
14703f4201bSKumar Gala	};
14803f4201bSKumar Gala};
14903f4201bSKumar Gala
15003f4201bSKumar Gala&dcsr {
15103f4201bSKumar Gala	#address-cells = <1>;
15203f4201bSKumar Gala	#size-cells = <1>;
15303f4201bSKumar Gala	compatible = "fsl,dcsr", "simple-bus";
15403f4201bSKumar Gala
15503f4201bSKumar Gala	dcsr-epu@0 {
15603f4201bSKumar Gala		compatible = "fsl,dcsr-epu";
15703f4201bSKumar Gala		interrupts = <52 2 0 0
15803f4201bSKumar Gala			      84 2 0 0
15903f4201bSKumar Gala			      85 2 0 0>;
16003f4201bSKumar Gala		reg = <0x0 0x1000>;
16103f4201bSKumar Gala	};
16203f4201bSKumar Gala	dcsr-npc {
16303f4201bSKumar Gala		compatible = "fsl,dcsr-npc";
16403f4201bSKumar Gala		reg = <0x1000 0x1000 0x1000000 0x8000>;
16503f4201bSKumar Gala	};
16603f4201bSKumar Gala	dcsr-nxc@2000 {
16703f4201bSKumar Gala		compatible = "fsl,dcsr-nxc";
16803f4201bSKumar Gala		reg = <0x2000 0x1000>;
16903f4201bSKumar Gala	};
17003f4201bSKumar Gala	dcsr-corenet {
17103f4201bSKumar Gala		compatible = "fsl,dcsr-corenet";
17203f4201bSKumar Gala		reg = <0x8000 0x1000 0xB0000 0x1000>;
17303f4201bSKumar Gala	};
17403f4201bSKumar Gala	dcsr-dpaa@9000 {
17503f4201bSKumar Gala		compatible = "fsl,p5020-dcsr-dpaa", "fsl,dcsr-dpaa";
17603f4201bSKumar Gala		reg = <0x9000 0x1000>;
17703f4201bSKumar Gala	};
17803f4201bSKumar Gala	dcsr-ocn@11000 {
17903f4201bSKumar Gala		compatible = "fsl,p5020-dcsr-ocn", "fsl,dcsr-ocn";
18003f4201bSKumar Gala		reg = <0x11000 0x1000>;
18103f4201bSKumar Gala	};
18203f4201bSKumar Gala	dcsr-ddr@12000 {
18303f4201bSKumar Gala		compatible = "fsl,dcsr-ddr";
18403f4201bSKumar Gala		dev-handle = <&ddr1>;
18503f4201bSKumar Gala		reg = <0x12000 0x1000>;
18603f4201bSKumar Gala	};
18703f4201bSKumar Gala	dcsr-ddr@13000 {
18803f4201bSKumar Gala		compatible = "fsl,dcsr-ddr";
18903f4201bSKumar Gala		dev-handle = <&ddr2>;
19003f4201bSKumar Gala		reg = <0x13000 0x1000>;
19103f4201bSKumar Gala	};
19203f4201bSKumar Gala	dcsr-nal@18000 {
19303f4201bSKumar Gala		compatible = "fsl,p5020-dcsr-nal", "fsl,dcsr-nal";
19403f4201bSKumar Gala		reg = <0x18000 0x1000>;
19503f4201bSKumar Gala	};
19603f4201bSKumar Gala	dcsr-rcpm@22000 {
19703f4201bSKumar Gala		compatible = "fsl,p5020-dcsr-rcpm", "fsl,dcsr-rcpm";
19803f4201bSKumar Gala		reg = <0x22000 0x1000>;
19903f4201bSKumar Gala	};
20003f4201bSKumar Gala	dcsr-cpu-sb-proxy@40000 {
20103f4201bSKumar Gala		compatible = "fsl,dcsr-e5500-sb-proxy", "fsl,dcsr-cpu-sb-proxy";
20203f4201bSKumar Gala		cpu-handle = <&cpu0>;
20303f4201bSKumar Gala		reg = <0x40000 0x1000>;
20403f4201bSKumar Gala	};
20503f4201bSKumar Gala	dcsr-cpu-sb-proxy@41000 {
20603f4201bSKumar Gala		compatible = "fsl,dcsr-e5500-sb-proxy", "fsl,dcsr-cpu-sb-proxy";
20703f4201bSKumar Gala		cpu-handle = <&cpu1>;
20803f4201bSKumar Gala		reg = <0x41000 0x1000>;
20903f4201bSKumar Gala	};
21003f4201bSKumar Gala};
21103f4201bSKumar Gala
21203f4201bSKumar Gala&soc {
21303f4201bSKumar Gala	#address-cells = <1>;
21403f4201bSKumar Gala	#size-cells = <1>;
21503f4201bSKumar Gala	device_type = "soc";
21603f4201bSKumar Gala	compatible = "simple-bus";
21703f4201bSKumar Gala
21803f4201bSKumar Gala	soc-sram-error {
21903f4201bSKumar Gala		compatible = "fsl,soc-sram-error";
22003f4201bSKumar Gala		interrupts = <16 2 1 29>;
22103f4201bSKumar Gala	};
22203f4201bSKumar Gala
22303f4201bSKumar Gala	corenet-law@0 {
22403f4201bSKumar Gala		compatible = "fsl,corenet-law";
22503f4201bSKumar Gala		reg = <0x0 0x1000>;
22603f4201bSKumar Gala		fsl,num-laws = <32>;
22703f4201bSKumar Gala	};
22803f4201bSKumar Gala
22903f4201bSKumar Gala	ddr1: memory-controller@8000 {
23003f4201bSKumar Gala		compatible = "fsl,qoriq-memory-controller-v4.5", "fsl,qoriq-memory-controller";
23103f4201bSKumar Gala		reg = <0x8000 0x1000>;
23203f4201bSKumar Gala		interrupts = <16 2 1 23>;
23303f4201bSKumar Gala	};
23403f4201bSKumar Gala
23503f4201bSKumar Gala	ddr2: memory-controller@9000 {
23603f4201bSKumar Gala		compatible = "fsl,qoriq-memory-controller-v4.5","fsl,qoriq-memory-controller";
23703f4201bSKumar Gala		reg = <0x9000 0x1000>;
23803f4201bSKumar Gala		interrupts = <16 2 1 22>;
23903f4201bSKumar Gala	};
24003f4201bSKumar Gala
24103f4201bSKumar Gala	cpc: l3-cache-controller@10000 {
24203f4201bSKumar Gala		compatible = "fsl,p5020-l3-cache-controller", "fsl,p4080-l3-cache-controller", "cache";
24303f4201bSKumar Gala		reg = <0x10000 0x1000
24403f4201bSKumar Gala		       0x11000 0x1000>;
24503f4201bSKumar Gala		interrupts = <16 2 1 27
24603f4201bSKumar Gala			      16 2 1 26>;
24703f4201bSKumar Gala	};
24803f4201bSKumar Gala
24903f4201bSKumar Gala	corenet-cf@18000 {
25003f4201bSKumar Gala		compatible = "fsl,corenet-cf";
25103f4201bSKumar Gala		reg = <0x18000 0x1000>;
25203f4201bSKumar Gala		interrupts = <16 2 1 31>;
25303f4201bSKumar Gala		fsl,ccf-num-csdids = <32>;
25403f4201bSKumar Gala		fsl,ccf-num-snoopids = <32>;
25503f4201bSKumar Gala	};
25603f4201bSKumar Gala
25703f4201bSKumar Gala	iommu@20000 {
25803f4201bSKumar Gala		compatible = "fsl,pamu-v1.0", "fsl,pamu";
25903f4201bSKumar Gala		reg = <0x20000 0x4000>;
26003f4201bSKumar Gala		interrupts = <
26103f4201bSKumar Gala			24 2 0 0
26203f4201bSKumar Gala			16 2 1 30>;
26303f4201bSKumar Gala	};
26403f4201bSKumar Gala
26503f4201bSKumar Gala/include/ "qoriq-mpic.dtsi"
26603f4201bSKumar Gala
26703f4201bSKumar Gala	guts: global-utilities@e0000 {
26803f4201bSKumar Gala		compatible = "fsl,qoriq-device-config-1.0";
26903f4201bSKumar Gala		reg = <0xe0000 0xe00>;
27003f4201bSKumar Gala		fsl,has-rstcr;
27103f4201bSKumar Gala		#sleep-cells = <1>;
27203f4201bSKumar Gala		fsl,liodn-bits = <12>;
27303f4201bSKumar Gala	};
27403f4201bSKumar Gala
27503f4201bSKumar Gala	pins: global-utilities@e0e00 {
27603f4201bSKumar Gala		compatible = "fsl,qoriq-pin-control-1.0";
27703f4201bSKumar Gala		reg = <0xe0e00 0x200>;
27803f4201bSKumar Gala		#sleep-cells = <2>;
27903f4201bSKumar Gala	};
28003f4201bSKumar Gala
28103f4201bSKumar Gala	clockgen: global-utilities@e1000 {
28203f4201bSKumar Gala		compatible = "fsl,p5020-clockgen", "fsl,qoriq-clockgen-1.0";
28303f4201bSKumar Gala		reg = <0xe1000 0x1000>;
28403f4201bSKumar Gala		clock-frequency = <0>;
28503f4201bSKumar Gala	};
28603f4201bSKumar Gala
28703f4201bSKumar Gala	rcpm: global-utilities@e2000 {
28803f4201bSKumar Gala		compatible = "fsl,qoriq-rcpm-1.0";
28903f4201bSKumar Gala		reg = <0xe2000 0x1000>;
29003f4201bSKumar Gala		#sleep-cells = <1>;
29103f4201bSKumar Gala	};
29203f4201bSKumar Gala
29303f4201bSKumar Gala	sfp: sfp@e8000 {
29403f4201bSKumar Gala		compatible = "fsl,p5020-sfp", "fsl,qoriq-sfp-1.0";
29503f4201bSKumar Gala		reg	   = <0xe8000 0x1000>;
29603f4201bSKumar Gala	};
29703f4201bSKumar Gala
29803f4201bSKumar Gala	serdes: serdes@ea000 {
29903f4201bSKumar Gala		compatible = "fsl,p5020-serdes";
30003f4201bSKumar Gala		reg	   = <0xea000 0x1000>;
30103f4201bSKumar Gala	};
30203f4201bSKumar Gala
30303f4201bSKumar Gala/include/ "qoriq-dma-0.dtsi"
30403f4201bSKumar Gala/include/ "qoriq-dma-1.dtsi"
30503f4201bSKumar Gala/include/ "qoriq-espi-0.dtsi"
30603f4201bSKumar Gala	spi@110000 {
30703f4201bSKumar Gala		fsl,espi-num-chipselects = <4>;
30803f4201bSKumar Gala	};
30903f4201bSKumar Gala
31003f4201bSKumar Gala/include/ "qoriq-esdhc-0.dtsi"
31103f4201bSKumar Gala	sdhc@114000 {
31203f4201bSKumar Gala		sdhci,auto-cmd12;
31303f4201bSKumar Gala	};
31403f4201bSKumar Gala
31503f4201bSKumar Gala/include/ "qoriq-i2c-0.dtsi"
31603f4201bSKumar Gala/include/ "qoriq-i2c-1.dtsi"
31703f4201bSKumar Gala/include/ "qoriq-duart-0.dtsi"
31803f4201bSKumar Gala/include/ "qoriq-duart-1.dtsi"
31903f4201bSKumar Gala/include/ "qoriq-gpio-0.dtsi"
32003f4201bSKumar Gala/include/ "qoriq-usb2-mph-0.dtsi"
32103f4201bSKumar Gala		usb0: usb@210000 {
32203f4201bSKumar Gala			phy_type = "utmi";
32303f4201bSKumar Gala			port0;
32403f4201bSKumar Gala		};
32503f4201bSKumar Gala
32603f4201bSKumar Gala/include/ "qoriq-usb2-dr-0.dtsi"
32703f4201bSKumar Gala		usb1: usb@211000 {
32803f4201bSKumar Gala			dr_mode = "host";
32903f4201bSKumar Gala			phy_type = "utmi";
33003f4201bSKumar Gala		};
33103f4201bSKumar Gala
33203f4201bSKumar Gala/include/ "qoriq-sata2-0.dtsi"
33303f4201bSKumar Gala/include/ "qoriq-sata2-1.dtsi"
33403f4201bSKumar Gala/include/ "qoriq-sec4.2-0.dtsi"
33503f4201bSKumar Gala};
336