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";
39b0e2f248SKumar Gala	interrupts = <19 2 0 0>;
40b0e2f248SKumar Gala};
41b0e2f248SKumar Gala
42b0e2f248SKumar Gala/* controller at 0xa000 */
43b0e2f248SKumar Gala&pci0 {
44b0e2f248SKumar Gala	compatible = "fsl,p1023-pcie", "fsl,qoriq-pcie-v2.2";
45b0e2f248SKumar Gala	device_type = "pci";
46b0e2f248SKumar Gala	#size-cells = <2>;
47b0e2f248SKumar Gala	#address-cells = <3>;
48b0e2f248SKumar Gala	bus-range = <0x0 0xff>;
49b0e2f248SKumar Gala	clock-frequency = <33333333>;
50b0e2f248SKumar Gala	interrupts = <16 2 0 0>;
51b0e2f248SKumar Gala	pcie@0 {
52b0e2f248SKumar Gala		reg = <0 0 0 0 0>;
53b0e2f248SKumar Gala		#interrupt-cells = <1>;
54b0e2f248SKumar Gala		#size-cells = <2>;
55b0e2f248SKumar Gala		#address-cells = <3>;
56b0e2f248SKumar Gala		device_type = "pci";
57b0e2f248SKumar Gala		interrupts = <16 2 0 0>;
58b0e2f248SKumar Gala	};
59b0e2f248SKumar Gala};
60b0e2f248SKumar Gala
61b0e2f248SKumar Gala/* controller at 0x9000 */
62b0e2f248SKumar Gala&pci1 {
63b0e2f248SKumar Gala	compatible = "fsl,p1023-pcie", "fsl,qoriq-pcie-v2.2";
64b0e2f248SKumar Gala	device_type = "pci";
65b0e2f248SKumar Gala	#size-cells = <2>;
66b0e2f248SKumar Gala	#address-cells = <3>;
67b0e2f248SKumar Gala	bus-range = <0 0xff>;
68b0e2f248SKumar Gala	clock-frequency = <33333333>;
69b0e2f248SKumar Gala	interrupts = <16 2 0 0>;
70b0e2f248SKumar Gala	pcie@0 {
71b0e2f248SKumar Gala		reg = <0 0 0 0 0>;
72b0e2f248SKumar Gala		#interrupt-cells = <1>;
73b0e2f248SKumar Gala		#size-cells = <2>;
74b0e2f248SKumar Gala		#address-cells = <3>;
75b0e2f248SKumar Gala		device_type = "pci";
76b0e2f248SKumar Gala		interrupts = <16 2 0 0>;
77b0e2f248SKumar Gala	};
78b0e2f248SKumar Gala};
79b0e2f248SKumar Gala
80b0e2f248SKumar Gala/* controller at 0xb000 */
81b0e2f248SKumar Gala&pci2 {
82b0e2f248SKumar Gala	compatible = "fsl,p1023-pcie", "fsl,qoriq-pcie-v2.2";
83b0e2f248SKumar Gala	device_type = "pci";
84b0e2f248SKumar Gala	#size-cells = <2>;
85b0e2f248SKumar Gala	#address-cells = <3>;
86b0e2f248SKumar Gala	bus-range = <0x0 0xff>;
87b0e2f248SKumar Gala	clock-frequency = <33333333>;
88b0e2f248SKumar Gala	interrupts = <16 2 0 0>;
89b0e2f248SKumar Gala	pcie@0 {
90b0e2f248SKumar Gala		reg = <0 0 0 0 0>;
91b0e2f248SKumar Gala		#interrupt-cells = <1>;
92b0e2f248SKumar Gala		#size-cells = <2>;
93b0e2f248SKumar Gala		#address-cells = <3>;
94b0e2f248SKumar Gala		device_type = "pci";
95b0e2f248SKumar Gala		interrupts = <16 2 0 0>;
96b0e2f248SKumar Gala	};
97b0e2f248SKumar Gala};
98b0e2f248SKumar Gala
99b0e2f248SKumar Gala&soc {
100b0e2f248SKumar Gala	#address-cells = <1>;
101b0e2f248SKumar Gala	#size-cells = <1>;
102b0e2f248SKumar Gala	device_type = "soc";
103b0e2f248SKumar Gala	compatible = "fsl,p1023-immr", "simple-bus";
104b0e2f248SKumar Gala	bus-frequency = <0>;		// Filled out by uboot.
105b0e2f248SKumar Gala
106b0e2f248SKumar Gala	ecm-law@0 {
107b0e2f248SKumar Gala		compatible = "fsl,ecm-law";
108b0e2f248SKumar Gala		reg = <0x0 0x1000>;
109b0e2f248SKumar Gala		fsl,num-laws = <12>;
110b0e2f248SKumar Gala	};
111b0e2f248SKumar Gala
112b0e2f248SKumar Gala	ecm@1000 {
113b0e2f248SKumar Gala		compatible = "fsl,p1023-ecm", "fsl,ecm";
114b0e2f248SKumar Gala		reg = <0x1000 0x1000>;
115b0e2f248SKumar Gala		interrupts = <16 2 0 0>;
116b0e2f248SKumar Gala	};
117b0e2f248SKumar Gala
118b0e2f248SKumar Gala	memory-controller@2000 {
119b0e2f248SKumar Gala		compatible = "fsl,p1023-memory-controller";
120b0e2f248SKumar Gala		reg = <0x2000 0x1000>;
121b0e2f248SKumar Gala		interrupts = <16 2 0 0>;
122b0e2f248SKumar Gala	};
123b0e2f248SKumar Gala
124b0e2f248SKumar Gala/include/ "pq3-i2c-0.dtsi"
125b0e2f248SKumar Gala/include/ "pq3-i2c-1.dtsi"
126b0e2f248SKumar Gala/include/ "pq3-duart-0.dtsi"
127b0e2f248SKumar Gala
128b0e2f248SKumar Gala/include/ "pq3-espi-0.dtsi"
129b0e2f248SKumar Gala	spi@7000 {
130b0e2f248SKumar Gala		fsl,espi-num-chipselects = <4>;
131b0e2f248SKumar Gala	};
132b0e2f248SKumar Gala
133b0e2f248SKumar Gala/include/ "pq3-gpio-0.dtsi"
134b0e2f248SKumar Gala
135b0e2f248SKumar Gala	L2: l2-cache-controller@20000 {
136b0e2f248SKumar Gala		compatible = "fsl,p1023-l2-cache-controller";
137b0e2f248SKumar Gala		reg = <0x20000 0x1000>;
138b0e2f248SKumar Gala		cache-line-size = <32>;	// 32 bytes
139b0e2f248SKumar Gala		cache-size = <0x40000>; // L2,256K
140b0e2f248SKumar Gala		interrupts = <16 2 0 0>;
141b0e2f248SKumar Gala	};
142b0e2f248SKumar Gala
143b0e2f248SKumar Gala/include/ "pq3-dma-0.dtsi"
144b0e2f248SKumar Gala/include/ "pq3-usb2-dr-0.dtsi"
145465aceb8SRamneek Mehresh	usb@22000 {
146465aceb8SRamneek Mehresh		compatible = "fsl-usb2-dr-v1.6", "fsl-usb2-dr";
147465aceb8SRamneek Mehresh	};
148b0e2f248SKumar Gala
149b0e2f248SKumar Gala	crypto: crypto@300000 {
150b0e2f248SKumar Gala		compatible = "fsl,sec-v4.2", "fsl,sec-v4.0";
151b0e2f248SKumar Gala		#address-cells = <1>;
152b0e2f248SKumar Gala		#size-cells = <1>;
153b0e2f248SKumar Gala		reg = <0x30000 0x10000>;
154b0e2f248SKumar Gala		ranges = <0 0x30000 0x10000>;
155b0e2f248SKumar Gala		interrupts = <58 2 0 0>;
156b0e2f248SKumar Gala
157b0e2f248SKumar Gala		sec_jr0: jr@1000 {
158b0e2f248SKumar Gala			compatible = "fsl,sec-v4.2-job-ring",
159b0e2f248SKumar Gala				     "fsl,sec-v4.0-job-ring";
160b0e2f248SKumar Gala			reg = <0x1000 0x1000>;
161b0e2f248SKumar Gala			interrupts = <45 2 0 0>;
162b0e2f248SKumar Gala		};
163b0e2f248SKumar Gala
164b0e2f248SKumar Gala		sec_jr1: jr@2000 {
165b0e2f248SKumar Gala			compatible = "fsl,sec-v4.2-job-ring",
166b0e2f248SKumar Gala				     "fsl,sec-v4.0-job-ring";
167b0e2f248SKumar Gala			reg = <0x2000 0x1000>;
168b0e2f248SKumar Gala			interrupts = <45 2 0 0>;
169b0e2f248SKumar Gala		};
170b0e2f248SKumar Gala
171b0e2f248SKumar Gala		sec_jr2: jr@3000 {
172b0e2f248SKumar Gala			compatible = "fsl,sec-v4.2-job-ring",
173b0e2f248SKumar Gala				     "fsl,sec-v4.0-job-ring";
174b0e2f248SKumar Gala			reg = <0x3000 0x1000>;
175b0e2f248SKumar Gala			interrupts = <57 2 0 0>;
176b0e2f248SKumar Gala		};
177b0e2f248SKumar Gala
178b0e2f248SKumar Gala		sec_jr3: jr@4000 {
179b0e2f248SKumar Gala			compatible = "fsl,sec-v4.2-job-ring",
180b0e2f248SKumar Gala				     "fsl,sec-v4.0-job-ring";
181b0e2f248SKumar Gala			reg = <0x4000 0x1000>;
182b0e2f248SKumar Gala			interrupts = <57 2 0 0>;
183b0e2f248SKumar Gala		};
184b0e2f248SKumar Gala
185b0e2f248SKumar Gala		rtic@6000 {
186b0e2f248SKumar Gala			compatible = "fsl,sec-v4.2-rtic",
187b0e2f248SKumar Gala				     "fsl,sec-v4.0-rtic";
188b0e2f248SKumar Gala			#address-cells = <1>;
189b0e2f248SKumar Gala			#size-cells = <1>;
190b0e2f248SKumar Gala			reg = <0x6000 0x100>;
191b0e2f248SKumar Gala			ranges = <0x0 0x6100 0xe00>;
192b0e2f248SKumar Gala
193b0e2f248SKumar Gala			rtic_a: rtic-a@0 {
194b0e2f248SKumar Gala				compatible = "fsl,sec-v4.2-rtic-memory",
195b0e2f248SKumar Gala					     "fsl,sec-v4.0-rtic-memory";
196b0e2f248SKumar Gala				reg = <0x00 0x20 0x100 0x80>;
197b0e2f248SKumar Gala			};
198b0e2f248SKumar Gala
199b0e2f248SKumar Gala			rtic_b: rtic-b@20 {
200b0e2f248SKumar Gala				compatible = "fsl,sec-v4.2-rtic-memory",
201b0e2f248SKumar Gala					     "fsl,sec-v4.0-rtic-memory";
202b0e2f248SKumar Gala				reg = <0x20 0x20 0x200 0x80>;
203b0e2f248SKumar Gala			};
204b0e2f248SKumar Gala
205b0e2f248SKumar Gala			rtic_c: rtic-c@40 {
206b0e2f248SKumar Gala				compatible = "fsl,sec-v4.2-rtic-memory",
207b0e2f248SKumar Gala					     "fsl,sec-v4.0-rtic-memory";
208b0e2f248SKumar Gala				reg = <0x40 0x20 0x300 0x80>;
209b0e2f248SKumar Gala			};
210b0e2f248SKumar Gala
211b0e2f248SKumar Gala			rtic_d: rtic-d@60 {
212b0e2f248SKumar Gala				compatible = "fsl,sec-v4.2-rtic-memory",
213b0e2f248SKumar Gala					     "fsl,sec-v4.0-rtic-memory";
214b0e2f248SKumar Gala				reg = <0x60 0x20 0x500 0x80>;
215b0e2f248SKumar Gala			};
216b0e2f248SKumar Gala		};
217b0e2f248SKumar Gala	};
218b0e2f248SKumar Gala
219b0e2f248SKumar Gala/include/ "pq3-mpic.dtsi"
220b0e2f248SKumar Gala/include/ "pq3-mpic-timer-B.dtsi"
221b0e2f248SKumar Gala
222b0e2f248SKumar Gala	global-utilities@e0000 {
223b0e2f248SKumar Gala		compatible = "fsl,p1023-guts";
224b0e2f248SKumar Gala		reg = <0xe0000 0x1000>;
225b0e2f248SKumar Gala		fsl,has-rstcr;
226b0e2f248SKumar Gala	};
227b0e2f248SKumar Gala};
228