1dc37374bSHongtao Jia/*
2dc37374bSHongtao Jia * P2041RDB Device Tree Source
3dc37374bSHongtao Jia *
4dc37374bSHongtao Jia * Copyright 2011 - 2014 Freescale Semiconductor Inc.
5dc37374bSHongtao Jia *
6dc37374bSHongtao Jia * Redistribution and use in source and binary forms, with or without
7dc37374bSHongtao Jia * modification, are permitted provided that the following conditions are met:
8dc37374bSHongtao Jia *     * Redistributions of source code must retain the above copyright
9dc37374bSHongtao Jia *       notice, this list of conditions and the following disclaimer.
10dc37374bSHongtao Jia *     * Redistributions in binary form must reproduce the above copyright
11dc37374bSHongtao Jia *       notice, this list of conditions and the following disclaimer in the
12dc37374bSHongtao Jia *       documentation and/or other materials provided with the distribution.
13dc37374bSHongtao Jia *     * Neither the name of Freescale Semiconductor nor the
14dc37374bSHongtao Jia *       names of its contributors may be used to endorse or promote products
15dc37374bSHongtao Jia *       derived from this software without specific prior written permission.
16dc37374bSHongtao Jia *
17dc37374bSHongtao Jia *
18dc37374bSHongtao Jia * ALTERNATIVELY, this software may be distributed under the terms of the
19dc37374bSHongtao Jia * GNU General Public License ("GPL") as published by the Free Software
20dc37374bSHongtao Jia * Foundation, either version 2 of that License or (at your option) any
21dc37374bSHongtao Jia * later version.
22dc37374bSHongtao Jia *
23dc37374bSHongtao Jia * THIS SOFTWARE IS PROVIDED BY Freescale Semiconductor ``AS IS'' AND ANY
24dc37374bSHongtao Jia * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
25dc37374bSHongtao Jia * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
26dc37374bSHongtao Jia * DISCLAIMED. IN NO EVENT SHALL Freescale Semiconductor BE LIABLE FOR ANY
27dc37374bSHongtao Jia * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
28dc37374bSHongtao Jia * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
29dc37374bSHongtao Jia * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
30dc37374bSHongtao Jia * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
31dc37374bSHongtao Jia * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
32dc37374bSHongtao Jia * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
33dc37374bSHongtao Jia */
34dc37374bSHongtao Jia
35dc37374bSHongtao Jia/include/ "p2041si-pre.dtsi"
36dc37374bSHongtao Jia
37dc37374bSHongtao Jia/ {
38dc37374bSHongtao Jia	model = "fsl,P2041RDB";
39dc37374bSHongtao Jia	compatible = "fsl,P2041RDB";
40dc37374bSHongtao Jia	#address-cells = <2>;
41dc37374bSHongtao Jia	#size-cells = <2>;
42dc37374bSHongtao Jia	interrupt-parent = <&mpic>;
43dc37374bSHongtao Jia
44dc37374bSHongtao Jia	memory {
45dc37374bSHongtao Jia		device_type = "memory";
46dc37374bSHongtao Jia	};
47dc37374bSHongtao Jia
48dc37374bSHongtao Jia	reserved-memory {
49dc37374bSHongtao Jia		#address-cells = <2>;
50dc37374bSHongtao Jia		#size-cells = <2>;
51dc37374bSHongtao Jia		ranges;
52dc37374bSHongtao Jia
53dc37374bSHongtao Jia		bman_fbpr: bman-fbpr {
54dc37374bSHongtao Jia			size = <0 0x1000000>;
55dc37374bSHongtao Jia			alignment = <0 0x1000000>;
56dc37374bSHongtao Jia		};
57dc37374bSHongtao Jia		qman_fqd: qman-fqd {
58dc37374bSHongtao Jia			size = <0 0x400000>;
59dc37374bSHongtao Jia			alignment = <0 0x400000>;
60dc37374bSHongtao Jia		};
61dc37374bSHongtao Jia		qman_pfdr: qman-pfdr {
62dc37374bSHongtao Jia			size = <0 0x2000000>;
63dc37374bSHongtao Jia			alignment = <0 0x2000000>;
64dc37374bSHongtao Jia		};
65dc37374bSHongtao Jia	};
66dc37374bSHongtao Jia
67dc37374bSHongtao Jia	dcsr: dcsr@f00000000 {
68dc37374bSHongtao Jia		ranges = <0x00000000 0xf 0x00000000 0x01008000>;
69dc37374bSHongtao Jia	};
70dc37374bSHongtao Jia
71dc37374bSHongtao Jia	bportals: bman-portals@ff4000000 {
72dc37374bSHongtao Jia		ranges = <0x0 0xf 0xf4000000 0x200000>;
73dc37374bSHongtao Jia	};
74dc37374bSHongtao Jia
75dc37374bSHongtao Jia	qportals: qman-portals@ff4200000 {
76dc37374bSHongtao Jia		ranges = <0x0 0xf 0xf4200000 0x200000>;
77dc37374bSHongtao Jia	};
78dc37374bSHongtao Jia
79dc37374bSHongtao Jia	soc: soc@ffe000000 {
80dc37374bSHongtao Jia		ranges = <0x00000000 0xf 0xfe000000 0x1000000>;
81dc37374bSHongtao Jia		reg = <0xf 0xfe000000 0 0x00001000>;
82dc37374bSHongtao Jia		spi@110000 {
83dc37374bSHongtao Jia			flash@0 {
84dc37374bSHongtao Jia				#address-cells = <1>;
85dc37374bSHongtao Jia				#size-cells = <1>;
86dc37374bSHongtao Jia				compatible = "spansion,s25sl12801";
87dc37374bSHongtao Jia				reg = <0>;
88dc37374bSHongtao Jia				spi-max-frequency = <40000000>; /* input clock */
89dc37374bSHongtao Jia				partition@u-boot {
90dc37374bSHongtao Jia					label = "u-boot";
91dc37374bSHongtao Jia					reg = <0x00000000 0x00100000>;
92dc37374bSHongtao Jia					read-only;
93dc37374bSHongtao Jia				};
94dc37374bSHongtao Jia				partition@kernel {
95dc37374bSHongtao Jia					label = "kernel";
96dc37374bSHongtao Jia					reg = <0x00100000 0x00500000>;
97dc37374bSHongtao Jia					read-only;
98dc37374bSHongtao Jia				};
99dc37374bSHongtao Jia				partition@dtb {
100dc37374bSHongtao Jia					label = "dtb";
101dc37374bSHongtao Jia					reg = <0x00600000 0x00100000>;
102dc37374bSHongtao Jia					read-only;
103dc37374bSHongtao Jia				};
104dc37374bSHongtao Jia				partition@fs {
105dc37374bSHongtao Jia					label = "file system";
106dc37374bSHongtao Jia					reg = <0x00700000 0x00900000>;
107dc37374bSHongtao Jia				};
108dc37374bSHongtao Jia			};
109dc37374bSHongtao Jia		};
110dc37374bSHongtao Jia
111dc37374bSHongtao Jia		i2c@118000 {
112dc37374bSHongtao Jia			lm75b@48 {
113dc37374bSHongtao Jia				compatible = "nxp,lm75a";
114dc37374bSHongtao Jia				reg = <0x48>;
115dc37374bSHongtao Jia			};
116dc37374bSHongtao Jia			eeprom@50 {
117dc37374bSHongtao Jia				compatible = "at24,24c256";
118dc37374bSHongtao Jia				reg = <0x50>;
119dc37374bSHongtao Jia			};
120dc37374bSHongtao Jia			rtc@68 {
121dc37374bSHongtao Jia				compatible = "pericom,pt7c4338";
122dc37374bSHongtao Jia				reg = <0x68>;
123dc37374bSHongtao Jia			};
124dc37374bSHongtao Jia			adt7461@4c {
125dc37374bSHongtao Jia				compatible = "adi,adt7461";
126dc37374bSHongtao Jia				reg = <0x4c>;
127dc37374bSHongtao Jia			};
128dc37374bSHongtao Jia		};
129dc37374bSHongtao Jia
130dc37374bSHongtao Jia		i2c@118100 {
131dc37374bSHongtao Jia			eeprom@50 {
132dc37374bSHongtao Jia				compatible = "at24,24c256";
133dc37374bSHongtao Jia				reg = <0x50>;
134dc37374bSHongtao Jia			};
135dc37374bSHongtao Jia		};
136dc37374bSHongtao Jia
137dc37374bSHongtao Jia		usb1: usb@211000 {
138dc37374bSHongtao Jia			dr_mode = "host";
139dc37374bSHongtao Jia		};
140dc37374bSHongtao Jia	};
141dc37374bSHongtao Jia
142dc37374bSHongtao Jia	rio: rapidio@ffe0c0000 {
143dc37374bSHongtao Jia		reg = <0xf 0xfe0c0000 0 0x11000>;
144dc37374bSHongtao Jia
145dc37374bSHongtao Jia		port1 {
146dc37374bSHongtao Jia			ranges = <0 0 0xc 0x20000000 0 0x10000000>;
147dc37374bSHongtao Jia		};
148dc37374bSHongtao Jia		port2 {
149dc37374bSHongtao Jia			ranges = <0 0 0xc 0x30000000 0 0x10000000>;
150dc37374bSHongtao Jia		};
151dc37374bSHongtao Jia	};
152dc37374bSHongtao Jia
153dc37374bSHongtao Jia	lbc: localbus@ffe124000 {
154dc37374bSHongtao Jia		reg = <0xf 0xfe124000 0 0x1000>;
155dc37374bSHongtao Jia		ranges = <0 0 0xf 0xe8000000 0x08000000
156dc37374bSHongtao Jia			  1 0 0xf 0xffa00000 0x00040000>;
157dc37374bSHongtao Jia
158dc37374bSHongtao Jia		flash@0,0 {
159dc37374bSHongtao Jia			compatible = "cfi-flash";
160dc37374bSHongtao Jia			reg = <0 0 0x08000000>;
161dc37374bSHongtao Jia			bank-width = <2>;
162dc37374bSHongtao Jia			device-width = <2>;
163dc37374bSHongtao Jia		};
164dc37374bSHongtao Jia
165dc37374bSHongtao Jia		nand@1,0 {
166dc37374bSHongtao Jia			#address-cells = <1>;
167dc37374bSHongtao Jia			#size-cells = <1>;
168dc37374bSHongtao Jia			compatible = "fsl,elbc-fcm-nand";
169dc37374bSHongtao Jia			reg = <0x1 0x0 0x40000>;
170dc37374bSHongtao Jia
171dc37374bSHongtao Jia			partition@0 {
172dc37374bSHongtao Jia				label = "NAND U-Boot Image";
173dc37374bSHongtao Jia				reg = <0x0 0x02000000>;
174dc37374bSHongtao Jia				read-only;
175dc37374bSHongtao Jia			};
176dc37374bSHongtao Jia
177dc37374bSHongtao Jia			partition@2000000 {
178dc37374bSHongtao Jia				label = "NAND Root File System";
179dc37374bSHongtao Jia				reg = <0x02000000 0x10000000>;
180dc37374bSHongtao Jia			};
181dc37374bSHongtao Jia
182dc37374bSHongtao Jia			partition@12000000 {
183dc37374bSHongtao Jia				label = "NAND Compressed RFS Image";
184dc37374bSHongtao Jia				reg = <0x12000000 0x08000000>;
185dc37374bSHongtao Jia			};
186dc37374bSHongtao Jia
187dc37374bSHongtao Jia			partition@1a000000 {
188dc37374bSHongtao Jia				label = "NAND Linux Kernel Image";
189dc37374bSHongtao Jia				reg = <0x1a000000 0x04000000>;
190dc37374bSHongtao Jia			};
191dc37374bSHongtao Jia
192dc37374bSHongtao Jia			partition@1e000000 {
193dc37374bSHongtao Jia				label = "NAND DTB Image";
194dc37374bSHongtao Jia				reg = <0x1e000000 0x01000000>;
195dc37374bSHongtao Jia			};
196dc37374bSHongtao Jia
197dc37374bSHongtao Jia			partition@1f000000 {
198dc37374bSHongtao Jia				label = "NAND Writable User area";
199dc37374bSHongtao Jia				reg = <0x1f000000 0x01000000>;
200dc37374bSHongtao Jia			};
201dc37374bSHongtao Jia		};
202dc37374bSHongtao Jia	};
203dc37374bSHongtao Jia
204dc37374bSHongtao Jia	pci0: pcie@ffe200000 {
205dc37374bSHongtao Jia		reg = <0xf 0xfe200000 0 0x1000>;
206dc37374bSHongtao Jia		ranges = <0x02000000 0 0xe0000000 0xc 0x00000000 0x0 0x20000000
207dc37374bSHongtao Jia			  0x01000000 0 0x00000000 0xf 0xf8000000 0x0 0x00010000>;
208dc37374bSHongtao Jia		pcie@0 {
209dc37374bSHongtao Jia			ranges = <0x02000000 0 0xe0000000
210dc37374bSHongtao Jia				  0x02000000 0 0xe0000000
211dc37374bSHongtao Jia				  0 0x20000000
212dc37374bSHongtao Jia
213dc37374bSHongtao Jia				  0x01000000 0 0x00000000
214dc37374bSHongtao Jia				  0x01000000 0 0x00000000
215dc37374bSHongtao Jia				  0 0x00010000>;
216dc37374bSHongtao Jia		};
217dc37374bSHongtao Jia	};
218dc37374bSHongtao Jia
219dc37374bSHongtao Jia	pci1: pcie@ffe201000 {
220dc37374bSHongtao Jia		reg = <0xf 0xfe201000 0 0x1000>;
221dc37374bSHongtao Jia		ranges = <0x02000000 0x0 0xe0000000 0xc 0x20000000 0x0 0x20000000
222dc37374bSHongtao Jia			  0x01000000 0x0 0x00000000 0xf 0xf8010000 0x0 0x00010000>;
223dc37374bSHongtao Jia		pcie@0 {
224dc37374bSHongtao Jia			ranges = <0x02000000 0 0xe0000000
225dc37374bSHongtao Jia				  0x02000000 0 0xe0000000
226dc37374bSHongtao Jia				  0 0x20000000
227dc37374bSHongtao Jia
228dc37374bSHongtao Jia				  0x01000000 0 0x00000000
229dc37374bSHongtao Jia				  0x01000000 0 0x00000000
230dc37374bSHongtao Jia				  0 0x00010000>;
231dc37374bSHongtao Jia		};
232dc37374bSHongtao Jia	};
233dc37374bSHongtao Jia
234dc37374bSHongtao Jia	pci2: pcie@ffe202000 {
235dc37374bSHongtao Jia		reg = <0xf 0xfe202000 0 0x1000>;
236dc37374bSHongtao Jia		ranges = <0x02000000 0 0xe0000000 0xc 0x40000000 0 0x20000000
237dc37374bSHongtao Jia			  0x01000000 0 0x00000000 0xf 0xf8020000 0 0x00010000>;
238dc37374bSHongtao Jia		pcie@0 {
239dc37374bSHongtao Jia			ranges = <0x02000000 0 0xe0000000
240dc37374bSHongtao Jia				  0x02000000 0 0xe0000000
241dc37374bSHongtao Jia				  0 0x20000000
242dc37374bSHongtao Jia
243dc37374bSHongtao Jia				  0x01000000 0 0x00000000
244dc37374bSHongtao Jia				  0x01000000 0 0x00000000
245dc37374bSHongtao Jia				  0 0x00010000>;
246dc37374bSHongtao Jia		};
247dc37374bSHongtao Jia	};
248dc37374bSHongtao Jia};
249dc37374bSHongtao Jia
250dc37374bSHongtao Jia/include/ "p2041si-post.dtsi"
251