ARM: dts: remove unnecessary gpio-key nodes for exynos3250 boards
[deliverable/linux.git] / arch / arm / boot / dts / exynos3250-monk.dts
CommitLineData
e0cefb3f
YC
1/*
2 * Samsung's Exynos3250 based Monk board device tree source
3 *
4 * Copyright (c) 2014 Samsung Electronics Co., Ltd.
5 * http://www.samsung.com
6 *
7 * Device tree source file for Samsung's Monk board which is based on
8 * Samsung Exynos3250 SoC.
9 *
10 * This program is free software; you can redistribute it and/or modify
11 * it under the terms of the GNU General Public License version 2 as
12 * published by the Free Software Foundation.
13 */
14
15/dts-v1/;
16#include "exynos3250.dtsi"
17#include <dt-bindings/input/input.h>
18
19/ {
20 model = "Samsung Monk board";
21 compatible = "samsung,monk", "samsung,exynos3250", "samsung,exynos3";
22
23 aliases {
24 i2c7 = &i2c_max77836;
25 };
26
27 memory {
28 reg = <0x40000000 0x1ff00000>;
29 };
30
31 firmware@0205F000 {
32 compatible = "samsung,secure-firmware";
33 reg = <0x0205F000 0x1000>;
34 };
35
36 gpio_keys {
37 compatible = "gpio-keys";
38
39 power_key {
e0cefb3f
YC
40 gpios = <&gpx2 7 1>;
41 linux,code = <KEY_POWER>;
42 label = "power key";
43 debounce-interval = <10>;
44 gpio-key,wakeup;
45 };
46 };
47
48 vemmc_reg: voltage-regulator-0 {
49 compatible = "regulator-fixed";
50 regulator-name = "V_EMMC_2.8V-fixed";
51 regulator-min-microvolt = <2800000>;
52 regulator-max-microvolt = <2800000>;
53 gpio = <&gpk0 2 0>;
54 enable-active-high;
55 };
56
57 i2c_max77836: i2c-gpio-0 {
58 compatible = "i2c-gpio";
59 gpios = <&gpd0 2 0>, <&gpd0 3 0>;
60 #address-cells = <1>;
61 #size-cells = <0>;
62
63 max77836: subpmic@25 {
64 compatible = "maxim,max77836";
65 interrupt-parent = <&gpx1>;
66 interrupts = <5 0>;
67 reg = <0x25>;
68 wakeup;
69
70 muic: max77836-muic {
71 compatible = "maxim,max77836-muic";
72 };
73
74 regulators {
75 compatible = "maxim,max77836-regulator";
76 safeout_reg: SAFEOUT {
77 regulator-name = "SAFEOUT";
78 };
79
80 charger_reg: CHARGER {
81 regulator-name = "CHARGER";
82 regulator-min-microamp = <45000>;
83 regulator-max-microamp = <475000>;
84 regulator-boot-on;
85 };
86
87 motor_reg: LDO1 {
88 regulator-name = "MOT_2.7V";
89 regulator-min-microvolt = <1100000>;
90 regulator-max-microvolt = <2700000>;
91 };
92
93 LDO2 {
94 regulator-name = "UNUSED_LDO2";
95 regulator-min-microvolt = <800000>;
96 regulator-max-microvolt = <3950000>;
97 };
98 };
99
100 charger {
101 compatible = "maxim,max77836-charger";
102
103 maxim,constant-uvolt = <4350000>;
104 maxim,fast-charge-uamp = <225000>;
105 maxim,eoc-uamp = <7500>;
106 maxim,ovp-uvolt = <6500000>;
107 };
108 };
109 };
110};
111
112&adc {
113 vdd-supply = <&ldo3_reg>;
114 status = "okay";
115 assigned-clocks = <&cmu CLK_SCLK_TSADC>;
116 assigned-clock-rates = <6000000>;
117
118 thermistor-ap {
119 compatible = "ntc,ncp15wb473";
120 pullup-uv = <1800000>;
121 pullup-ohm = <100000>;
122 pulldown-ohm = <100000>;
123 io-channels = <&adc 0>;
124 };
125
126 thermistor-battery {
127 compatible = "ntc,ncp15wb473";
128 pullup-uv = <1800000>;
129 pullup-ohm = <100000>;
130 pulldown-ohm = <100000>;
131 io-channels = <&adc 1>;
132 };
133};
134
3fc5f3a5
JK
135&exynos_usbphy {
136 status = "okay";
137};
138
139&hsotg {
140 vusb_d-supply = <&ldo15_reg>;
141 vusb_a-supply = <&ldo12_reg>;
142 status = "okay";
143};
144
e0cefb3f
YC
145&i2c_0 {
146 #address-cells = <1>;
147 #size-cells = <0>;
148 samsung,i2c-sda-delay = <100>;
149 samsung,i2c-slave-addr = <0x10>;
150 samsung,i2c-max-bus-freq = <100000>;
151 status = "okay";
152
153 s2mps14_pmic@66 {
154 compatible = "samsung,s2mps14-pmic";
155 interrupt-parent = <&gpx0>;
156 interrupts = <7 0>;
157 reg = <0x66>;
158 wakeup;
159
160 s2mps14_osc: clocks {
161 compatible = "samsung,s2mps14-clk";
162 #clock-cells = <1>;
163 clock-output-names = "s2mps14_ap", "unused",
164 "s2mps14_bt";
165 };
166
167 regulators {
168 ldo1_reg: LDO1 {
169 regulator-name = "VAP_ALIVE_1.0V";
170 regulator-min-microvolt = <1000000>;
171 regulator-max-microvolt = <1000000>;
172 regulator-always-on;
173 };
174
175 ldo2_reg: LDO2 {
176 regulator-name = "VAP_M1_1.2V";
177 regulator-min-microvolt = <1200000>;
178 regulator-max-microvolt = <1200000>;
179 regulator-always-on;
180 };
181
182 ldo3_reg: LDO3 {
183 regulator-name = "VCC_AP_1.8V";
184 regulator-min-microvolt = <1800000>;
185 regulator-max-microvolt = <1800000>;
186 regulator-always-on;
187 };
188
189 ldo4_reg: LDO4 {
190 regulator-name = "VAP_AVDD_PLL1";
191 regulator-min-microvolt = <1800000>;
192 regulator-max-microvolt = <1800000>;
193 regulator-always-on;
194 };
195
196 ldo5_reg: LDO5 {
197 regulator-name = "VAP_PLL_ISO_1.0V";
198 regulator-min-microvolt = <1000000>;
199 regulator-max-microvolt = <1000000>;
200 regulator-always-on;
201 };
202
203 ldo6_reg: LDO6 {
204 regulator-name = "VAP_MIPI_1.0V";
205 regulator-min-microvolt = <1000000>;
206 regulator-max-microvolt = <1000000>;
207 };
208
209 ldo7_reg: LDO7 {
210 regulator-name = "VAP_AVDD_1.8V";
211 regulator-min-microvolt = <1800000>;
212 regulator-max-microvolt = <1800000>;
213 regulator-always-on;
214 };
215
216 ldo8_reg: LDO8 {
217 regulator-name = "VAP_USB_3.0V";
218 regulator-min-microvolt = <3000000>;
219 regulator-max-microvolt = <3000000>;
220 regulator-always-on;
221 };
222
223 ldo9_reg: LDO9 {
224 regulator-name = "V_LPDDR_1.2V";
225 regulator-min-microvolt = <1200000>;
226 regulator-max-microvolt = <1200000>;
227 regulator-always-on;
228 };
229
230 ldo10_reg: LDO10 {
231 regulator-name = "UNUSED_LDO10";
232 regulator-min-microvolt = <1000000>;
233 regulator-max-microvolt = <1000000>;
234 };
235
236 ldo11_reg: LDO11 {
237 regulator-name = "V_EMMC_1.8V";
238 regulator-min-microvolt = <1800000>;
239 regulator-max-microvolt = <1800000>;
240 samsung,ext-control-gpios = <&gpk0 2 0>;
241 };
242
243 ldo12_reg: LDO12 {
244 regulator-name = "V_EMMC_2.8V";
245 regulator-min-microvolt = <2800000>;
246 regulator-max-microvolt = <2800000>;
247 samsung,ext-control-gpios = <&gpk0 2 0>;
248 };
249
250 ldo13_reg: LDO13 {
251 regulator-name = "VSENSOR_2.85V";
252 regulator-min-microvolt = <2850000>;
253 regulator-max-microvolt = <2850000>;
254 regulator-always-on;
255 };
256
257 ldo14_reg: LDO14 {
258 regulator-name = "UNUSED_LDO14";
259 regulator-min-microvolt = <1800000>;
260 regulator-max-microvolt = <1800000>;
261 };
262
263 ldo15_reg: LDO15 {
264 regulator-name = "TSP_AVDD_3.3V";
265 regulator-min-microvolt = <3300000>;
266 regulator-max-microvolt = <3300000>;
267 };
268
269 ldo16_reg: LDO16 {
270 regulator-name = "LCD_VDD_3.3V";
271 regulator-min-microvolt = <3300000>;
272 regulator-max-microvolt = <3300000>;
273 };
274
275 ldo17_reg: LDO17 {
276 regulator-name = "UNUSED_LDO17";
277 regulator-min-microvolt = <1800000>;
278 regulator-max-microvolt = <1800000>;
279 };
280
281 ldo18_reg: LDO18 {
282 regulator-name = "UNUSED_LDO18";
283 regulator-min-microvolt = <1800000>;
284 regulator-max-microvolt = <1800000>;
285 };
286
287 ldo19_reg: LDO19 {
288 regulator-name = "TSP_VDD_1.8V";
289 regulator-min-microvolt = <1800000>;
290 regulator-max-microvolt = <1800000>;
291 };
292
293 ldo20_reg: LDO20 {
294 regulator-name = "LCD_VDD_1.8V";
295 regulator-min-microvolt = <1800000>;
296 regulator-max-microvolt = <1800000>;
297 };
298
299 ldo21_reg: LDO21 {
300 regulator-name = "UNUSED_LDO21";
301 regulator-min-microvolt = <1000000>;
302 regulator-max-microvolt = <1000000>;
303 };
304
305 ldo22_reg: LDO22 {
306 regulator-name = "UNUSED_LDO22";
307 regulator-min-microvolt = <1000000>;
308 regulator-max-microvolt = <1000000>;
309 };
310
311 ldo23_reg: LDO23 {
312 regulator-name = "UNUSED_LDO23";
313 regulator-min-microvolt = <1000000>;
314 regulator-max-microvolt = <1000000>;
315 regulator-always-on;
316 };
317
318 ldo24_reg: LDO24 {
319 regulator-name = "UNUSED_LDO24";
320 regulator-min-microvolt = <1800000>;
321 regulator-max-microvolt = <1800000>;
322 };
323
324 ldo25_reg: LDO25 {
325 regulator-name = "UNUSED_LDO25";
326 regulator-min-microvolt = <1800000>;
327 regulator-max-microvolt = <1800000>;
328 };
329
330 buck1_reg: BUCK1 {
331 regulator-name = "VAP_MIF_1.0V";
332 regulator-min-microvolt = <800000>;
333 regulator-max-microvolt = <900000>;
334 regulator-always-on;
335 };
336
337 buck2_reg: BUCK2 {
338 regulator-name = "VAP_ARM_1.0V";
339 regulator-min-microvolt = <850000>;
340 regulator-max-microvolt = <1150000>;
341 regulator-always-on;
342 };
343
344 buck3_reg: BUCK3 {
345 regulator-name = "VAP_INT3D_1.0V";
346 regulator-min-microvolt = <850000>;
347 regulator-max-microvolt = <1000000>;
348 regulator-always-on;
349 };
350
351 buck4_reg: BUCK4 {
352 regulator-name = "VCC_SUB_1.95V";
353 regulator-min-microvolt = <1950000>;
354 regulator-max-microvolt = <1950000>;
355 regulator-always-on;
356 };
357
358 buck5_reg: BUCK5 {
359 regulator-name = "VCC_SUB_1.35V";
360 regulator-min-microvolt = <1350000>;
361 regulator-max-microvolt = <1350000>;
362 regulator-always-on;
363 };
364 };
365 };
366};
367
368&i2c_1 {
369 #address-cells = <1>;
370 #size-cells = <0>;
371 samsung,i2c-sda-delay = <100>;
372 samsung,i2c-slave-addr = <0x10>;
373 samsung,i2c-max-bus-freq = <400000>;
374 status = "okay";
375
376 fuelgauge@36 {
377 compatible = "maxim,max77836-battery";
378 interrupt-parent = <&gpx1>;
379 interrupts = <2 8>;
380 reg = <0x36>;
381 };
382};
383
384&i2s2 {
385 status = "okay";
386};
387
388&mshc_0 {
389 #address-cells = <1>;
390 #size-cells = <0>;
391 num-slots = <1>;
392 broken-cd;
393 non-removable;
394 cap-mmc-highspeed;
395 desc-num = <4>;
396 mmc-hs200-1_8v;
397 card-detect-delay = <200>;
398 vmmc-supply = <&vemmc_reg>;
399 clock-frequency = <100000000>;
400 clock-freq-min-max = <400000 100000000>;
401 samsung,dw-mshc-ciu-div = <1>;
402 samsung,dw-mshc-sdr-timing = <0 1>;
403 samsung,dw-mshc-ddr-timing = <1 2>;
404 pinctrl-names = "default";
405 pinctrl-0 = <&sd0_cmd &sd0_bus1 &sd0_bus4 &sd0_bus8>;
406 bus-width = <8>;
407 status = "okay";
408};
409
410&serial_0 {
411 assigned-clocks = <&cmu CLK_SCLK_UART0>;
412 assigned-clock-rates = <100000000>;
413 status = "okay";
414};
415
416&serial_1 {
417 status = "okay";
418};
419
420&tmu {
421 vtmu-supply = <&ldo7_reg>;
422 status = "okay";
423};
424
425&rtc {
426 clocks = <&cmu CLK_RTC>, <&s2mps14_osc 0>;
427 clock-names = "rtc", "rtc_src";
428 status = "okay";
429};
430
431&xusbxti {
432 clock-frequency = <24000000>;
433};
434
435&pinctrl_0 {
436 pinctrl-names = "default";
437 pinctrl-0 = <&sleep0>;
438
439 sleep0: sleep-state {
440 PIN_SLP(gpa0-0, INPUT, DOWN);
441 PIN_SLP(gpa0-1, INPUT, DOWN);
442 PIN_SLP(gpa0-2, INPUT, DOWN);
443 PIN_SLP(gpa0-3, INPUT, DOWN);
444 PIN_SLP(gpa0-4, INPUT, DOWN);
445 PIN_SLP(gpa0-5, INPUT, DOWN);
446 PIN_SLP(gpa0-6, INPUT, DOWN);
447 PIN_SLP(gpa0-7, INPUT, DOWN);
448
449 PIN_SLP(gpa1-0, INPUT, DOWN);
450 PIN_SLP(gpa1-1, INPUT, DOWN);
451 PIN_SLP(gpa1-2, INPUT, DOWN);
452 PIN_SLP(gpa1-3, INPUT, DOWN);
453 PIN_SLP(gpa1-4, INPUT, DOWN);
454 PIN_SLP(gpa1-5, INPUT, DOWN);
455
456 PIN_SLP(gpb-0, PREV, NONE);
457 PIN_SLP(gpb-1, PREV, NONE);
458 PIN_SLP(gpb-2, PREV, NONE);
459 PIN_SLP(gpb-3, PREV, NONE);
460 PIN_SLP(gpb-4, INPUT, DOWN);
461 PIN_SLP(gpb-5, INPUT, DOWN);
462 PIN_SLP(gpb-6, INPUT, DOWN);
463 PIN_SLP(gpb-7, INPUT, DOWN);
464
465 PIN_SLP(gpc0-0, INPUT, DOWN);
466 PIN_SLP(gpc0-1, INPUT, DOWN);
467 PIN_SLP(gpc0-2, INPUT, DOWN);
468 PIN_SLP(gpc0-3, INPUT, DOWN);
469 PIN_SLP(gpc0-4, INPUT, DOWN);
470
471 PIN_SLP(gpc1-0, INPUT, DOWN);
472 PIN_SLP(gpc1-1, INPUT, DOWN);
473 PIN_SLP(gpc1-2, INPUT, DOWN);
474 PIN_SLP(gpc1-3, INPUT, DOWN);
475 PIN_SLP(gpc1-4, INPUT, DOWN);
476
477 PIN_SLP(gpd0-0, INPUT, DOWN);
478 PIN_SLP(gpd0-1, INPUT, DOWN);
479 PIN_SLP(gpd0-2, INPUT, NONE);
480 PIN_SLP(gpd0-3, INPUT, NONE);
481
482 PIN_SLP(gpd1-0, INPUT, NONE);
483 PIN_SLP(gpd1-1, INPUT, NONE);
484 PIN_SLP(gpd1-2, INPUT, NONE);
485 PIN_SLP(gpd1-3, INPUT, NONE);
486 };
487};
488
489&pinctrl_1 {
490 pinctrl-names = "default";
491 pinctrl-0 = <&sleep1>;
492
493 sleep1: sleep-state {
494 PIN_SLP(gpe0-0, PREV, NONE);
495 PIN_SLP(gpe0-1, PREV, NONE);
496 PIN_SLP(gpe0-2, INPUT, DOWN);
497 PIN_SLP(gpe0-3, INPUT, DOWN);
498 PIN_SLP(gpe0-4, PREV, NONE);
499 PIN_SLP(gpe0-5, INPUT, DOWN);
500 PIN_SLP(gpe0-6, INPUT, DOWN);
501 PIN_SLP(gpe0-7, INPUT, DOWN);
502
503 PIN_SLP(gpe1-0, INPUT, DOWN);
504 PIN_SLP(gpe1-1, PREV, NONE);
505 PIN_SLP(gpe1-2, INPUT, DOWN);
506 PIN_SLP(gpe1-3, INPUT, DOWN);
507 PIN_SLP(gpe1-4, INPUT, DOWN);
508 PIN_SLP(gpe1-5, INPUT, DOWN);
509 PIN_SLP(gpe1-6, INPUT, DOWN);
510 PIN_SLP(gpe1-7, INPUT, NONE);
511
512 PIN_SLP(gpe2-0, INPUT, NONE);
513 PIN_SLP(gpe2-1, INPUT, NONE);
514 PIN_SLP(gpe2-2, INPUT, NONE);
515
516 PIN_SLP(gpk0-0, INPUT, DOWN);
517 PIN_SLP(gpk0-1, INPUT, DOWN);
518 PIN_SLP(gpk0-2, OUT0, NONE);
519 PIN_SLP(gpk0-3, INPUT, DOWN);
520 PIN_SLP(gpk0-4, INPUT, DOWN);
521 PIN_SLP(gpk0-5, INPUT, DOWN);
522 PIN_SLP(gpk0-6, INPUT, DOWN);
523 PIN_SLP(gpk0-7, INPUT, DOWN);
524
525 PIN_SLP(gpk1-0, PREV, NONE);
526 PIN_SLP(gpk1-1, PREV, NONE);
527 PIN_SLP(gpk1-2, INPUT, DOWN);
528 PIN_SLP(gpk1-3, PREV, NONE);
529 PIN_SLP(gpk1-4, PREV, NONE);
530 PIN_SLP(gpk1-5, PREV, NONE);
531 PIN_SLP(gpk1-6, PREV, NONE);
532
533 PIN_SLP(gpk2-0, INPUT, DOWN);
534 PIN_SLP(gpk2-1, INPUT, DOWN);
535 PIN_SLP(gpk2-2, INPUT, DOWN);
536 PIN_SLP(gpk2-3, INPUT, DOWN);
537 PIN_SLP(gpk2-4, INPUT, DOWN);
538 PIN_SLP(gpk2-5, INPUT, DOWN);
539 PIN_SLP(gpk2-6, INPUT, DOWN);
540
541 PIN_SLP(gpl0-0, INPUT, DOWN);
542 PIN_SLP(gpl0-1, INPUT, DOWN);
543 PIN_SLP(gpl0-2, INPUT, DOWN);
544 PIN_SLP(gpl0-3, INPUT, DOWN);
545
546 PIN_SLP(gpm0-0, INPUT, DOWN);
547 PIN_SLP(gpm0-1, INPUT, DOWN);
548 PIN_SLP(gpm0-2, INPUT, DOWN);
549 PIN_SLP(gpm0-3, INPUT, DOWN);
550 PIN_SLP(gpm0-4, INPUT, DOWN);
551 PIN_SLP(gpm0-5, INPUT, DOWN);
552 PIN_SLP(gpm0-6, INPUT, DOWN);
553 PIN_SLP(gpm0-7, INPUT, DOWN);
554
555 PIN_SLP(gpm1-0, INPUT, DOWN);
556 PIN_SLP(gpm1-1, INPUT, DOWN);
557 PIN_SLP(gpm1-2, INPUT, DOWN);
558 PIN_SLP(gpm1-3, INPUT, DOWN);
559 PIN_SLP(gpm1-4, INPUT, DOWN);
560 PIN_SLP(gpm1-5, INPUT, DOWN);
561 PIN_SLP(gpm1-6, INPUT, DOWN);
562
563 PIN_SLP(gpm2-0, INPUT, DOWN);
564 PIN_SLP(gpm2-1, INPUT, DOWN);
565 PIN_SLP(gpm2-2, INPUT, DOWN);
566 PIN_SLP(gpm2-3, INPUT, DOWN);
567 PIN_SLP(gpm2-4, INPUT, DOWN);
568
569 PIN_SLP(gpm3-0, INPUT, DOWN);
570 PIN_SLP(gpm3-1, INPUT, DOWN);
571 PIN_SLP(gpm3-2, INPUT, DOWN);
572 PIN_SLP(gpm3-3, INPUT, DOWN);
573 PIN_SLP(gpm3-4, INPUT, DOWN);
574 PIN_SLP(gpm3-5, INPUT, DOWN);
575 PIN_SLP(gpm3-6, INPUT, DOWN);
576 PIN_SLP(gpm3-7, INPUT, DOWN);
577
578 PIN_SLP(gpm4-0, INPUT, DOWN);
579 PIN_SLP(gpm4-1, INPUT, DOWN);
580 PIN_SLP(gpm4-2, INPUT, DOWN);
581 PIN_SLP(gpm4-3, INPUT, DOWN);
582 PIN_SLP(gpm4-4, INPUT, DOWN);
583 PIN_SLP(gpm4-5, INPUT, DOWN);
584 PIN_SLP(gpm4-6, INPUT, DOWN);
585 PIN_SLP(gpm4-7, INPUT, DOWN);
586 };
587};
This page took 0.055427 seconds and 5 git commands to generate.