]> git.karo-electronics.de Git - karo-tx-linux.git/blob - arch/arm/boot/dts/ste-href.dtsi
Merge remote-tracking branch 'gpio/for-next'
[karo-tx-linux.git] / arch / arm / boot / dts / ste-href.dtsi
1 /*
2  * Copyright 2012 ST-Ericsson AB
3  *
4  * The code contained herein is licensed under the GNU General Public
5  * License. You may obtain a copy of the GNU General Public License
6  * Version 2 or later at the following locations:
7  *
8  * http://www.opensource.org/licenses/gpl-license.html
9  * http://www.gnu.org/copyleft/gpl.html
10  */
11
12 #include <dt-bindings/interrupt-controller/irq.h>
13 #include "ste-dbx5x0.dtsi"
14
15 / {
16         memory {
17                 reg = <0x00000000 0x20000000>;
18         };
19
20         gpio_keys {
21                 compatible = "gpio-keys";
22                 #address-cells = <1>;
23                 #size-cells = <0>;
24
25                 button@1 {
26                         linux,code = <11>;
27                         label = "SFH7741 Proximity Sensor";
28                 };
29         };
30
31         soc {
32                 uart@80120000 {
33                         status = "okay";
34                 };
35
36                 uart@80121000 {
37                         status = "okay";
38                 };
39
40                 uart@80007000 {
41                         status = "okay";
42                 };
43
44                 i2c@80004000 {
45                         tc3589x@42 {
46                                 compatible = "tc3589x";
47                                 reg = <0x42>;
48                                 interrupt-parent = <&gpio6>;
49                                 interrupts = <25 IRQ_TYPE_EDGE_RISING>;
50
51                                 interrupt-controller;
52                                 #interrupt-cells = <2>;
53
54                                 tc3589x_gpio: tc3589x_gpio {
55                                         compatible = "tc3589x-gpio";
56                                         interrupts = <0 IRQ_TYPE_EDGE_RISING>;
57
58                                         interrupt-controller;
59                                         #interrupt-cells = <2>;
60                                         gpio-controller;
61                                         #gpio-cells = <2>;
62                                 };
63                         };
64                 };
65
66                 i2c@80128000 {
67                         lp5521@33 {
68                                 compatible = "national,lp5521";
69                                 reg = <0x33>;
70                                 label = "lp5521_pri";
71                                 clock-mode = /bits/ 8 <2>;
72                                 chan0 {
73                                         led-cur = /bits/ 8 <0x2f>;
74                                         max-cur = /bits/ 8 <0x5f>;
75                                 };
76                                 chan1 {
77                                         led-cur = /bits/ 8 <0x2f>;
78                                         max-cur = /bits/ 8 <0x5f>;
79                                 };
80                                 chan2 {
81                                         led-cur = /bits/ 8 <0x2f>;
82                                         max-cur = /bits/ 8 <0x5f>;
83                                 };
84                         };
85                         lp5521@34 {
86                                 compatible = "national,lp5521";
87                                 reg = <0x34>;
88                                 label = "lp5521_sec";
89                                 clock-mode = /bits/ 8 <2>;
90                                 chan0 {
91                                         led-cur = /bits/ 8 <0x2f>;
92                                         max-cur = /bits/ 8 <0x5f>;
93                                 };
94                                 chan1 {
95                                         led-cur = /bits/ 8 <0x2f>;
96                                         max-cur = /bits/ 8 <0x5f>;
97                                 };
98                                 chan2 {
99                                         led-cur = /bits/ 8 <0x2f>;
100                                         max-cur = /bits/ 8 <0x5f>;
101                                 };
102                         };
103                         bh1780@29 {
104                                 compatible = "rohm,bh1780gli";
105                                 reg = <0x33>;
106                         };
107                 };
108
109                 // External Micro SD slot
110                 sdi0_per1@80126000 {
111                         arm,primecell-periphid = <0x10480180>;
112                         max-frequency = <100000000>;
113                         bus-width = <4>;
114                         mmc-cap-sd-highspeed;
115                         mmc-cap-mmc-highspeed;
116                         vmmc-supply = <&ab8500_ldo_aux3_reg>;
117                         vqmmc-supply = <&vmmci>;
118
119                         cd-gpios  = <&tc3589x_gpio 3 0x4>;
120
121                         status = "okay";
122                 };
123
124                 // WLAN SDIO channel
125                 sdi1_per2@80118000 {
126                         arm,primecell-periphid = <0x10480180>;
127                         max-frequency = <100000000>;
128                         bus-width = <4>;
129
130                         status = "okay";
131                 };
132
133                 // PoP:ed eMMC
134                 sdi2_per3@80005000 {
135                         arm,primecell-periphid = <0x10480180>;
136                         max-frequency = <100000000>;
137                         bus-width = <8>;
138                         mmc-cap-mmc-highspeed;
139
140                         status = "okay";
141                 };
142
143                 // On-board eMMC
144                 sdi4_per2@80114000 {
145                         arm,primecell-periphid = <0x10480180>;
146                         max-frequency = <100000000>;
147                         bus-width = <8>;
148                         mmc-cap-mmc-highspeed;
149                         vmmc-supply = <&ab8500_ldo_aux2_reg>;
150
151                         status = "okay";
152                 };
153
154                 sound {
155                         compatible = "stericsson,snd-soc-mop500";
156
157                         stericsson,cpu-dai = <&msp1 &msp3>;
158                         stericsson,audio-codec = <&codec>;
159                 };
160
161                 msp1: msp@80124000 {
162                         status = "okay";
163                 };
164
165                 msp3: msp@80125000 {
166                         status = "okay";
167                 };
168
169                 prcmu@80157000 {
170                         db8500-prcmu-regulators {
171                                 db8500_vape_reg: db8500_vape {
172                                         regulator-name = "db8500-vape";
173                                 };
174
175                                 db8500_varm_reg: db8500_varm {
176                                         regulator-name = "db8500-varm";
177                                 };
178
179                                 db8500_vmodem_reg: db8500_vmodem {
180                                         regulator-name = "db8500-vmodem";
181                                 };
182
183                                 db8500_vpll_reg: db8500_vpll {
184                                         regulator-name = "db8500-vpll";
185                                 };
186
187                                 db8500_vsmps1_reg: db8500_vsmps1 {
188                                         regulator-name = "db8500-vsmps1";
189                                 };
190
191                                 db8500_vsmps2_reg: db8500_vsmps2 {
192                                         regulator-name = "db8500-vsmps2";
193                                 };
194
195                                 db8500_vsmps3_reg: db8500_vsmps3 {
196                                         regulator-name = "db8500-vsmps3";
197                                 };
198
199                                 db8500_vrf1_reg: db8500_vrf1 {
200                                         regulator-name = "db8500-vrf1";
201                                 };
202
203                                 db8500_sva_mmdsp_reg: db8500_sva_mmdsp {
204                                         regulator-name = "db8500-sva-mmdsp";
205                                 };
206
207                                 db8500_sva_mmdsp_ret_reg: db8500_sva_mmdsp_ret {
208                                         regulator-name = "db8500-sva-mmdsp-ret";
209                                 };
210
211                                 db8500_sva_pipe_reg: db8500_sva_pipe {
212                                         regulator-name = "db8500_sva_pipe";
213                                 };
214
215                                 db8500_sia_mmdsp_reg: db8500_sia_mmdsp {
216                                         regulator-name = "db8500_sia_mmdsp";
217                                 };
218
219                                 db8500_sia_mmdsp_ret_reg: db8500_sia_mmdsp_ret {
220                                         regulator-name = "db8500-sia-mmdsp-ret";
221                                 };
222
223                                 db8500_sia_pipe_reg: db8500_sia_pipe {
224                                         regulator-name = "db8500-sia-pipe";
225                                 };
226
227                                 db8500_sga_reg: db8500_sga {
228                                         regulator-name = "db8500-sga";
229                                 };
230
231                                 db8500_b2r2_mcde_reg: db8500_b2r2_mcde {
232                                         regulator-name = "db8500-b2r2-mcde";
233                                 };
234
235                                 db8500_esram12_reg: db8500_esram12 {
236                                         regulator-name = "db8500-esram12";
237                                 };
238
239                                 db8500_esram12_ret_reg: db8500_esram12_ret {
240                                         regulator-name = "db8500-esram12-ret";
241                                 };
242
243                                 db8500_esram34_reg: db8500_esram34 {
244                                         regulator-name = "db8500-esram34";
245                                 };
246
247                                 db8500_esram34_ret_reg: db8500_esram34_ret {
248                                         regulator-name = "db8500-esram34-ret";
249                                 };
250                         };
251
252                         ab8500 {
253                                 ab8500-regulators {
254                                         ab8500_ldo_aux1_reg: ab8500_ldo_aux1 {
255                                                 regulator-name = "V-DISPLAY";
256                                         };
257
258                                         ab8500_ldo_aux2_reg: ab8500_ldo_aux2 {
259                                                 regulator-name = "V-eMMC1";
260                                         };
261
262                                         ab8500_ldo_aux3_reg: ab8500_ldo_aux3 {
263                                                 regulator-name = "V-MMC-SD";
264                                         };
265
266                                         ab8500_ldo_intcore_reg: ab8500_ldo_intcore {
267                                                 regulator-name = "V-INTCORE";
268                                         };
269
270                                         ab8500_ldo_tvout_reg: ab8500_ldo_tvout {
271                                                 regulator-name = "V-TVOUT";
272                                         };
273
274                                         ab8500_ldo_usb_reg: ab8500_ldo_usb {
275                                                 regulator-name = "dummy";
276                                         };
277
278                                         ab8500_ldo_audio_reg: ab8500_ldo_audio {
279                                                 regulator-name = "V-AUD";
280                                         };
281
282                                         ab8500_ldo_anamic1_reg: ab8500_ldo_anamic1 {
283                                                 regulator-name = "V-AMIC1";
284                                         };
285
286                                         ab8500_ldo_anamic2_reg: ab8500_ldo_anamic2 {
287                                                 regulator-name = "V-AMIC2";
288                                         };
289
290                                         ab8500_ldo_dmic_reg: ab8500_ldo_dmic {
291                                                 regulator-name = "V-DMIC";
292                                         };
293
294                                         ab8500_ldo_ana_reg: ab8500_ldo_ana {
295                                                 regulator-name = "V-CSI/DSI";
296                                         };
297                                 };
298                         };
299                 };
300         };
301 };