Merge remote-tracking branches 'asoc/fix/atmel', 'asoc/fix/fsl', 'asoc/fix/tegra...
[linux-drm-fsl-dcu.git] / arch / arm / boot / dts / cros5250-common.dtsi
1 /*
2  * Common device tree include for all Exynos 5250 boards based off of Daisy.
3  *
4  * Copyright (c) 2012 Google, Inc
5  *
6  * This program is free software; you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License version 2 as
8  * published by the Free Software Foundation.
9 */
10
11 / {
12         aliases {
13         };
14
15         memory {
16                 reg = <0x40000000 0x80000000>;
17         };
18
19         chosen {
20         };
21
22         pinctrl@11400000 {
23                 /*
24                  * Disabled pullups since external part has its own pullups and
25                  * double-pulling gets us out of spec in some cases.
26                  */
27                 i2c2_bus: i2c2-bus {
28                         samsung,pin-pud = <0>;
29                 };
30
31                 max77686_irq: max77686-irq {
32                         samsung,pins = "gpx3-2";
33                         samsung,pin-function = <0>;
34                         samsung,pin-pud = <0>;
35                         samsung,pin-drv = <0>;
36                 };
37         };
38
39         i2c@12C60000 {
40                 samsung,i2c-sda-delay = <100>;
41                 samsung,i2c-max-bus-freq = <378000>;
42
43                 max77686@09 {
44                         compatible = "maxim,max77686";
45                         interrupt-parent = <&gpx3>;
46                         interrupts = <2 0>;
47                         pinctrl-names = "default";
48                         pinctrl-0 = <&max77686_irq>;
49                         wakeup-source;
50                         reg = <0x09>;
51
52                         voltage-regulators {
53                                 ldo1_reg: LDO1 {
54                                         regulator-name = "P1.0V_LDO_OUT1";
55                                         regulator-min-microvolt = <1000000>;
56                                         regulator-max-microvolt = <1000000>;
57                                         regulator-always-on;
58                                 };
59
60                                 ldo2_reg: LDO2 {
61                                         regulator-name = "P1.8V_LDO_OUT2";
62                                         regulator-min-microvolt = <1800000>;
63                                         regulator-max-microvolt = <1800000>;
64                                         regulator-always-on;
65                                 };
66
67                                 ldo3_reg: LDO3 {
68                                         regulator-name = "P1.8V_LDO_OUT3";
69                                         regulator-min-microvolt = <1800000>;
70                                         regulator-max-microvolt = <1800000>;
71                                         regulator-always-on;
72                                 };
73
74                                 ldo7_reg: LDO7 {
75                                         regulator-name = "P1.1V_LDO_OUT7";
76                                         regulator-min-microvolt = <1100000>;
77                                         regulator-max-microvolt = <1100000>;
78                                         regulator-always-on;
79                                 };
80
81                                 ldo8_reg: LDO8 {
82                                         regulator-name = "P1.0V_LDO_OUT8";
83                                         regulator-min-microvolt = <1000000>;
84                                         regulator-max-microvolt = <1000000>;
85                                         regulator-always-on;
86                                 };
87
88                                 ldo10_reg: LDO10 {
89                                         regulator-name = "P1.8V_LDO_OUT10";
90                                         regulator-min-microvolt = <1800000>;
91                                         regulator-max-microvolt = <1800000>;
92                                         regulator-always-on;
93                                 };
94
95                                 ldo12_reg: LDO12 {
96                                         regulator-name = "P3.0V_LDO_OUT12";
97                                         regulator-min-microvolt = <3000000>;
98                                         regulator-max-microvolt = <3000000>;
99                                         regulator-always-on;
100                                 };
101
102                                 ldo14_reg: LDO14 {
103                                         regulator-name = "P1.8V_LDO_OUT14";
104                                         regulator-min-microvolt = <1800000>;
105                                         regulator-max-microvolt = <1800000>;
106                                         regulator-always-on;
107                                 };
108
109                                 ldo15_reg: LDO15 {
110                                         regulator-name = "P1.0V_LDO_OUT15";
111                                         regulator-min-microvolt = <1000000>;
112                                         regulator-max-microvolt = <1000000>;
113                                         regulator-always-on;
114                                 };
115
116                                 ldo16_reg: LDO16 {
117                                         regulator-name = "P1.8V_LDO_OUT16";
118                                         regulator-min-microvolt = <1800000>;
119                                         regulator-max-microvolt = <1800000>;
120                                         regulator-always-on;
121                                 };
122
123                                 buck1_reg: BUCK1 {
124                                         regulator-name = "vdd_mif";
125                                         regulator-min-microvolt = <950000>;
126                                         regulator-max-microvolt = <1300000>;
127                                         regulator-always-on;
128                                         regulator-boot-on;
129                                 };
130
131                                 buck2_reg: BUCK2 {
132                                         regulator-name = "vdd_arm";
133                                         regulator-min-microvolt = <850000>;
134                                         regulator-max-microvolt = <1350000>;
135                                         regulator-always-on;
136                                         regulator-boot-on;
137                                 };
138
139                                 buck3_reg: BUCK3 {
140                                         regulator-name = "vdd_int";
141                                         regulator-min-microvolt = <900000>;
142                                         regulator-max-microvolt = <1200000>;
143                                         regulator-always-on;
144                                         regulator-boot-on;
145                                 };
146
147                                 buck4_reg: BUCK4 {
148                                         regulator-name = "vdd_g3d";
149                                         regulator-min-microvolt = <850000>;
150                                         regulator-max-microvolt = <1300000>;
151                                         regulator-always-on;
152                                         regulator-boot-on;
153                                 };
154
155                                 buck5_reg: BUCK5 {
156                                         regulator-name = "P1.8V_BUCK_OUT5";
157                                         regulator-min-microvolt = <1800000>;
158                                         regulator-max-microvolt = <1800000>;
159                                         regulator-always-on;
160                                         regulator-boot-on;
161                                 };
162
163                                 buck6_reg: BUCK6 {
164                                         regulator-name = "P1.35V_BUCK_OUT6";
165                                         regulator-min-microvolt = <1350000>;
166                                         regulator-max-microvolt = <1350000>;
167                                         regulator-always-on;
168                                 };
169
170                                 buck7_reg: BUCK7 {
171                                         regulator-name = "P2.0V_BUCK_OUT7";
172                                         regulator-min-microvolt = <2000000>;
173                                         regulator-max-microvolt = <2000000>;
174                                         regulator-always-on;
175                                 };
176
177                                 buck8_reg: BUCK8 {
178                                         regulator-name = "P2.85V_BUCK_OUT8";
179                                         regulator-min-microvolt = <2850000>;
180                                         regulator-max-microvolt = <2850000>;
181                                         regulator-always-on;
182                                 };
183                         };
184                 };
185         };
186
187         i2c@12C70000 {
188                 samsung,i2c-sda-delay = <100>;
189                 samsung,i2c-max-bus-freq = <378000>;
190
191                 trackpad {
192                         reg = <0x67>;
193                         compatible = "cypress,cyapa";
194                         interrupts = <2 0>;
195                         interrupt-parent = <&gpx1>;
196                         wakeup-source;
197                 };
198         };
199
200         i2c@12C80000 {
201                 samsung,i2c-sda-delay = <100>;
202                 samsung,i2c-max-bus-freq = <66000>;
203
204                 hdmiddc@50 {
205                         compatible = "samsung,exynos4210-hdmiddc";
206                         reg = <0x50>;
207                 };
208         };
209
210         i2c@12C90000 {
211                 samsung,i2c-sda-delay = <100>;
212                 samsung,i2c-max-bus-freq = <66000>;
213         };
214
215         i2c@12CA0000 {
216                 samsung,i2c-sda-delay = <100>;
217                 samsung,i2c-max-bus-freq = <66000>;
218         };
219
220         i2c@12CB0000 {
221                 samsung,i2c-sda-delay = <100>;
222                 samsung,i2c-max-bus-freq = <66000>;
223         };
224
225         i2c@12CC0000 {
226                 status = "disabled";
227         };
228
229         i2c@12CD0000 {
230                 samsung,i2c-sda-delay = <100>;
231                 samsung,i2c-max-bus-freq = <66000>;
232         };
233
234         i2c@12CE0000 {
235                 samsung,i2c-sda-delay = <100>;
236                 samsung,i2c-max-bus-freq = <378000>;
237
238                 hdmiphy@38 {
239                         compatible = "samsung,exynos4212-hdmiphy";
240                         reg = <0x38>;
241                 };
242         };
243
244         dwmmc0@12200000 {
245                 num-slots = <1>;
246                 supports-highspeed;
247                 broken-cd;
248                 fifo-depth = <0x80>;
249                 card-detect-delay = <200>;
250                 samsung,dw-mshc-ciu-div = <3>;
251                 samsung,dw-mshc-sdr-timing = <2 3>;
252                 samsung,dw-mshc-ddr-timing = <1 2>;
253                 pinctrl-names = "default";
254                 pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_cd &sd0_bus4 &sd0_bus8>;
255
256                 slot@0 {
257                         reg = <0>;
258                         bus-width = <8>;
259                 };
260         };
261
262         dwmmc1@12210000 {
263                 status = "disabled";
264         };
265
266         dwmmc2@12220000 {
267                 num-slots = <1>;
268                 supports-highspeed;
269                 fifo-depth = <0x80>;
270                 card-detect-delay = <200>;
271                 samsung,dw-mshc-ciu-div = <3>;
272                 samsung,dw-mshc-sdr-timing = <2 3>;
273                 samsung,dw-mshc-ddr-timing = <1 2>;
274                 pinctrl-names = "default";
275                 pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_cd &sd2_bus4>;
276
277                 slot@0 {
278                         reg = <0>;
279                         bus-width = <4>;
280                         wp-gpios = <&gpc2 1 0>;
281                 };
282         };
283
284         dwmmc3@12230000 {
285                 num-slots = <1>;
286                 supports-highspeed;
287                 broken-cd;
288                 fifo-depth = <0x80>;
289                 card-detect-delay = <200>;
290                 samsung,dw-mshc-ciu-div = <3>;
291                 samsung,dw-mshc-sdr-timing = <2 3>;
292                 samsung,dw-mshc-ddr-timing = <1 2>;
293                 /* See board-specific dts files for pin setup */
294
295                 slot@0 {
296                         reg = <0>;
297                         bus-width = <4>;
298                 };
299         };
300
301         spi_0: spi@12d20000 {
302                 status = "disabled";
303         };
304
305         spi_1: spi@12d30000 {
306                 samsung,spi-src-clk = <0>;
307                 num-cs = <1>;
308         };
309
310         spi_2: spi@12d40000 {
311                 status = "disabled";
312         };
313
314         hdmi {
315                 hpd-gpio = <&gpx3 7 0>;
316         };
317
318         gpio-keys {
319                 compatible = "gpio-keys";
320
321                 power {
322                         label = "Power";
323                         gpios = <&gpx1 3 1>;
324                         linux,code = <116>; /* KEY_POWER */
325                         gpio-key,wakeup;
326                 };
327         };
328 };