Merge tag 'ntb-3.13' of git://github.com/jonmason/ntb
[linux-drm-fsl-dcu.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@80128000 {
45                         lp5521@33 {
46                                 compatible = "national,lp5521";
47                                 reg = <0x33>;
48                                 label = "lp5521_pri";
49                                 clock-mode = /bits/ 8 <2>;
50                                 chan0 {
51                                         led-cur = /bits/ 8 <0x2f>;
52                                         max-cur = /bits/ 8 <0x5f>;
53                                         linux,default-trigger = "heartbeat";
54                                 };
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                                 };
63                         };
64                         lp5521@34 {
65                                 compatible = "national,lp5521";
66                                 reg = <0x34>;
67                                 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                                 };
81                         };
82                         bh1780@29 {
83                                 compatible = "rohm,bh1780gli";
84                                 reg = <0x29>;
85                         };
86                 };
87
88                 // External Micro SD slot
89                 sdi0_per1@80126000 {
90                         arm,primecell-periphid = <0x10480180>;
91                         max-frequency = <100000000>;
92                         bus-width = <4>;
93                         mmc-cap-sd-highspeed;
94                         mmc-cap-mmc-highspeed;
95                         vmmc-supply = <&ab8500_ldo_aux3_reg>;
96                         vqmmc-supply = <&vmmci>;
97
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>;
106                         max-frequency = <100000000>;
107                         bus-width = <4>;
108
109                         status = "okay";
110                 };
111
112                 // PoP:ed eMMC
113                 sdi2_per3@80005000 {
114                         arm,primecell-periphid = <0x10480180>;
115                         max-frequency = <100000000>;
116                         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>;
125                         max-frequency = <100000000>;
126                         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 {
149                         ab8500 {
150                                 ab8500-gpio {
151                                         compatible = "stericsson,ab8500-gpio";
152                                 };
153
154                                 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
167                                         ab8500_ldo_intcore_reg: ab8500_ldo_intcore {
168                                                 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
187                                         ab8500_ldo_anamic2_reg: ab8500_ldo_anamic2 {
188                                                 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 };