blob: 668dcb27dafddbe273d56aee163404ebd7ab058e [file] [log] [blame]
Viresh Kumar07658d92012-04-16 23:57:51 +05301/*
2 * DTS file for SPEAr1310 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/ "spear1310.dtsi"
16
17/ {
18 model = "ST SPEAr1310 Evaluation Board";
19 compatible = "st,spear1310-evb", "st,spear1310";
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 {
Vipul Kumar Samar7db083e2012-07-05 11:51:47 +080033 i2c0 {
Viresh Kumar07658d92012-04-16 23:57:51 +053034 st,pins = "i2c0_grp";
35 st,function = "i2c0";
36 };
Vipul Kumar Samar7db083e2012-07-05 11:51:47 +080037 i2s0 {
38 st,pins = "i2s0_grp";
39 st,function = "i2s0";
40 };
Viresh Kumar07658d92012-04-16 23:57:51 +053041 i2s1 {
42 st,pins = "i2s1_grp";
43 st,function = "i2s1";
44 };
45 gpio {
46 st,pins = "arm_gpio_grp";
47 st,function = "arm_gpio";
48 };
Vipul Kumar Samar7db083e2012-07-05 11:51:47 +080049 clcd {
50 st,pins = "clcd_grp" , "clcd_high_res";
51 st,function = "clcd";
52 };
Viresh Kumar07658d92012-04-16 23:57:51 +053053 eth {
54 st,pins = "gmii_grp";
55 st,function = "gmii";
56 };
57 ssp0 {
58 st,pins = "ssp0_grp";
59 st,function = "ssp0";
60 };
61 kbd {
62 st,pins = "keyboard_6x6_grp";
63 st,function = "keyboard";
64 };
65 sdhci {
66 st,pins = "sdhci_grp";
67 st,function = "sdhci";
68 };
69 smi-pmx {
70 st,pins = "smi_2_chips_grp";
71 st,function = "smi";
72 };
73 uart0 {
74 st,pins = "uart0_grp";
75 st,function = "uart0";
76 };
77 rs485 {
78 st,pins = "rs485_0_1_tdm_0_1_grp";
79 st,function = "rs485_0_1_tdm_0_1";
80 };
81 i2c1_2 {
82 st,pins = "i2c_1_2_grp";
83 st,function = "i2c_1_2";
84 };
Viresh Kumar07658d92012-04-16 23:57:51 +053085 smii {
86 st,pins = "smii_0_1_2_grp";
87 st,function = "smii_0_1_2";
88 };
89 nand {
90 st,pins = "nand_8bit_grp",
91 "nand_16bit_grp";
92 st,function = "nand";
93 };
Vipul Kumar Samar7db083e2012-07-05 11:51:47 +080094 sata {
95 st,pins = "sata0_grp";
96 st,function = "sata";
97 };
98 pcie {
99 st,pins = "pcie1_grp", "pcie2_grp";
100 st,function = "pci_express";
101 };
Viresh Kumar07658d92012-04-16 23:57:51 +0530102 };
103 };
104
105 ahci@b1000000 {
106 status = "okay";
107 };
108
109 cf@b2800000 {
110 status = "okay";
111 };
112
113 dma@ea800000 {
114 status = "okay";
115 };
116
117 dma@eb000000 {
118 status = "okay";
119 };
120
121 fsmc: flash@b0000000 {
122 status = "okay";
Vipin Kumar482a8f32012-07-05 11:51:47 +0800123
124 partition@0 {
125 label = "xloader";
126 reg = <0x0 0x80000>;
127 };
128 partition@80000 {
129 label = "u-boot";
130 reg = <0x80000 0x140000>;
131 };
132 partition@1C0000 {
133 label = "environment";
134 reg = <0x1C0000 0x40000>;
135 };
136 partition@200000 {
137 label = "dtb";
138 reg = <0x200000 0x40000>;
139 };
140 partition@240000 {
141 label = "linux";
142 reg = <0x240000 0xC00000>;
143 };
144 partition@E40000 {
145 label = "rootfs";
146 reg = <0xE40000 0x0>;
147 };
Viresh Kumar07658d92012-04-16 23:57:51 +0530148 };
149
150 gmac0: eth@e2000000 {
151 status = "okay";
152 };
153
154 sdhci@b3000000 {
155 status = "okay";
156 };
157
158 smi: flash@ea000000 {
159 status = "okay";
160 clock-rate=<50000000>;
161
162 flash@e6000000 {
163 #address-cells = <1>;
164 #size-cells = <1>;
165 reg = <0xe6000000 0x800000>;
166 st,smi-fast-mode;
167
168 partition@0 {
169 label = "xloader";
170 reg = <0x0 0x10000>;
171 };
172 partition@10000 {
173 label = "u-boot";
Vipin Kumar482a8f32012-07-05 11:51:47 +0800174 reg = <0x10000 0x50000>;
Viresh Kumar07658d92012-04-16 23:57:51 +0530175 };
Vipin Kumar482a8f32012-07-05 11:51:47 +0800176 partition@60000 {
177 label = "environment";
178 reg = <0x60000 0x10000>;
179 };
180 partition@70000 {
181 label = "dtb";
182 reg = <0x70000 0x10000>;
183 };
184 partition@80000 {
Viresh Kumar07658d92012-04-16 23:57:51 +0530185 label = "linux";
Vipin Kumar482a8f32012-07-05 11:51:47 +0800186 reg = <0x80000 0x310000>;
Viresh Kumar07658d92012-04-16 23:57:51 +0530187 };
Vipin Kumar482a8f32012-07-05 11:51:47 +0800188 partition@390000 {
Viresh Kumar07658d92012-04-16 23:57:51 +0530189 label = "rootfs";
Vipin Kumar482a8f32012-07-05 11:51:47 +0800190 reg = <0x390000 0x0>;
Viresh Kumar07658d92012-04-16 23:57:51 +0530191 };
192 };
193 };
194
Viresh Kumar07658d92012-04-16 23:57:51 +0530195 ehci@e4800000 {
196 status = "okay";
197 };
198
199 ehci@e5800000 {
200 status = "okay";
201 };
202
203 ohci@e4000000 {
204 status = "okay";
205 };
206
207 ohci@e5000000 {
208 status = "okay";
209 };
210
211 apb {
212 adc@e0080000 {
213 status = "okay";
214 };
215
216 gpio0: gpio@e0600000 {
217 status = "okay";
218 };
219
220 gpio1: gpio@e0680000 {
221 status = "okay";
222 };
223
Viresh Kumar4ddb1c22012-10-27 15:21:39 +0530224 gpio@d8400000 {
225 status = "okay";
226 };
227
Viresh Kumar07658d92012-04-16 23:57:51 +0530228 i2c0: i2c@e0280000 {
229 status = "okay";
230 };
231
Viresh Kumar07658d92012-04-16 23:57:51 +0530232 kbd@e0300000 {
233 linux,keymap = < 0x00000001
234 0x00010002
235 0x00020003
236 0x00030004
237 0x00040005
238 0x00050006
239 0x00060007
240 0x00070008
241 0x00080009
242 0x0100000a
243 0x0101000c
244 0x0102000d
245 0x0103000e
246 0x0104000f
247 0x01050010
248 0x01060011
249 0x01070012
250 0x01080013
251 0x02000014
252 0x02010015
253 0x02020016
254 0x02030017
255 0x02040018
256 0x02050019
257 0x0206001a
258 0x0207001b
259 0x0208001c
260 0x0300001d
261 0x0301001e
262 0x0302001f
263 0x03030020
264 0x03040021
265 0x03050022
266 0x03060023
267 0x03070024
268 0x03080025
269 0x04000026
270 0x04010027
271 0x04020028
272 0x04030029
273 0x0404002a
274 0x0405002b
275 0x0406002c
276 0x0407002d
277 0x0408002e
278 0x0500002f
279 0x05010030
280 0x05020031
281 0x05030032
282 0x05040033
283 0x05050034
284 0x05060035
285 0x05070036
286 0x05080037
287 0x06000038
288 0x06010039
289 0x0602003a
290 0x0603003b
291 0x0604003c
292 0x0605003d
293 0x0606003e
294 0x0607003f
295 0x06080040
296 0x07000041
297 0x07010042
298 0x07020043
299 0x07030044
300 0x07040045
301 0x07050046
302 0x07060047
303 0x07070048
304 0x07080049
305 0x0800004a
306 0x0801004b
307 0x0802004c
308 0x0803004d
309 0x0804004e
310 0x0805004f
311 0x08060050
312 0x08070051
313 0x08080052 >;
314 autorepeat;
315 st,mode = <0>;
Vipul Kumar Samarf631b9842012-07-05 11:51:47 +0800316 suspended_rate = <2000000>;
Viresh Kumar07658d92012-04-16 23:57:51 +0530317 status = "okay";
318 };
319
320 rtc@e0580000 {
321 status = "okay";
322 };
323
324 serial@e0000000 {
325 status = "okay";
326 };
327
Vipul Kumar Samarf631b9842012-07-05 11:51:47 +0800328 spi0: spi@e0100000 {
329 status = "okay";
330 };
331
Viresh Kumar07658d92012-04-16 23:57:51 +0530332 wdt@ec800620 {
333 status = "okay";
334 };
335 };
336 };
337};