1ffeb33d2SKumar Gala/*
2ffeb33d2SKumar Gala * P1021/P1012 Silicon/SoC Device Tree Source (post include)
3ffeb33d2SKumar Gala *
4b5dc2986SZhicheng Fan * Copyright 2011-2012 Freescale Semiconductor Inc.
5ffeb33d2SKumar Gala *
6ffeb33d2SKumar Gala * Redistribution and use in source and binary forms, with or without
7ffeb33d2SKumar Gala * modification, are permitted provided that the following conditions are met:
8ffeb33d2SKumar Gala *     * Redistributions of source code must retain the above copyright
9ffeb33d2SKumar Gala *       notice, this list of conditions and the following disclaimer.
10ffeb33d2SKumar Gala *     * Redistributions in binary form must reproduce the above copyright
11ffeb33d2SKumar Gala *       notice, this list of conditions and the following disclaimer in the
12ffeb33d2SKumar Gala *       documentation and/or other materials provided with the distribution.
13ffeb33d2SKumar Gala *     * Neither the name of Freescale Semiconductor nor the
14ffeb33d2SKumar Gala *       names of its contributors may be used to endorse or promote products
15ffeb33d2SKumar Gala *       derived from this software without specific prior written permission.
16ffeb33d2SKumar Gala *
17ffeb33d2SKumar Gala *
18ffeb33d2SKumar Gala * ALTERNATIVELY, this software may be distributed under the terms of the
19ffeb33d2SKumar Gala * GNU General Public License ("GPL") as published by the Free Software
20ffeb33d2SKumar Gala * Foundation, either version 2 of that License or (at your option) any
21ffeb33d2SKumar Gala * later version.
22ffeb33d2SKumar Gala *
23ffeb33d2SKumar Gala * THIS SOFTWARE IS PROVIDED BY Freescale Semiconductor ``AS IS'' AND ANY
24ffeb33d2SKumar Gala * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
25ffeb33d2SKumar Gala * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
26ffeb33d2SKumar Gala * DISCLAIMED. IN NO EVENT SHALL Freescale Semiconductor BE LIABLE FOR ANY
27ffeb33d2SKumar Gala * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
28ffeb33d2SKumar Gala * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
29ffeb33d2SKumar Gala * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
30ffeb33d2SKumar Gala * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
31ffeb33d2SKumar Gala * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
32ffeb33d2SKumar Gala * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
33ffeb33d2SKumar Gala */
34ffeb33d2SKumar Gala
35ffeb33d2SKumar Gala&lbc {
36ffeb33d2SKumar Gala	#address-cells = <2>;
37ffeb33d2SKumar Gala	#size-cells = <1>;
38ffeb33d2SKumar Gala	compatible = "fsl,p1021-elbc", "fsl,elbc", "simple-bus";
39ffeb33d2SKumar Gala	interrupts = <19 2 0 0>;
40ffeb33d2SKumar Gala};
41ffeb33d2SKumar Gala
42ffeb33d2SKumar Gala/* controller at 0x9000 */
43ffeb33d2SKumar Gala&pci0 {
44ffeb33d2SKumar Gala	compatible = "fsl,mpc8548-pcie";
45ffeb33d2SKumar Gala	device_type = "pci";
46ffeb33d2SKumar Gala	#size-cells = <2>;
47ffeb33d2SKumar Gala	#address-cells = <3>;
48ffeb33d2SKumar Gala	bus-range = <0 255>;
49ffeb33d2SKumar Gala	clock-frequency = <33333333>;
50ffeb33d2SKumar Gala	interrupts = <16 2 0 0>;
51ffeb33d2SKumar Gala
52ffeb33d2SKumar Gala	pcie@0 {
53ffeb33d2SKumar Gala		reg = <0 0 0 0 0>;
54ffeb33d2SKumar Gala		#interrupt-cells = <1>;
55ffeb33d2SKumar Gala		#size-cells = <2>;
56ffeb33d2SKumar Gala		#address-cells = <3>;
57ffeb33d2SKumar Gala		device_type = "pci";
58ffeb33d2SKumar Gala		interrupts = <16 2 0 0>;
59ffeb33d2SKumar Gala		interrupt-map-mask = <0xf800 0 0 7>;
60ffeb33d2SKumar Gala		interrupt-map = <
61ffeb33d2SKumar Gala			/* IDSEL 0x0 */
62ffeb33d2SKumar Gala			0000 0x0 0x0 0x1 &mpic 0x4 0x1 0x0 0x0
63ffeb33d2SKumar Gala			0000 0x0 0x0 0x2 &mpic 0x5 0x1 0x0 0x0
64ffeb33d2SKumar Gala			0000 0x0 0x0 0x3 &mpic 0x6 0x1 0x0 0x0
65ffeb33d2SKumar Gala			0000 0x0 0x0 0x4 &mpic 0x7 0x1 0x0 0x0
66ffeb33d2SKumar Gala			>;
67ffeb33d2SKumar Gala	};
68ffeb33d2SKumar Gala};
69ffeb33d2SKumar Gala
70ffeb33d2SKumar Gala/* controller at 0xa000 */
71ffeb33d2SKumar Gala&pci1 {
72ffeb33d2SKumar Gala	compatible = "fsl,mpc8548-pcie";
73ffeb33d2SKumar Gala	device_type = "pci";
74ffeb33d2SKumar Gala	#size-cells = <2>;
75ffeb33d2SKumar Gala	#address-cells = <3>;
76ffeb33d2SKumar Gala	bus-range = <0 255>;
77ffeb33d2SKumar Gala	clock-frequency = <33333333>;
78ffeb33d2SKumar Gala	interrupts = <16 2 0 0>;
79ffeb33d2SKumar Gala
80ffeb33d2SKumar Gala	pcie@0 {
81ffeb33d2SKumar Gala		reg = <0 0 0 0 0>;
82ffeb33d2SKumar Gala		#interrupt-cells = <1>;
83ffeb33d2SKumar Gala		#size-cells = <2>;
84ffeb33d2SKumar Gala		#address-cells = <3>;
85ffeb33d2SKumar Gala		device_type = "pci";
86ffeb33d2SKumar Gala		interrupts = <16 2 0 0>;
87ffeb33d2SKumar Gala		interrupt-map-mask = <0xf800 0 0 7>;
88ffeb33d2SKumar Gala
89ffeb33d2SKumar Gala		interrupt-map = <
90ffeb33d2SKumar Gala			/* IDSEL 0x0 */
91ffeb33d2SKumar Gala			0000 0x0 0x0 0x1 &mpic 0x0 0x1 0x0 0x0
92ffeb33d2SKumar Gala			0000 0x0 0x0 0x2 &mpic 0x1 0x1 0x0 0x0
93ffeb33d2SKumar Gala			0000 0x0 0x0 0x3 &mpic 0x2 0x1 0x0 0x0
94ffeb33d2SKumar Gala			0000 0x0 0x0 0x4 &mpic 0x3 0x1 0x0 0x0
95ffeb33d2SKumar Gala			>;
96ffeb33d2SKumar Gala	};
97ffeb33d2SKumar Gala};
98ffeb33d2SKumar Gala
99ffeb33d2SKumar Gala&soc {
100ffeb33d2SKumar Gala	#address-cells = <1>;
101ffeb33d2SKumar Gala	#size-cells = <1>;
102ffeb33d2SKumar Gala	device_type = "soc";
103ffeb33d2SKumar Gala	compatible = "fsl,p1021-immr", "simple-bus";
104ffeb33d2SKumar Gala	bus-frequency = <0>;		// Filled out by uboot.
105ffeb33d2SKumar Gala
106ffeb33d2SKumar Gala	ecm-law@0 {
107ffeb33d2SKumar Gala		compatible = "fsl,ecm-law";
108ffeb33d2SKumar Gala		reg = <0x0 0x1000>;
109ffeb33d2SKumar Gala		fsl,num-laws = <12>;
110ffeb33d2SKumar Gala	};
111ffeb33d2SKumar Gala
112ffeb33d2SKumar Gala	ecm@1000 {
113ffeb33d2SKumar Gala		compatible = "fsl,p1021-ecm", "fsl,ecm";
114ffeb33d2SKumar Gala		reg = <0x1000 0x1000>;
115ffeb33d2SKumar Gala		interrupts = <16 2 0 0>;
116ffeb33d2SKumar Gala	};
117ffeb33d2SKumar Gala
118ffeb33d2SKumar Gala	memory-controller@2000 {
119ffeb33d2SKumar Gala		compatible = "fsl,p1021-memory-controller";
120ffeb33d2SKumar Gala		reg = <0x2000 0x1000>;
121ffeb33d2SKumar Gala		interrupts = <16 2 0 0>;
122ffeb33d2SKumar Gala	};
123ffeb33d2SKumar Gala
124ffeb33d2SKumar Gala/include/ "pq3-i2c-0.dtsi"
125ffeb33d2SKumar Gala/include/ "pq3-i2c-1.dtsi"
126ffeb33d2SKumar Gala/include/ "pq3-duart-0.dtsi"
127ffeb33d2SKumar Gala
128ffeb33d2SKumar Gala/include/ "pq3-espi-0.dtsi"
129ffeb33d2SKumar Gala	spi@7000 {
130ffeb33d2SKumar Gala		fsl,espi-num-chipselects = <4>;
131ffeb33d2SKumar Gala	};
132ffeb33d2SKumar Gala
133ffeb33d2SKumar Gala/include/ "pq3-gpio-0.dtsi"
134ffeb33d2SKumar Gala
135ffeb33d2SKumar Gala	L2: l2-cache-controller@20000 {
136ffeb33d2SKumar Gala		compatible = "fsl,p1021-l2-cache-controller";
137ffeb33d2SKumar Gala		reg = <0x20000 0x1000>;
138ffeb33d2SKumar Gala		cache-line-size = <32>;	// 32 bytes
139ffeb33d2SKumar Gala		cache-size = <0x40000>; // L2,256K
140ffeb33d2SKumar Gala		interrupts = <16 2 0 0>;
141ffeb33d2SKumar Gala	};
142ffeb33d2SKumar Gala
143ffeb33d2SKumar Gala/include/ "pq3-dma-0.dtsi"
144ffeb33d2SKumar Gala/include/ "pq3-usb2-dr-0.dtsi"
145465aceb8SRamneek Mehresh	usb@22000 {
146465aceb8SRamneek Mehresh		compatible = "fsl-usb2-dr-v1.6", "fsl-usb2-dr";
147465aceb8SRamneek Mehresh	};
148ffeb33d2SKumar Gala
149ffeb33d2SKumar Gala/include/ "pq3-esdhc-0.dtsi"
150490bdb77SXu Jiucheng	sdhc@2e000 {
151490bdb77SXu Jiucheng		sdhci,auto-cmd12;
152490bdb77SXu Jiucheng	};
153490bdb77SXu Jiucheng
154ffeb33d2SKumar Gala/include/ "pq3-sec3.3-0.dtsi"
155ffeb33d2SKumar Gala
156ffeb33d2SKumar Gala/include/ "pq3-mpic.dtsi"
157ffeb33d2SKumar Gala/include/ "pq3-mpic-timer-B.dtsi"
158ffeb33d2SKumar Gala
159ffeb33d2SKumar Gala/include/ "pq3-etsec2-0.dtsi"
160ffeb33d2SKumar Gala	enet0: enet0_grp2: ethernet@b0000 {
161ffeb33d2SKumar Gala	};
162ffeb33d2SKumar Gala
163ffeb33d2SKumar Gala/include/ "pq3-etsec2-1.dtsi"
164ffeb33d2SKumar Gala	enet1: enet1_grp2: ethernet@b1000 {
165ffeb33d2SKumar Gala	};
166ffeb33d2SKumar Gala
167ffeb33d2SKumar Gala/include/ "pq3-etsec2-2.dtsi"
168ffeb33d2SKumar Gala	enet2: enet2_grp2: ethernet@b2000 {
169ffeb33d2SKumar Gala	};
170ffeb33d2SKumar Gala
171ffeb33d2SKumar Gala	global-utilities@e0000 {
172ffeb33d2SKumar Gala		compatible = "fsl,p1021-guts";
173ffeb33d2SKumar Gala		reg = <0xe0000 0x1000>;
174ffeb33d2SKumar Gala		fsl,has-rstcr;
175ffeb33d2SKumar Gala	};
176ffeb33d2SKumar Gala};
177ffeb33d2SKumar Gala
178ffeb33d2SKumar Gala&qe {
179ffeb33d2SKumar Gala	#address-cells = <1>;
180ffeb33d2SKumar Gala	#size-cells = <1>;
181ffeb33d2SKumar Gala	device_type = "qe";
182ffeb33d2SKumar Gala	compatible = "fsl,qe";
183ffeb33d2SKumar Gala	fsl,qe-num-riscs = <1>;
184ffeb33d2SKumar Gala	fsl,qe-num-snums = <28>;
185ffeb33d2SKumar Gala
186ffeb33d2SKumar Gala	qeic: interrupt-controller@80 {
187ffeb33d2SKumar Gala		interrupt-controller;
188ffeb33d2SKumar Gala		compatible = "fsl,qe-ic";
189ffeb33d2SKumar Gala		#address-cells = <0>;
190ffeb33d2SKumar Gala		#interrupt-cells = <1>;
191ffeb33d2SKumar Gala		reg = <0x80 0x80>;
192ffeb33d2SKumar Gala		interrupts = <63 2 0 0 60 2 0 0>; //high:47 low:44
193ffeb33d2SKumar Gala	};
194ffeb33d2SKumar Gala
195ffeb33d2SKumar Gala	ucc@2000 {
196ffeb33d2SKumar Gala		cell-index = <1>;
197ffeb33d2SKumar Gala		reg = <0x2000 0x200>;
198ffeb33d2SKumar Gala		interrupts = <32>;
199ffeb33d2SKumar Gala		interrupt-parent = <&qeic>;
200ffeb33d2SKumar Gala	};
201ffeb33d2SKumar Gala
202ffeb33d2SKumar Gala	mdio@2120 {
203ffeb33d2SKumar Gala		#address-cells = <1>;
204ffeb33d2SKumar Gala		#size-cells = <0>;
205ffeb33d2SKumar Gala		reg = <0x2120 0x18>;
206ffeb33d2SKumar Gala		compatible = "fsl,ucc-mdio";
207ffeb33d2SKumar Gala	};
208ffeb33d2SKumar Gala
209ffeb33d2SKumar Gala	ucc@2400 {
210ffeb33d2SKumar Gala		cell-index = <5>;
211ffeb33d2SKumar Gala		reg = <0x2400 0x200>;
212ffeb33d2SKumar Gala		interrupts = <40>;
213ffeb33d2SKumar Gala		interrupt-parent = <&qeic>;
214ffeb33d2SKumar Gala	};
215ffeb33d2SKumar Gala
216b5dc2986SZhicheng Fan	ucc@2600 {
217b5dc2986SZhicheng Fan		cell-index = <7>;
218b5dc2986SZhicheng Fan		reg = <0x2600 0x200>;
219b5dc2986SZhicheng Fan		interrupts = <42>;
220b5dc2986SZhicheng Fan		interrupt-parent = <&qeic>;
221b5dc2986SZhicheng Fan	};
222b5dc2986SZhicheng Fan
223b5dc2986SZhicheng Fan	ucc@2200 {
224b5dc2986SZhicheng Fan		cell-index = <3>;
225b5dc2986SZhicheng Fan		reg = <0x2200 0x200>;
226b5dc2986SZhicheng Fan		interrupts = <34>;
227b5dc2986SZhicheng Fan		interrupt-parent = <&qeic>;
228b5dc2986SZhicheng Fan	};
229b5dc2986SZhicheng Fan
230ffeb33d2SKumar Gala	muram@10000 {
231ffeb33d2SKumar Gala		#address-cells = <1>;
232ffeb33d2SKumar Gala		#size-cells = <1>;
233ffeb33d2SKumar Gala		compatible = "fsl,qe-muram", "fsl,cpm-muram";
234ffeb33d2SKumar Gala		ranges = <0x0 0x10000 0x6000>;
235ffeb33d2SKumar Gala
236ffeb33d2SKumar Gala		data-only@0 {
237ffeb33d2SKumar Gala			compatible = "fsl,qe-muram-data",
238ffeb33d2SKumar Gala			"fsl,cpm-muram-data";
239ffeb33d2SKumar Gala			reg = <0x0 0x6000>;
240ffeb33d2SKumar Gala		};
241ffeb33d2SKumar Gala	};
242ffeb33d2SKumar Gala};
243ffeb33d2SKumar Gala
244ffeb33d2SKumar Gala/include/ "pq3-etsec2-grp2-0.dtsi"
245ffeb33d2SKumar Gala/include/ "pq3-etsec2-grp2-1.dtsi"
246ffeb33d2SKumar Gala/include/ "pq3-etsec2-grp2-2.dtsi"
247