]> git.kernelconcepts.de Git - karo-tx-linux.git/blob - arch/arm/boot/dts/spear300-evb.dts
Merge tag 'pinctrl' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc
[karo-tx-linux.git] / arch / arm / boot / dts / spear300-evb.dts
1 /*
2  * DTS file for SPEAr300 Evaluation Baord
3  *
4  * Copyright 2012 Viresh Kumar <viresh.kumar@st.com>
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 {
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
66                 clcd@60000000 {
67                         status = "okay";
68                 };
69
70                 dma@fc400000 {
71                         status = "okay";
72                 };
73
74                 fsmc: flash@94000000 {
75                         status = "okay";
76                 };
77
78                 gmac: eth@e0800000 {
79                         status = "okay";
80                 };
81
82                 sdhci@70000000 {
83                         int-gpio = <&gpio1 0 0>;
84                         power-gpio = <&gpio1 2 1>;
85                         status = "okay";
86                 };
87
88                 smi: flash@fc000000 {
89                         status = "okay";
90                 };
91
92                 spi0: spi@d0100000 {
93                         status = "okay";
94                 };
95
96                 ehci@e1800000 {
97                         status = "okay";
98                 };
99
100                 ohci@e1900000 {
101                         status = "okay";
102                 };
103
104                 ohci@e2100000 {
105                         status = "okay";
106                 };
107
108                 apb {
109                         gpio0: gpio@fc980000 {
110                                status = "okay";
111                         };
112
113                         gpio1: gpio@a9000000 {
114                                status = "okay";
115                         };
116
117                         i2c0: i2c@d0180000 {
118                                status = "okay";
119                         };
120
121                         kbd@a0000000 {
122                                 linux,keymap = < 0x00000001
123                                                  0x00010002
124                                                  0x00020003
125                                                  0x00030004
126                                                  0x00040005
127                                                  0x00050006
128                                                  0x00060007
129                                                  0x00070008
130                                                  0x00080009
131                                                  0x0100000a
132                                                  0x0101000c
133                                                  0x0102000d
134                                                  0x0103000e
135                                                  0x0104000f
136                                                  0x01050010
137                                                  0x01060011
138                                                  0x01070012
139                                                  0x01080013
140                                                  0x02000014
141                                                  0x02010015
142                                                  0x02020016
143                                                  0x02030017
144                                                  0x02040018
145                                                  0x02050019
146                                                  0x0206001a
147                                                  0x0207001b
148                                                  0x0208001c
149                                                  0x0300001d
150                                                  0x0301001e
151                                                  0x0302001f
152                                                  0x03030020
153                                                  0x03040021
154                                                  0x03050022
155                                                  0x03060023
156                                                  0x03070024
157                                                  0x03080025
158                                                  0x04000026
159                                                  0x04010027
160                                                  0x04020028
161                                                  0x04030029
162                                                  0x0404002a
163                                                  0x0405002b
164                                                  0x0406002c
165                                                  0x0407002d
166                                                  0x0408002e
167                                                  0x0500002f
168                                                  0x05010030
169                                                  0x05020031
170                                                  0x05030032
171                                                  0x05040033
172                                                  0x05050034
173                                                  0x05060035
174                                                  0x05070036
175                                                  0x05080037
176                                                  0x06000038
177                                                  0x06010039
178                                                  0x0602003a
179                                                  0x0603003b
180                                                  0x0604003c
181                                                  0x0605003d
182                                                  0x0606003e
183                                                  0x0607003f
184                                                  0x06080040
185                                                  0x07000041
186                                                  0x07010042
187                                                  0x07020043
188                                                  0x07030044
189                                                  0x07040045
190                                                  0x07050046
191                                                  0x07060047
192                                                  0x07070048
193                                                  0x07080049
194                                                  0x0800004a
195                                                  0x0801004b
196                                                  0x0802004c
197                                                  0x0803004d
198                                                  0x0804004e
199                                                  0x0805004f
200                                                  0x08060050
201                                                  0x08070051
202                                                  0x08080052 >;
203                                autorepeat;
204                                st,mode = <0>;
205                                status = "okay";
206                         };
207
208                         rtc@fc900000 {
209                                status = "okay";
210                         };
211
212                         serial@d0000000 {
213                                status = "okay";
214                         };
215
216                         wdt@fc880000 {
217                                status = "okay";
218                         };
219                 };
220         };
221 };