]> Pileus Git - ~andy/linux/blob - arch/arm/boot/dts/exynos5250-cros-common.dtsi
ARM: dts: Disable I2C controllers by default on Exynos5250
[~andy/linux] / arch / arm / boot / dts / exynos5250-cros-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
32         i2c@12C60000 {
33                 status = "okay";
34                 samsung,i2c-sda-delay = <100>;
35                 samsung,i2c-max-bus-freq = <378000>;
36
37                 max77686@09 {
38                         compatible = "maxim,max77686";
39                         reg = <0x09>;
40
41                         voltage-regulators {
42                                 ldo1_reg: LDO1 {
43                                         regulator-name = "P1.0V_LDO_OUT1";
44                                         regulator-min-microvolt = <1000000>;
45                                         regulator-max-microvolt = <1000000>;
46                                         regulator-always-on;
47                                 };
48
49                                 ldo2_reg: LDO2 {
50                                         regulator-name = "P1.8V_LDO_OUT2";
51                                         regulator-min-microvolt = <1800000>;
52                                         regulator-max-microvolt = <1800000>;
53                                         regulator-always-on;
54                                 };
55
56                                 ldo3_reg: LDO3 {
57                                         regulator-name = "P1.8V_LDO_OUT3";
58                                         regulator-min-microvolt = <1800000>;
59                                         regulator-max-microvolt = <1800000>;
60                                         regulator-always-on;
61                                 };
62
63                                 ldo7_reg: LDO7 {
64                                         regulator-name = "P1.1V_LDO_OUT7";
65                                         regulator-min-microvolt = <1100000>;
66                                         regulator-max-microvolt = <1100000>;
67                                         regulator-always-on;
68                                 };
69
70                                 ldo8_reg: LDO8 {
71                                         regulator-name = "P1.0V_LDO_OUT8";
72                                         regulator-min-microvolt = <1000000>;
73                                         regulator-max-microvolt = <1000000>;
74                                         regulator-always-on;
75                                 };
76
77                                 ldo10_reg: LDO10 {
78                                         regulator-name = "P1.8V_LDO_OUT10";
79                                         regulator-min-microvolt = <1800000>;
80                                         regulator-max-microvolt = <1800000>;
81                                         regulator-always-on;
82                                 };
83
84                                 ldo12_reg: LDO12 {
85                                         regulator-name = "P3.0V_LDO_OUT12";
86                                         regulator-min-microvolt = <3000000>;
87                                         regulator-max-microvolt = <3000000>;
88                                         regulator-always-on;
89                                 };
90
91                                 ldo14_reg: LDO14 {
92                                         regulator-name = "P1.8V_LDO_OUT14";
93                                         regulator-min-microvolt = <1800000>;
94                                         regulator-max-microvolt = <1800000>;
95                                         regulator-always-on;
96                                 };
97
98                                 ldo15_reg: LDO15 {
99                                         regulator-name = "P1.0V_LDO_OUT15";
100                                         regulator-min-microvolt = <1000000>;
101                                         regulator-max-microvolt = <1000000>;
102                                         regulator-always-on;
103                                 };
104
105                                 ldo16_reg: LDO16 {
106                                         regulator-name = "P1.8V_LDO_OUT16";
107                                         regulator-min-microvolt = <1800000>;
108                                         regulator-max-microvolt = <1800000>;
109                                         regulator-always-on;
110                                 };
111
112                                 buck1_reg: BUCK1 {
113                                         regulator-name = "vdd_mif";
114                                         regulator-min-microvolt = <950000>;
115                                         regulator-max-microvolt = <1300000>;
116                                         regulator-always-on;
117                                         regulator-boot-on;
118                                 };
119
120                                 buck2_reg: BUCK2 {
121                                         regulator-name = "vdd_arm";
122                                         regulator-min-microvolt = <850000>;
123                                         regulator-max-microvolt = <1350000>;
124                                         regulator-always-on;
125                                         regulator-boot-on;
126                                 };
127
128                                 buck3_reg: BUCK3 {
129                                         regulator-name = "vdd_int";
130                                         regulator-min-microvolt = <900000>;
131                                         regulator-max-microvolt = <1200000>;
132                                         regulator-always-on;
133                                         regulator-boot-on;
134                                 };
135
136                                 buck4_reg: BUCK4 {
137                                         regulator-name = "vdd_g3d";
138                                         regulator-min-microvolt = <850000>;
139                                         regulator-max-microvolt = <1300000>;
140                                         regulator-always-on;
141                                         regulator-boot-on;
142                                 };
143
144                                 buck5_reg: BUCK5 {
145                                         regulator-name = "P1.8V_BUCK_OUT5";
146                                         regulator-min-microvolt = <1800000>;
147                                         regulator-max-microvolt = <1800000>;
148                                         regulator-always-on;
149                                         regulator-boot-on;
150                                 };
151
152                                 buck6_reg: BUCK6 {
153                                         regulator-name = "P1.35V_BUCK_OUT6";
154                                         regulator-min-microvolt = <1350000>;
155                                         regulator-max-microvolt = <1350000>;
156                                         regulator-always-on;
157                                 };
158
159                                 buck7_reg: BUCK7 {
160                                         regulator-name = "P2.0V_BUCK_OUT7";
161                                         regulator-min-microvolt = <2000000>;
162                                         regulator-max-microvolt = <2000000>;
163                                         regulator-always-on;
164                                 };
165
166                                 buck8_reg: BUCK8 {
167                                         regulator-name = "P2.85V_BUCK_OUT8";
168                                         regulator-min-microvolt = <2850000>;
169                                         regulator-max-microvolt = <2850000>;
170                                         regulator-always-on;
171                                 };
172                         };
173                 };
174         };
175
176         i2c@12C70000 {
177                 status = "okay";
178                 samsung,i2c-sda-delay = <100>;
179                 samsung,i2c-max-bus-freq = <378000>;
180
181                 trackpad {
182                         reg = <0x67>;
183                         compatible = "cypress,cyapa";
184                         interrupts = <2 0>;
185                         interrupt-parent = <&gpx1>;
186                         wakeup-source;
187                 };
188         };
189
190         i2c@12C80000 {
191                 status = "okay";
192                 samsung,i2c-sda-delay = <100>;
193                 samsung,i2c-max-bus-freq = <66000>;
194
195                 hdmiddc@50 {
196                         compatible = "samsung,exynos4210-hdmiddc";
197                         reg = <0x50>;
198                 };
199         };
200
201         i2c@12C90000 {
202                 status = "okay";
203                 samsung,i2c-sda-delay = <100>;
204                 samsung,i2c-max-bus-freq = <66000>;
205         };
206
207         i2c@12CA0000 {
208                 status = "okay";
209                 samsung,i2c-sda-delay = <100>;
210                 samsung,i2c-max-bus-freq = <66000>;
211         };
212
213         i2c@12CB0000 {
214                 status = "okay";
215                 samsung,i2c-sda-delay = <100>;
216                 samsung,i2c-max-bus-freq = <66000>;
217         };
218
219         i2c@12CD0000 {
220                 status = "okay";
221                 samsung,i2c-sda-delay = <100>;
222                 samsung,i2c-max-bus-freq = <66000>;
223         };
224
225         i2c@12CE0000 {
226                 status = "okay";
227                 samsung,i2c-sda-delay = <100>;
228                 samsung,i2c-max-bus-freq = <378000>;
229
230                 hdmiphy@38 {
231                         compatible = "samsung,exynos4212-hdmiphy";
232                         reg = <0x38>;
233                 };
234         };
235
236         mmc@12200000 {
237                 num-slots = <1>;
238                 supports-highspeed;
239                 broken-cd;
240                 card-detect-delay = <200>;
241                 samsung,dw-mshc-ciu-div = <3>;
242                 samsung,dw-mshc-sdr-timing = <2 3>;
243                 samsung,dw-mshc-ddr-timing = <1 2>;
244                 pinctrl-names = "default";
245                 pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_cd &sd0_bus4 &sd0_bus8>;
246
247                 slot@0 {
248                         reg = <0>;
249                         bus-width = <8>;
250                 };
251         };
252
253         mmc@12220000 {
254                 num-slots = <1>;
255                 supports-highspeed;
256                 card-detect-delay = <200>;
257                 samsung,dw-mshc-ciu-div = <3>;
258                 samsung,dw-mshc-sdr-timing = <2 3>;
259                 samsung,dw-mshc-ddr-timing = <1 2>;
260                 pinctrl-names = "default";
261                 pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_cd &sd2_bus4>;
262
263                 slot@0 {
264                         reg = <0>;
265                         bus-width = <4>;
266                         wp-gpios = <&gpc2 1 0>;
267                 };
268         };
269
270         mmc@12230000 {
271                 num-slots = <1>;
272                 supports-highspeed;
273                 broken-cd;
274                 card-detect-delay = <200>;
275                 samsung,dw-mshc-ciu-div = <3>;
276                 samsung,dw-mshc-sdr-timing = <2 3>;
277                 samsung,dw-mshc-ddr-timing = <1 2>;
278                 /* See board-specific dts files for pin setup */
279
280                 slot@0 {
281                         reg = <0>;
282                         bus-width = <4>;
283                 };
284         };
285
286         spi_1: spi@12d30000 {
287                 status = "okay";
288                 samsung,spi-src-clk = <0>;
289                 num-cs = <1>;
290         };
291
292         hdmi {
293                 hpd-gpio = <&gpx3 7 0>;
294         };
295
296         gpio-keys {
297                 compatible = "gpio-keys";
298
299                 power {
300                         label = "Power";
301                         gpios = <&gpx1 3 1>;
302                         linux,code = <116>; /* KEY_POWER */
303                         gpio-key,wakeup;
304                 };
305         };
306 };