CHROMIUM: exynos: dts: update configuration for Spring proto-1
[cascardo/linux.git] / arch / arm / boot / dts / exynos5250-spring.dts
1 /*
2  * Google Spring board device tree source
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 /dts-v1/;
12 /include/ "exynos5250.dtsi"
13 /include/ "cros5250-common.dtsi"
14
15 / {
16         model = "Google Spring";
17         compatible = "google,spring", "samsung,exynos5250";
18
19         mipi {
20                 status = "disabled";
21         };
22
23         /*
24          * always de-activate the OHCI controller else it will force turning on
25          * the VBUS power on port 0 triggering an electrical conflict.
26          * We can remove this workaround (and support USB1.1 peripherals)
27          * once the next revision of hardware will modify the VBUS control.
28          */
29         ohci {
30                 status = "disabled";
31         };
32
33         gpio-keys {
34                 compatible = "gpio-keys";
35
36                 lid-switch {
37                         label = "Lid";
38                         gpios = <&gpx3 5 0 0x10000 0>;
39                         linux,input-type = <5>; /* EV_SW */
40                         linux,code = <0>; /* SW_LID */
41                         debounce-interval = <1>;
42                         gpio-key,wakeup;
43                 };
44         };
45
46         dwmmc1@12210000 {
47                 /*
48                  * MMC1 port is used for external Wifi card SDIO connection.
49                  *
50                  * We override the default configuration for this port which
51                  * disables it in cros5250-common.dtsi.
52                  */
53                 status = "okay";
54                 /* high speed is currently not behaving properly */
55                 //supports-highspeed;
56                 card-detection-broken;
57                 no-write-protect;
58                 keep-power-in-suspend;
59                 enable-sdio-wakeup;
60                 fifo-depth = <0x80>;
61                 card-detect-delay = <200>;
62                 samsung,dw-mshc-sdr-timing = <2 3 3>;
63                 samsung,dw-mshc-ddr-timing = <1 2 3>;
64
65                 slot0 {
66                         bus-width = <4>;
67                         gpios = <&gpc2 1 2 3 3>, <&gpc2 0 2 0 3>,
68                                 <&gpc2 3 2 3 3>, <&gpc2 4 2 3 3>,
69                                 <&gpc2 5 2 3 3>, <&gpc2 6 2 3 3>;
70                 };
71         };
72
73         dwmmc2@12220000 {
74                 /* MMC2 pins are used as GPIO for eDP bridge control */
75                 status = "disabled";
76         };
77
78         dwmmc3@12230000 {
79                 /*
80                  * Nothing is connected on MMC3 port : disable it.
81                  *
82                  * We override the default configuration for this port which
83                  * configures it for SDIO in cros5250-common.dtsi.
84                  */
85                 status = "disabled";
86         };
87
88         i2c@12CD0000 {
89                 ps8622-bridge@20 {
90                         compatible = "parade,ps8622";
91                         reg = <0x48>;
92                         sleep-gpio = <&gpc3 6 1 0 0>;
93                         reset-gpio = <&gpc3 1 1 0 0>;
94                         hpd-gpio = <&gpc3 0 0 0 0>;
95                 };
96         };
97
98         sound {
99                 samsung,mic-det-gpios = <&gpx2 0 2 0x10000 0>;
100                 samsung,hp-det-gpios = <&gpx2 2 2 0 0>;
101         };
102
103         gpio-controllers {
104                 gpa0: gpio-controller@11400000 {
105                         powerdown-settings = <6 6 6 6 3 3 2 2>;
106                 };
107
108                 gpa1: gpio-controller@11400020 {
109                         powerdown-settings = <3 3 2 2 3 3>;
110                 };
111
112                 gpa2: gpio-controller@11400040 {
113                         powerdown-settings = <2 2 2 2 3 2 2 2>;
114                 };
115
116                 gpb0: gpio-controller@11400060 {
117                         powerdown-settings = <3 3 3 3 3>;
118                 };
119
120                 gpb1: gpio-controller@11400080 {
121                         powerdown-settings = <3 3 3 3 3>;
122                 };
123
124                 gpb2: gpio-controller@114000A0 {
125                         powerdown-settings = <3 3 2 2>;
126                 };
127
128                 gpb3: gpio-controller@114000C0 {
129                         powerdown-settings = <2 2 2 2>;
130                 };
131
132                 gpc0: gpio-controller@114000E0 {
133                         powerdown-settings = <6 2 2 2 2 2 2>;
134                 };
135
136                 gpc1: gpio-controller@11400100 {
137                         powerdown-settings = <2 2 2 2>;
138                 };
139
140                 gpc2: gpio-controller@11400120 {
141                         powerdown-settings = <3 1 3 3 3 3 3>;
142                 };
143
144                 gpc3: gpio-controller@11400140 {
145                         powerdown-settings = <6 2 1 2 2 2 2>;
146                 };
147
148                 gpc4: gpio-controller@114002E0 {
149                         powerdown-settings = <6 2 3 2 2 2 2>;
150                 };
151
152                 gpd0: gpio-controller@11400160 {
153                         powerdown-settings = <6 6 3 3>;
154                 };
155
156                 gpd1: gpio-controller@11400180 {
157                         powerdown-settings = <6 6 6 3 3 6 1 1>;
158                 };
159
160                 gpy0: gpio-controller@114001A0 {
161                         powerdown-settings = <3 3 6 3 3 3>;
162                 };
163
164                 gpy1: gpio-controller@114001C0 {
165                         powerdown-settings = <5 3 3 3>;
166                 };
167
168                 gpy2: gpio-controller@114001E0 {
169                         powerdown-settings = <3 3 3 3 3 2>;
170                 };
171
172                 gpy3: gpio-controller@11400200 {
173                         powerdown-settings = <3 3 3 3 3 3 3 3>;
174                 };
175
176                 gpy4: gpio-controller@11400220 {
177                         powerdown-settings = <3 3 3 3 3 3 3 3>;
178                 };
179
180                 gpy5: gpio-controller@11400240 {
181                         powerdown-settings = <3 3 3 3 3 3 3 3>;
182                 };
183
184                 gpy6: gpio-controller@11400260 {
185                         powerdown-settings = <3 3 3 3 3 3 3 3>;
186                 };
187
188                 /* gpx0: No powerdown mode, uses active mode on suspend */
189                 /* gpx1: No powerdown mode, uses active mode on suspend */
190                 /* gpx2: No powerdown mode, uses active mode on suspend */
191                 /* gpx3: No powerdown mode, uses active mode on suspend */
192
193                 gpe0: gpio-controller@13400000 {
194                         powerdown-settings = <5 3 3 3 2 2 3 3>;
195                 };
196
197                 gpe1: gpio-controller@13400020 {
198                         powerdown-settings = <5 3>;
199                 };
200
201                 gpf0: gpio-controller@13400040 {
202                         powerdown-settings = <3 3 1 2>;
203                 };
204
205                 gpf1: gpio-controller@13400060 {
206                         powerdown-settings = <3 3 3 3>;
207                 };
208
209                 gpg0: gpio-controller@13400080 {
210                         powerdown-settings = <3 3 3 3 3 3 3 3>;
211                 };
212
213                 gpg1: gpio-controller@134000A0 {
214                         powerdown-settings = <3 3 3 3 3 3 3 3>;
215                 };
216
217                 gpg2: gpio-controller@134000C0 {
218                         powerdown-settings = <3 3>;
219                 };
220
221                 gph0: gpio-controller@134000E0 {
222                         powerdown-settings = <3 3 3 3>;
223                 };
224
225                 gph1: gpio-controller@13400100 {
226                         powerdown-settings = <3 3 3 3 3 3 3 3>;
227                 };
228
229                 gpv0: gpio-controller@10D10000 {
230                         powerdown-settings = <3 3 3 3 3 3 3 3>;
231                 };
232
233                 gpv1: gpio-controller@10D10020 {
234                         powerdown-settings = <3 3 3 3 3 3 3 3>;
235                 };
236
237                 gpv2: gpio-controller@10D10040 {
238                         powerdown-settings = <3 3 3 3 3 3 3 3>;
239                 };
240
241                 gpv3: gpio-controller@10D10060 {
242                         powerdown-settings = <3 3 3 3 3 3 3 3>;
243                 };
244
245                 gpv4: gpio-controller@10D10080 {
246                         powerdown-settings = <3 3>;
247                 };
248
249                 gpz: gpio-controller@03860000 {
250                         powerdown-settings = <6 3 6 6 6 3 3>;
251                 };
252         };
253
254         ehci {
255                 /*
256                  * disable port 0 to avoid electrical conflict on VBUS
257                  * port 2 is not used
258                  */
259                 samsung,port_used_bitmap = <0x2>;
260         };
261 };