1b0e2f248SKumar Gala/*
2b0e2f248SKumar Gala * P1023/P1017 Silicon/SoC Device Tree Source (post include)
3b0e2f248SKumar Gala *
4b0e2f248SKumar Gala * Copyright 2011 Freescale Semiconductor Inc.
5b0e2f248SKumar Gala *
6b0e2f248SKumar Gala * Redistribution and use in source and binary forms, with or without
7b0e2f248SKumar Gala * modification, are permitted provided that the following conditions are met:
8b0e2f248SKumar Gala *     * Redistributions of source code must retain the above copyright
9b0e2f248SKumar Gala *       notice, this list of conditions and the following disclaimer.
10b0e2f248SKumar Gala *     * Redistributions in binary form must reproduce the above copyright
11b0e2f248SKumar Gala *       notice, this list of conditions and the following disclaimer in the
12b0e2f248SKumar Gala *       documentation and/or other materials provided with the distribution.
13b0e2f248SKumar Gala *     * Neither the name of Freescale Semiconductor nor the
14b0e2f248SKumar Gala *       names of its contributors may be used to endorse or promote products
15b0e2f248SKumar Gala *       derived from this software without specific prior written permission.
16b0e2f248SKumar Gala *
17b0e2f248SKumar Gala *
18b0e2f248SKumar Gala * ALTERNATIVELY, this software may be distributed under the terms of the
19b0e2f248SKumar Gala * GNU General Public License ("GPL") as published by the Free Software
20b0e2f248SKumar Gala * Foundation, either version 2 of that License or (at your option) any
21b0e2f248SKumar Gala * later version.
22b0e2f248SKumar Gala *
23b0e2f248SKumar Gala * THIS SOFTWARE IS PROVIDED BY Freescale Semiconductor ``AS IS'' AND ANY
24b0e2f248SKumar Gala * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
25b0e2f248SKumar Gala * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
26b0e2f248SKumar Gala * DISCLAIMED. IN NO EVENT SHALL Freescale Semiconductor BE LIABLE FOR ANY
27b0e2f248SKumar Gala * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
28b0e2f248SKumar Gala * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
29b0e2f248SKumar Gala * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
30b0e2f248SKumar Gala * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
31b0e2f248SKumar Gala * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
32b0e2f248SKumar Gala * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
33b0e2f248SKumar Gala */
34b0e2f248SKumar Gala
35b0e2f248SKumar Gala&lbc {
36b0e2f248SKumar Gala	#address-cells = <2>;
37b0e2f248SKumar Gala	#size-cells = <1>;
38b0e2f248SKumar Gala	compatible = "fsl,p1023-elbc", "fsl,elbc", "simple-bus";
39297649b9SWang Dongsheng	interrupts = <19 2 0 0>,
40297649b9SWang Dongsheng		     <16 2 0 0>;
41b0e2f248SKumar Gala};
42b0e2f248SKumar Gala
43b0e2f248SKumar Gala/* controller at 0xa000 */
44b0e2f248SKumar Gala&pci0 {
45b0e2f248SKumar Gala	compatible = "fsl,p1023-pcie", "fsl,qoriq-pcie-v2.2";
46b0e2f248SKumar Gala	device_type = "pci";
47b0e2f248SKumar Gala	#size-cells = <2>;
48b0e2f248SKumar Gala	#address-cells = <3>;
49b0e2f248SKumar Gala	bus-range = <0x0 0xff>;
50b0e2f248SKumar Gala	clock-frequency = <33333333>;
51b0e2f248SKumar Gala	interrupts = <16 2 0 0>;
52b0e2f248SKumar Gala	pcie@0 {
53b0e2f248SKumar Gala		reg = <0 0 0 0 0>;
54b0e2f248SKumar Gala		#interrupt-cells = <1>;
55b0e2f248SKumar Gala		#size-cells = <2>;
56b0e2f248SKumar Gala		#address-cells = <3>;
57b0e2f248SKumar Gala		device_type = "pci";
58b0e2f248SKumar Gala		interrupts = <16 2 0 0>;
59b0e2f248SKumar Gala	};
60b0e2f248SKumar Gala};
61b0e2f248SKumar Gala
62b0e2f248SKumar Gala/* controller at 0x9000 */
63b0e2f248SKumar Gala&pci1 {
64b0e2f248SKumar Gala	compatible = "fsl,p1023-pcie", "fsl,qoriq-pcie-v2.2";
65b0e2f248SKumar Gala	device_type = "pci";
66b0e2f248SKumar Gala	#size-cells = <2>;
67b0e2f248SKumar Gala	#address-cells = <3>;
68b0e2f248SKumar Gala	bus-range = <0 0xff>;
69b0e2f248SKumar Gala	clock-frequency = <33333333>;
70b0e2f248SKumar Gala	interrupts = <16 2 0 0>;
71b0e2f248SKumar Gala	pcie@0 {
72b0e2f248SKumar Gala		reg = <0 0 0 0 0>;
73b0e2f248SKumar Gala		#interrupt-cells = <1>;
74b0e2f248SKumar Gala		#size-cells = <2>;
75b0e2f248SKumar Gala		#address-cells = <3>;
76b0e2f248SKumar Gala		device_type = "pci";
77b0e2f248SKumar Gala		interrupts = <16 2 0 0>;
78b0e2f248SKumar Gala	};
79b0e2f248SKumar Gala};
80b0e2f248SKumar Gala
81b0e2f248SKumar Gala/* controller at 0xb000 */
82b0e2f248SKumar Gala&pci2 {
83b0e2f248SKumar Gala	compatible = "fsl,p1023-pcie", "fsl,qoriq-pcie-v2.2";
84b0e2f248SKumar Gala	device_type = "pci";
85b0e2f248SKumar Gala	#size-cells = <2>;
86b0e2f248SKumar Gala	#address-cells = <3>;
87b0e2f248SKumar Gala	bus-range = <0x0 0xff>;
88b0e2f248SKumar Gala	clock-frequency = <33333333>;
89b0e2f248SKumar Gala	interrupts = <16 2 0 0>;
90b0e2f248SKumar Gala	pcie@0 {
91b0e2f248SKumar Gala		reg = <0 0 0 0 0>;
92b0e2f248SKumar Gala		#interrupt-cells = <1>;
93b0e2f248SKumar Gala		#size-cells = <2>;
94b0e2f248SKumar Gala		#address-cells = <3>;
95b0e2f248SKumar Gala		device_type = "pci";
96b0e2f248SKumar Gala		interrupts = <16 2 0 0>;
97b0e2f248SKumar Gala	};
98b0e2f248SKumar Gala};
99b0e2f248SKumar Gala
100b0e2f248SKumar Gala&soc {
101b0e2f248SKumar Gala	#address-cells = <1>;
102b0e2f248SKumar Gala	#size-cells = <1>;
103b0e2f248SKumar Gala	device_type = "soc";
104b0e2f248SKumar Gala	compatible = "fsl,p1023-immr", "simple-bus";
105b0e2f248SKumar Gala	bus-frequency = <0>;		// Filled out by uboot.
106b0e2f248SKumar Gala
107b0e2f248SKumar Gala	ecm-law@0 {
108b0e2f248SKumar Gala		compatible = "fsl,ecm-law";
109b0e2f248SKumar Gala		reg = <0x0 0x1000>;
110b0e2f248SKumar Gala		fsl,num-laws = <12>;
111b0e2f248SKumar Gala	};
112b0e2f248SKumar Gala
113b0e2f248SKumar Gala	ecm@1000 {
114b0e2f248SKumar Gala		compatible = "fsl,p1023-ecm", "fsl,ecm";
115b0e2f248SKumar Gala		reg = <0x1000 0x1000>;
116b0e2f248SKumar Gala		interrupts = <16 2 0 0>;
117b0e2f248SKumar Gala	};
118b0e2f248SKumar Gala
119b0e2f248SKumar Gala	memory-controller@2000 {
120b0e2f248SKumar Gala		compatible = "fsl,p1023-memory-controller";
121b0e2f248SKumar Gala		reg = <0x2000 0x1000>;
122b0e2f248SKumar Gala		interrupts = <16 2 0 0>;
123b0e2f248SKumar Gala	};
124b0e2f248SKumar Gala
125b0e2f248SKumar Gala/include/ "pq3-i2c-0.dtsi"
126b0e2f248SKumar Gala/include/ "pq3-i2c-1.dtsi"
127b0e2f248SKumar Gala/include/ "pq3-duart-0.dtsi"
128b0e2f248SKumar Gala
129b0e2f248SKumar Gala/include/ "pq3-espi-0.dtsi"
130b0e2f248SKumar Gala	spi@7000 {
131b0e2f248SKumar Gala		fsl,espi-num-chipselects = <4>;
132b0e2f248SKumar Gala	};
133b0e2f248SKumar Gala
134b0e2f248SKumar Gala/include/ "pq3-gpio-0.dtsi"
135b0e2f248SKumar Gala
136b0e2f248SKumar Gala	L2: l2-cache-controller@20000 {
137b0e2f248SKumar Gala		compatible = "fsl,p1023-l2-cache-controller";
138b0e2f248SKumar Gala		reg = <0x20000 0x1000>;
139b0e2f248SKumar Gala		cache-line-size = <32>;	// 32 bytes
140b0e2f248SKumar Gala		cache-size = <0x40000>; // L2,256K
141b0e2f248SKumar Gala		interrupts = <16 2 0 0>;
142b0e2f248SKumar Gala	};
143b0e2f248SKumar Gala
144b0e2f248SKumar Gala/include/ "pq3-dma-0.dtsi"
145b0e2f248SKumar Gala/include/ "pq3-usb2-dr-0.dtsi"
146465aceb8SRamneek Mehresh	usb@22000 {
147465aceb8SRamneek Mehresh		compatible = "fsl-usb2-dr-v1.6", "fsl-usb2-dr";
148465aceb8SRamneek Mehresh	};
149b0e2f248SKumar Gala
150b0e2f248SKumar Gala	crypto: crypto@300000 {
151b0e2f248SKumar Gala		compatible = "fsl,sec-v4.2", "fsl,sec-v4.0";
152a2adb1aeSVakul Garg		fsl,sec-era = <3>;
153b0e2f248SKumar Gala		#address-cells = <1>;
154b0e2f248SKumar Gala		#size-cells = <1>;
155b0e2f248SKumar Gala		reg = <0x30000 0x10000>;
156b0e2f248SKumar Gala		ranges = <0 0x30000 0x10000>;
157b0e2f248SKumar Gala		interrupts = <58 2 0 0>;
158b0e2f248SKumar Gala
159b0e2f248SKumar Gala		sec_jr0: jr@1000 {
160b0e2f248SKumar Gala			compatible = "fsl,sec-v4.2-job-ring",
161b0e2f248SKumar Gala				     "fsl,sec-v4.0-job-ring";
162b0e2f248SKumar Gala			reg = <0x1000 0x1000>;
163b0e2f248SKumar Gala			interrupts = <45 2 0 0>;
164b0e2f248SKumar Gala		};
165b0e2f248SKumar Gala
166b0e2f248SKumar Gala		sec_jr1: jr@2000 {
167b0e2f248SKumar Gala			compatible = "fsl,sec-v4.2-job-ring",
168b0e2f248SKumar Gala				     "fsl,sec-v4.0-job-ring";
169b0e2f248SKumar Gala			reg = <0x2000 0x1000>;
170b0e2f248SKumar Gala			interrupts = <45 2 0 0>;
171b0e2f248SKumar Gala		};
172b0e2f248SKumar Gala
173b0e2f248SKumar Gala		sec_jr2: jr@3000 {
174b0e2f248SKumar Gala			compatible = "fsl,sec-v4.2-job-ring",
175b0e2f248SKumar Gala				     "fsl,sec-v4.0-job-ring";
176b0e2f248SKumar Gala			reg = <0x3000 0x1000>;
177b0e2f248SKumar Gala			interrupts = <57 2 0 0>;
178b0e2f248SKumar Gala		};
179b0e2f248SKumar Gala
180b0e2f248SKumar Gala		sec_jr3: jr@4000 {
181b0e2f248SKumar Gala			compatible = "fsl,sec-v4.2-job-ring",
182b0e2f248SKumar Gala				     "fsl,sec-v4.0-job-ring";
183b0e2f248SKumar Gala			reg = <0x4000 0x1000>;
184b0e2f248SKumar Gala			interrupts = <57 2 0 0>;
185b0e2f248SKumar Gala		};
186b0e2f248SKumar Gala
187b0e2f248SKumar Gala		rtic@6000 {
188b0e2f248SKumar Gala			compatible = "fsl,sec-v4.2-rtic",
189b0e2f248SKumar Gala				     "fsl,sec-v4.0-rtic";
190b0e2f248SKumar Gala			#address-cells = <1>;
191b0e2f248SKumar Gala			#size-cells = <1>;
192b0e2f248SKumar Gala			reg = <0x6000 0x100>;
193b0e2f248SKumar Gala			ranges = <0x0 0x6100 0xe00>;
194b0e2f248SKumar Gala
195b0e2f248SKumar Gala			rtic_a: rtic-a@0 {
196b0e2f248SKumar Gala				compatible = "fsl,sec-v4.2-rtic-memory",
197b0e2f248SKumar Gala					     "fsl,sec-v4.0-rtic-memory";
198b0e2f248SKumar Gala				reg = <0x00 0x20 0x100 0x80>;
199b0e2f248SKumar Gala			};
200b0e2f248SKumar Gala
201b0e2f248SKumar Gala			rtic_b: rtic-b@20 {
202b0e2f248SKumar Gala				compatible = "fsl,sec-v4.2-rtic-memory",
203b0e2f248SKumar Gala					     "fsl,sec-v4.0-rtic-memory";
204b0e2f248SKumar Gala				reg = <0x20 0x20 0x200 0x80>;
205b0e2f248SKumar Gala			};
206b0e2f248SKumar Gala
207b0e2f248SKumar Gala			rtic_c: rtic-c@40 {
208b0e2f248SKumar Gala				compatible = "fsl,sec-v4.2-rtic-memory",
209b0e2f248SKumar Gala					     "fsl,sec-v4.0-rtic-memory";
210b0e2f248SKumar Gala				reg = <0x40 0x20 0x300 0x80>;
211b0e2f248SKumar Gala			};
212b0e2f248SKumar Gala
213b0e2f248SKumar Gala			rtic_d: rtic-d@60 {
214b0e2f248SKumar Gala				compatible = "fsl,sec-v4.2-rtic-memory",
215b0e2f248SKumar Gala					     "fsl,sec-v4.0-rtic-memory";
216b0e2f248SKumar Gala				reg = <0x60 0x20 0x500 0x80>;
217b0e2f248SKumar Gala			};
218b0e2f248SKumar Gala		};
219b0e2f248SKumar Gala	};
220b0e2f248SKumar Gala
221b0e2f248SKumar Gala/include/ "pq3-mpic.dtsi"
222b0e2f248SKumar Gala/include/ "pq3-mpic-timer-B.dtsi"
223b0e2f248SKumar Gala
224b0e2f248SKumar Gala	global-utilities@e0000 {
225b0e2f248SKumar Gala		compatible = "fsl,p1023-guts";
226b0e2f248SKumar Gala		reg = <0xe0000 0x1000>;
227b0e2f248SKumar Gala		fsl,has-rstcr;
228b0e2f248SKumar Gala	};
229b0e2f248SKumar Gala};
230