]>
Commit | Line | Data |
---|---|---|
07658d9a VK |
1 | /* |
2 | * DTS file for SPEAr1340 Evaluation Baord | |
3 | * | |
10d8935f | 4 | * Copyright 2012 Viresh Kumar <viresh.linux@gmail.com> |
07658d9a VK |
5 | * |
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 | }; | |
07658d9a | 41 | uart0 { |
7db083e0 | 42 | st,pins = "uart0_grp"; |
07658d9a VK |
43 | st,function = "uart0"; |
44 | }; | |
7db083e0 | 45 | i2c0 { |
07658d9a VK |
46 | st,pins = "i2c0_grp"; |
47 | st,function = "i2c0"; | |
48 | }; | |
7db083e0 | 49 | i2c1 { |
07658d9a VK |
50 | 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 { | |
7db083e0 | 62 | st,pins = "ssp0_grp", "ssp0_cs1_grp", "ssp0_cs2_grp", "ssp0_cs3_grp"; |
07658d9a VK |
63 | st,function = "ssp0"; |
64 | }; | |
07658d9a VK |
65 | 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 | }; | |
7db083e0 VKS |
77 | 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 | }; | |
07658d9a VK |
89 | 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 | }; | |
7db083e0 VKS |
113 | pcie { |
114 | st,pins = "pcie_grp"; | |
115 | st,function = "pcie"; | |
116 | }; | |
117 | ||
07658d9a VK |
118 | }; |
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"; | |
482a8f3f VK |
131 | |
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 | }; | |
07658d9a VK |
156 | }; |
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"; | |
482a8f3f VK |
182 | reg = <0x10000 0x50000>; |
183 | }; | |
184 | partition@60000 { | |
185 | label = "environment"; | |
186 | reg = <0x60000 0x10000>; | |
187 | }; | |
188 | partition@70000 { | |
189 | label = "dtb"; | |
190 | reg = <0x70000 0x10000>; | |
07658d9a | 191 | }; |
482a8f3f | 192 | partition@80000 { |
07658d9a | 193 | label = "linux"; |
482a8f3f | 194 | reg = <0x80000 0x310000>; |
07658d9a | 195 | }; |
482a8f3f | 196 | partition@390000 { |
07658d9a | 197 | label = "rootfs"; |
482a8f3f | 198 | reg = <0x390000 0x0>; |
07658d9a VK |
199 | }; |
200 | }; | |
201 | }; | |
202 | ||
203 | spi0: spi@e0100000 { | |
204 | status = "okay"; | |
205 | }; | |
206 | ||
207 | ehci@e4800000 { | |
208 | status = "okay"; | |
209 | }; | |
210 | ||
211 | ehci@e5800000 { | |
212 | status = "okay"; | |
213 | }; | |
214 | ||
215 | ohci@e4000000 { | |
216 | status = "okay"; | |
217 | }; | |
218 | ||
219 | ohci@e5000000 { | |
220 | status = "okay"; | |
221 | }; | |
222 | ||
223 | apb { | |
224 | adc@e0080000 { | |
225 | status = "okay"; | |
226 | }; | |
227 | ||
228 | gpio0: gpio@e0600000 { | |
229 | status = "okay"; | |
230 | }; | |
231 | ||
232 | gpio1: gpio@e0680000 { | |
233 | status = "okay"; | |
234 | }; | |
235 | ||
4ddb1c29 VK |
236 | gpio@e2800000 { |
237 | status = "okay"; | |
238 | }; | |
239 | ||
07658d9a VK |
240 | i2c0: i2c@e0280000 { |
241 | status = "okay"; | |
242 | }; | |
243 | ||
244 | i2c1: i2c@b4000000 { | |
245 | status = "okay"; | |
246 | }; | |
247 | ||
248 | kbd@e0300000 { | |
249 | linux,keymap = < 0x00000001 | |
250 | 0x00010002 | |
251 | 0x00020003 | |
252 | 0x00030004 | |
253 | 0x00040005 | |
254 | 0x00050006 | |
255 | 0x00060007 | |
256 | 0x00070008 | |
257 | 0x00080009 | |
258 | 0x0100000a | |
259 | 0x0101000c | |
260 | 0x0102000d | |
261 | 0x0103000e | |
262 | 0x0104000f | |
263 | 0x01050010 | |
264 | 0x01060011 | |
265 | 0x01070012 | |
266 | 0x01080013 | |
267 | 0x02000014 | |
268 | 0x02010015 | |
269 | 0x02020016 | |
270 | 0x02030017 | |
271 | 0x02040018 | |
272 | 0x02050019 | |
273 | 0x0206001a | |
274 | 0x0207001b | |
275 | 0x0208001c | |
276 | 0x0300001d | |
277 | 0x0301001e | |
278 | 0x0302001f | |
279 | 0x03030020 | |
280 | 0x03040021 | |
281 | 0x03050022 | |
282 | 0x03060023 | |
283 | 0x03070024 | |
284 | 0x03080025 | |
285 | 0x04000026 | |
286 | 0x04010027 | |
287 | 0x04020028 | |
288 | 0x04030029 | |
289 | 0x0404002a | |
290 | 0x0405002b | |
291 | 0x0406002c | |
292 | 0x0407002d | |
293 | 0x0408002e | |
294 | 0x0500002f | |
295 | 0x05010030 | |
296 | 0x05020031 | |
297 | 0x05030032 | |
298 | 0x05040033 | |
299 | 0x05050034 | |
300 | 0x05060035 | |
301 | 0x05070036 | |
302 | 0x05080037 | |
303 | 0x06000038 | |
304 | 0x06010039 | |
305 | 0x0602003a | |
306 | 0x0603003b | |
307 | 0x0604003c | |
308 | 0x0605003d | |
309 | 0x0606003e | |
310 | 0x0607003f | |
311 | 0x06080040 | |
312 | 0x07000041 | |
313 | 0x07010042 | |
314 | 0x07020043 | |
315 | 0x07030044 | |
316 | 0x07040045 | |
317 | 0x07050046 | |
318 | 0x07060047 | |
319 | 0x07070048 | |
320 | 0x07080049 | |
321 | 0x0800004a | |
322 | 0x0801004b | |
323 | 0x0802004c | |
324 | 0x0803004d | |
325 | 0x0804004e | |
326 | 0x0805004f | |
327 | 0x08060050 | |
328 | 0x08070051 | |
329 | 0x08080052 >; | |
330 | autorepeat; | |
331 | st,mode = <0>; | |
332 | status = "okay"; | |
333 | }; | |
334 | ||
335 | rtc@e0580000 { | |
336 | status = "okay"; | |
337 | }; | |
338 | ||
339 | serial@e0000000 { | |
340 | status = "okay"; | |
341 | }; | |
342 | ||
343 | serial@b4100000 { | |
344 | status = "okay"; | |
345 | }; | |
346 | ||
347 | wdt@ec800620 { | |
348 | status = "okay"; | |
349 | }; | |
350 | }; | |
351 | }; | |
352 | }; |