ARM: SPEAr: Add plgpio node in device tree dtsi files
[deliverable/linux.git] / arch / arm / boot / dts / spear1340-evb.dts
CommitLineData
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 };
41 kbd {
42 st,pins = "keyboard_row_col_grp",
43 "keyboard_col5_grp";
44 st,function = "keyboard";
45 };
46 uart0 {
47 st,pins = "uart0_grp", "uart0_enh_grp";
48 st,function = "uart0";
49 };
50 i2c0-pmx {
51 st,pins = "i2c0_grp";
52 st,function = "i2c0";
53 };
54 i2c1-pmx {
55 st,pins = "i2c1_grp";
56 st,function = "i2c1";
57 };
58 spdif-in {
59 st,pins = "spdif_in_grp";
60 st,function = "spdif_in";
61 };
62 spdif-out {
63 st,pins = "spdif_out_grp";
64 st,function = "spdif_out";
65 };
66 ssp0 {
67 st,pins = "ssp0_grp", "ssp0_cs1_grp",
68 "ssp0_cs3_grp";
69 st,function = "ssp0";
70 };
71 pwm {
72 st,pins = "pwm2_grp", "pwm3_grp";
73 st,function = "pwm";
74 };
75 smi-pmx {
76 st,pins = "smi_grp";
77 st,function = "smi";
78 };
79 i2s {
80 st,pins = "i2s_in_grp", "i2s_out_grp";
81 st,function = "i2s";
82 };
83 gmac {
84 st,pins = "gmii_grp", "rgmii_grp";
85 st,function = "gmac";
86 };
87 cam3 {
88 st,pins = "cam3_grp";
89 st,function = "cam3";
90 };
91 cec0 {
92 st,pins = "cec0_grp";
93 st,function = "cec0";
94 };
95 cec1 {
96 st,pins = "cec1_grp";
97 st,function = "cec1";
98 };
99 sdhci {
100 st,pins = "sdhci_grp";
101 st,function = "sdhci";
102 };
103 clcd {
104 st,pins = "clcd_grp";
105 st,function = "clcd";
106 };
107 sata {
108 st,pins = "sata_grp";
109 st,function = "sata";
110 };
111 };
112 };
113
114 dma@ea800000 {
115 status = "okay";
116 };
117
118 dma@eb000000 {
119 status = "okay";
120 };
121
122 fsmc: flash@b0000000 {
123 status = "okay";
124 };
125
126 gmac0: eth@e2000000 {
127 status = "okay";
128 };
129
130 sdhci@b3000000 {
131 status = "okay";
132 };
133
134 smi: flash@ea000000 {
135 status = "okay";
136 clock-rate=<50000000>;
137
138 flash@e6000000 {
139 #address-cells = <1>;
140 #size-cells = <1>;
141 reg = <0xe6000000 0x800000>;
142 st,smi-fast-mode;
143
144 partition@0 {
145 label = "xloader";
146 reg = <0x0 0x10000>;
147 };
148 partition@10000 {
149 label = "u-boot";
150 reg = <0x10000 0x40000>;
151 };
152 partition@50000 {
153 label = "linux";
154 reg = <0x50000 0x2c0000>;
155 };
156 partition@310000 {
157 label = "rootfs";
158 reg = <0x310000 0x4f0000>;
159 };
160 };
161 };
162
163 spi0: spi@e0100000 {
164 status = "okay";
165 };
166
167 ehci@e4800000 {
168 status = "okay";
169 };
170
171 ehci@e5800000 {
172 status = "okay";
173 };
174
175 ohci@e4000000 {
176 status = "okay";
177 };
178
179 ohci@e5000000 {
180 status = "okay";
181 };
182
183 apb {
184 adc@e0080000 {
185 status = "okay";
186 };
187
188 gpio0: gpio@e0600000 {
189 status = "okay";
190 };
191
192 gpio1: gpio@e0680000 {
193 status = "okay";
194 };
195
4ddb1c29
VK
196 gpio@e2800000 {
197 status = "okay";
198 };
199
07658d9a
VK
200 i2c0: i2c@e0280000 {
201 status = "okay";
202 };
203
204 i2c1: i2c@b4000000 {
205 status = "okay";
206 };
207
208 kbd@e0300000 {
209 linux,keymap = < 0x00000001
210 0x00010002
211 0x00020003
212 0x00030004
213 0x00040005
214 0x00050006
215 0x00060007
216 0x00070008
217 0x00080009
218 0x0100000a
219 0x0101000c
220 0x0102000d
221 0x0103000e
222 0x0104000f
223 0x01050010
224 0x01060011
225 0x01070012
226 0x01080013
227 0x02000014
228 0x02010015
229 0x02020016
230 0x02030017
231 0x02040018
232 0x02050019
233 0x0206001a
234 0x0207001b
235 0x0208001c
236 0x0300001d
237 0x0301001e
238 0x0302001f
239 0x03030020
240 0x03040021
241 0x03050022
242 0x03060023
243 0x03070024
244 0x03080025
245 0x04000026
246 0x04010027
247 0x04020028
248 0x04030029
249 0x0404002a
250 0x0405002b
251 0x0406002c
252 0x0407002d
253 0x0408002e
254 0x0500002f
255 0x05010030
256 0x05020031
257 0x05030032
258 0x05040033
259 0x05050034
260 0x05060035
261 0x05070036
262 0x05080037
263 0x06000038
264 0x06010039
265 0x0602003a
266 0x0603003b
267 0x0604003c
268 0x0605003d
269 0x0606003e
270 0x0607003f
271 0x06080040
272 0x07000041
273 0x07010042
274 0x07020043
275 0x07030044
276 0x07040045
277 0x07050046
278 0x07060047
279 0x07070048
280 0x07080049
281 0x0800004a
282 0x0801004b
283 0x0802004c
284 0x0803004d
285 0x0804004e
286 0x0805004f
287 0x08060050
288 0x08070051
289 0x08080052 >;
290 autorepeat;
291 st,mode = <0>;
292 status = "okay";
293 };
294
295 rtc@e0580000 {
296 status = "okay";
297 };
298
299 serial@e0000000 {
300 status = "okay";
301 };
302
303 serial@b4100000 {
304 status = "okay";
305 };
306
307 wdt@ec800620 {
308 status = "okay";
309 };
310 };
311 };
312};
This page took 0.093645 seconds and 5 git commands to generate.