xref: /linux/arch/powerpc/boot/dts/fsl/p1021si-post.dtsi (revision ff2632d7d08edc11e8bd0629e9fcfebab25c78b4)
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";
39297649b9SWang Dongsheng	interrupts = <19 2 0 0>,
40297649b9SWang Dongsheng		     <16 2 0 0>;
41ffeb33d2SKumar Gala};
42ffeb33d2SKumar Gala
43ffeb33d2SKumar Gala/* controller at 0x9000 */
44ffeb33d2SKumar Gala&pci0 {
45ffeb33d2SKumar Gala	compatible = "fsl,mpc8548-pcie";
46ffeb33d2SKumar Gala	device_type = "pci";
47ffeb33d2SKumar Gala	#size-cells = <2>;
48ffeb33d2SKumar Gala	#address-cells = <3>;
49ffeb33d2SKumar Gala	bus-range = <0 255>;
50ffeb33d2SKumar Gala	clock-frequency = <33333333>;
51ffeb33d2SKumar Gala	interrupts = <16 2 0 0>;
52ffeb33d2SKumar Gala
53ffeb33d2SKumar Gala	pcie@0 {
54ffeb33d2SKumar Gala		reg = <0 0 0 0 0>;
55ffeb33d2SKumar Gala		#interrupt-cells = <1>;
56ffeb33d2SKumar Gala		#size-cells = <2>;
57ffeb33d2SKumar Gala		#address-cells = <3>;
58ffeb33d2SKumar Gala		device_type = "pci";
59ffeb33d2SKumar Gala		interrupts = <16 2 0 0>;
60ffeb33d2SKumar Gala		interrupt-map-mask = <0xf800 0 0 7>;
61ffeb33d2SKumar Gala		interrupt-map = <
62ffeb33d2SKumar Gala			/* IDSEL 0x0 */
63ffeb33d2SKumar Gala			0000 0x0 0x0 0x1 &mpic 0x4 0x1 0x0 0x0
64ffeb33d2SKumar Gala			0000 0x0 0x0 0x2 &mpic 0x5 0x1 0x0 0x0
65ffeb33d2SKumar Gala			0000 0x0 0x0 0x3 &mpic 0x6 0x1 0x0 0x0
66ffeb33d2SKumar Gala			0000 0x0 0x0 0x4 &mpic 0x7 0x1 0x0 0x0
67ffeb33d2SKumar Gala			>;
68ffeb33d2SKumar Gala	};
69ffeb33d2SKumar Gala};
70ffeb33d2SKumar Gala
71ffeb33d2SKumar Gala/* controller at 0xa000 */
72ffeb33d2SKumar Gala&pci1 {
73ffeb33d2SKumar Gala	compatible = "fsl,mpc8548-pcie";
74ffeb33d2SKumar Gala	device_type = "pci";
75ffeb33d2SKumar Gala	#size-cells = <2>;
76ffeb33d2SKumar Gala	#address-cells = <3>;
77ffeb33d2SKumar Gala	bus-range = <0 255>;
78ffeb33d2SKumar Gala	clock-frequency = <33333333>;
79ffeb33d2SKumar Gala	interrupts = <16 2 0 0>;
80ffeb33d2SKumar Gala
81ffeb33d2SKumar Gala	pcie@0 {
82ffeb33d2SKumar Gala		reg = <0 0 0 0 0>;
83ffeb33d2SKumar Gala		#interrupt-cells = <1>;
84ffeb33d2SKumar Gala		#size-cells = <2>;
85ffeb33d2SKumar Gala		#address-cells = <3>;
86ffeb33d2SKumar Gala		device_type = "pci";
87ffeb33d2SKumar Gala		interrupts = <16 2 0 0>;
88ffeb33d2SKumar Gala		interrupt-map-mask = <0xf800 0 0 7>;
89ffeb33d2SKumar Gala
90ffeb33d2SKumar Gala		interrupt-map = <
91ffeb33d2SKumar Gala			/* IDSEL 0x0 */
92ffeb33d2SKumar Gala			0000 0x0 0x0 0x1 &mpic 0x0 0x1 0x0 0x0
93ffeb33d2SKumar Gala			0000 0x0 0x0 0x2 &mpic 0x1 0x1 0x0 0x0
94ffeb33d2SKumar Gala			0000 0x0 0x0 0x3 &mpic 0x2 0x1 0x0 0x0
95ffeb33d2SKumar Gala			0000 0x0 0x0 0x4 &mpic 0x3 0x1 0x0 0x0
96ffeb33d2SKumar Gala			>;
97ffeb33d2SKumar Gala	};
98ffeb33d2SKumar Gala};
99ffeb33d2SKumar Gala
100ffeb33d2SKumar Gala&soc {
101ffeb33d2SKumar Gala	#address-cells = <1>;
102ffeb33d2SKumar Gala	#size-cells = <1>;
103ffeb33d2SKumar Gala	device_type = "soc";
104ffeb33d2SKumar Gala	compatible = "fsl,p1021-immr", "simple-bus";
105ffeb33d2SKumar Gala	bus-frequency = <0>;		// Filled out by uboot.
106ffeb33d2SKumar Gala
107ffeb33d2SKumar Gala	ecm-law@0 {
108ffeb33d2SKumar Gala		compatible = "fsl,ecm-law";
109ffeb33d2SKumar Gala		reg = <0x0 0x1000>;
110ffeb33d2SKumar Gala		fsl,num-laws = <12>;
111ffeb33d2SKumar Gala	};
112ffeb33d2SKumar Gala
113ffeb33d2SKumar Gala	ecm@1000 {
114ffeb33d2SKumar Gala		compatible = "fsl,p1021-ecm", "fsl,ecm";
115ffeb33d2SKumar Gala		reg = <0x1000 0x1000>;
116ffeb33d2SKumar Gala		interrupts = <16 2 0 0>;
117ffeb33d2SKumar Gala	};
118ffeb33d2SKumar Gala
119ffeb33d2SKumar Gala	memory-controller@2000 {
120ffeb33d2SKumar Gala		compatible = "fsl,p1021-memory-controller";
121ffeb33d2SKumar Gala		reg = <0x2000 0x1000>;
122ffeb33d2SKumar Gala		interrupts = <16 2 0 0>;
123ffeb33d2SKumar Gala	};
124ffeb33d2SKumar Gala
125ffeb33d2SKumar Gala/include/ "pq3-i2c-0.dtsi"
126ffeb33d2SKumar Gala/include/ "pq3-i2c-1.dtsi"
127ffeb33d2SKumar Gala/include/ "pq3-duart-0.dtsi"
128ffeb33d2SKumar Gala
129ffeb33d2SKumar Gala/include/ "pq3-espi-0.dtsi"
130ffeb33d2SKumar Gala	spi@7000 {
131ffeb33d2SKumar Gala		fsl,espi-num-chipselects = <4>;
132ffeb33d2SKumar Gala	};
133ffeb33d2SKumar Gala
134ffeb33d2SKumar Gala/include/ "pq3-gpio-0.dtsi"
135ffeb33d2SKumar Gala
136ffeb33d2SKumar Gala	L2: l2-cache-controller@20000 {
137ffeb33d2SKumar Gala		compatible = "fsl,p1021-l2-cache-controller";
138ffeb33d2SKumar Gala		reg = <0x20000 0x1000>;
139ffeb33d2SKumar Gala		cache-line-size = <32>;	// 32 bytes
140ffeb33d2SKumar Gala		cache-size = <0x40000>; // L2,256K
141ffeb33d2SKumar Gala		interrupts = <16 2 0 0>;
142ffeb33d2SKumar Gala	};
143ffeb33d2SKumar Gala
144ffeb33d2SKumar Gala/include/ "pq3-dma-0.dtsi"
145ffeb33d2SKumar Gala/include/ "pq3-usb2-dr-0.dtsi"
146465aceb8SRamneek Mehresh	usb@22000 {
147465aceb8SRamneek Mehresh		compatible = "fsl-usb2-dr-v1.6", "fsl-usb2-dr";
148465aceb8SRamneek Mehresh	};
149ffeb33d2SKumar Gala
150ffeb33d2SKumar Gala/include/ "pq3-esdhc-0.dtsi"
151490bdb77SXu Jiucheng	sdhc@2e000 {
152490bdb77SXu Jiucheng		sdhci,auto-cmd12;
153490bdb77SXu Jiucheng	};
154490bdb77SXu Jiucheng
155ffeb33d2SKumar Gala/include/ "pq3-sec3.3-0.dtsi"
156ffeb33d2SKumar Gala
157ffeb33d2SKumar Gala/include/ "pq3-mpic.dtsi"
158ffeb33d2SKumar Gala/include/ "pq3-mpic-timer-B.dtsi"
159ffeb33d2SKumar Gala
160ffeb33d2SKumar Gala/include/ "pq3-etsec2-0.dtsi"
161ffeb33d2SKumar Gala	enet0: enet0_grp2: ethernet@b0000 {
162*b12ba096SRan Wang		fsl,pmc-handle = <&etsec1_clk>;
163ffeb33d2SKumar Gala	};
164ffeb33d2SKumar Gala
165ffeb33d2SKumar Gala/include/ "pq3-etsec2-1.dtsi"
166ffeb33d2SKumar Gala	enet1: enet1_grp2: ethernet@b1000 {
167*b12ba096SRan Wang		fsl,pmc-handle = <&etsec2_clk>;
168ffeb33d2SKumar Gala	};
169ffeb33d2SKumar Gala
170ffeb33d2SKumar Gala/include/ "pq3-etsec2-2.dtsi"
171ffeb33d2SKumar Gala	enet2: enet2_grp2: ethernet@b2000 {
172*b12ba096SRan Wang		fsl,pmc-handle = <&etsec3_clk>;
173ffeb33d2SKumar Gala	};
174ffeb33d2SKumar Gala
175ffeb33d2SKumar Gala	global-utilities@e0000 {
176ffeb33d2SKumar Gala		compatible = "fsl,p1021-guts";
177ffeb33d2SKumar Gala		reg = <0xe0000 0x1000>;
178ffeb33d2SKumar Gala		fsl,has-rstcr;
179ffeb33d2SKumar Gala	};
180*b12ba096SRan Wang
181*b12ba096SRan Wang/include/ "pq3-power.dtsi"
182ffeb33d2SKumar Gala};
183ffeb33d2SKumar Gala
184ffeb33d2SKumar Gala&qe {
185ffeb33d2SKumar Gala	#address-cells = <1>;
186ffeb33d2SKumar Gala	#size-cells = <1>;
187ffeb33d2SKumar Gala	device_type = "qe";
188ffeb33d2SKumar Gala	compatible = "fsl,qe";
189ffeb33d2SKumar Gala	fsl,qe-num-riscs = <1>;
190ffeb33d2SKumar Gala	fsl,qe-num-snums = <28>;
191ffeb33d2SKumar Gala
192ffeb33d2SKumar Gala	qeic: interrupt-controller@80 {
193ffeb33d2SKumar Gala		interrupt-controller;
194ffeb33d2SKumar Gala		compatible = "fsl,qe-ic";
195ffeb33d2SKumar Gala		#address-cells = <0>;
196ffeb33d2SKumar Gala		#interrupt-cells = <1>;
197ffeb33d2SKumar Gala		reg = <0x80 0x80>;
198ffeb33d2SKumar Gala		interrupts = <63 2 0 0 60 2 0 0>; //high:47 low:44
199ffeb33d2SKumar Gala	};
200ffeb33d2SKumar Gala
201ffeb33d2SKumar Gala	ucc@2000 {
202ffeb33d2SKumar Gala		cell-index = <1>;
203ffeb33d2SKumar Gala		reg = <0x2000 0x200>;
204ffeb33d2SKumar Gala		interrupts = <32>;
205ffeb33d2SKumar Gala		interrupt-parent = <&qeic>;
206ffeb33d2SKumar Gala	};
207ffeb33d2SKumar Gala
208ffeb33d2SKumar Gala	mdio@2120 {
209ffeb33d2SKumar Gala		#address-cells = <1>;
210ffeb33d2SKumar Gala		#size-cells = <0>;
211ffeb33d2SKumar Gala		reg = <0x2120 0x18>;
212ffeb33d2SKumar Gala		compatible = "fsl,ucc-mdio";
213ffeb33d2SKumar Gala	};
214ffeb33d2SKumar Gala
215ffeb33d2SKumar Gala	ucc@2400 {
216ffeb33d2SKumar Gala		cell-index = <5>;
217ffeb33d2SKumar Gala		reg = <0x2400 0x200>;
218ffeb33d2SKumar Gala		interrupts = <40>;
219ffeb33d2SKumar Gala		interrupt-parent = <&qeic>;
220ffeb33d2SKumar Gala	};
221ffeb33d2SKumar Gala
222b5dc2986SZhicheng Fan	ucc@2600 {
223b5dc2986SZhicheng Fan		cell-index = <7>;
224b5dc2986SZhicheng Fan		reg = <0x2600 0x200>;
225b5dc2986SZhicheng Fan		interrupts = <42>;
226b5dc2986SZhicheng Fan		interrupt-parent = <&qeic>;
227b5dc2986SZhicheng Fan	};
228b5dc2986SZhicheng Fan
229b5dc2986SZhicheng Fan	ucc@2200 {
230b5dc2986SZhicheng Fan		cell-index = <3>;
231b5dc2986SZhicheng Fan		reg = <0x2200 0x200>;
232b5dc2986SZhicheng Fan		interrupts = <34>;
233b5dc2986SZhicheng Fan		interrupt-parent = <&qeic>;
234b5dc2986SZhicheng Fan	};
235b5dc2986SZhicheng Fan
236ffeb33d2SKumar Gala	muram@10000 {
237ffeb33d2SKumar Gala		#address-cells = <1>;
238ffeb33d2SKumar Gala		#size-cells = <1>;
239ffeb33d2SKumar Gala		compatible = "fsl,qe-muram", "fsl,cpm-muram";
240ffeb33d2SKumar Gala		ranges = <0x0 0x10000 0x6000>;
241ffeb33d2SKumar Gala
242ffeb33d2SKumar Gala		data-only@0 {
243ffeb33d2SKumar Gala			compatible = "fsl,qe-muram-data",
244ffeb33d2SKumar Gala			"fsl,cpm-muram-data";
245ffeb33d2SKumar Gala			reg = <0x0 0x6000>;
246ffeb33d2SKumar Gala		};
247ffeb33d2SKumar Gala	};
248ffeb33d2SKumar Gala};
249ffeb33d2SKumar Gala
250ffeb33d2SKumar Gala/include/ "pq3-etsec2-grp2-0.dtsi"
251ffeb33d2SKumar Gala/include/ "pq3-etsec2-grp2-1.dtsi"
252ffeb33d2SKumar Gala/include/ "pq3-etsec2-grp2-2.dtsi"
253