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