1ab827d97SKumar Gala/*
2ab827d97SKumar Gala * P1022/P1013 Silicon/SoC Device Tree Source (post include)
3ab827d97SKumar Gala *
4ab827d97SKumar Gala * Copyright 2011 Freescale Semiconductor Inc.
5ab827d97SKumar Gala *
6ab827d97SKumar Gala * Redistribution and use in source and binary forms, with or without
7ab827d97SKumar Gala * modification, are permitted provided that the following conditions are met:
8ab827d97SKumar Gala *     * Redistributions of source code must retain the above copyright
9ab827d97SKumar Gala *       notice, this list of conditions and the following disclaimer.
10ab827d97SKumar Gala *     * Redistributions in binary form must reproduce the above copyright
11ab827d97SKumar Gala *       notice, this list of conditions and the following disclaimer in the
12ab827d97SKumar Gala *       documentation and/or other materials provided with the distribution.
13ab827d97SKumar Gala *     * Neither the name of Freescale Semiconductor nor the
14ab827d97SKumar Gala *       names of its contributors may be used to endorse or promote products
15ab827d97SKumar Gala *       derived from this software without specific prior written permission.
16ab827d97SKumar Gala *
17ab827d97SKumar Gala *
18ab827d97SKumar Gala * ALTERNATIVELY, this software may be distributed under the terms of the
19ab827d97SKumar Gala * GNU General Public License ("GPL") as published by the Free Software
20ab827d97SKumar Gala * Foundation, either version 2 of that License or (at your option) any
21ab827d97SKumar Gala * later version.
22ab827d97SKumar Gala *
23ab827d97SKumar Gala * THIS SOFTWARE IS PROVIDED BY Freescale Semiconductor ``AS IS'' AND ANY
24ab827d97SKumar Gala * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
25ab827d97SKumar Gala * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
26ab827d97SKumar Gala * DISCLAIMED. IN NO EVENT SHALL Freescale Semiconductor BE LIABLE FOR ANY
27ab827d97SKumar Gala * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
28ab827d97SKumar Gala * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
29ab827d97SKumar Gala * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
30ab827d97SKumar Gala * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
31ab827d97SKumar Gala * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
32ab827d97SKumar Gala * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
33ab827d97SKumar Gala */
34ab827d97SKumar Gala
35ab827d97SKumar Gala&lbc {
36ab827d97SKumar Gala	#address-cells = <2>;
37ab827d97SKumar Gala	#size-cells = <1>;
384951896aSTimur Tabi	/*
394951896aSTimur Tabi	 * The localbus on the P1022 is not a simple-bus because of the eLBC
404951896aSTimur Tabi	 * pin muxing when the DIU is enabled.
414951896aSTimur Tabi	 */
424951896aSTimur Tabi	compatible = "fsl,p1022-elbc", "fsl,elbc";
43297649b9SWang Dongsheng	interrupts = <19 2 0 0>,
44297649b9SWang Dongsheng		     <16 2 0 0>;
45ab827d97SKumar Gala};
46ab827d97SKumar Gala
47ab827d97SKumar Gala/* controller at 0x9000 */
48ab827d97SKumar Gala&pci0 {
4914bdc913STimur Tabi	compatible = "fsl,mpc8548-pcie";
50ab827d97SKumar Gala	device_type = "pci";
51ab827d97SKumar Gala	#size-cells = <2>;
52ab827d97SKumar Gala	#address-cells = <3>;
53ab827d97SKumar Gala	bus-range = <0 255>;
54ab827d97SKumar Gala	clock-frequency = <33333333>;
55ab827d97SKumar Gala	interrupts = <16 2 0 0>;
56ab827d97SKumar Gala
57ab827d97SKumar Gala	pcie@0 {
58ab827d97SKumar Gala		reg = <0 0 0 0 0>;
59ab827d97SKumar Gala		#interrupt-cells = <1>;
60ab827d97SKumar Gala		#size-cells = <2>;
61ab827d97SKumar Gala		#address-cells = <3>;
62ab827d97SKumar Gala		device_type = "pci";
63ab827d97SKumar Gala		interrupts = <16 2 0 0>;
64ab827d97SKumar Gala		interrupt-map-mask = <0xf800 0 0 7>;
65ab827d97SKumar Gala		interrupt-map = <
66ab827d97SKumar Gala			/* IDSEL 0x0 */
67ab827d97SKumar Gala			0000 0x0 0x0 0x1 &mpic 0x4 0x1 0x0 0x0
68ab827d97SKumar Gala			0000 0x0 0x0 0x2 &mpic 0x5 0x1 0x0 0x0
69ab827d97SKumar Gala			0000 0x0 0x0 0x3 &mpic 0x6 0x1 0x0 0x0
70ab827d97SKumar Gala			0000 0x0 0x0 0x4 &mpic 0x7 0x1 0x0 0x0
71ab827d97SKumar Gala			>;
72ab827d97SKumar Gala	};
73ab827d97SKumar Gala};
74ab827d97SKumar Gala
75ab827d97SKumar Gala/* controller at 0xa000 */
76ab827d97SKumar Gala&pci1 {
7714bdc913STimur Tabi	compatible = "fsl,mpc8548-pcie";
78ab827d97SKumar Gala	device_type = "pci";
79ab827d97SKumar Gala	#size-cells = <2>;
80ab827d97SKumar Gala	#address-cells = <3>;
81ab827d97SKumar Gala	bus-range = <0 255>;
82ab827d97SKumar Gala	clock-frequency = <33333333>;
83ab827d97SKumar Gala	interrupts = <16 2 0 0>;
84ab827d97SKumar Gala
85ab827d97SKumar Gala	pcie@0 {
86ab827d97SKumar Gala		reg = <0 0 0 0 0>;
87ab827d97SKumar Gala		#interrupt-cells = <1>;
88ab827d97SKumar Gala		#size-cells = <2>;
89ab827d97SKumar Gala		#address-cells = <3>;
90ab827d97SKumar Gala		device_type = "pci";
91ab827d97SKumar Gala		interrupts = <16 2 0 0>;
92ab827d97SKumar Gala		interrupt-map-mask = <0xf800 0 0 7>;
93ab827d97SKumar Gala
94ab827d97SKumar Gala		interrupt-map = <
95ab827d97SKumar Gala			/* IDSEL 0x0 */
96ab827d97SKumar Gala			0000 0x0 0x0 0x1 &mpic 0x0 0x1 0x0 0x0
97ab827d97SKumar Gala			0000 0x0 0x0 0x2 &mpic 0x1 0x1 0x0 0x0
98ab827d97SKumar Gala			0000 0x0 0x0 0x3 &mpic 0x2 0x1 0x0 0x0
99ab827d97SKumar Gala			0000 0x0 0x0 0x4 &mpic 0x3 0x1 0x0 0x0
100ab827d97SKumar Gala			>;
101ab827d97SKumar Gala	};
102ab827d97SKumar Gala};
103ab827d97SKumar Gala
104ab827d97SKumar Gala/* controller at 0xb000 */
105ab827d97SKumar Gala&pci2 {
10614bdc913STimur Tabi	compatible = "fsl,mpc8548-pcie";
107ab827d97SKumar Gala	device_type = "pci";
108ab827d97SKumar Gala	#size-cells = <2>;
109ab827d97SKumar Gala	#address-cells = <3>;
110ab827d97SKumar Gala	bus-range = <0 255>;
111ab827d97SKumar Gala	clock-frequency = <33333333>;
112ab827d97SKumar Gala	interrupts = <16 2 0 0>;
113ab827d97SKumar Gala
114ab827d97SKumar Gala	pcie@0 {
115ab827d97SKumar Gala		reg = <0 0 0 0 0>;
116ab827d97SKumar Gala		#interrupt-cells = <1>;
117ab827d97SKumar Gala		#size-cells = <2>;
118ab827d97SKumar Gala		#address-cells = <3>;
119ab827d97SKumar Gala		device_type = "pci";
120ab827d97SKumar Gala		interrupts = <16 2 0 0>;
121ab827d97SKumar Gala		interrupt-map-mask = <0xf800 0 0 7>;
122ab827d97SKumar Gala
123ab827d97SKumar Gala		interrupt-map = <
124ab827d97SKumar Gala			/* IDSEL 0x0 */
125ab827d97SKumar Gala			0000 0x0 0x0 0x1 &mpic 0x8 0x1 0x0 0x0
126ab827d97SKumar Gala			0000 0x0 0x0 0x2 &mpic 0x9 0x1 0x0 0x0
127ab827d97SKumar Gala			0000 0x0 0x0 0x3 &mpic 0xa 0x1 0x0 0x0
128ab827d97SKumar Gala			0000 0x0 0x0 0x4 &mpic 0xb 0x1 0x0 0x0
129ab827d97SKumar Gala			>;
130ab827d97SKumar Gala	};
131ab827d97SKumar Gala};
132ab827d97SKumar Gala
133ab827d97SKumar Gala&soc {
134ab827d97SKumar Gala	#address-cells = <1>;
135ab827d97SKumar Gala	#size-cells = <1>;
136ab827d97SKumar Gala	device_type = "soc";
137ab827d97SKumar Gala	compatible = "fsl,p1022-immr", "simple-bus";
138ab827d97SKumar Gala	bus-frequency = <0>;		// Filled out by uboot.
139ab827d97SKumar Gala
140ab827d97SKumar Gala	ecm-law@0 {
141ab827d97SKumar Gala		compatible = "fsl,ecm-law";
142ab827d97SKumar Gala		reg = <0x0 0x1000>;
143ab827d97SKumar Gala		fsl,num-laws = <12>;
144ab827d97SKumar Gala	};
145ab827d97SKumar Gala
146ab827d97SKumar Gala	ecm@1000 {
147ab827d97SKumar Gala		compatible = "fsl,p1022-ecm", "fsl,ecm";
148ab827d97SKumar Gala		reg = <0x1000 0x1000>;
149ab827d97SKumar Gala		interrupts = <16 2 0 0>;
150ab827d97SKumar Gala	};
151ab827d97SKumar Gala
152ab827d97SKumar Gala	memory-controller@2000 {
153ab827d97SKumar Gala		compatible = "fsl,p1022-memory-controller";
154ab827d97SKumar Gala		reg = <0x2000 0x1000>;
155ab827d97SKumar Gala		interrupts = <16 2 0 0>;
156ab827d97SKumar Gala	};
157ab827d97SKumar Gala
158ab827d97SKumar Gala/include/ "pq3-i2c-0.dtsi"
159ab827d97SKumar Gala/include/ "pq3-i2c-1.dtsi"
160ab827d97SKumar Gala/include/ "pq3-duart-0.dtsi"
161ab827d97SKumar Gala/include/ "pq3-espi-0.dtsi"
162ab827d97SKumar Gala	spi@7000 {
163ab827d97SKumar Gala		fsl,espi-num-chipselects = <4>;
164ab827d97SKumar Gala	};
165ab827d97SKumar Gala
166ab827d97SKumar Gala/include/ "pq3-dma-1.dtsi"
167ab827d97SKumar Gala	dma@c300 {
168ab827d97SKumar Gala		dma00: dma-channel@0 {
169ab827d97SKumar Gala			compatible = "fsl,ssi-dma-channel";
170ab827d97SKumar Gala		};
171ab827d97SKumar Gala		dma01: dma-channel@80 {
172ab827d97SKumar Gala			compatible = "fsl,ssi-dma-channel";
173ab827d97SKumar Gala		};
174ab827d97SKumar Gala	};
175ab827d97SKumar Gala
176ab827d97SKumar Gala/include/ "pq3-gpio-0.dtsi"
177ab827d97SKumar Gala
178e8c4b3dfSJason Jin	display: display@10000 {
179ab827d97SKumar Gala		compatible = "fsl,diu", "fsl,p1022-diu";
180ab827d97SKumar Gala		reg = <0x10000 1000>;
181ab827d97SKumar Gala		interrupts = <64 2 0 0>;
182ab827d97SKumar Gala	};
183ab827d97SKumar Gala
184ab827d97SKumar Gala	ssi@15000 {
185ab827d97SKumar Gala		compatible = "fsl,mpc8610-ssi";
186ab827d97SKumar Gala		cell-index = <0>;
187ab827d97SKumar Gala		reg = <0x15000 0x100>;
188ab827d97SKumar Gala		interrupts = <75 2 0 0>;
189ab827d97SKumar Gala		fsl,playback-dma = <&dma00>;
190ab827d97SKumar Gala		fsl,capture-dma = <&dma01>;
191ab827d97SKumar Gala		fsl,fifo-depth = <15>;
192ab827d97SKumar Gala	};
193ab827d97SKumar Gala
194ab827d97SKumar Gala/include/ "pq3-sata2-0.dtsi"
195ab827d97SKumar Gala/include/ "pq3-sata2-1.dtsi"
196ab827d97SKumar Gala
197ab827d97SKumar Gala	L2: l2-cache-controller@20000 {
198ab827d97SKumar Gala		compatible = "fsl,p1022-l2-cache-controller";
199ab827d97SKumar Gala		reg = <0x20000 0x1000>;
200ab827d97SKumar Gala		cache-line-size = <32>;	// 32 bytes
201ab827d97SKumar Gala		cache-size = <0x40000>; // L2,256K
202ab827d97SKumar Gala		interrupts = <16 2 0 0>;
203ab827d97SKumar Gala	};
204ab827d97SKumar Gala
205ab827d97SKumar Gala/include/ "pq3-dma-0.dtsi"
206ab827d97SKumar Gala/include/ "pq3-usb2-dr-0.dtsi"
207465aceb8SRamneek Mehresh	usb@22000 {
208465aceb8SRamneek Mehresh		compatible = "fsl-usb2-dr-v1.6", "fsl-usb2-dr";
209465aceb8SRamneek Mehresh	};
210ab827d97SKumar Gala/include/ "pq3-usb2-dr-1.dtsi"
211465aceb8SRamneek Mehresh	usb@23000 {
212465aceb8SRamneek Mehresh		compatible = "fsl-usb2-dr-v1.6", "fsl-usb2-dr";
213465aceb8SRamneek Mehresh	};
214ab827d97SKumar Gala
215ab827d97SKumar Gala/include/ "pq3-esdhc-0.dtsi"
216ab827d97SKumar Gala	sdhc@2e000 {
217f8b5a318SJerry Huang		compatible = "fsl,p1022-esdhc", "fsl,esdhc";
218f8b5a318SJerry Huang		sdhci,auto-cmd12;
219ab827d97SKumar Gala	};
220ab827d97SKumar Gala
221ab827d97SKumar Gala/include/ "pq3-sec3.3-0.dtsi"
222ab827d97SKumar Gala/include/ "pq3-mpic.dtsi"
223ab827d97SKumar Gala/include/ "pq3-mpic-timer-B.dtsi"
224ab827d97SKumar Gala
225ab827d97SKumar Gala/include/ "pq3-etsec2-0.dtsi"
226ab827d97SKumar Gala	enet0: enet0_grp2: ethernet@b0000 {
22770963d24SClaudiu Manoil		fsl,wake-on-filer;
228ab827d97SKumar Gala	};
229ab827d97SKumar Gala
230ab827d97SKumar Gala/include/ "pq3-etsec2-1.dtsi"
231ab827d97SKumar Gala	enet1: enet1_grp2: ethernet@b1000 {
23270963d24SClaudiu Manoil		fsl,wake-on-filer;
233ab827d97SKumar Gala	};
234ab827d97SKumar Gala
235ab827d97SKumar Gala	global-utilities@e0000 {
236ab827d97SKumar Gala		compatible = "fsl,p1022-guts";
237ab827d97SKumar Gala		reg = <0xe0000 0x1000>;
238ab827d97SKumar Gala		fsl,has-rstcr;
239ab827d97SKumar Gala	};
240ab827d97SKumar Gala
241ab827d97SKumar Gala	power@e0070 {
242ab827d97SKumar Gala		compatible = "fsl,mpc8536-pmc", "fsl,mpc8548-pmc";
243ab827d97SKumar Gala		reg = <0xe0070 0x20>;
244ab827d97SKumar Gala	};
245ab827d97SKumar Gala
246ab827d97SKumar Gala};
247ab827d97SKumar Gala
248ab827d97SKumar Gala/include/ "pq3-etsec2-grp2-0.dtsi"
249ab827d97SKumar Gala/include/ "pq3-etsec2-grp2-1.dtsi"
250