blob: 0c1e8d871ed1a45662198501fb133aa29bf46af0 [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
Gabriel Fernandezb1ba1432013-03-01 14:38:07 +010021 soc {
Linus Walleija12f7032013-11-13 15:59:40 +010022 usb_per5@a03e0000 {
23 pinctrl-names = "default", "sleep";
24 pinctrl-0 = <&musb_default_mode>;
25 pinctrl-1 = <&musb_sleep_mode>;
26 };
27
Lee Jonesd1b8bfa2012-09-26 13:29:09 +010028 uart@80120000 {
Linus Walleij3bfdebb2013-11-13 10:32:20 +010029 pinctrl-names = "default", "sleep";
30 pinctrl-0 = <&uart0_default_mode>;
31 pinctrl-1 = <&uart0_sleep_mode>;
Lee Jonesd1b8bfa2012-09-26 13:29:09 +010032 status = "okay";
33 };
34
35 uart@80121000 {
Linus Walleij3bfdebb2013-11-13 10:32:20 +010036 pinctrl-names = "default", "sleep";
37 pinctrl-0 = <&uart1_default_mode>;
38 pinctrl-1 = <&uart1_sleep_mode>;
Lee Jonesd1b8bfa2012-09-26 13:29:09 +010039 status = "okay";
40 };
41
42 uart@80007000 {
Linus Walleij3bfdebb2013-11-13 10:32:20 +010043 pinctrl-names = "default", "sleep";
44 pinctrl-0 = <&uart2_default_mode>;
45 pinctrl-1 = <&uart2_sleep_mode>;
Lee Jonesd1b8bfa2012-09-26 13:29:09 +010046 status = "okay";
47 };
48
Linus Walleij96fee132013-11-13 11:10:07 +010049 i2c@80004000 {
50 pinctrl-names = "default","sleep";
51 pinctrl-0 = <&i2c0_default_mode>;
52 pinctrl-1 = <&i2c0_sleep_mode>;
53 };
54
55 i2c@80122000 {
56 pinctrl-names = "default","sleep";
57 pinctrl-0 = <&i2c1_default_mode>;
58 pinctrl-1 = <&i2c1_sleep_mode>;
59 };
60
Lee Jonesd1b8bfa2012-09-26 13:29:09 +010061 i2c@80128000 {
Linus Walleij96fee132013-11-13 11:10:07 +010062 pinctrl-names = "default","sleep";
63 pinctrl-0 = <&i2c2_default_mode>;
64 pinctrl-1 = <&i2c2_sleep_mode>;
Linus Walleij2bd73782013-05-22 10:09:39 +020065 lp5521@33 {
66 compatible = "national,lp5521";
Lee Jonesd1b8bfa2012-09-26 13:29:09 +010067 reg = <0x33>;
Linus Walleij2bd73782013-05-22 10:09:39 +020068 label = "lp5521_pri";
69 clock-mode = /bits/ 8 <2>;
70 chan0 {
71 led-cur = /bits/ 8 <0x2f>;
72 max-cur = /bits/ 8 <0x5f>;
Linus Walleij385d61c2013-09-15 12:01:07 +020073 linux,default-trigger = "heartbeat";
Linus Walleij2bd73782013-05-22 10:09:39 +020074 };
75 chan1 {
76 led-cur = /bits/ 8 <0x2f>;
77 max-cur = /bits/ 8 <0x5f>;
78 };
79 chan2 {
80 led-cur = /bits/ 8 <0x2f>;
81 max-cur = /bits/ 8 <0x5f>;
82 };
Lee Jonesd1b8bfa2012-09-26 13:29:09 +010083 };
Linus Walleij2bd73782013-05-22 10:09:39 +020084 lp5521@34 {
85 compatible = "national,lp5521";
Lee Jonesd1b8bfa2012-09-26 13:29:09 +010086 reg = <0x34>;
Linus Walleij2bd73782013-05-22 10:09:39 +020087 label = "lp5521_sec";
88 clock-mode = /bits/ 8 <2>;
89 chan0 {
90 led-cur = /bits/ 8 <0x2f>;
91 max-cur = /bits/ 8 <0x5f>;
92 };
93 chan1 {
94 led-cur = /bits/ 8 <0x2f>;
95 max-cur = /bits/ 8 <0x5f>;
96 };
97 chan2 {
98 led-cur = /bits/ 8 <0x2f>;
99 max-cur = /bits/ 8 <0x5f>;
100 };
Lee Jonesd1b8bfa2012-09-26 13:29:09 +0100101 };
Linus Walleijd5942242013-06-04 11:50:32 +0200102 bh1780@29 {
Lee Jonesd1b8bfa2012-09-26 13:29:09 +0100103 compatible = "rohm,bh1780gli";
Linus Walleij7e9dee02013-10-02 13:40:09 +0200104 reg = <0x29>;
Lee Jonesd1b8bfa2012-09-26 13:29:09 +0100105 };
106 };
107
Linus Walleij96fee132013-11-13 11:10:07 +0100108 i2c@80110000 {
109 pinctrl-names = "default","sleep";
110 pinctrl-0 = <&i2c3_default_mode>;
111 pinctrl-1 = <&i2c3_sleep_mode>;
112 };
113
Lee Jonesd1b8bfa2012-09-26 13:29:09 +0100114 // External Micro SD slot
115 sdi0_per1@80126000 {
116 arm,primecell-periphid = <0x10480180>;
Linus Walleij90ccde42013-05-27 13:15:05 +0200117 max-frequency = <100000000>;
Lee Jonesd1b8bfa2012-09-26 13:29:09 +0100118 bus-width = <4>;
119 mmc-cap-sd-highspeed;
120 mmc-cap-mmc-highspeed;
121 vmmc-supply = <&ab8500_ldo_aux3_reg>;
Lee Jonesd05b0662012-12-06 15:08:45 +0000122 vqmmc-supply = <&vmmci>;
Linus Walleij1e662352013-11-13 13:46:57 +0100123 pinctrl-names = "default", "sleep";
124 pinctrl-0 = <&sdi0_default_mode>;
125 pinctrl-1 = <&sdi0_sleep_mode>;
Lee Jonesd1b8bfa2012-09-26 13:29:09 +0100126
Lee Jonesd1b8bfa2012-09-26 13:29:09 +0100127 status = "okay";
128 };
129
130 // WLAN SDIO channel
131 sdi1_per2@80118000 {
132 arm,primecell-periphid = <0x10480180>;
Linus Walleij90ccde42013-05-27 13:15:05 +0200133 max-frequency = <100000000>;
Lee Jonesd1b8bfa2012-09-26 13:29:09 +0100134 bus-width = <4>;
Linus Walleij1e662352013-11-13 13:46:57 +0100135 pinctrl-names = "default", "sleep";
136 pinctrl-0 = <&sdi1_default_mode>;
137 pinctrl-1 = <&sdi1_sleep_mode>;
Lee Jonesd1b8bfa2012-09-26 13:29:09 +0100138
139 status = "okay";
140 };
141
142 // PoP:ed eMMC
143 sdi2_per3@80005000 {
144 arm,primecell-periphid = <0x10480180>;
Linus Walleij90ccde42013-05-27 13:15:05 +0200145 max-frequency = <100000000>;
Lee Jonesd1b8bfa2012-09-26 13:29:09 +0100146 bus-width = <8>;
147 mmc-cap-mmc-highspeed;
Linus Walleij1e662352013-11-13 13:46:57 +0100148 pinctrl-names = "default", "sleep";
149 pinctrl-0 = <&sdi2_default_mode>;
150 pinctrl-1 = <&sdi2_sleep_mode>;
Lee Jonesd1b8bfa2012-09-26 13:29:09 +0100151
152 status = "okay";
153 };
154
155 // On-board eMMC
156 sdi4_per2@80114000 {
157 arm,primecell-periphid = <0x10480180>;
Linus Walleij90ccde42013-05-27 13:15:05 +0200158 max-frequency = <100000000>;
Lee Jonesd1b8bfa2012-09-26 13:29:09 +0100159 bus-width = <8>;
160 mmc-cap-mmc-highspeed;
161 vmmc-supply = <&ab8500_ldo_aux2_reg>;
Linus Walleij1e662352013-11-13 13:46:57 +0100162 pinctrl-names = "default", "sleep";
163 pinctrl-0 = <&sdi4_default_mode>;
164 pinctrl-1 = <&sdi4_sleep_mode>;
Lee Jonesd1b8bfa2012-09-26 13:29:09 +0100165
166 status = "okay";
167 };
168
169 sound {
170 compatible = "stericsson,snd-soc-mop500";
171
172 stericsson,cpu-dai = <&msp1 &msp3>;
173 stericsson,audio-codec = <&codec>;
174 };
175
Linus Walleij70b41ab2013-11-13 14:45:06 +0100176 msp0: msp@80123000 {
177 pinctrl-names = "default";
178 pinctrl-0 = <&msp0_default_mode>;
179 status = "okay";
180 };
181
Lee Jonesd1b8bfa2012-09-26 13:29:09 +0100182 msp1: msp@80124000 {
Linus Walleij70b41ab2013-11-13 14:45:06 +0100183 pinctrl-names = "default";
184 pinctrl-0 = <&msp1_default_mode>;
185 status = "okay";
186 };
187
188 msp2: msp@80117000 {
189 pinctrl-names = "default";
190 pinctrl-0 = <&msp2_default_mode>;
Lee Jonesd1b8bfa2012-09-26 13:29:09 +0100191 status = "okay";
192 };
193
194 msp3: msp@80125000 {
195 status = "okay";
196 };
197
198 prcmu@80157000 {
Arnd Bergmannd52701d32013-03-12 09:39:01 +0100199 ab8500 {
Linus Walleijc90c36e2013-09-26 15:09:14 +0200200 ab8500-gpio {
201 compatible = "stericsson,ab8500-gpio";
202 };
203
Lee Jonesd1b8bfa2012-09-26 13:29:09 +0100204 ab8500-regulators {
205 ab8500_ldo_aux1_reg: ab8500_ldo_aux1 {
206 regulator-name = "V-DISPLAY";
207 };
208
209 ab8500_ldo_aux2_reg: ab8500_ldo_aux2 {
210 regulator-name = "V-eMMC1";
211 };
212
213 ab8500_ldo_aux3_reg: ab8500_ldo_aux3 {
214 regulator-name = "V-MMC-SD";
215 };
216
Fabio Baltieri99b38ee2013-04-09 11:16:56 +0200217 ab8500_ldo_intcore_reg: ab8500_ldo_intcore {
Lee Jonesd1b8bfa2012-09-26 13:29:09 +0100218 regulator-name = "V-INTCORE";
219 };
220
221 ab8500_ldo_tvout_reg: ab8500_ldo_tvout {
222 regulator-name = "V-TVOUT";
223 };
224
225 ab8500_ldo_usb_reg: ab8500_ldo_usb {
226 regulator-name = "dummy";
227 };
228
229 ab8500_ldo_audio_reg: ab8500_ldo_audio {
230 regulator-name = "V-AUD";
231 };
232
233 ab8500_ldo_anamic1_reg: ab8500_ldo_anamic1 {
234 regulator-name = "V-AMIC1";
235 };
236
Fabio Baltieri5510ed92013-05-30 15:27:42 +0200237 ab8500_ldo_anamic2_reg: ab8500_ldo_anamic2 {
Lee Jonesd1b8bfa2012-09-26 13:29:09 +0100238 regulator-name = "V-AMIC2";
239 };
240
241 ab8500_ldo_dmic_reg: ab8500_ldo_dmic {
242 regulator-name = "V-DMIC";
243 };
244
245 ab8500_ldo_ana_reg: ab8500_ldo_ana {
246 regulator-name = "V-CSI/DSI";
247 };
248 };
249 };
250 };
Linus Walleij817a5b92013-11-14 15:23:20 +0100251
252 mcde@a0350000 {
253 pinctrl-names = "default", "sleep";
254 pinctrl-0 = <&lcd_default_mode>;
255 pinctrl-1 = <&lcd_sleep_mode>;
256 };
Lee Jonesd1b8bfa2012-09-26 13:29:09 +0100257 };
258};