xref: /linux/arch/powerpc/boot/dts/fsl/p5040ds.dts (revision dc37374b9c83382b91f3804845ae593bedc2d13a)
1*dc37374bSHongtao Jia/*
2*dc37374bSHongtao Jia * P5040DS Device Tree Source
3*dc37374bSHongtao Jia *
4*dc37374bSHongtao Jia * Copyright 2012 - 2014 Freescale Semiconductor Inc.
5*dc37374bSHongtao Jia *
6*dc37374bSHongtao Jia * Redistribution and use in source and binary forms, with or without
7*dc37374bSHongtao Jia * modification, are permitted provided that the following conditions are met:
8*dc37374bSHongtao Jia *     * Redistributions of source code must retain the above copyright
9*dc37374bSHongtao Jia *       notice, this list of conditions and the following disclaimer.
10*dc37374bSHongtao Jia *     * Redistributions in binary form must reproduce the above copyright
11*dc37374bSHongtao Jia *       notice, this list of conditions and the following disclaimer in the
12*dc37374bSHongtao Jia *       documentation and/or other materials provided with the distribution.
13*dc37374bSHongtao Jia *     * Neither the name of Freescale Semiconductor nor the
14*dc37374bSHongtao Jia *       names of its contributors may be used to endorse or promote products
15*dc37374bSHongtao Jia *       derived from this software without specific prior written permission.
16*dc37374bSHongtao Jia *
17*dc37374bSHongtao Jia *
18*dc37374bSHongtao Jia * ALTERNATIVELY, this software may be distributed under the terms of the
19*dc37374bSHongtao Jia * GNU General Public License ("GPL") as published by the Free Software
20*dc37374bSHongtao Jia * Foundation, either version 2 of that License or (at your option) any
21*dc37374bSHongtao Jia * later version.
22*dc37374bSHongtao Jia *
23*dc37374bSHongtao Jia * This software is provided by Freescale Semiconductor "as is" and any
24*dc37374bSHongtao Jia * express or implied warranties, including, but not limited to, the implied
25*dc37374bSHongtao Jia * warranties of merchantability and fitness for a particular purpose are
26*dc37374bSHongtao Jia * disclaimed. In no event shall Freescale Semiconductor be liable for any
27*dc37374bSHongtao Jia * direct, indirect, incidental, special, exemplary, or consequential damages
28*dc37374bSHongtao Jia * (including, but not limited to, procurement of substitute goods or services;
29*dc37374bSHongtao Jia * loss of use, data, or profits; or business interruption) however caused and
30*dc37374bSHongtao Jia * on any theory of liability, whether in contract, strict liability, or tort
31*dc37374bSHongtao Jia * (including negligence or otherwise) arising in any way out of the use of this
32*dc37374bSHongtao Jia * software, even if advised of the possibility of such damage.
33*dc37374bSHongtao Jia */
34*dc37374bSHongtao Jia
35*dc37374bSHongtao Jia/include/ "p5040si-pre.dtsi"
36*dc37374bSHongtao Jia
37*dc37374bSHongtao Jia/ {
38*dc37374bSHongtao Jia	model = "fsl,P5040DS";
39*dc37374bSHongtao Jia	compatible = "fsl,P5040DS";
40*dc37374bSHongtao Jia	#address-cells = <2>;
41*dc37374bSHongtao Jia	#size-cells = <2>;
42*dc37374bSHongtao Jia	interrupt-parent = <&mpic>;
43*dc37374bSHongtao Jia
44*dc37374bSHongtao Jia	memory {
45*dc37374bSHongtao Jia		device_type = "memory";
46*dc37374bSHongtao Jia	};
47*dc37374bSHongtao Jia
48*dc37374bSHongtao Jia	reserved-memory {
49*dc37374bSHongtao Jia		#address-cells = <2>;
50*dc37374bSHongtao Jia		#size-cells = <2>;
51*dc37374bSHongtao Jia		ranges;
52*dc37374bSHongtao Jia
53*dc37374bSHongtao Jia		bman_fbpr: bman-fbpr {
54*dc37374bSHongtao Jia			size = <0 0x1000000>;
55*dc37374bSHongtao Jia			alignment = <0 0x1000000>;
56*dc37374bSHongtao Jia		};
57*dc37374bSHongtao Jia		qman_fqd: qman-fqd {
58*dc37374bSHongtao Jia			size = <0 0x400000>;
59*dc37374bSHongtao Jia			alignment = <0 0x400000>;
60*dc37374bSHongtao Jia		};
61*dc37374bSHongtao Jia		qman_pfdr: qman-pfdr {
62*dc37374bSHongtao Jia			size = <0 0x2000000>;
63*dc37374bSHongtao Jia			alignment = <0 0x2000000>;
64*dc37374bSHongtao Jia		};
65*dc37374bSHongtao Jia	};
66*dc37374bSHongtao Jia
67*dc37374bSHongtao Jia	dcsr: dcsr@f00000000 {
68*dc37374bSHongtao Jia		ranges = <0x00000000 0xf 0x00000000 0x01008000>;
69*dc37374bSHongtao Jia	};
70*dc37374bSHongtao Jia
71*dc37374bSHongtao Jia	bportals: bman-portals@ff4000000 {
72*dc37374bSHongtao Jia		ranges = <0x0 0xf 0xf4000000 0x200000>;
73*dc37374bSHongtao Jia	};
74*dc37374bSHongtao Jia
75*dc37374bSHongtao Jia	qportals: qman-portals@ff4200000 {
76*dc37374bSHongtao Jia		ranges = <0x0 0xf 0xf4200000 0x200000>;
77*dc37374bSHongtao Jia	};
78*dc37374bSHongtao Jia
79*dc37374bSHongtao Jia	soc: soc@ffe000000 {
80*dc37374bSHongtao Jia		ranges = <0x00000000 0xf 0xfe000000 0x1000000>;
81*dc37374bSHongtao Jia		reg = <0xf 0xfe000000 0 0x00001000>;
82*dc37374bSHongtao Jia		spi@110000 {
83*dc37374bSHongtao Jia			flash@0 {
84*dc37374bSHongtao Jia				#address-cells = <1>;
85*dc37374bSHongtao Jia				#size-cells = <1>;
86*dc37374bSHongtao Jia				compatible = "spansion,s25sl12801";
87*dc37374bSHongtao Jia				reg = <0>;
88*dc37374bSHongtao Jia				spi-max-frequency = <40000000>; /* input clock */
89*dc37374bSHongtao Jia				partition@u-boot {
90*dc37374bSHongtao Jia					label = "u-boot";
91*dc37374bSHongtao Jia					reg = <0x00000000 0x00100000>;
92*dc37374bSHongtao Jia				};
93*dc37374bSHongtao Jia				partition@kernel {
94*dc37374bSHongtao Jia					label = "kernel";
95*dc37374bSHongtao Jia					reg = <0x00100000 0x00500000>;
96*dc37374bSHongtao Jia				};
97*dc37374bSHongtao Jia				partition@dtb {
98*dc37374bSHongtao Jia					label = "dtb";
99*dc37374bSHongtao Jia					reg = <0x00600000 0x00100000>;
100*dc37374bSHongtao Jia				};
101*dc37374bSHongtao Jia				partition@fs {
102*dc37374bSHongtao Jia					label = "file system";
103*dc37374bSHongtao Jia					reg = <0x00700000 0x00900000>;
104*dc37374bSHongtao Jia				};
105*dc37374bSHongtao Jia			};
106*dc37374bSHongtao Jia		};
107*dc37374bSHongtao Jia
108*dc37374bSHongtao Jia		i2c@118100 {
109*dc37374bSHongtao Jia			eeprom@51 {
110*dc37374bSHongtao Jia				compatible = "at24,24c256";
111*dc37374bSHongtao Jia				reg = <0x51>;
112*dc37374bSHongtao Jia			};
113*dc37374bSHongtao Jia			eeprom@52 {
114*dc37374bSHongtao Jia				compatible = "at24,24c256";
115*dc37374bSHongtao Jia				reg = <0x52>;
116*dc37374bSHongtao Jia			};
117*dc37374bSHongtao Jia		};
118*dc37374bSHongtao Jia
119*dc37374bSHongtao Jia		i2c@119100 {
120*dc37374bSHongtao Jia			rtc@68 {
121*dc37374bSHongtao Jia				compatible = "dallas,ds3232";
122*dc37374bSHongtao Jia				reg = <0x68>;
123*dc37374bSHongtao Jia				interrupts = <0x1 0x1 0 0>;
124*dc37374bSHongtao Jia			};
125*dc37374bSHongtao Jia			ina220@40 {
126*dc37374bSHongtao Jia				compatible = "ti,ina220";
127*dc37374bSHongtao Jia				reg = <0x40>;
128*dc37374bSHongtao Jia				shunt-resistor = <1000>;
129*dc37374bSHongtao Jia			};
130*dc37374bSHongtao Jia			ina220@41 {
131*dc37374bSHongtao Jia				compatible = "ti,ina220";
132*dc37374bSHongtao Jia				reg = <0x41>;
133*dc37374bSHongtao Jia				shunt-resistor = <1000>;
134*dc37374bSHongtao Jia			};
135*dc37374bSHongtao Jia			ina220@44 {
136*dc37374bSHongtao Jia				compatible = "ti,ina220";
137*dc37374bSHongtao Jia				reg = <0x44>;
138*dc37374bSHongtao Jia				shunt-resistor = <1000>;
139*dc37374bSHongtao Jia			};
140*dc37374bSHongtao Jia			ina220@45 {
141*dc37374bSHongtao Jia				compatible = "ti,ina220";
142*dc37374bSHongtao Jia				reg = <0x45>;
143*dc37374bSHongtao Jia				shunt-resistor = <1000>;
144*dc37374bSHongtao Jia			};
145*dc37374bSHongtao Jia			adt7461@4c {
146*dc37374bSHongtao Jia				compatible = "adi,adt7461";
147*dc37374bSHongtao Jia				reg = <0x4c>;
148*dc37374bSHongtao Jia			};
149*dc37374bSHongtao Jia		};
150*dc37374bSHongtao Jia	};
151*dc37374bSHongtao Jia
152*dc37374bSHongtao Jia	lbc: localbus@ffe124000 {
153*dc37374bSHongtao Jia		reg = <0xf 0xfe124000 0 0x1000>;
154*dc37374bSHongtao Jia		ranges = <0 0 0xf 0xe8000000 0x08000000
155*dc37374bSHongtao Jia			  2 0 0xf 0xffa00000 0x00040000
156*dc37374bSHongtao Jia			  3 0 0xf 0xffdf0000 0x00008000>;
157*dc37374bSHongtao Jia
158*dc37374bSHongtao Jia		flash@0,0 {
159*dc37374bSHongtao Jia			compatible = "cfi-flash";
160*dc37374bSHongtao Jia			reg = <0 0 0x08000000>;
161*dc37374bSHongtao Jia			bank-width = <2>;
162*dc37374bSHongtao Jia			device-width = <2>;
163*dc37374bSHongtao Jia		};
164*dc37374bSHongtao Jia
165*dc37374bSHongtao Jia		nand@2,0 {
166*dc37374bSHongtao Jia			#address-cells = <1>;
167*dc37374bSHongtao Jia			#size-cells = <1>;
168*dc37374bSHongtao Jia			compatible = "fsl,elbc-fcm-nand";
169*dc37374bSHongtao Jia			reg = <0x2 0x0 0x40000>;
170*dc37374bSHongtao Jia
171*dc37374bSHongtao Jia			partition@0 {
172*dc37374bSHongtao Jia				label = "NAND U-Boot Image";
173*dc37374bSHongtao Jia				reg = <0x0 0x02000000>;
174*dc37374bSHongtao Jia			};
175*dc37374bSHongtao Jia
176*dc37374bSHongtao Jia			partition@2000000 {
177*dc37374bSHongtao Jia				label = "NAND Root File System";
178*dc37374bSHongtao Jia				reg = <0x02000000 0x10000000>;
179*dc37374bSHongtao Jia			};
180*dc37374bSHongtao Jia
181*dc37374bSHongtao Jia			partition@12000000 {
182*dc37374bSHongtao Jia				label = "NAND Compressed RFS Image";
183*dc37374bSHongtao Jia				reg = <0x12000000 0x08000000>;
184*dc37374bSHongtao Jia			};
185*dc37374bSHongtao Jia
186*dc37374bSHongtao Jia			partition@1a000000 {
187*dc37374bSHongtao Jia				label = "NAND Linux Kernel Image";
188*dc37374bSHongtao Jia				reg = <0x1a000000 0x04000000>;
189*dc37374bSHongtao Jia			};
190*dc37374bSHongtao Jia
191*dc37374bSHongtao Jia			partition@1e000000 {
192*dc37374bSHongtao Jia				label = "NAND DTB Image";
193*dc37374bSHongtao Jia				reg = <0x1e000000 0x01000000>;
194*dc37374bSHongtao Jia			};
195*dc37374bSHongtao Jia
196*dc37374bSHongtao Jia			partition@1f000000 {
197*dc37374bSHongtao Jia				label = "NAND Writable User area";
198*dc37374bSHongtao Jia				reg = <0x1f000000 0x01000000>;
199*dc37374bSHongtao Jia			};
200*dc37374bSHongtao Jia		};
201*dc37374bSHongtao Jia
202*dc37374bSHongtao Jia		board-control@3,0 {
203*dc37374bSHongtao Jia			compatible = "fsl,p5040ds-fpga", "fsl,fpga-ngpixis";
204*dc37374bSHongtao Jia			reg = <3 0 0x40>;
205*dc37374bSHongtao Jia		};
206*dc37374bSHongtao Jia	};
207*dc37374bSHongtao Jia
208*dc37374bSHongtao Jia	pci0: pcie@ffe200000 {
209*dc37374bSHongtao Jia		reg = <0xf 0xfe200000 0 0x1000>;
210*dc37374bSHongtao Jia		ranges = <0x02000000 0 0xe0000000 0xc 0x00000000 0x0 0x20000000
211*dc37374bSHongtao Jia			  0x01000000 0 0x00000000 0xf 0xf8000000 0x0 0x00010000>;
212*dc37374bSHongtao Jia		pcie@0 {
213*dc37374bSHongtao Jia			ranges = <0x02000000 0 0xe0000000
214*dc37374bSHongtao Jia				  0x02000000 0 0xe0000000
215*dc37374bSHongtao Jia				  0 0x20000000
216*dc37374bSHongtao Jia
217*dc37374bSHongtao Jia				  0x01000000 0 0x00000000
218*dc37374bSHongtao Jia				  0x01000000 0 0x00000000
219*dc37374bSHongtao Jia				  0 0x00010000>;
220*dc37374bSHongtao Jia		};
221*dc37374bSHongtao Jia	};
222*dc37374bSHongtao Jia
223*dc37374bSHongtao Jia	pci1: pcie@ffe201000 {
224*dc37374bSHongtao Jia		reg = <0xf 0xfe201000 0 0x1000>;
225*dc37374bSHongtao Jia		ranges = <0x02000000 0x0 0xe0000000 0xc 0x20000000 0x0 0x20000000
226*dc37374bSHongtao Jia			  0x01000000 0x0 0x00000000 0xf 0xf8010000 0x0 0x00010000>;
227*dc37374bSHongtao Jia		pcie@0 {
228*dc37374bSHongtao Jia			ranges = <0x02000000 0 0xe0000000
229*dc37374bSHongtao Jia				  0x02000000 0 0xe0000000
230*dc37374bSHongtao Jia				  0 0x20000000
231*dc37374bSHongtao Jia
232*dc37374bSHongtao Jia				  0x01000000 0 0x00000000
233*dc37374bSHongtao Jia				  0x01000000 0 0x00000000
234*dc37374bSHongtao Jia				  0 0x00010000>;
235*dc37374bSHongtao Jia		};
236*dc37374bSHongtao Jia	};
237*dc37374bSHongtao Jia
238*dc37374bSHongtao Jia	pci2: pcie@ffe202000 {
239*dc37374bSHongtao Jia		reg = <0xf 0xfe202000 0 0x1000>;
240*dc37374bSHongtao Jia		ranges = <0x02000000 0 0xe0000000 0xc 0x40000000 0 0x20000000
241*dc37374bSHongtao Jia			  0x01000000 0 0x00000000 0xf 0xf8020000 0 0x00010000>;
242*dc37374bSHongtao Jia		pcie@0 {
243*dc37374bSHongtao Jia			ranges = <0x02000000 0 0xe0000000
244*dc37374bSHongtao Jia				  0x02000000 0 0xe0000000
245*dc37374bSHongtao Jia				  0 0x20000000
246*dc37374bSHongtao Jia
247*dc37374bSHongtao Jia				  0x01000000 0 0x00000000
248*dc37374bSHongtao Jia				  0x01000000 0 0x00000000
249*dc37374bSHongtao Jia				  0 0x00010000>;
250*dc37374bSHongtao Jia		};
251*dc37374bSHongtao Jia	};
252*dc37374bSHongtao Jia};
253*dc37374bSHongtao Jia
254*dc37374bSHongtao Jia/include/ "p5040si-post.dtsi"
255