ARM: SPEAr: DT: Update pinctrl list
[linux-2.6-block.git] / arch / arm / boot / dts / spear300-evb.dts
CommitLineData
c5fa4fdc
VK
1/*
2 * DTS file for SPEAr300 Evaluation Baord
3 *
10d8935f 4 * Copyright 2012 Viresh Kumar <viresh.linux@gmail.com>
c5fa4fdc
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/ "spear300.dtsi"
16
17/ {
18 model = "ST SPEAr300 Evaluation Board";
19 compatible = "st,spear300-evb", "st,spear300";
20 #address-cells = <1>;
21 #size-cells = <1>;
22
23 memory {
24 reg = <0 0x40000000>;
25 };
26
27 ahb {
e0373607
VK
28 pinmux@99000000 {
29 st,pinmux-mode = <2>;
30 pinctrl-names = "default";
31 pinctrl-0 = <&state_default>;
32
33 state_default: pinmux {
34 i2c0 {
35 st,pins = "i2c0_grp";
36 st,function = "i2c0";
37 };
38 ssp0 {
39 st,pins = "ssp0_grp";
40 st,function = "ssp0";
41 };
42 mii0 {
43 st,pins = "mii0_grp";
44 st,function = "mii0";
45 };
46 uart0 {
47 st,pins = "uart0_grp";
48 st,function = "uart0";
49 };
50 clcd {
51 st,pins = "clcd_pfmode_grp";
52 st,function = "clcd";
53 };
54 sdhci {
55 st,pins = "sdhci_4bit_grp";
56 st,function = "sdhci";
57 };
58 gpio1 {
59 st,pins = "gpio1_4_to_7_grp",
60 "gpio1_0_to_3_grp";
61 st,function = "gpio1";
62 };
63 };
64 };
65
c5fa4fdc
VK
66 clcd@60000000 {
67 status = "okay";
68 };
69
0b7ee717
VK
70 dma@fc400000 {
71 status = "okay";
72 };
73
c5fa4fdc
VK
74 fsmc: flash@94000000 {
75 status = "okay";
76 };
77
78 gmac: eth@e0800000 {
79 status = "okay";
80 };
81
82 sdhci@70000000 {
067bf748 83 cd-gpios = <&gpio1 0 0>;
c5fa4fdc
VK
84 status = "okay";
85 };
86
87 smi: flash@fc000000 {
88 status = "okay";
30a0d037
VK
89 clock-rate=<50000000>;
90
91 flash@f8000000 {
92 #address-cells = <1>;
93 #size-cells = <1>;
94 reg = <0xf8000000 0x800000>;
95 st,smi-fast-mode;
96
97 partition@0 {
98 label = "xloader";
99 reg = <0x0 0x10000>;
100 };
101 partition@10000 {
102 label = "u-boot";
103 reg = <0x10000 0x40000>;
104 };
105 partition@50000 {
106 label = "linux";
107 reg = <0x50000 0x2c0000>;
108 };
109 partition@310000 {
110 label = "rootfs";
111 reg = <0x310000 0x4f0000>;
112 };
113 };
c5fa4fdc
VK
114 };
115
116 spi0: spi@d0100000 {
117 status = "okay";
118 };
119
120 ehci@e1800000 {
121 status = "okay";
122 };
123
124 ohci@e1900000 {
125 status = "okay";
126 };
127
128 ohci@e2100000 {
129 status = "okay";
130 };
131
132 apb {
133 gpio0: gpio@fc980000 {
134 status = "okay";
135 };
136
137 gpio1: gpio@a9000000 {
138 status = "okay";
139 };
140
141 i2c0: i2c@d0180000 {
142 status = "okay";
143 };
144
145 kbd@a0000000 {
fa599c33
VK
146 linux,keymap = < 0x00000001
147 0x00010002
148 0x00020003
149 0x00030004
150 0x00040005
151 0x00050006
152 0x00060007
153 0x00070008
154 0x00080009
155 0x0100000a
156 0x0101000c
157 0x0102000d
158 0x0103000e
159 0x0104000f
160 0x01050010
161 0x01060011
162 0x01070012
163 0x01080013
164 0x02000014
165 0x02010015
166 0x02020016
167 0x02030017
168 0x02040018
169 0x02050019
170 0x0206001a
171 0x0207001b
172 0x0208001c
173 0x0300001d
174 0x0301001e
175 0x0302001f
176 0x03030020
177 0x03040021
178 0x03050022
179 0x03060023
180 0x03070024
181 0x03080025
182 0x04000026
183 0x04010027
184 0x04020028
185 0x04030029
186 0x0404002a
187 0x0405002b
188 0x0406002c
189 0x0407002d
190 0x0408002e
191 0x0500002f
192 0x05010030
193 0x05020031
194 0x05030032
195 0x05040033
196 0x05050034
197 0x05060035
198 0x05070036
199 0x05080037
200 0x06000038
201 0x06010039
202 0x0602003a
203 0x0603003b
204 0x0604003c
205 0x0605003d
206 0x0606003e
207 0x0607003f
208 0x06080040
209 0x07000041
210 0x07010042
211 0x07020043
212 0x07030044
213 0x07040045
214 0x07050046
215 0x07060047
216 0x07070048
217 0x07080049
218 0x0800004a
219 0x0801004b
220 0x0802004c
221 0x0803004d
222 0x0804004e
223 0x0805004f
224 0x08060050
225 0x08070051
226 0x08080052 >;
c5fa4fdc
VK
227 autorepeat;
228 st,mode = <0>;
229 status = "okay";
230 };
231
232 rtc@fc900000 {
233 status = "okay";
234 };
235
236 serial@d0000000 {
237 status = "okay";
238 };
239
240 wdt@fc880000 {
241 status = "okay";
242 };
243 };
244 };
245};