18b8673b8SKumar Gala/*
28b8673b8SKumar Gala * P2041/P2040 Silicon/SoC Device Tree Source (post include)
38b8673b8SKumar Gala *
48b8673b8SKumar Gala * Copyright 2011 Freescale Semiconductor Inc.
58b8673b8SKumar Gala *
68b8673b8SKumar Gala * Redistribution and use in source and binary forms, with or without
78b8673b8SKumar Gala * modification, are permitted provided that the following conditions are met:
88b8673b8SKumar Gala *     * Redistributions of source code must retain the above copyright
98b8673b8SKumar Gala *       notice, this list of conditions and the following disclaimer.
108b8673b8SKumar Gala *     * Redistributions in binary form must reproduce the above copyright
118b8673b8SKumar Gala *       notice, this list of conditions and the following disclaimer in the
128b8673b8SKumar Gala *       documentation and/or other materials provided with the distribution.
138b8673b8SKumar Gala *     * Neither the name of Freescale Semiconductor nor the
148b8673b8SKumar Gala *       names of its contributors may be used to endorse or promote products
158b8673b8SKumar Gala *       derived from this software without specific prior written permission.
168b8673b8SKumar Gala *
178b8673b8SKumar Gala *
188b8673b8SKumar Gala * ALTERNATIVELY, this software may be distributed under the terms of the
198b8673b8SKumar Gala * GNU General Public License ("GPL") as published by the Free Software
208b8673b8SKumar Gala * Foundation, either version 2 of that License or (at your option) any
218b8673b8SKumar Gala * later version.
228b8673b8SKumar Gala *
238b8673b8SKumar Gala * THIS SOFTWARE IS PROVIDED BY Freescale Semiconductor ``AS IS'' AND ANY
248b8673b8SKumar Gala * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
258b8673b8SKumar Gala * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
268b8673b8SKumar Gala * DISCLAIMED. IN NO EVENT SHALL Freescale Semiconductor BE LIABLE FOR ANY
278b8673b8SKumar Gala * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
288b8673b8SKumar Gala * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
298b8673b8SKumar Gala * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
308b8673b8SKumar Gala * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
318b8673b8SKumar Gala * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
328b8673b8SKumar Gala * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
338b8673b8SKumar Gala */
348b8673b8SKumar Gala
358b8673b8SKumar Gala&lbc {
368b8673b8SKumar Gala	compatible = "fsl,p2041-elbc", "fsl,elbc", "simple-bus";
378b8673b8SKumar Gala	interrupts = <25 2 0 0>;
388b8673b8SKumar Gala	#address-cells = <2>;
398b8673b8SKumar Gala	#size-cells = <1>;
408b8673b8SKumar Gala};
418b8673b8SKumar Gala
428b8673b8SKumar Gala/* controller at 0x200000 */
438b8673b8SKumar Gala&pci0 {
448b8673b8SKumar Gala	compatible = "fsl,p2041-pcie", "fsl,qoriq-pcie-v2.2";
458b8673b8SKumar Gala	device_type = "pci";
468b8673b8SKumar Gala	#size-cells = <2>;
478b8673b8SKumar Gala	#address-cells = <3>;
488b8673b8SKumar Gala	bus-range = <0x0 0xff>;
498b8673b8SKumar Gala	clock-frequency = <33333333>;
508b8673b8SKumar Gala	interrupts = <16 2 1 15>;
518b8673b8SKumar Gala	pcie@0 {
528b8673b8SKumar Gala		reg = <0 0 0 0 0>;
538b8673b8SKumar Gala		#interrupt-cells = <1>;
548b8673b8SKumar Gala		#size-cells = <2>;
558b8673b8SKumar Gala		#address-cells = <3>;
568b8673b8SKumar Gala		device_type = "pci";
578b8673b8SKumar Gala		interrupts = <16 2 1 15>;
588b8673b8SKumar Gala		interrupt-map-mask = <0xf800 0 0 7>;
598b8673b8SKumar Gala		interrupt-map = <
608b8673b8SKumar Gala			/* IDSEL 0x0 */
618b8673b8SKumar Gala			0000 0 0 1 &mpic 40 1 0 0
628b8673b8SKumar Gala			0000 0 0 2 &mpic 1 1 0 0
638b8673b8SKumar Gala			0000 0 0 3 &mpic 2 1 0 0
648b8673b8SKumar Gala			0000 0 0 4 &mpic 3 1 0 0
658b8673b8SKumar Gala			>;
668b8673b8SKumar Gala	};
678b8673b8SKumar Gala};
688b8673b8SKumar Gala
698b8673b8SKumar Gala/* controller at 0x201000 */
708b8673b8SKumar Gala&pci1 {
718b8673b8SKumar Gala	compatible = "fsl,p2041-pcie", "fsl,qoriq-pcie-v2.2";
728b8673b8SKumar Gala	device_type = "pci";
738b8673b8SKumar Gala	#size-cells = <2>;
748b8673b8SKumar Gala	#address-cells = <3>;
758b8673b8SKumar Gala	bus-range = <0 0xff>;
768b8673b8SKumar Gala	clock-frequency = <33333333>;
778b8673b8SKumar Gala	interrupts = <16 2 1 14>;
788b8673b8SKumar Gala	pcie@0 {
798b8673b8SKumar Gala		reg = <0 0 0 0 0>;
808b8673b8SKumar Gala		#interrupt-cells = <1>;
818b8673b8SKumar Gala		#size-cells = <2>;
828b8673b8SKumar Gala		#address-cells = <3>;
838b8673b8SKumar Gala		device_type = "pci";
848b8673b8SKumar Gala		interrupts = <16 2 1 14>;
858b8673b8SKumar Gala		interrupt-map-mask = <0xf800 0 0 7>;
868b8673b8SKumar Gala		interrupt-map = <
878b8673b8SKumar Gala			/* IDSEL 0x0 */
888b8673b8SKumar Gala			0000 0 0 1 &mpic 41 1 0 0
898b8673b8SKumar Gala			0000 0 0 2 &mpic 5 1 0 0
908b8673b8SKumar Gala			0000 0 0 3 &mpic 6 1 0 0
918b8673b8SKumar Gala			0000 0 0 4 &mpic 7 1 0 0
928b8673b8SKumar Gala			>;
938b8673b8SKumar Gala	};
948b8673b8SKumar Gala};
958b8673b8SKumar Gala
968b8673b8SKumar Gala/* controller at 0x202000 */
978b8673b8SKumar Gala&pci2 {
988b8673b8SKumar Gala	compatible = "fsl,p2041-pcie", "fsl,qoriq-pcie-v2.2";
998b8673b8SKumar Gala	device_type = "pci";
1008b8673b8SKumar Gala	#size-cells = <2>;
1018b8673b8SKumar Gala	#address-cells = <3>;
1028b8673b8SKumar Gala	bus-range = <0x0 0xff>;
1038b8673b8SKumar Gala	clock-frequency = <33333333>;
1048b8673b8SKumar Gala	interrupts = <16 2 1 13>;
1058b8673b8SKumar Gala	pcie@0 {
1068b8673b8SKumar Gala		reg = <0 0 0 0 0>;
1078b8673b8SKumar Gala		#interrupt-cells = <1>;
1088b8673b8SKumar Gala		#size-cells = <2>;
1098b8673b8SKumar Gala		#address-cells = <3>;
1108b8673b8SKumar Gala		device_type = "pci";
1118b8673b8SKumar Gala		interrupts = <16 2 1 13>;
1128b8673b8SKumar Gala		interrupt-map-mask = <0xf800 0 0 7>;
1138b8673b8SKumar Gala		interrupt-map = <
1148b8673b8SKumar Gala			/* IDSEL 0x0 */
1158b8673b8SKumar Gala			0000 0 0 1 &mpic 42 1 0 0
1168b8673b8SKumar Gala			0000 0 0 2 &mpic 9 1 0 0
1178b8673b8SKumar Gala			0000 0 0 3 &mpic 10 1 0 0
1188b8673b8SKumar Gala			0000 0 0 4 &mpic 11 1 0 0
1198b8673b8SKumar Gala			>;
1208b8673b8SKumar Gala	};
1218b8673b8SKumar Gala};
1228b8673b8SKumar Gala
12354986964SKumar Gala&rio {
12454986964SKumar Gala	compatible = "fsl,srio";
12554986964SKumar Gala	interrupts = <16 2 1 11>;
12654986964SKumar Gala	#address-cells = <2>;
12754986964SKumar Gala	#size-cells = <2>;
12854986964SKumar Gala	ranges;
12954986964SKumar Gala
13054986964SKumar Gala	port1 {
13154986964SKumar Gala		#address-cells = <2>;
13254986964SKumar Gala		#size-cells = <2>;
13354986964SKumar Gala		cell-index = <1>;
13454986964SKumar Gala	};
13554986964SKumar Gala
13654986964SKumar Gala	port2 {
13754986964SKumar Gala		#address-cells = <2>;
13854986964SKumar Gala		#size-cells = <2>;
13954986964SKumar Gala		cell-index = <2>;
14054986964SKumar Gala	};
14154986964SKumar Gala};
14254986964SKumar Gala
1438b8673b8SKumar Gala&dcsr {
1448b8673b8SKumar Gala	#address-cells = <1>;
1458b8673b8SKumar Gala	#size-cells = <1>;
1468b8673b8SKumar Gala	compatible = "fsl,dcsr", "simple-bus";
1478b8673b8SKumar Gala
1488b8673b8SKumar Gala	dcsr-epu@0 {
1498b8673b8SKumar Gala		compatible = "fsl,dcsr-epu";
1508b8673b8SKumar Gala		interrupts = <52 2 0 0
1518b8673b8SKumar Gala			      84 2 0 0
1528b8673b8SKumar Gala			      85 2 0 0>;
1538b8673b8SKumar Gala		reg = <0x0 0x1000>;
1548b8673b8SKumar Gala	};
1558b8673b8SKumar Gala	dcsr-npc {
1568b8673b8SKumar Gala		compatible = "fsl,dcsr-npc";
1578b8673b8SKumar Gala		reg = <0x1000 0x1000 0x1000000 0x8000>;
1588b8673b8SKumar Gala	};
1598b8673b8SKumar Gala	dcsr-nxc@2000 {
1608b8673b8SKumar Gala		compatible = "fsl,dcsr-nxc";
1618b8673b8SKumar Gala		reg = <0x2000 0x1000>;
1628b8673b8SKumar Gala	};
1638b8673b8SKumar Gala	dcsr-corenet {
1648b8673b8SKumar Gala		compatible = "fsl,dcsr-corenet";
1658b8673b8SKumar Gala		reg = <0x8000 0x1000 0xB0000 0x1000>;
1668b8673b8SKumar Gala	};
1678b8673b8SKumar Gala	dcsr-dpaa@9000 {
1688b8673b8SKumar Gala		compatible = "fsl,p2041-dcsr-dpaa", "fsl,dcsr-dpaa";
1698b8673b8SKumar Gala		reg = <0x9000 0x1000>;
1708b8673b8SKumar Gala	};
1718b8673b8SKumar Gala	dcsr-ocn@11000 {
1728b8673b8SKumar Gala		compatible = "fsl,p2041-dcsr-ocn", "fsl,dcsr-ocn";
1738b8673b8SKumar Gala		reg = <0x11000 0x1000>;
1748b8673b8SKumar Gala	};
1758b8673b8SKumar Gala	dcsr-ddr@12000 {
1768b8673b8SKumar Gala		compatible = "fsl,dcsr-ddr";
1778b8673b8SKumar Gala		dev-handle = <&ddr1>;
1788b8673b8SKumar Gala		reg = <0x12000 0x1000>;
1798b8673b8SKumar Gala	};
1808b8673b8SKumar Gala	dcsr-nal@18000 {
1818b8673b8SKumar Gala		compatible = "fsl,p2041-dcsr-nal", "fsl,dcsr-nal";
1828b8673b8SKumar Gala		reg = <0x18000 0x1000>;
1838b8673b8SKumar Gala	};
1848b8673b8SKumar Gala	dcsr-rcpm@22000 {
1858b8673b8SKumar Gala		compatible = "fsl,p2041-dcsr-rcpm", "fsl,dcsr-rcpm";
1868b8673b8SKumar Gala		reg = <0x22000 0x1000>;
1878b8673b8SKumar Gala	};
1888b8673b8SKumar Gala	dcsr-cpu-sb-proxy@40000 {
1898b8673b8SKumar Gala		compatible = "fsl,dcsr-e500mc-sb-proxy", "fsl,dcsr-cpu-sb-proxy";
1908b8673b8SKumar Gala		cpu-handle = <&cpu0>;
1918b8673b8SKumar Gala		reg = <0x40000 0x1000>;
1928b8673b8SKumar Gala	};
1938b8673b8SKumar Gala	dcsr-cpu-sb-proxy@41000 {
1948b8673b8SKumar Gala		compatible = "fsl,dcsr-e500mc-sb-proxy", "fsl,dcsr-cpu-sb-proxy";
1958b8673b8SKumar Gala		cpu-handle = <&cpu1>;
1968b8673b8SKumar Gala		reg = <0x41000 0x1000>;
1978b8673b8SKumar Gala	};
1988b8673b8SKumar Gala	dcsr-cpu-sb-proxy@42000 {
1998b8673b8SKumar Gala		compatible = "fsl,dcsr-e500mc-sb-proxy", "fsl,dcsr-cpu-sb-proxy";
2008b8673b8SKumar Gala		cpu-handle = <&cpu2>;
2018b8673b8SKumar Gala		reg = <0x42000 0x1000>;
2028b8673b8SKumar Gala	};
2038b8673b8SKumar Gala	dcsr-cpu-sb-proxy@43000 {
2048b8673b8SKumar Gala		compatible = "fsl,dcsr-e500mc-sb-proxy", "fsl,dcsr-cpu-sb-proxy";
2058b8673b8SKumar Gala		cpu-handle = <&cpu3>;
2068b8673b8SKumar Gala		reg = <0x43000 0x1000>;
2078b8673b8SKumar Gala	};
2088b8673b8SKumar Gala};
2098b8673b8SKumar Gala
2108b8673b8SKumar Gala&soc {
2118b8673b8SKumar Gala	#address-cells = <1>;
2128b8673b8SKumar Gala	#size-cells = <1>;
2138b8673b8SKumar Gala	device_type = "soc";
2148b8673b8SKumar Gala	compatible = "simple-bus";
2158b8673b8SKumar Gala
2168b8673b8SKumar Gala	soc-sram-error {
2178b8673b8SKumar Gala		compatible = "fsl,soc-sram-error";
2188b8673b8SKumar Gala		interrupts = <16 2 1 29>;
2198b8673b8SKumar Gala	};
2208b8673b8SKumar Gala
2218b8673b8SKumar Gala	corenet-law@0 {
2228b8673b8SKumar Gala		compatible = "fsl,corenet-law";
2238b8673b8SKumar Gala		reg = <0x0 0x1000>;
2248b8673b8SKumar Gala		fsl,num-laws = <32>;
2258b8673b8SKumar Gala	};
2268b8673b8SKumar Gala
2278b8673b8SKumar Gala	ddr1: memory-controller@8000 {
2288b8673b8SKumar Gala		compatible = "fsl,qoriq-memory-controller-v4.5", "fsl,qoriq-memory-controller";
2298b8673b8SKumar Gala		reg = <0x8000 0x1000>;
2308b8673b8SKumar Gala		interrupts = <16 2 1 23>;
2318b8673b8SKumar Gala	};
2328b8673b8SKumar Gala
2338b8673b8SKumar Gala	cpc: l3-cache-controller@10000 {
2348b8673b8SKumar Gala		compatible = "fsl,p2041-l3-cache-controller", "fsl,p4080-l3-cache-controller", "cache";
2358b8673b8SKumar Gala		reg = <0x10000 0x1000>;
2368b8673b8SKumar Gala		interrupts = <16 2 1 27>;
2378b8673b8SKumar Gala	};
2388b8673b8SKumar Gala
2398b8673b8SKumar Gala	corenet-cf@18000 {
2408b8673b8SKumar Gala		compatible = "fsl,corenet-cf";
2418b8673b8SKumar Gala		reg = <0x18000 0x1000>;
2428b8673b8SKumar Gala		interrupts = <16 2 1 31>;
2438b8673b8SKumar Gala		fsl,ccf-num-csdids = <32>;
2448b8673b8SKumar Gala		fsl,ccf-num-snoopids = <32>;
2458b8673b8SKumar Gala	};
2468b8673b8SKumar Gala
2478b8673b8SKumar Gala	iommu@20000 {
2488b8673b8SKumar Gala		compatible = "fsl,pamu-v1.0", "fsl,pamu";
2498b8673b8SKumar Gala		reg = <0x20000 0x4000>;
2508b8673b8SKumar Gala		interrupts = <
2518b8673b8SKumar Gala			24 2 0 0
2528b8673b8SKumar Gala			16 2 1 30>;
2538b8673b8SKumar Gala	};
2548b8673b8SKumar Gala
2558b8673b8SKumar Gala/include/ "qoriq-mpic.dtsi"
2568b8673b8SKumar Gala
2578b8673b8SKumar Gala	guts: global-utilities@e0000 {
2588b8673b8SKumar Gala		compatible = "fsl,qoriq-device-config-1.0";
2598b8673b8SKumar Gala		reg = <0xe0000 0xe00>;
2608b8673b8SKumar Gala		fsl,has-rstcr;
2618b8673b8SKumar Gala		#sleep-cells = <1>;
2628b8673b8SKumar Gala		fsl,liodn-bits = <12>;
2638b8673b8SKumar Gala	};
2648b8673b8SKumar Gala
2658b8673b8SKumar Gala	pins: global-utilities@e0e00 {
2668b8673b8SKumar Gala		compatible = "fsl,qoriq-pin-control-1.0";
2678b8673b8SKumar Gala		reg = <0xe0e00 0x200>;
2688b8673b8SKumar Gala		#sleep-cells = <2>;
2698b8673b8SKumar Gala	};
2708b8673b8SKumar Gala
2718b8673b8SKumar Gala	clockgen: global-utilities@e1000 {
2728b8673b8SKumar Gala		compatible = "fsl,p2041-clockgen", "fsl,qoriq-clockgen-1.0";
2738b8673b8SKumar Gala		reg = <0xe1000 0x1000>;
2748b8673b8SKumar Gala		clock-frequency = <0>;
2758b8673b8SKumar Gala	};
2768b8673b8SKumar Gala
2778b8673b8SKumar Gala	rcpm: global-utilities@e2000 {
2788b8673b8SKumar Gala		compatible = "fsl,qoriq-rcpm-1.0";
2798b8673b8SKumar Gala		reg = <0xe2000 0x1000>;
2808b8673b8SKumar Gala		#sleep-cells = <1>;
2818b8673b8SKumar Gala	};
2828b8673b8SKumar Gala
2838b8673b8SKumar Gala	sfp: sfp@e8000 {
2848b8673b8SKumar Gala		compatible = "fsl,p2041-sfp", "fsl,qoriq-sfp-1.0";
2858b8673b8SKumar Gala		reg	   = <0xe8000 0x1000>;
2868b8673b8SKumar Gala	};
2878b8673b8SKumar Gala
2888b8673b8SKumar Gala	serdes: serdes@ea000 {
2898b8673b8SKumar Gala		compatible = "fsl,p2041-serdes";
2908b8673b8SKumar Gala		reg	   = <0xea000 0x1000>;
2918b8673b8SKumar Gala	};
2928b8673b8SKumar Gala
2938b8673b8SKumar Gala/include/ "qoriq-dma-0.dtsi"
2948b8673b8SKumar Gala/include/ "qoriq-dma-1.dtsi"
2958b8673b8SKumar Gala/include/ "qoriq-espi-0.dtsi"
2968b8673b8SKumar Gala	spi@110000 {
2978b8673b8SKumar Gala		fsl,espi-num-chipselects = <4>;
2988b8673b8SKumar Gala	};
2998b8673b8SKumar Gala
3008b8673b8SKumar Gala/include/ "qoriq-esdhc-0.dtsi"
3018b8673b8SKumar Gala	sdhc@114000 {
3028b8673b8SKumar Gala		sdhci,auto-cmd12;
3038b8673b8SKumar Gala	};
3048b8673b8SKumar Gala
3058b8673b8SKumar Gala/include/ "qoriq-i2c-0.dtsi"
3068b8673b8SKumar Gala/include/ "qoriq-i2c-1.dtsi"
3078b8673b8SKumar Gala/include/ "qoriq-duart-0.dtsi"
3088b8673b8SKumar Gala/include/ "qoriq-duart-1.dtsi"
3098b8673b8SKumar Gala/include/ "qoriq-gpio-0.dtsi"
3108b8673b8SKumar Gala/include/ "qoriq-usb2-mph-0.dtsi"
3118b8673b8SKumar Gala		usb0: usb@210000 {
3128b8673b8SKumar Gala			phy_type = "utmi";
3138b8673b8SKumar Gala			port0;
3148b8673b8SKumar Gala		};
3158b8673b8SKumar Gala
3168b8673b8SKumar Gala/include/ "qoriq-usb2-dr-0.dtsi"
3178b8673b8SKumar Gala		usb1: usb@211000 {
3188b8673b8SKumar Gala			dr_mode = "host";
3198b8673b8SKumar Gala			phy_type = "utmi";
3208b8673b8SKumar Gala		};
3218b8673b8SKumar Gala
3228b8673b8SKumar Gala/include/ "qoriq-sata2-0.dtsi"
3238b8673b8SKumar Gala/include/ "qoriq-sata2-1.dtsi"
3248b8673b8SKumar Gala/include/ "qoriq-sec4.2-0.dtsi"
3258b8673b8SKumar Gala};
326