1b0e2f248SKumar Gala/*
2b0e2f248SKumar Gala * P1023/P1017 Silicon/SoC Device Tree Source (post include)
3b0e2f248SKumar Gala *
41e8ed06dSKumar Gala * Copyright 2011 - 2014 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
351e8ed06dSKumar Gala&bman_fbpr {
361e8ed06dSKumar Gala	compatible = "fsl,bman-fbpr";
371e8ed06dSKumar Gala	alloc-ranges = <0 0 0x10 0>;
381e8ed06dSKumar Gala};
391e8ed06dSKumar Gala
40b0e2f248SKumar Gala&lbc {
41b0e2f248SKumar Gala	#address-cells = <2>;
42b0e2f248SKumar Gala	#size-cells = <1>;
43b0e2f248SKumar Gala	compatible = "fsl,p1023-elbc", "fsl,elbc", "simple-bus";
44297649b9SWang Dongsheng	interrupts = <19 2 0 0>,
45297649b9SWang Dongsheng		     <16 2 0 0>;
46b0e2f248SKumar Gala};
47b0e2f248SKumar Gala
48b0e2f248SKumar Gala/* controller at 0xa000 */
49b0e2f248SKumar Gala&pci0 {
50b0e2f248SKumar Gala	compatible = "fsl,p1023-pcie", "fsl,qoriq-pcie-v2.2";
51b0e2f248SKumar Gala	device_type = "pci";
52b0e2f248SKumar Gala	#size-cells = <2>;
53b0e2f248SKumar Gala	#address-cells = <3>;
54b0e2f248SKumar Gala	bus-range = <0x0 0xff>;
55b0e2f248SKumar Gala	clock-frequency = <33333333>;
56b0e2f248SKumar Gala	interrupts = <16 2 0 0>;
57b0e2f248SKumar Gala	pcie@0 {
58b0e2f248SKumar Gala		reg = <0 0 0 0 0>;
59b0e2f248SKumar Gala		#interrupt-cells = <1>;
60b0e2f248SKumar Gala		#size-cells = <2>;
61b0e2f248SKumar Gala		#address-cells = <3>;
62b0e2f248SKumar Gala		device_type = "pci";
63b0e2f248SKumar Gala		interrupts = <16 2 0 0>;
64b0e2f248SKumar Gala	};
65b0e2f248SKumar Gala};
66b0e2f248SKumar Gala
67b0e2f248SKumar Gala/* controller at 0x9000 */
68b0e2f248SKumar Gala&pci1 {
69b0e2f248SKumar Gala	compatible = "fsl,p1023-pcie", "fsl,qoriq-pcie-v2.2";
70b0e2f248SKumar Gala	device_type = "pci";
71b0e2f248SKumar Gala	#size-cells = <2>;
72b0e2f248SKumar Gala	#address-cells = <3>;
73b0e2f248SKumar Gala	bus-range = <0 0xff>;
74b0e2f248SKumar Gala	clock-frequency = <33333333>;
75b0e2f248SKumar Gala	interrupts = <16 2 0 0>;
76b0e2f248SKumar Gala	pcie@0 {
77b0e2f248SKumar Gala		reg = <0 0 0 0 0>;
78b0e2f248SKumar Gala		#interrupt-cells = <1>;
79b0e2f248SKumar Gala		#size-cells = <2>;
80b0e2f248SKumar Gala		#address-cells = <3>;
81b0e2f248SKumar Gala		device_type = "pci";
82b0e2f248SKumar Gala		interrupts = <16 2 0 0>;
83b0e2f248SKumar Gala	};
84b0e2f248SKumar Gala};
85b0e2f248SKumar Gala
86b0e2f248SKumar Gala/* controller at 0xb000 */
87b0e2f248SKumar Gala&pci2 {
88b0e2f248SKumar Gala	compatible = "fsl,p1023-pcie", "fsl,qoriq-pcie-v2.2";
89b0e2f248SKumar Gala	device_type = "pci";
90b0e2f248SKumar Gala	#size-cells = <2>;
91b0e2f248SKumar Gala	#address-cells = <3>;
92b0e2f248SKumar Gala	bus-range = <0x0 0xff>;
93b0e2f248SKumar Gala	clock-frequency = <33333333>;
94b0e2f248SKumar Gala	interrupts = <16 2 0 0>;
95b0e2f248SKumar Gala	pcie@0 {
96b0e2f248SKumar Gala		reg = <0 0 0 0 0>;
97b0e2f248SKumar Gala		#interrupt-cells = <1>;
98b0e2f248SKumar Gala		#size-cells = <2>;
99b0e2f248SKumar Gala		#address-cells = <3>;
100b0e2f248SKumar Gala		device_type = "pci";
101b0e2f248SKumar Gala		interrupts = <16 2 0 0>;
102b0e2f248SKumar Gala	};
103b0e2f248SKumar Gala};
104b0e2f248SKumar Gala
1051e8ed06dSKumar Gala&bportals {
1061e8ed06dSKumar Gala	#address-cells = <1>;
1071e8ed06dSKumar Gala	#size-cells = <1>;
1081e8ed06dSKumar Gala	compatible = "simple-bus";
1091e8ed06dSKumar Gala
1101e8ed06dSKumar Gala	bman-portal@0 {
1111e8ed06dSKumar Gala		compatible = "fsl,bman-portal";
1121e8ed06dSKumar Gala		reg = <0x0 0x4000>, <0x100000 0x1000>;
1131e8ed06dSKumar Gala		interrupts = <30 2 0 0>;
1141e8ed06dSKumar Gala	};
1151e8ed06dSKumar Gala	bman-portal@4000 {
1161e8ed06dSKumar Gala		compatible = "fsl,bman-portal";
1171e8ed06dSKumar Gala		reg = <0x4000 0x4000>, <0x101000 0x1000>;
1181e8ed06dSKumar Gala		interrupts = <32 2 0 0>;
1191e8ed06dSKumar Gala	};
1201e8ed06dSKumar Gala	bman-portal@8000 {
1211e8ed06dSKumar Gala		compatible = "fsl,bman-portal";
1221e8ed06dSKumar Gala		reg = <0x8000 0x4000>, <0x102000 0x1000>;
1231e8ed06dSKumar Gala		interrupts = <34 2 0 0>;
1241e8ed06dSKumar Gala	};
1251e8ed06dSKumar Gala};
1261e8ed06dSKumar Gala
127b0e2f248SKumar Gala&soc {
128b0e2f248SKumar Gala	#address-cells = <1>;
129b0e2f248SKumar Gala	#size-cells = <1>;
130b0e2f248SKumar Gala	device_type = "soc";
131b0e2f248SKumar Gala	compatible = "fsl,p1023-immr", "simple-bus";
132b0e2f248SKumar Gala	bus-frequency = <0>;		// Filled out by uboot.
133b0e2f248SKumar Gala
134b0e2f248SKumar Gala	ecm-law@0 {
135b0e2f248SKumar Gala		compatible = "fsl,ecm-law";
136b0e2f248SKumar Gala		reg = <0x0 0x1000>;
137b0e2f248SKumar Gala		fsl,num-laws = <12>;
138b0e2f248SKumar Gala	};
139b0e2f248SKumar Gala
140b0e2f248SKumar Gala	ecm@1000 {
141b0e2f248SKumar Gala		compatible = "fsl,p1023-ecm", "fsl,ecm";
142b0e2f248SKumar Gala		reg = <0x1000 0x1000>;
143b0e2f248SKumar Gala		interrupts = <16 2 0 0>;
144b0e2f248SKumar Gala	};
145b0e2f248SKumar Gala
146b0e2f248SKumar Gala	memory-controller@2000 {
147b0e2f248SKumar Gala		compatible = "fsl,p1023-memory-controller";
148b0e2f248SKumar Gala		reg = <0x2000 0x1000>;
149b0e2f248SKumar Gala		interrupts = <16 2 0 0>;
150b0e2f248SKumar Gala	};
151b0e2f248SKumar Gala
152b0e2f248SKumar Gala/include/ "pq3-i2c-0.dtsi"
153b0e2f248SKumar Gala/include/ "pq3-i2c-1.dtsi"
154b0e2f248SKumar Gala/include/ "pq3-duart-0.dtsi"
155b0e2f248SKumar Gala
156b0e2f248SKumar Gala/include/ "pq3-espi-0.dtsi"
157b0e2f248SKumar Gala	spi@7000 {
158b0e2f248SKumar Gala		fsl,espi-num-chipselects = <4>;
159b0e2f248SKumar Gala	};
160b0e2f248SKumar Gala
161b0e2f248SKumar Gala/include/ "pq3-gpio-0.dtsi"
162b0e2f248SKumar Gala
163b0e2f248SKumar Gala	L2: l2-cache-controller@20000 {
164b0e2f248SKumar Gala		compatible = "fsl,p1023-l2-cache-controller";
165b0e2f248SKumar Gala		reg = <0x20000 0x1000>;
166b0e2f248SKumar Gala		cache-line-size = <32>;	// 32 bytes
167b0e2f248SKumar Gala		cache-size = <0x40000>; // L2,256K
168b0e2f248SKumar Gala		interrupts = <16 2 0 0>;
169b0e2f248SKumar Gala	};
170b0e2f248SKumar Gala
171b0e2f248SKumar Gala/include/ "pq3-dma-0.dtsi"
172b0e2f248SKumar Gala/include/ "pq3-usb2-dr-0.dtsi"
173465aceb8SRamneek Mehresh	usb@22000 {
174465aceb8SRamneek Mehresh		compatible = "fsl-usb2-dr-v1.6", "fsl-usb2-dr";
175465aceb8SRamneek Mehresh	};
176b0e2f248SKumar Gala
177b0e2f248SKumar Gala	crypto: crypto@300000 {
178b0e2f248SKumar Gala		compatible = "fsl,sec-v4.2", "fsl,sec-v4.0";
179a2adb1aeSVakul Garg		fsl,sec-era = <3>;
180b0e2f248SKumar Gala		#address-cells = <1>;
181b0e2f248SKumar Gala		#size-cells = <1>;
182b0e2f248SKumar Gala		reg = <0x30000 0x10000>;
183b0e2f248SKumar Gala		ranges = <0 0x30000 0x10000>;
184b0e2f248SKumar Gala		interrupts = <58 2 0 0>;
185b0e2f248SKumar Gala
186b0e2f248SKumar Gala		sec_jr0: jr@1000 {
187b0e2f248SKumar Gala			compatible = "fsl,sec-v4.2-job-ring",
188b0e2f248SKumar Gala				     "fsl,sec-v4.0-job-ring";
189b0e2f248SKumar Gala			reg = <0x1000 0x1000>;
190b0e2f248SKumar Gala			interrupts = <45 2 0 0>;
191b0e2f248SKumar Gala		};
192b0e2f248SKumar Gala
193b0e2f248SKumar Gala		sec_jr1: jr@2000 {
194b0e2f248SKumar Gala			compatible = "fsl,sec-v4.2-job-ring",
195b0e2f248SKumar Gala				     "fsl,sec-v4.0-job-ring";
196b0e2f248SKumar Gala			reg = <0x2000 0x1000>;
197b0e2f248SKumar Gala			interrupts = <45 2 0 0>;
198b0e2f248SKumar Gala		};
199b0e2f248SKumar Gala
200b0e2f248SKumar Gala		sec_jr2: jr@3000 {
201b0e2f248SKumar Gala			compatible = "fsl,sec-v4.2-job-ring",
202b0e2f248SKumar Gala				     "fsl,sec-v4.0-job-ring";
203b0e2f248SKumar Gala			reg = <0x3000 0x1000>;
204b0e2f248SKumar Gala			interrupts = <57 2 0 0>;
205b0e2f248SKumar Gala		};
206b0e2f248SKumar Gala
207b0e2f248SKumar Gala		sec_jr3: jr@4000 {
208b0e2f248SKumar Gala			compatible = "fsl,sec-v4.2-job-ring",
209b0e2f248SKumar Gala				     "fsl,sec-v4.0-job-ring";
210b0e2f248SKumar Gala			reg = <0x4000 0x1000>;
211b0e2f248SKumar Gala			interrupts = <57 2 0 0>;
212b0e2f248SKumar Gala		};
213b0e2f248SKumar Gala
214b0e2f248SKumar Gala		rtic@6000 {
215b0e2f248SKumar Gala			compatible = "fsl,sec-v4.2-rtic",
216b0e2f248SKumar Gala				     "fsl,sec-v4.0-rtic";
217b0e2f248SKumar Gala			#address-cells = <1>;
218b0e2f248SKumar Gala			#size-cells = <1>;
219b0e2f248SKumar Gala			reg = <0x6000 0x100>;
220b0e2f248SKumar Gala			ranges = <0x0 0x6100 0xe00>;
221b0e2f248SKumar Gala
222b0e2f248SKumar Gala			rtic_a: rtic-a@0 {
223b0e2f248SKumar Gala				compatible = "fsl,sec-v4.2-rtic-memory",
224b0e2f248SKumar Gala					     "fsl,sec-v4.0-rtic-memory";
225b0e2f248SKumar Gala				reg = <0x00 0x20 0x100 0x80>;
226b0e2f248SKumar Gala			};
227b0e2f248SKumar Gala
228b0e2f248SKumar Gala			rtic_b: rtic-b@20 {
229b0e2f248SKumar Gala				compatible = "fsl,sec-v4.2-rtic-memory",
230b0e2f248SKumar Gala					     "fsl,sec-v4.0-rtic-memory";
231b0e2f248SKumar Gala				reg = <0x20 0x20 0x200 0x80>;
232b0e2f248SKumar Gala			};
233b0e2f248SKumar Gala
234b0e2f248SKumar Gala			rtic_c: rtic-c@40 {
235b0e2f248SKumar Gala				compatible = "fsl,sec-v4.2-rtic-memory",
236b0e2f248SKumar Gala					     "fsl,sec-v4.0-rtic-memory";
237b0e2f248SKumar Gala				reg = <0x40 0x20 0x300 0x80>;
238b0e2f248SKumar Gala			};
239b0e2f248SKumar Gala
240b0e2f248SKumar Gala			rtic_d: rtic-d@60 {
241b0e2f248SKumar Gala				compatible = "fsl,sec-v4.2-rtic-memory",
242b0e2f248SKumar Gala					     "fsl,sec-v4.0-rtic-memory";
243b0e2f248SKumar Gala				reg = <0x60 0x20 0x500 0x80>;
244b0e2f248SKumar Gala			};
245b0e2f248SKumar Gala		};
246b0e2f248SKumar Gala	};
247b0e2f248SKumar Gala
248b0e2f248SKumar Gala/include/ "pq3-mpic.dtsi"
249b0e2f248SKumar Gala/include/ "pq3-mpic-timer-B.dtsi"
250b0e2f248SKumar Gala
2511e8ed06dSKumar Gala	bman: bman@8a000 {
2521e8ed06dSKumar Gala		compatible = "fsl,bman";
2531e8ed06dSKumar Gala		reg = <0x8a000 0x1000>;
2541e8ed06dSKumar Gala		interrupts = <16 2 0 0>;
2551e8ed06dSKumar Gala		fsl,bman-portals = <&bportals>;
2561e8ed06dSKumar Gala		memory-region = <&bman_fbpr>;
2571e8ed06dSKumar Gala	};
2581e8ed06dSKumar Gala
259b0e2f248SKumar Gala	global-utilities@e0000 {
260b0e2f248SKumar Gala		compatible = "fsl,p1023-guts";
261b0e2f248SKumar Gala		reg = <0xe0000 0x1000>;
262b0e2f248SKumar Gala		fsl,has-rstcr;
263b0e2f248SKumar Gala	};
264b0e2f248SKumar Gala};
265