blob: 1863241c911e8d3773fc7c4368c8ef15856b12bc [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>
Linus Walleij2ce05a12013-08-07 15:37:52 +020013#include "ste-dbx5x0.dtsi"
Linus Walleij3bfdebb2013-11-13 10:32:20 +010014#include "ste-href-family-pinctrl.dtsi"
Lee Jonesd1b8bfa2012-09-26 13:29:09 +010015
16/ {
17 memory {
18 reg = <0x00000000 0x20000000>;
19 };
20
Lee Jones6b8db132012-09-26 17:09:17 +010021 gpio_keys {
22 compatible = "gpio-keys";
23 #address-cells = <1>;
24 #size-cells = <0>;
25
26 button@1 {
27 linux,code = <11>;
28 label = "SFH7741 Proximity Sensor";
29 };
30 };
31
Gabriel Fernandezb1ba1432013-03-01 14:38:07 +010032 soc {
Lee Jonesd1b8bfa2012-09-26 13:29:09 +010033 uart@80120000 {
Linus Walleij3bfdebb2013-11-13 10:32:20 +010034 pinctrl-names = "default", "sleep";
35 pinctrl-0 = <&uart0_default_mode>;
36 pinctrl-1 = <&uart0_sleep_mode>;
Lee Jonesd1b8bfa2012-09-26 13:29:09 +010037 status = "okay";
38 };
39
40 uart@80121000 {
Linus Walleij3bfdebb2013-11-13 10:32:20 +010041 pinctrl-names = "default", "sleep";
42 pinctrl-0 = <&uart1_default_mode>;
43 pinctrl-1 = <&uart1_sleep_mode>;
Lee Jonesd1b8bfa2012-09-26 13:29:09 +010044 status = "okay";
45 };
46
47 uart@80007000 {
Linus Walleij3bfdebb2013-11-13 10:32:20 +010048 pinctrl-names = "default", "sleep";
49 pinctrl-0 = <&uart2_default_mode>;
50 pinctrl-1 = <&uart2_sleep_mode>;
Lee Jonesd1b8bfa2012-09-26 13:29:09 +010051 status = "okay";
52 };
53
Linus Walleij96fee132013-11-13 11:10:07 +010054 i2c@80004000 {
55 pinctrl-names = "default","sleep";
56 pinctrl-0 = <&i2c0_default_mode>;
57 pinctrl-1 = <&i2c0_sleep_mode>;
58 };
59
60 i2c@80122000 {
61 pinctrl-names = "default","sleep";
62 pinctrl-0 = <&i2c1_default_mode>;
63 pinctrl-1 = <&i2c1_sleep_mode>;
64 };
65
Lee Jonesd1b8bfa2012-09-26 13:29:09 +010066 i2c@80128000 {
Linus Walleij96fee132013-11-13 11:10:07 +010067 pinctrl-names = "default","sleep";
68 pinctrl-0 = <&i2c2_default_mode>;
69 pinctrl-1 = <&i2c2_sleep_mode>;
Linus Walleij2bd73782013-05-22 10:09:39 +020070 lp5521@33 {
71 compatible = "national,lp5521";
Lee Jonesd1b8bfa2012-09-26 13:29:09 +010072 reg = <0x33>;
Linus Walleij2bd73782013-05-22 10:09:39 +020073 label = "lp5521_pri";
74 clock-mode = /bits/ 8 <2>;
75 chan0 {
76 led-cur = /bits/ 8 <0x2f>;
77 max-cur = /bits/ 8 <0x5f>;
Linus Walleij385d61c2013-09-15 12:01:07 +020078 linux,default-trigger = "heartbeat";
Linus Walleij2bd73782013-05-22 10:09:39 +020079 };
80 chan1 {
81 led-cur = /bits/ 8 <0x2f>;
82 max-cur = /bits/ 8 <0x5f>;
83 };
84 chan2 {
85 led-cur = /bits/ 8 <0x2f>;
86 max-cur = /bits/ 8 <0x5f>;
87 };
Lee Jonesd1b8bfa2012-09-26 13:29:09 +010088 };
Linus Walleij2bd73782013-05-22 10:09:39 +020089 lp5521@34 {
90 compatible = "national,lp5521";
Lee Jonesd1b8bfa2012-09-26 13:29:09 +010091 reg = <0x34>;
Linus Walleij2bd73782013-05-22 10:09:39 +020092 label = "lp5521_sec";
93 clock-mode = /bits/ 8 <2>;
94 chan0 {
95 led-cur = /bits/ 8 <0x2f>;
96 max-cur = /bits/ 8 <0x5f>;
97 };
98 chan1 {
99 led-cur = /bits/ 8 <0x2f>;
100 max-cur = /bits/ 8 <0x5f>;
101 };
102 chan2 {
103 led-cur = /bits/ 8 <0x2f>;
104 max-cur = /bits/ 8 <0x5f>;
105 };
Lee Jonesd1b8bfa2012-09-26 13:29:09 +0100106 };
Linus Walleijd5942242013-06-04 11:50:32 +0200107 bh1780@29 {
Lee Jonesd1b8bfa2012-09-26 13:29:09 +0100108 compatible = "rohm,bh1780gli";
Linus Walleij7e9dee02013-10-02 13:40:09 +0200109 reg = <0x29>;
Lee Jonesd1b8bfa2012-09-26 13:29:09 +0100110 };
111 };
112
Linus Walleij96fee132013-11-13 11:10:07 +0100113 i2c@80110000 {
114 pinctrl-names = "default","sleep";
115 pinctrl-0 = <&i2c3_default_mode>;
116 pinctrl-1 = <&i2c3_sleep_mode>;
117 };
118
Lee Jonesd1b8bfa2012-09-26 13:29:09 +0100119 // External Micro SD slot
120 sdi0_per1@80126000 {
121 arm,primecell-periphid = <0x10480180>;
Linus Walleij90ccde42013-05-27 13:15:05 +0200122 max-frequency = <100000000>;
Lee Jonesd1b8bfa2012-09-26 13:29:09 +0100123 bus-width = <4>;
124 mmc-cap-sd-highspeed;
125 mmc-cap-mmc-highspeed;
126 vmmc-supply = <&ab8500_ldo_aux3_reg>;
Lee Jonesd05b0662012-12-06 15:08:45 +0000127 vqmmc-supply = <&vmmci>;
Lee Jonesd1b8bfa2012-09-26 13:29:09 +0100128
129 cd-gpios = <&tc3589x_gpio 3 0x4>;
130
131 status = "okay";
132 };
133
134 // WLAN SDIO channel
135 sdi1_per2@80118000 {
136 arm,primecell-periphid = <0x10480180>;
Linus Walleij90ccde42013-05-27 13:15:05 +0200137 max-frequency = <100000000>;
Lee Jonesd1b8bfa2012-09-26 13:29:09 +0100138 bus-width = <4>;
139
140 status = "okay";
141 };
142
143 // PoP:ed eMMC
144 sdi2_per3@80005000 {
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
150 status = "okay";
151 };
152
153 // On-board eMMC
154 sdi4_per2@80114000 {
155 arm,primecell-periphid = <0x10480180>;
Linus Walleij90ccde42013-05-27 13:15:05 +0200156 max-frequency = <100000000>;
Lee Jonesd1b8bfa2012-09-26 13:29:09 +0100157 bus-width = <8>;
158 mmc-cap-mmc-highspeed;
159 vmmc-supply = <&ab8500_ldo_aux2_reg>;
160
161 status = "okay";
162 };
163
164 sound {
165 compatible = "stericsson,snd-soc-mop500";
166
167 stericsson,cpu-dai = <&msp1 &msp3>;
168 stericsson,audio-codec = <&codec>;
169 };
170
171 msp1: msp@80124000 {
172 status = "okay";
173 };
174
175 msp3: msp@80125000 {
176 status = "okay";
177 };
178
179 prcmu@80157000 {
Arnd Bergmannd52701d32013-03-12 09:39:01 +0100180 ab8500 {
Linus Walleijc90c36e2013-09-26 15:09:14 +0200181 ab8500-gpio {
182 compatible = "stericsson,ab8500-gpio";
183 };
184
Lee Jonesd1b8bfa2012-09-26 13:29:09 +0100185 ab8500-regulators {
186 ab8500_ldo_aux1_reg: ab8500_ldo_aux1 {
187 regulator-name = "V-DISPLAY";
188 };
189
190 ab8500_ldo_aux2_reg: ab8500_ldo_aux2 {
191 regulator-name = "V-eMMC1";
192 };
193
194 ab8500_ldo_aux3_reg: ab8500_ldo_aux3 {
195 regulator-name = "V-MMC-SD";
196 };
197
Fabio Baltieri99b38ee2013-04-09 11:16:56 +0200198 ab8500_ldo_intcore_reg: ab8500_ldo_intcore {
Lee Jonesd1b8bfa2012-09-26 13:29:09 +0100199 regulator-name = "V-INTCORE";
200 };
201
202 ab8500_ldo_tvout_reg: ab8500_ldo_tvout {
203 regulator-name = "V-TVOUT";
204 };
205
206 ab8500_ldo_usb_reg: ab8500_ldo_usb {
207 regulator-name = "dummy";
208 };
209
210 ab8500_ldo_audio_reg: ab8500_ldo_audio {
211 regulator-name = "V-AUD";
212 };
213
214 ab8500_ldo_anamic1_reg: ab8500_ldo_anamic1 {
215 regulator-name = "V-AMIC1";
216 };
217
Fabio Baltieri5510ed92013-05-30 15:27:42 +0200218 ab8500_ldo_anamic2_reg: ab8500_ldo_anamic2 {
Lee Jonesd1b8bfa2012-09-26 13:29:09 +0100219 regulator-name = "V-AMIC2";
220 };
221
222 ab8500_ldo_dmic_reg: ab8500_ldo_dmic {
223 regulator-name = "V-DMIC";
224 };
225
226 ab8500_ldo_ana_reg: ab8500_ldo_ana {
227 regulator-name = "V-CSI/DSI";
228 };
229 };
230 };
231 };
232 };
233};