blob: 1fc558424d96e78a86fdfa71fd4d1a9cf049c2dc [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";
131 };
132
133 gmac0: eth@e2000000 {
134 status = "okay";
135 };
136
137 sdhci@b3000000 {
138 status = "okay";
139 };
140
141 smi: flash@ea000000 {
142 status = "okay";
143 clock-rate=<50000000>;
144
145 flash@e6000000 {
146 #address-cells = <1>;
147 #size-cells = <1>;
148 reg = <0xe6000000 0x800000>;
149 st,smi-fast-mode;
150
151 partition@0 {
152 label = "xloader";
153 reg = <0x0 0x10000>;
154 };
155 partition@10000 {
156 label = "u-boot";
157 reg = <0x10000 0x40000>;
158 };
159 partition@50000 {
160 label = "linux";
161 reg = <0x50000 0x2c0000>;
162 };
163 partition@310000 {
164 label = "rootfs";
165 reg = <0x310000 0x4f0000>;
166 };
167 };
168 };
169
170 spi0: spi@e0100000 {
171 status = "okay";
172 };
173
174 ehci@e4800000 {
175 status = "okay";
176 };
177
178 ehci@e5800000 {
179 status = "okay";
180 };
181
182 ohci@e4000000 {
183 status = "okay";
184 };
185
186 ohci@e5000000 {
187 status = "okay";
188 };
189
190 apb {
191 adc@e0080000 {
192 status = "okay";
193 };
194
195 gpio0: gpio@e0600000 {
196 status = "okay";
197 };
198
199 gpio1: gpio@e0680000 {
200 status = "okay";
201 };
202
Viresh Kumar4ddb1c22012-10-27 15:21:39 +0530203 gpio@e2800000 {
204 status = "okay";
205 };
206
Viresh Kumar07658d92012-04-16 23:57:51 +0530207 i2c0: i2c@e0280000 {
208 status = "okay";
209 };
210
211 i2c1: i2c@b4000000 {
212 status = "okay";
213 };
214
215 kbd@e0300000 {
216 linux,keymap = < 0x00000001
217 0x00010002
218 0x00020003
219 0x00030004
220 0x00040005
221 0x00050006
222 0x00060007
223 0x00070008
224 0x00080009
225 0x0100000a
226 0x0101000c
227 0x0102000d
228 0x0103000e
229 0x0104000f
230 0x01050010
231 0x01060011
232 0x01070012
233 0x01080013
234 0x02000014
235 0x02010015
236 0x02020016
237 0x02030017
238 0x02040018
239 0x02050019
240 0x0206001a
241 0x0207001b
242 0x0208001c
243 0x0300001d
244 0x0301001e
245 0x0302001f
246 0x03030020
247 0x03040021
248 0x03050022
249 0x03060023
250 0x03070024
251 0x03080025
252 0x04000026
253 0x04010027
254 0x04020028
255 0x04030029
256 0x0404002a
257 0x0405002b
258 0x0406002c
259 0x0407002d
260 0x0408002e
261 0x0500002f
262 0x05010030
263 0x05020031
264 0x05030032
265 0x05040033
266 0x05050034
267 0x05060035
268 0x05070036
269 0x05080037
270 0x06000038
271 0x06010039
272 0x0602003a
273 0x0603003b
274 0x0604003c
275 0x0605003d
276 0x0606003e
277 0x0607003f
278 0x06080040
279 0x07000041
280 0x07010042
281 0x07020043
282 0x07030044
283 0x07040045
284 0x07050046
285 0x07060047
286 0x07070048
287 0x07080049
288 0x0800004a
289 0x0801004b
290 0x0802004c
291 0x0803004d
292 0x0804004e
293 0x0805004f
294 0x08060050
295 0x08070051
296 0x08080052 >;
297 autorepeat;
298 st,mode = <0>;
299 status = "okay";
300 };
301
302 rtc@e0580000 {
303 status = "okay";
304 };
305
306 serial@e0000000 {
307 status = "okay";
308 };
309
310 serial@b4100000 {
311 status = "okay";
312 };
313
314 wdt@ec800620 {
315 status = "okay";
316 };
317 };
318 };
319};