blob: 9db41b9d83588323ab7981d6144e56e6e94a2856 [file] [log] [blame]
Lee Jonesd1b8bfa2012-09-26 13:29:09 +01001/*
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
Linus Walleij90c40252013-05-29 19:15:39 +020012#include <dt-bindings/interrupt-controller/irq.h>
Gabriel Fernandez807e8832013-05-27 15:30:53 +020013#include "dbx5x0.dtsi"
Lee Jonesd1b8bfa2012-09-26 13:29:09 +010014
15/ {
16 memory {
17 reg = <0x00000000 0x20000000>;
18 };
19
Lee Jones6b8db132012-09-26 17:09:17 +010020 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
Gabriel Fernandezb1ba1432013-03-01 14:38:07 +010031 soc {
Lee Jonesd1b8bfa2012-09-26 13:29:09 +010032 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>;
Linus Walleij90c40252013-05-29 19:15:39 +020049 interrupts = <25 IRQ_TYPE_EDGE_RISING>;
Lee Jonesd1b8bfa2012-09-26 13:29:09 +010050
51 interrupt-controller;
52 #interrupt-cells = <2>;
53
54 tc3589x_gpio: tc3589x_gpio {
55 compatible = "tc3589x-gpio";
Linus Walleij90c40252013-05-29 19:15:39 +020056 interrupts = <0 IRQ_TYPE_EDGE_RISING>;
Lee Jonesd1b8bfa2012-09-26 13:29:09 +010057
58 interrupt-controller;
59 #interrupt-cells = <2>;
60 gpio-controller;
61 #gpio-cells = <2>;
62 };
63 };
64 };
65
66 i2c@80128000 {
Linus Walleij2bd73782013-05-22 10:09:39 +020067 lp5521@33 {
68 compatible = "national,lp5521";
Lee Jonesd1b8bfa2012-09-26 13:29:09 +010069 reg = <0x33>;
Linus Walleij2bd73782013-05-22 10:09:39 +020070 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 };
Lee Jonesd1b8bfa2012-09-26 13:29:09 +010084 };
Linus Walleij2bd73782013-05-22 10:09:39 +020085 lp5521@34 {
86 compatible = "national,lp5521";
Lee Jonesd1b8bfa2012-09-26 13:29:09 +010087 reg = <0x34>;
Linus Walleij2bd73782013-05-22 10:09:39 +020088 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 };
Lee Jonesd1b8bfa2012-09-26 13:29:09 +0100102 };
Linus Walleijd5942242013-06-04 11:50:32 +0200103 bh1780@29 {
Lee Jonesd1b8bfa2012-09-26 13:29:09 +0100104 compatible = "rohm,bh1780gli";
105 reg = <0x33>;
106 };
107 };
108
109 // External Micro SD slot
110 sdi0_per1@80126000 {
111 arm,primecell-periphid = <0x10480180>;
Linus Walleij90ccde42013-05-27 13:15:05 +0200112 max-frequency = <100000000>;
Lee Jonesd1b8bfa2012-09-26 13:29:09 +0100113 bus-width = <4>;
114 mmc-cap-sd-highspeed;
115 mmc-cap-mmc-highspeed;
116 vmmc-supply = <&ab8500_ldo_aux3_reg>;
Lee Jonesd05b0662012-12-06 15:08:45 +0000117 vqmmc-supply = <&vmmci>;
Lee Jonesd1b8bfa2012-09-26 13:29:09 +0100118
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>;
Linus Walleij90ccde42013-05-27 13:15:05 +0200127 max-frequency = <100000000>;
Lee Jonesd1b8bfa2012-09-26 13:29:09 +0100128 bus-width = <4>;
129
130 status = "okay";
131 };
132
133 // PoP:ed eMMC
134 sdi2_per3@80005000 {
135 arm,primecell-periphid = <0x10480180>;
Linus Walleij90ccde42013-05-27 13:15:05 +0200136 max-frequency = <100000000>;
Lee Jonesd1b8bfa2012-09-26 13:29:09 +0100137 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>;
Linus Walleij90ccde42013-05-27 13:15:05 +0200146 max-frequency = <100000000>;
Lee Jonesd1b8bfa2012-09-26 13:29:09 +0100147 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
Arnd Bergmannd52701d32013-03-12 09:39:01 +0100252 ab8500 {
Lee Jonesd1b8bfa2012-09-26 13:29:09 +0100253 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
Fabio Baltieri99b38ee2013-04-09 11:16:56 +0200266 ab8500_ldo_intcore_reg: ab8500_ldo_intcore {
Lee Jonesd1b8bfa2012-09-26 13:29:09 +0100267 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
Fabio Baltieri5510ed92013-05-30 15:27:42 +0200286 ab8500_ldo_anamic2_reg: ab8500_ldo_anamic2 {
Lee Jonesd1b8bfa2012-09-26 13:29:09 +0100287 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};