blob: aa3f02060fdd43114570eceedbf1ef54dc49a01f [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"
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
Lee Jonesd1b8bfa2012-09-26 13:29:09 +010044 i2c@80128000 {
Linus Walleij2bd73782013-05-22 10:09:39 +020045 lp5521@33 {
46 compatible = "national,lp5521";
Lee Jonesd1b8bfa2012-09-26 13:29:09 +010047 reg = <0x33>;
Linus Walleij2bd73782013-05-22 10:09:39 +020048 label = "lp5521_pri";
49 clock-mode = /bits/ 8 <2>;
50 chan0 {
51 led-cur = /bits/ 8 <0x2f>;
52 max-cur = /bits/ 8 <0x5f>;
Linus Walleij385d61c2013-09-15 12:01:07 +020053 linux,default-trigger = "heartbeat";
Linus Walleij2bd73782013-05-22 10:09:39 +020054 };
55 chan1 {
56 led-cur = /bits/ 8 <0x2f>;
57 max-cur = /bits/ 8 <0x5f>;
58 };
59 chan2 {
60 led-cur = /bits/ 8 <0x2f>;
61 max-cur = /bits/ 8 <0x5f>;
62 };
Lee Jonesd1b8bfa2012-09-26 13:29:09 +010063 };
Linus Walleij2bd73782013-05-22 10:09:39 +020064 lp5521@34 {
65 compatible = "national,lp5521";
Lee Jonesd1b8bfa2012-09-26 13:29:09 +010066 reg = <0x34>;
Linus Walleij2bd73782013-05-22 10:09:39 +020067 label = "lp5521_sec";
68 clock-mode = /bits/ 8 <2>;
69 chan0 {
70 led-cur = /bits/ 8 <0x2f>;
71 max-cur = /bits/ 8 <0x5f>;
72 };
73 chan1 {
74 led-cur = /bits/ 8 <0x2f>;
75 max-cur = /bits/ 8 <0x5f>;
76 };
77 chan2 {
78 led-cur = /bits/ 8 <0x2f>;
79 max-cur = /bits/ 8 <0x5f>;
80 };
Lee Jonesd1b8bfa2012-09-26 13:29:09 +010081 };
Linus Walleijd5942242013-06-04 11:50:32 +020082 bh1780@29 {
Lee Jonesd1b8bfa2012-09-26 13:29:09 +010083 compatible = "rohm,bh1780gli";
Linus Walleij7e9dee02013-10-02 13:40:09 +020084 reg = <0x29>;
Lee Jonesd1b8bfa2012-09-26 13:29:09 +010085 };
86 };
87
88 // External Micro SD slot
89 sdi0_per1@80126000 {
90 arm,primecell-periphid = <0x10480180>;
Linus Walleij90ccde42013-05-27 13:15:05 +020091 max-frequency = <100000000>;
Lee Jonesd1b8bfa2012-09-26 13:29:09 +010092 bus-width = <4>;
93 mmc-cap-sd-highspeed;
94 mmc-cap-mmc-highspeed;
95 vmmc-supply = <&ab8500_ldo_aux3_reg>;
Lee Jonesd05b0662012-12-06 15:08:45 +000096 vqmmc-supply = <&vmmci>;
Lee Jonesd1b8bfa2012-09-26 13:29:09 +010097
98 cd-gpios = <&tc3589x_gpio 3 0x4>;
99
100 status = "okay";
101 };
102
103 // WLAN SDIO channel
104 sdi1_per2@80118000 {
105 arm,primecell-periphid = <0x10480180>;
Linus Walleij90ccde42013-05-27 13:15:05 +0200106 max-frequency = <100000000>;
Lee Jonesd1b8bfa2012-09-26 13:29:09 +0100107 bus-width = <4>;
108
109 status = "okay";
110 };
111
112 // PoP:ed eMMC
113 sdi2_per3@80005000 {
114 arm,primecell-periphid = <0x10480180>;
Linus Walleij90ccde42013-05-27 13:15:05 +0200115 max-frequency = <100000000>;
Lee Jonesd1b8bfa2012-09-26 13:29:09 +0100116 bus-width = <8>;
117 mmc-cap-mmc-highspeed;
118
119 status = "okay";
120 };
121
122 // On-board eMMC
123 sdi4_per2@80114000 {
124 arm,primecell-periphid = <0x10480180>;
Linus Walleij90ccde42013-05-27 13:15:05 +0200125 max-frequency = <100000000>;
Lee Jonesd1b8bfa2012-09-26 13:29:09 +0100126 bus-width = <8>;
127 mmc-cap-mmc-highspeed;
128 vmmc-supply = <&ab8500_ldo_aux2_reg>;
129
130 status = "okay";
131 };
132
133 sound {
134 compatible = "stericsson,snd-soc-mop500";
135
136 stericsson,cpu-dai = <&msp1 &msp3>;
137 stericsson,audio-codec = <&codec>;
138 };
139
140 msp1: msp@80124000 {
141 status = "okay";
142 };
143
144 msp3: msp@80125000 {
145 status = "okay";
146 };
147
148 prcmu@80157000 {
Arnd Bergmannd52701d32013-03-12 09:39:01 +0100149 ab8500 {
Linus Walleijc90c36e2013-09-26 15:09:14 +0200150 ab8500-gpio {
151 compatible = "stericsson,ab8500-gpio";
152 };
153
Lee Jonesd1b8bfa2012-09-26 13:29:09 +0100154 ab8500-regulators {
155 ab8500_ldo_aux1_reg: ab8500_ldo_aux1 {
156 regulator-name = "V-DISPLAY";
157 };
158
159 ab8500_ldo_aux2_reg: ab8500_ldo_aux2 {
160 regulator-name = "V-eMMC1";
161 };
162
163 ab8500_ldo_aux3_reg: ab8500_ldo_aux3 {
164 regulator-name = "V-MMC-SD";
165 };
166
Fabio Baltieri99b38ee2013-04-09 11:16:56 +0200167 ab8500_ldo_intcore_reg: ab8500_ldo_intcore {
Lee Jonesd1b8bfa2012-09-26 13:29:09 +0100168 regulator-name = "V-INTCORE";
169 };
170
171 ab8500_ldo_tvout_reg: ab8500_ldo_tvout {
172 regulator-name = "V-TVOUT";
173 };
174
175 ab8500_ldo_usb_reg: ab8500_ldo_usb {
176 regulator-name = "dummy";
177 };
178
179 ab8500_ldo_audio_reg: ab8500_ldo_audio {
180 regulator-name = "V-AUD";
181 };
182
183 ab8500_ldo_anamic1_reg: ab8500_ldo_anamic1 {
184 regulator-name = "V-AMIC1";
185 };
186
Fabio Baltieri5510ed92013-05-30 15:27:42 +0200187 ab8500_ldo_anamic2_reg: ab8500_ldo_anamic2 {
Lee Jonesd1b8bfa2012-09-26 13:29:09 +0100188 regulator-name = "V-AMIC2";
189 };
190
191 ab8500_ldo_dmic_reg: ab8500_ldo_dmic {
192 regulator-name = "V-DMIC";
193 };
194
195 ab8500_ldo_ana_reg: ab8500_ldo_ana {
196 regulator-name = "V-CSI/DSI";
197 };
198 };
199 };
200 };
201 };
202};