blob: 015601360f733f3d39edf8efe7a4302381c33630 [file] [log] [blame]
Viresh Kumar07658d92012-04-16 23:57:51 +05301/*
2 * DTS file for SPEAr1340 Evaluation Baord
3 *
Viresh Kumar10d89352012-06-20 12:53:02 -07004 * Copyright 2012 Viresh Kumar <viresh.linux@gmail.com>
Viresh Kumar07658d92012-04-16 23:57:51 +05305 *
6 * The code contained herein is licensed under the GNU General Public
7 * License. You may obtain a copy of the GNU General Public License
8 * Version 2 or later at the following locations:
9 *
10 * http://www.opensource.org/licenses/gpl-license.html
11 * http://www.gnu.org/copyleft/gpl.html
12 */
13
14/dts-v1/;
15/include/ "spear1340.dtsi"
16
17/ {
18 model = "ST SPEAr1340 Evaluation Board";
19 compatible = "st,spear1340-evb", "st,spear1340";
20 #address-cells = <1>;
21 #size-cells = <1>;
22
23 memory {
24 reg = <0 0x40000000>;
25 };
26
27 ahb {
28 pinmux@e0700000 {
29 pinctrl-names = "default";
30 pinctrl-0 = <&state_default>;
31
32 state_default: pinmux {
33 pads_as_gpio {
34 st,pins = "pads_as_gpio_grp";
35 st,function = "pads_as_gpio";
36 };
37 fsmc {
38 st,pins = "fsmc_8bit_grp";
39 st,function = "fsmc";
40 };
Viresh Kumar07658d92012-04-16 23:57:51 +053041 uart0 {
Vipul Kumar Samar7db083e2012-07-05 11:51:47 +080042 st,pins = "uart0_grp";
Viresh Kumar07658d92012-04-16 23:57:51 +053043 st,function = "uart0";
44 };
Vipul Kumar Samar7db083e2012-07-05 11:51:47 +080045 i2c0 {
Viresh Kumar07658d92012-04-16 23:57:51 +053046 st,pins = "i2c0_grp";
47 st,function = "i2c0";
48 };
Vipul Kumar Samar7db083e2012-07-05 11:51:47 +080049 i2c1 {
Viresh Kumar07658d92012-04-16 23:57:51 +053050 st,pins = "i2c1_grp";
51 st,function = "i2c1";
52 };
53 spdif-in {
54 st,pins = "spdif_in_grp";
55 st,function = "spdif_in";
56 };
57 spdif-out {
58 st,pins = "spdif_out_grp";
59 st,function = "spdif_out";
60 };
61 ssp0 {
Vipul Kumar Samar7db083e2012-07-05 11:51:47 +080062 st,pins = "ssp0_grp", "ssp0_cs1_grp", "ssp0_cs2_grp", "ssp0_cs3_grp";
Viresh Kumar07658d92012-04-16 23:57:51 +053063 st,function = "ssp0";
64 };
Viresh Kumar07658d92012-04-16 23:57:51 +053065 smi-pmx {
66 st,pins = "smi_grp";
67 st,function = "smi";
68 };
69 i2s {
70 st,pins = "i2s_in_grp", "i2s_out_grp";
71 st,function = "i2s";
72 };
73 gmac {
74 st,pins = "gmii_grp", "rgmii_grp";
75 st,function = "gmac";
76 };
Vipul Kumar Samar7db083e2012-07-05 11:51:47 +080077 cam0 {
78 st,pins = "cam0_grp";
79 st,function = "cam0";
80 };
81 cam1 {
82 st,pins = "cam1_grp";
83 st,function = "cam1";
84 };
85 cam2 {
86 st,pins = "cam2_grp";
87 st,function = "cam2";
88 };
Viresh Kumar07658d92012-04-16 23:57:51 +053089 cam3 {
90 st,pins = "cam3_grp";
91 st,function = "cam3";
92 };
93 cec0 {
94 st,pins = "cec0_grp";
95 st,function = "cec0";
96 };
97 cec1 {
98 st,pins = "cec1_grp";
99 st,function = "cec1";
100 };
101 sdhci {
102 st,pins = "sdhci_grp";
103 st,function = "sdhci";
104 };
105 clcd {
106 st,pins = "clcd_grp";
107 st,function = "clcd";
108 };
109 sata {
110 st,pins = "sata_grp";
111 st,function = "sata";
112 };
Vipul Kumar Samar7db083e2012-07-05 11:51:47 +0800113 pcie {
114 st,pins = "pcie_grp";
115 st,function = "pcie";
116 };
117
Viresh Kumar07658d92012-04-16 23:57:51 +0530118 };
119 };
120
121 dma@ea800000 {
122 status = "okay";
123 };
124
125 dma@eb000000 {
126 status = "okay";
127 };
128
129 fsmc: flash@b0000000 {
130 status = "okay";
Vipin Kumar482a8f32012-07-05 11:51:47 +0800131
132 partition@0 {
133 label = "xloader";
134 reg = <0x0 0x200000>;
135 };
136 partition@200000 {
137 label = "u-boot";
138 reg = <0x200000 0x200000>;
139 };
140 partition@400000 {
141 label = "environment";
142 reg = <0x400000 0x100000>;
143 };
144 partition@500000 {
145 label = "dtb";
146 reg = <0x500000 0x100000>;
147 };
148 partition@600000 {
149 label = "linux";
150 reg = <0x600000 0xC00000>;
151 };
152 partition@1200000 {
153 label = "rootfs";
154 reg = <0x1200000 0x0>;
155 };
Viresh Kumar07658d92012-04-16 23:57:51 +0530156 };
157
158 gmac0: eth@e2000000 {
159 status = "okay";
160 };
161
162 sdhci@b3000000 {
163 status = "okay";
164 };
165
166 smi: flash@ea000000 {
167 status = "okay";
168 clock-rate=<50000000>;
169
170 flash@e6000000 {
171 #address-cells = <1>;
172 #size-cells = <1>;
173 reg = <0xe6000000 0x800000>;
174 st,smi-fast-mode;
175
176 partition@0 {
177 label = "xloader";
178 reg = <0x0 0x10000>;
179 };
180 partition@10000 {
181 label = "u-boot";
Vipin Kumar482a8f32012-07-05 11:51:47 +0800182 reg = <0x10000 0x50000>;
Viresh Kumar07658d92012-04-16 23:57:51 +0530183 };
Vipin Kumar482a8f32012-07-05 11:51:47 +0800184 partition@60000 {
185 label = "environment";
186 reg = <0x60000 0x10000>;
187 };
188 partition@70000 {
189 label = "dtb";
190 reg = <0x70000 0x10000>;
191 };
192 partition@80000 {
Viresh Kumar07658d92012-04-16 23:57:51 +0530193 label = "linux";
Vipin Kumar482a8f32012-07-05 11:51:47 +0800194 reg = <0x80000 0x310000>;
Viresh Kumar07658d92012-04-16 23:57:51 +0530195 };
Vipin Kumar482a8f32012-07-05 11:51:47 +0800196 partition@390000 {
Viresh Kumar07658d92012-04-16 23:57:51 +0530197 label = "rootfs";
Vipin Kumar482a8f32012-07-05 11:51:47 +0800198 reg = <0x390000 0x0>;
Viresh Kumar07658d92012-04-16 23:57:51 +0530199 };
200 };
201 };
202
Viresh Kumar07658d92012-04-16 23:57:51 +0530203 ehci@e4800000 {
204 status = "okay";
205 };
206
207 ehci@e5800000 {
208 status = "okay";
209 };
210
211 ohci@e4000000 {
212 status = "okay";
213 };
214
215 ohci@e5000000 {
216 status = "okay";
217 };
218
219 apb {
220 adc@e0080000 {
221 status = "okay";
222 };
223
224 gpio0: gpio@e0600000 {
225 status = "okay";
226 };
227
228 gpio1: gpio@e0680000 {
229 status = "okay";
230 };
231
Viresh Kumar4ddb1c22012-10-27 15:21:39 +0530232 gpio@e2800000 {
233 status = "okay";
234 };
235
Viresh Kumar07658d92012-04-16 23:57:51 +0530236 i2c0: i2c@e0280000 {
237 status = "okay";
238 };
239
240 i2c1: i2c@b4000000 {
241 status = "okay";
242 };
243
244 kbd@e0300000 {
245 linux,keymap = < 0x00000001
246 0x00010002
247 0x00020003
248 0x00030004
249 0x00040005
250 0x00050006
251 0x00060007
252 0x00070008
253 0x00080009
254 0x0100000a
255 0x0101000c
256 0x0102000d
257 0x0103000e
258 0x0104000f
259 0x01050010
260 0x01060011
261 0x01070012
262 0x01080013
263 0x02000014
264 0x02010015
265 0x02020016
266 0x02030017
267 0x02040018
268 0x02050019
269 0x0206001a
270 0x0207001b
271 0x0208001c
272 0x0300001d
273 0x0301001e
274 0x0302001f
275 0x03030020
276 0x03040021
277 0x03050022
278 0x03060023
279 0x03070024
280 0x03080025
281 0x04000026
282 0x04010027
283 0x04020028
284 0x04030029
285 0x0404002a
286 0x0405002b
287 0x0406002c
288 0x0407002d
289 0x0408002e
290 0x0500002f
291 0x05010030
292 0x05020031
293 0x05030032
294 0x05040033
295 0x05050034
296 0x05060035
297 0x05070036
298 0x05080037
299 0x06000038
300 0x06010039
301 0x0602003a
302 0x0603003b
303 0x0604003c
304 0x0605003d
305 0x0606003e
306 0x0607003f
307 0x06080040
308 0x07000041
309 0x07010042
310 0x07020043
311 0x07030044
312 0x07040045
313 0x07050046
314 0x07060047
315 0x07070048
316 0x07080049
317 0x0800004a
318 0x0801004b
319 0x0802004c
320 0x0803004d
321 0x0804004e
322 0x0805004f
323 0x08060050
324 0x08070051
325 0x08080052 >;
326 autorepeat;
327 st,mode = <0>;
Vipul Kumar Samarf631b9842012-07-05 11:51:47 +0800328 suspended_rate = <2000000>;
Viresh Kumar07658d92012-04-16 23:57:51 +0530329 status = "okay";
330 };
331
332 rtc@e0580000 {
333 status = "okay";
334 };
335
336 serial@e0000000 {
337 status = "okay";
338 };
339
340 serial@b4100000 {
341 status = "okay";
342 };
343
Vipul Kumar Samarf631b9842012-07-05 11:51:47 +0800344 spi0: spi@e0100000 {
345 status = "okay";
346 };
347
Viresh Kumar07658d92012-04-16 23:57:51 +0530348 wdt@ec800620 {
349 status = "okay";
350 };
351 };
352 };
353};