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 { | |
4c7a078f | 159 | phy-mode = "rgmii"; |
07658d9a VK |
160 | status = "okay"; |
161 | }; | |
162 | ||
163 | sdhci@b3000000 { | |
164 | status = "okay"; | |
165 | }; | |
166 | ||
167 | smi: flash@ea000000 { | |
168 | status = "okay"; | |
169 | clock-rate=<50000000>; | |
170 | ||
171 | flash@e6000000 { | |
172 | #address-cells = <1>; | |
173 | #size-cells = <1>; | |
174 | reg = <0xe6000000 0x800000>; | |
175 | st,smi-fast-mode; | |
176 | ||
177 | partition@0 { | |
178 | label = "xloader"; | |
179 | reg = <0x0 0x10000>; | |
180 | }; | |
181 | partition@10000 { | |
182 | label = "u-boot"; | |
482a8f3f VK |
183 | reg = <0x10000 0x50000>; |
184 | }; | |
185 | partition@60000 { | |
186 | label = "environment"; | |
187 | reg = <0x60000 0x10000>; | |
188 | }; | |
189 | partition@70000 { | |
190 | label = "dtb"; | |
191 | reg = <0x70000 0x10000>; | |
07658d9a | 192 | }; |
482a8f3f | 193 | partition@80000 { |
07658d9a | 194 | label = "linux"; |
482a8f3f | 195 | reg = <0x80000 0x310000>; |
07658d9a | 196 | }; |
482a8f3f | 197 | partition@390000 { |
07658d9a | 198 | label = "rootfs"; |
482a8f3f | 199 | reg = <0x390000 0x0>; |
07658d9a VK |
200 | }; |
201 | }; | |
202 | }; | |
203 | ||
07658d9a VK |
204 | ehci@e4800000 { |
205 | status = "okay"; | |
206 | }; | |
207 | ||
208 | ehci@e5800000 { | |
209 | status = "okay"; | |
210 | }; | |
211 | ||
212 | ohci@e4000000 { | |
213 | status = "okay"; | |
214 | }; | |
215 | ||
216 | ohci@e5000000 { | |
217 | status = "okay"; | |
218 | }; | |
219 | ||
220 | apb { | |
221 | adc@e0080000 { | |
222 | status = "okay"; | |
223 | }; | |
224 | ||
225 | gpio0: gpio@e0600000 { | |
226 | status = "okay"; | |
227 | }; | |
228 | ||
229 | gpio1: gpio@e0680000 { | |
230 | status = "okay"; | |
231 | }; | |
232 | ||
4ddb1c29 VK |
233 | gpio@e2800000 { |
234 | status = "okay"; | |
235 | }; | |
236 | ||
07658d9a VK |
237 | i2c0: i2c@e0280000 { |
238 | status = "okay"; | |
239 | }; | |
240 | ||
241 | i2c1: i2c@b4000000 { | |
242 | status = "okay"; | |
243 | }; | |
244 | ||
245 | kbd@e0300000 { | |
246 | linux,keymap = < 0x00000001 | |
247 | 0x00010002 | |
248 | 0x00020003 | |
249 | 0x00030004 | |
250 | 0x00040005 | |
251 | 0x00050006 | |
252 | 0x00060007 | |
253 | 0x00070008 | |
254 | 0x00080009 | |
255 | 0x0100000a | |
256 | 0x0101000c | |
257 | 0x0102000d | |
258 | 0x0103000e | |
259 | 0x0104000f | |
260 | 0x01050010 | |
261 | 0x01060011 | |
262 | 0x01070012 | |
263 | 0x01080013 | |
264 | 0x02000014 | |
265 | 0x02010015 | |
266 | 0x02020016 | |
267 | 0x02030017 | |
268 | 0x02040018 | |
269 | 0x02050019 | |
270 | 0x0206001a | |
271 | 0x0207001b | |
272 | 0x0208001c | |
273 | 0x0300001d | |
274 | 0x0301001e | |
275 | 0x0302001f | |
276 | 0x03030020 | |
277 | 0x03040021 | |
278 | 0x03050022 | |
279 | 0x03060023 | |
280 | 0x03070024 | |
281 | 0x03080025 | |
282 | 0x04000026 | |
283 | 0x04010027 | |
284 | 0x04020028 | |
285 | 0x04030029 | |
286 | 0x0404002a | |
287 | 0x0405002b | |
288 | 0x0406002c | |
289 | 0x0407002d | |
290 | 0x0408002e | |
291 | 0x0500002f | |
292 | 0x05010030 | |
293 | 0x05020031 | |
294 | 0x05030032 | |
295 | 0x05040033 | |
296 | 0x05050034 | |
297 | 0x05060035 | |
298 | 0x05070036 | |
299 | 0x05080037 | |
300 | 0x06000038 | |
301 | 0x06010039 | |
302 | 0x0602003a | |
303 | 0x0603003b | |
304 | 0x0604003c | |
305 | 0x0605003d | |
306 | 0x0606003e | |
307 | 0x0607003f | |
308 | 0x06080040 | |
309 | 0x07000041 | |
310 | 0x07010042 | |
311 | 0x07020043 | |
312 | 0x07030044 | |
313 | 0x07040045 | |
314 | 0x07050046 | |
315 | 0x07060047 | |
316 | 0x07070048 | |
317 | 0x07080049 | |
318 | 0x0800004a | |
319 | 0x0801004b | |
320 | 0x0802004c | |
321 | 0x0803004d | |
322 | 0x0804004e | |
323 | 0x0805004f | |
324 | 0x08060050 | |
325 | 0x08070051 | |
326 | 0x08080052 >; | |
327 | autorepeat; | |
328 | st,mode = <0>; | |
f631b984 | 329 | suspended_rate = <2000000>; |
07658d9a VK |
330 | status = "okay"; |
331 | }; | |
332 | ||
333 | rtc@e0580000 { | |
334 | status = "okay"; | |
335 | }; | |
336 | ||
337 | serial@e0000000 { | |
338 | status = "okay"; | |
7bceba83 VKS |
339 | pinctrl-names = "default"; |
340 | pinctrl-0 = <>; | |
07658d9a VK |
341 | }; |
342 | ||
343 | serial@b4100000 { | |
344 | status = "okay"; | |
7bceba83 VKS |
345 | pinctrl-names = "default"; |
346 | pinctrl-0 = <>; | |
07658d9a VK |
347 | }; |
348 | ||
f631b984 VKS |
349 | spi0: spi@e0100000 { |
350 | status = "okay"; | |
351 | }; | |
352 | ||
07658d9a VK |
353 | wdt@ec800620 { |
354 | status = "okay"; | |
355 | }; | |
356 | }; | |
357 | }; | |
358 | }; |