blob: a92181368e5b4cd5e45bc22e4c61dbcbcfe3af31 [file] [log] [blame]
Chanwoo Choifaaf3482014-11-07 08:10:12 +09001/*
2 * Samsung's Exynos3250 based Rinato 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 Rinato 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"
Chanwoo Choi4a804672016-04-11 12:57:55 +090017#include "exynos4412-ppmu-common.dtsi"
Chanwoo Choifaaf3482014-11-07 08:10:12 +090018#include <dt-bindings/input/input.h>
Beomho Seo13b9b642015-01-12 18:00:15 +090019#include <dt-bindings/gpio/gpio.h>
Krzysztof Kozlowski9f802932015-03-30 17:15:52 +020020#include <dt-bindings/clock/samsung,s2mps11.h>
Chanwoo Choifaaf3482014-11-07 08:10:12 +090021
22/ {
23 model = "Samsung Rinato board";
24 compatible = "samsung,rinato", "samsung,exynos3250", "samsung,exynos3";
25
26 aliases {
27 i2c7 = &i2c_max77836;
28 };
29
30 memory {
31 reg = <0x40000000 0x1ff00000>;
32 };
33
Chanwoo Choifaaf3482014-11-07 08:10:12 +090034 firmware@0205F000 {
35 compatible = "samsung,secure-firmware";
36 reg = <0x0205F000 0x1000>;
37 };
38
39 gpio_keys {
40 compatible = "gpio-keys";
41
42 power_key {
Beomho Seo13b9b642015-01-12 18:00:15 +090043 gpios = <&gpx2 7 GPIO_ACTIVE_LOW>;
Chanwoo Choifaaf3482014-11-07 08:10:12 +090044 linux,code = <KEY_POWER>;
45 label = "power key";
46 debounce-interval = <10>;
Sudeep Holla36a02822016-01-28 15:59:58 +000047 wakeup-source;
Chanwoo Choifaaf3482014-11-07 08:10:12 +090048 };
49 };
50
51 i2c_max77836: i2c-gpio-0 {
52 compatible = "i2c-gpio";
Javier Martinez Canillasde77e522015-10-08 07:39:57 +090053 gpios = <&gpd0 2 GPIO_ACTIVE_HIGH>, <&gpd0 3 GPIO_ACTIVE_HIGH>;
Chanwoo Choifaaf3482014-11-07 08:10:12 +090054 #address-cells = <1>;
55 #size-cells = <0>;
56
57 max77836: subpmic@25 {
58 compatible = "maxim,max77836";
59 interrupt-parent = <&gpx1>;
60 interrupts = <5 0>;
61 reg = <0x25>;
Sudeep Holla36a02822016-01-28 15:59:58 +000062 wakeup-source;
Chanwoo Choifaaf3482014-11-07 08:10:12 +090063
64 muic: max77836-muic {
65 compatible = "maxim,max77836-muic";
66 };
67
68 regulators {
69 compatible = "maxim,max77836-regulator";
70 safeout_reg: SAFEOUT {
71 regulator-name = "SAFEOUT";
72 };
73
74 charger_reg: CHARGER {
75 regulator-name = "CHARGER";
76 regulator-min-microamp = <45000>;
77 regulator-max-microamp = <475000>;
78 regulator-boot-on;
79 };
80
81 motor_reg: LDO1 {
82 regulator-name = "MOT_2.7V";
83 regulator-min-microvolt = <1100000>;
84 regulator-max-microvolt = <2700000>;
85 };
86
87 LDO2 {
88 regulator-name = "UNUSED_LDO2";
89 regulator-min-microvolt = <800000>;
90 regulator-max-microvolt = <3950000>;
91 };
92 };
93
94 charger {
95 compatible = "maxim,max77836-charger";
96
97 maxim,constant-uvolt = <4350000>;
98 maxim,fast-charge-uamp = <225000>;
99 maxim,eoc-uamp = <7500>;
100 maxim,ovp-uvolt = <6500000>;
101 };
102 };
103 };
Jaewon Kimc0276bc2015-01-24 13:13:58 +0900104
105 haptics {
106 compatible = "regulator-haptic";
107 haptic-supply = <&motor_reg>;
108 min-microvolt = <1100000>;
109 max-microvolt = <2700000>;
110 };
Chanwoo Choi5600f8c2015-07-30 23:02:22 +0900111
112 thermal-zones {
113 cpu_thermal: cpu-thermal {
114 cooling-maps {
115 map0 {
116 /* Corresponds to 500MHz */
117 cooling-device = <&cpu0 5 5>;
118 };
119 map1 {
120 /* Corresponds to 200MHz */
121 cooling-device = <&cpu0 8 8>;
122 };
123 };
124 };
125 };
Chanwoo Choifaaf3482014-11-07 08:10:12 +0900126};
127
128&adc {
129 vdd-supply = <&ldo3_reg>;
130 status = "okay";
131 assigned-clocks = <&cmu CLK_SCLK_TSADC>;
132 assigned-clock-rates = <6000000>;
133
134 thermistor-ap {
135 compatible = "ntc,ncp15wb473";
136 pullup-uv = <1800000>;
137 pullup-ohm = <100000>;
138 pulldown-ohm = <100000>;
139 io-channels = <&adc 0>;
140 };
141
142 thermistor-battery {
143 compatible = "ntc,ncp15wb473";
144 pullup-uv = <1800000>;
145 pullup-ohm = <100000>;
146 pulldown-ohm = <100000>;
147 io-channels = <&adc 1>;
148 };
149};
150
Chanwoo Choie9a53682016-04-11 12:57:50 +0900151&bus_dmc {
152 devfreq-events = <&ppmu_dmc0_3>, <&ppmu_dmc1_3>;
153 vdd-supply = <&buck1_reg>;
154 status = "okay";
155};
156
Chanwoo Choi691d0102016-04-11 12:57:56 +0900157&bus_leftbus {
158 devfreq-events = <&ppmu_leftbus_3>, <&ppmu_rightbus_3>;
159 vdd-supply = <&buck3_reg>;
160 status = "okay";
161};
162
163&bus_rightbus {
164 devfreq = <&bus_leftbus>;
165 status = "okay";
166};
167
168&bus_lcd0 {
169 devfreq = <&bus_leftbus>;
170 status = "okay";
171};
172
173&bus_fsys {
174 devfreq = <&bus_leftbus>;
175 status = "okay";
176};
177
178&bus_mcuisp {
179 devfreq = <&bus_leftbus>;
180 status = "okay";
181};
182
183&bus_isp {
184 devfreq = <&bus_leftbus>;
185 status = "okay";
186};
187
188&bus_peril {
189 devfreq = <&bus_leftbus>;
190 status = "okay";
191};
192
193&bus_mfc {
194 devfreq = <&bus_leftbus>;
195 status = "okay";
196};
197
Chanwoo Choi48816af2015-07-24 12:55:21 +0900198&cpu0 {
199 cpu0-supply = <&buck2_reg>;
200};
201
Jaewon Kimcdc38662015-01-12 17:54:54 +0900202&exynos_usbphy {
203 status = "okay";
Marek Szyprowski4ae9a4c2015-08-21 14:38:38 +0200204 vbus-supply = <&safeout_reg>;
Jaewon Kimcdc38662015-01-12 17:54:54 +0900205};
206
207&hsotg {
208 vusb_d-supply = <&ldo15_reg>;
209 vusb_a-supply = <&ldo12_reg>;
Marek Szyprowski32f144f2015-01-24 13:12:03 +0900210 dr_mode = "peripheral";
Jaewon Kimcdc38662015-01-12 17:54:54 +0900211 status = "okay";
212};
213
Inki Dae2ea24732015-01-12 18:10:27 +0900214&dsi_0 {
215 vddcore-supply = <&ldo6_reg>;
216 vddio-supply = <&ldo6_reg>;
217 samsung,pll-clock-frequency = <24000000>;
218 status = "okay";
219
220 ports {
221 #address-cells = <1>;
222 #size-cells = <0>;
223
224 port@1 {
225 reg = <1>;
226
227 dsi_out: endpoint {
228 remote-endpoint = <&dsi_in>;
229 samsung,burst-clock-frequency = <250000000>;
230 samsung,esc-clock-frequency = <20000000>;
231 };
232 };
233 };
234
235 panel@0 {
236 compatible = "samsung,s6e63j0x03";
237 reg = <0>;
238 vdd3-supply = <&ldo16_reg>;
239 vci-supply = <&ldo20_reg>;
Javier Martinez Canillasde77e522015-10-08 07:39:57 +0900240 reset-gpios = <&gpe0 1 GPIO_ACTIVE_HIGH>;
241 te-gpios = <&gpx0 6 GPIO_ACTIVE_HIGH>;
Inki Dae2ea24732015-01-12 18:10:27 +0900242 power-on-delay= <30>;
243 power-off-delay= <120>;
244 reset-delay = <5>;
245 init-delay = <100>;
246 flip-horizontal;
247 flip-vertical;
248 panel-width-mm = <29>;
249 panel-height-mm = <29>;
250
251 display-timings {
252 timing-0 {
Hyungwon Hwang65e32932015-06-15 13:03:17 +0900253 clock-frequency = <4600000>;
Inki Dae2ea24732015-01-12 18:10:27 +0900254 hactive = <320>;
255 vactive = <320>;
256 hfront-porch = <1>;
257 hback-porch = <1>;
258 hsync-len = <1>;
259 vfront-porch = <150>;
260 vback-porch = <1>;
261 vsync-len = <2>;
262 };
263 };
264
265 port {
266 dsi_in: endpoint {
267 remote-endpoint = <&dsi_out>;
268 };
269 };
270 };
271};
272
Inki Daeb59b3af2015-01-12 18:08:37 +0900273&fimd {
274 status = "okay";
275
276 i80-if-timings {
277 cs-setup = <0>;
278 wr-setup = <0>;
279 wr-act = <1>;
280 wr-hold = <0>;
281 };
282};
283
Chanwoo Choifaaf3482014-11-07 08:10:12 +0900284&i2c_0 {
285 #address-cells = <1>;
286 #size-cells = <0>;
287 samsung,i2c-sda-delay = <100>;
288 samsung,i2c-slave-addr = <0x10>;
289 samsung,i2c-max-bus-freq = <100000>;
290 status = "okay";
291
292 s2mps14_pmic@66 {
293 compatible = "samsung,s2mps14-pmic";
294 interrupt-parent = <&gpx0>;
295 interrupts = <7 0>;
296 reg = <0x66>;
Sudeep Holla36a02822016-01-28 15:59:58 +0000297 wakeup-source;
Chanwoo Choifaaf3482014-11-07 08:10:12 +0900298
299 s2mps14_osc: clocks {
300 compatible = "samsung,s2mps14-clk";
301 #clock-cells = <1>;
302 clock-output-names = "s2mps14_ap", "unused",
303 "s2mps14_bt";
304 };
305
306 regulators {
307 ldo1_reg: LDO1 {
308 regulator-name = "VAP_ALIVE_1.0V";
309 regulator-min-microvolt = <1000000>;
310 regulator-max-microvolt = <1000000>;
311 regulator-always-on;
Chanwoo Choib9d7fda2014-11-07 08:10:13 +0900312
313 regulator-state-mem {
314 regulator-on-in-suspend;
315 };
Chanwoo Choifaaf3482014-11-07 08:10:12 +0900316 };
317
318 ldo2_reg: LDO2 {
319 regulator-name = "VAP_M1_1.2V";
320 regulator-min-microvolt = <1200000>;
321 regulator-max-microvolt = <1200000>;
322 regulator-always-on;
Chanwoo Choib9d7fda2014-11-07 08:10:13 +0900323
324 regulator-state-mem {
325 regulator-off-in-suspend;
326 };
Chanwoo Choifaaf3482014-11-07 08:10:12 +0900327 };
328
329 ldo3_reg: LDO3 {
330 regulator-name = "VCC_AP_1.8V";
331 regulator-min-microvolt = <1800000>;
332 regulator-max-microvolt = <1800000>;
333 regulator-always-on;
Chanwoo Choib9d7fda2014-11-07 08:10:13 +0900334
335 regulator-state-mem {
336 regulator-off-in-suspend;
337 };
Chanwoo Choifaaf3482014-11-07 08:10:12 +0900338 };
339
340 ldo4_reg: LDO4 {
341 regulator-name = "VAP_AVDD_PLL1";
342 regulator-min-microvolt = <1800000>;
343 regulator-max-microvolt = <1800000>;
344 regulator-always-on;
Chanwoo Choib9d7fda2014-11-07 08:10:13 +0900345
346 regulator-state-mem {
347 regulator-off-in-suspend;
348 };
Chanwoo Choifaaf3482014-11-07 08:10:12 +0900349 };
350
351 ldo5_reg: LDO5 {
352 regulator-name = "VAP_PLL_ISO_1.0V";
353 regulator-min-microvolt = <1000000>;
354 regulator-max-microvolt = <1000000>;
355 regulator-always-on;
Chanwoo Choib9d7fda2014-11-07 08:10:13 +0900356
357 regulator-state-mem {
358 regulator-off-in-suspend;
359 };
Chanwoo Choifaaf3482014-11-07 08:10:12 +0900360 };
361
362 ldo6_reg: LDO6 {
363 regulator-name = "VAP_VMIPI_1.0V";
364 regulator-min-microvolt = <1000000>;
365 regulator-max-microvolt = <1000000>;
366 regulator-always-on;
Chanwoo Choib9d7fda2014-11-07 08:10:13 +0900367
368 regulator-state-mem {
369 regulator-off-in-suspend;
370 };
Chanwoo Choifaaf3482014-11-07 08:10:12 +0900371 };
372
373 ldo7_reg: LDO7 {
374 regulator-name = "VAP_AVDD_1.8V";
375 regulator-min-microvolt = <1800000>;
376 regulator-max-microvolt = <1800000>;
377 regulator-always-on;
Chanwoo Choib9d7fda2014-11-07 08:10:13 +0900378
379 regulator-state-mem {
380 regulator-off-in-suspend;
381 };
Chanwoo Choifaaf3482014-11-07 08:10:12 +0900382 };
383
384 ldo8_reg: LDO8 {
385 regulator-name = "VAP_USB_3.0V";
386 regulator-min-microvolt = <3000000>;
387 regulator-max-microvolt = <3000000>;
388 regulator-always-on;
Chanwoo Choib9d7fda2014-11-07 08:10:13 +0900389
390 regulator-state-mem {
391 regulator-off-in-suspend;
392 };
Chanwoo Choifaaf3482014-11-07 08:10:12 +0900393 };
394
395 ldo9_reg: LDO9 {
396 regulator-name = "V_LPDDR_1.2V";
397 regulator-min-microvolt = <1200000>;
398 regulator-max-microvolt = <1200000>;
399 regulator-always-on;
Chanwoo Choib9d7fda2014-11-07 08:10:13 +0900400
401 regulator-state-mem {
402 regulator-on-in-suspend;
403 };
Chanwoo Choifaaf3482014-11-07 08:10:12 +0900404 };
405
406 ldo10_reg: LDO10 {
407 regulator-name = "UNUSED_LDO10";
408 regulator-min-microvolt = <1000000>;
409 regulator-max-microvolt = <1000000>;
Chanwoo Choib9d7fda2014-11-07 08:10:13 +0900410
411 regulator-state-mem {
412 regulator-off-in-suspend;
413 };
Chanwoo Choifaaf3482014-11-07 08:10:12 +0900414 };
415
416 ldo11_reg: LDO11 {
417 regulator-name = "V_EMMC_1.8V";
418 regulator-min-microvolt = <1800000>;
419 regulator-max-microvolt = <1800000>;
Javier Martinez Canillasde77e522015-10-08 07:39:57 +0900420 samsung,ext-control-gpios = <&gpk0 2 GPIO_ACTIVE_HIGH>;
Chanwoo Choifaaf3482014-11-07 08:10:12 +0900421 };
422
423 ldo12_reg: LDO12 {
424 regulator-name = "V_EMMC_2.8V";
425 regulator-min-microvolt = <2800000>;
426 regulator-max-microvolt = <2800000>;
Javier Martinez Canillasde77e522015-10-08 07:39:57 +0900427 samsung,ext-control-gpios = <&gpk0 2 GPIO_ACTIVE_HIGH>;
Chanwoo Choifaaf3482014-11-07 08:10:12 +0900428 };
429
430 ldo13_reg: LDO13 {
431 regulator-name = "CAM_AVDD_2.8V";
432 regulator-min-microvolt = <2800000>;
433 regulator-max-microvolt = <2800000>;
Chanwoo Choib9d7fda2014-11-07 08:10:13 +0900434
435 regulator-state-mem {
436 regulator-off-in-suspend;
437 };
Chanwoo Choifaaf3482014-11-07 08:10:12 +0900438 };
439
440 ldo14_reg: LDO14 {
441 regulator-name = "UNUSED_LDO14";
442 regulator-min-microvolt = <2700000>;
443 regulator-max-microvolt = <2700000>;
Chanwoo Choib9d7fda2014-11-07 08:10:13 +0900444
445 regulator-state-mem {
446 regulator-off-in-suspend;
447 };
Chanwoo Choifaaf3482014-11-07 08:10:12 +0900448 };
449
450 ldo15_reg: LDO15 {
451 regulator-name = "TSP_AVDD_3.3V";
452 regulator-min-microvolt = <3300000>;
453 regulator-max-microvolt = <3300000>;
Chanwoo Choib9d7fda2014-11-07 08:10:13 +0900454
455 regulator-state-mem {
456 regulator-off-in-suspend;
457 };
Chanwoo Choifaaf3482014-11-07 08:10:12 +0900458 };
459
460 ldo16_reg: LDO16 {
461 regulator-name = "LCD_VDD_3.3V";
462 regulator-min-microvolt = <3300000>;
463 regulator-max-microvolt = <3300000>;
Chanwoo Choib9d7fda2014-11-07 08:10:13 +0900464
465 regulator-state-mem {
466 regulator-off-in-suspend;
467 };
Chanwoo Choifaaf3482014-11-07 08:10:12 +0900468 };
469
470 ldo17_reg: LDO17 {
471 regulator-name = "V_IRLED_3.3V";
472 regulator-min-microvolt = <3300000>;
473 regulator-max-microvolt = <3300000>;
Chanwoo Choib9d7fda2014-11-07 08:10:13 +0900474
475 regulator-state-mem {
476 regulator-off-in-suspend;
477 };
Chanwoo Choifaaf3482014-11-07 08:10:12 +0900478 };
479
480 ldo18_reg: LDO18 {
481 regulator-name = "CAM_AF_2.8V";
482 regulator-min-microvolt = <2800000>;
483 regulator-max-microvolt = <2800000>;
Chanwoo Choib9d7fda2014-11-07 08:10:13 +0900484
485 regulator-state-mem {
486 regulator-off-in-suspend;
487 };
Chanwoo Choifaaf3482014-11-07 08:10:12 +0900488 };
489
490 ldo19_reg: LDO19 {
491 regulator-name = "TSP_VDD_1.8V";
492 regulator-min-microvolt = <1800000>;
493 regulator-max-microvolt = <1800000>;
Chanwoo Choib9d7fda2014-11-07 08:10:13 +0900494
495 regulator-state-mem {
496 regulator-off-in-suspend;
497 };
Chanwoo Choifaaf3482014-11-07 08:10:12 +0900498 };
499
500 ldo20_reg: LDO20 {
501 regulator-name = "LCD_VDD_1.8V";
502 regulator-min-microvolt = <1800000>;
503 regulator-max-microvolt = <1800000>;
Chanwoo Choib9d7fda2014-11-07 08:10:13 +0900504
505 regulator-state-mem {
506 regulator-off-in-suspend;
507 };
Chanwoo Choifaaf3482014-11-07 08:10:12 +0900508 };
509
510 ldo21_reg: LDO21 {
511 regulator-name = "CAM_IO_1.8V";
512 regulator-min-microvolt = <1800000>;
513 regulator-max-microvolt = <1800000>;
Chanwoo Choib9d7fda2014-11-07 08:10:13 +0900514
515 regulator-state-mem {
516 regulator-off-in-suspend;
517 };
Chanwoo Choifaaf3482014-11-07 08:10:12 +0900518 };
519
520 ldo22_reg: LDO22 {
521 regulator-name = "CAM_DVDD_1.2V";
522 regulator-min-microvolt = <1200000>;
523 regulator-max-microvolt = <1200000>;
Chanwoo Choib9d7fda2014-11-07 08:10:13 +0900524
525 regulator-state-mem {
526 regulator-off-in-suspend;
527 };
Chanwoo Choifaaf3482014-11-07 08:10:12 +0900528 };
529
530 ldo23_reg: LDO23 {
531 regulator-name = "HRM_VCC_1.8V";
532 regulator-min-microvolt = <1800000>;
533 regulator-max-microvolt = <1800000>;
534 regulator-always-on;
535 };
536
537 ldo24_reg: LDO24 {
538 regulator-name = "HRM_VCC_3.3V";
539 regulator-min-microvolt = <3000000>;
540 regulator-max-microvolt = <3000000>;
Chanwoo Choib9d7fda2014-11-07 08:10:13 +0900541
542 regulator-state-mem {
543 regulator-off-in-suspend;
544 };
Chanwoo Choifaaf3482014-11-07 08:10:12 +0900545 };
546
547 ldo25_reg: LDO25 {
548 regulator-name = "UNUSED_LDO25";
549 regulator-min-microvolt = <3000000>;
550 regulator-max-microvolt = <3000000>;
Chanwoo Choib9d7fda2014-11-07 08:10:13 +0900551
552 regulator-state-mem {
553 regulator-off-in-suspend;
554 };
Chanwoo Choifaaf3482014-11-07 08:10:12 +0900555 };
556
557 buck1_reg: BUCK1 {
558 regulator-name = "VAP_MIF_1.0V";
559 regulator-min-microvolt = <800000>;
560 regulator-max-microvolt = <900000>;
561 regulator-always-on;
Chanwoo Choib9d7fda2014-11-07 08:10:13 +0900562
563 regulator-state-mem {
564 regulator-off-in-suspend;
565 };
Chanwoo Choifaaf3482014-11-07 08:10:12 +0900566 };
567
568 buck2_reg: BUCK2 {
569 regulator-name = "VAP_ARM_1.0V";
570 regulator-min-microvolt = <850000>;
571 regulator-max-microvolt = <1150000>;
572 regulator-always-on;
Chanwoo Choib9d7fda2014-11-07 08:10:13 +0900573
574 regulator-state-mem {
575 regulator-off-in-suspend;
576 };
Chanwoo Choifaaf3482014-11-07 08:10:12 +0900577 };
578
579 buck3_reg: BUCK3 {
580 regulator-name = "VAP_INT3D_1.0V";
581 regulator-min-microvolt = <850000>;
582 regulator-max-microvolt = <1000000>;
583 regulator-always-on;
Chanwoo Choib9d7fda2014-11-07 08:10:13 +0900584
585 regulator-state-mem {
586 regulator-off-in-suspend;
587 };
Chanwoo Choifaaf3482014-11-07 08:10:12 +0900588 };
589
590 buck4_reg: BUCK4 {
591 regulator-name = "VCC_SUB_1.95V";
592 regulator-min-microvolt = <1950000>;
593 regulator-max-microvolt = <1950000>;
594 regulator-always-on;
Chanwoo Choib9d7fda2014-11-07 08:10:13 +0900595
596 regulator-state-mem {
597 regulator-on-in-suspend;
598 };
Chanwoo Choifaaf3482014-11-07 08:10:12 +0900599 };
600
601 buck5_reg: BUCK5 {
602 regulator-name = "VCC_SUB_1.35V";
603 regulator-min-microvolt = <1350000>;
604 regulator-max-microvolt = <1350000>;
605 regulator-always-on;
Chanwoo Choib9d7fda2014-11-07 08:10:13 +0900606
607 regulator-state-mem {
608 regulator-on-in-suspend;
609 };
Chanwoo Choifaaf3482014-11-07 08:10:12 +0900610 };
611 };
612 };
613};
614
615&i2c_1 {
616 #address-cells = <1>;
617 #size-cells = <0>;
618 samsung,i2c-sda-delay = <100>;
619 samsung,i2c-slave-addr = <0x10>;
620 samsung,i2c-max-bus-freq = <400000>;
621 status = "okay";
622
623 fuelgauge@36 {
624 compatible = "maxim,max77836-battery";
625 interrupt-parent = <&gpx1>;
626 interrupts = <2 8>;
627 reg = <0x36>;
628 };
629};
630
631&i2s2 {
632 status = "okay";
633};
634
Jacek Anaszewskia1c00132015-01-23 16:39:57 +0100635&jpeg {
636 status = "okay";
637};
638
Chanwoo Choifaaf3482014-11-07 08:10:12 +0900639&mshc_0 {
640 #address-cells = <1>;
641 #size-cells = <0>;
642 num-slots = <1>;
643 broken-cd;
644 non-removable;
645 cap-mmc-highspeed;
646 desc-num = <4>;
647 mmc-hs200-1_8v;
648 card-detect-delay = <200>;
649 vmmc-supply = <&ldo12_reg>;
650 clock-frequency = <100000000>;
651 clock-freq-min-max = <400000 100000000>;
652 samsung,dw-mshc-ciu-div = <1>;
653 samsung,dw-mshc-sdr-timing = <0 1>;
654 samsung,dw-mshc-ddr-timing = <1 2>;
655 pinctrl-names = "default";
656 pinctrl-0 = <&sd0_cmd &sd0_bus1 &sd0_bus4 &sd0_bus8>;
657 bus-width = <8>;
658 status = "okay";
659};
660
661&serial_0 {
662 assigned-clocks = <&cmu CLK_SCLK_UART0>;
663 assigned-clock-rates = <100000000>;
664 status = "okay";
665};
666
667&serial_1 {
668 status = "okay";
669};
670
671&tmu {
672 vtmu-supply = <&ldo7_reg>;
673 status = "okay";
674};
675
676&rtc {
Krzysztof Kozlowski9f802932015-03-30 17:15:52 +0200677 clocks = <&cmu CLK_RTC>, <&s2mps14_osc S2MPS11_CLK_AP>;
Chanwoo Choifaaf3482014-11-07 08:10:12 +0900678 clock-names = "rtc", "rtc_src";
679 status = "okay";
680};
681
682&xusbxti {
683 clock-frequency = <24000000>;
684};
Chanwoo Choi18073d62014-11-07 08:10:13 +0900685
686&pinctrl_0 {
687 pinctrl-names = "default";
Chanwoo Choi40bbd192016-03-31 11:47:57 +0900688 pinctrl-0 = <&initial0 &sleep0>;
689
690 initial0: initial-state {
691 PIN_IN(gpa1-4, DOWN, LV1);
692 PIN_IN(gpa1-5, DOWN, LV1);
693
694 PIN_IN(gpc0-0, DOWN, LV1);
695 PIN_IN(gpc0-1, DOWN, LV1);
696 PIN_IN(gpc0-2, DOWN, LV1);
697 PIN_IN(gpc0-3, DOWN, LV1);
698 PIN_IN(gpc0-4, DOWN, LV1);
699
700 PIN_IN(gpd0-0, DOWN, LV1);
701 PIN_IN(gpd0-1, DOWN, LV1);
702 };
Chanwoo Choi18073d62014-11-07 08:10:13 +0900703
704 sleep0: sleep-state {
705 PIN_SLP(gpa0-0, INPUT, DOWN);
706 PIN_SLP(gpa0-1, INPUT, DOWN);
707 PIN_SLP(gpa0-2, INPUT, DOWN);
708 PIN_SLP(gpa0-3, INPUT, DOWN);
709 PIN_SLP(gpa0-4, INPUT, DOWN);
710 PIN_SLP(gpa0-5, INPUT, DOWN);
711 PIN_SLP(gpa0-6, INPUT, DOWN);
712 PIN_SLP(gpa0-7, INPUT, DOWN);
713
714 PIN_SLP(gpa1-0, INPUT, DOWN);
715 PIN_SLP(gpa1-1, INPUT, DOWN);
716 PIN_SLP(gpa1-2, INPUT, DOWN);
717 PIN_SLP(gpa1-3, INPUT, DOWN);
718 PIN_SLP(gpa1-4, INPUT, DOWN);
719 PIN_SLP(gpa1-5, INPUT, DOWN);
720
721 PIN_SLP(gpb-0, PREV, NONE);
722 PIN_SLP(gpb-1, PREV, NONE);
723 PIN_SLP(gpb-2, PREV, NONE);
724 PIN_SLP(gpb-3, PREV, NONE);
725 PIN_SLP(gpb-4, INPUT, DOWN);
726 PIN_SLP(gpb-5, INPUT, DOWN);
727 PIN_SLP(gpb-6, INPUT, DOWN);
728 PIN_SLP(gpb-7, INPUT, DOWN);
729
730 PIN_SLP(gpc0-0, INPUT, DOWN);
731 PIN_SLP(gpc0-1, INPUT, DOWN);
732 PIN_SLP(gpc0-2, INPUT, DOWN);
733 PIN_SLP(gpc0-3, INPUT, DOWN);
734 PIN_SLP(gpc0-4, INPUT, DOWN);
735
736 PIN_SLP(gpc1-0, INPUT, DOWN);
737 PIN_SLP(gpc1-1, INPUT, DOWN);
738 PIN_SLP(gpc1-2, INPUT, DOWN);
739 PIN_SLP(gpc1-3, INPUT, DOWN);
740 PIN_SLP(gpc1-4, INPUT, DOWN);
741
742 PIN_SLP(gpd0-0, INPUT, DOWN);
743 PIN_SLP(gpd0-1, INPUT, DOWN);
744 PIN_SLP(gpd0-2, INPUT, NONE);
745 PIN_SLP(gpd0-3, INPUT, NONE);
746
747 PIN_SLP(gpd1-0, INPUT, NONE);
748 PIN_SLP(gpd1-1, INPUT, NONE);
749 PIN_SLP(gpd1-2, INPUT, NONE);
750 PIN_SLP(gpd1-3, INPUT, NONE);
751 };
752};
753
754&pinctrl_1 {
755 pinctrl-names = "default";
Chanwoo Choi40bbd192016-03-31 11:47:57 +0900756 pinctrl-0 = <&initial1 &sleep1>;
757
758 initial1: initial-state {
759 PIN_IN(gpe0-6, DOWN, LV1);
760 PIN_IN(gpe0-7, DOWN, LV1);
761
762 PIN_IN(gpe1-0, DOWN, LV1);
763 PIN_IN(gpe1-3, DOWN, LV1);
764 PIN_IN(gpe1-4, DOWN, LV1);
765 PIN_IN(gpe1-5, DOWN, LV1);
766 PIN_IN(gpe1-6, DOWN, LV1);
767
768 PIN_IN(gpk2-0, DOWN, LV1);
769 PIN_IN(gpk2-1, DOWN, LV1);
770 PIN_IN(gpk2-2, DOWN, LV1);
771 PIN_IN(gpk2-3, DOWN, LV1);
772 PIN_IN(gpk2-4, DOWN, LV1);
773 PIN_IN(gpk2-5, DOWN, LV1);
774 PIN_IN(gpk2-6, DOWN, LV1);
775
776 PIN_IN(gpm0-0, DOWN, LV1);
777 PIN_IN(gpm0-1, DOWN, LV1);
778 PIN_IN(gpm0-2, DOWN, LV1);
779 PIN_IN(gpm0-3, DOWN, LV1);
780 PIN_IN(gpm0-4, DOWN, LV1);
781 PIN_IN(gpm0-5, DOWN, LV1);
782 PIN_IN(gpm0-6, DOWN, LV1);
783 PIN_IN(gpm0-7, DOWN, LV1);
784
785 PIN_IN(gpm1-0, DOWN, LV1);
786 PIN_IN(gpm1-1, DOWN, LV1);
787 PIN_IN(gpm1-2, DOWN, LV1);
788 PIN_IN(gpm1-3, DOWN, LV1);
789 PIN_IN(gpm1-4, DOWN, LV1);
790 PIN_IN(gpm1-5, DOWN, LV1);
791 PIN_IN(gpm1-6, DOWN, LV1);
792
793 PIN_IN(gpm2-0, DOWN, LV1);
794 PIN_IN(gpm2-1, DOWN, LV1);
795
796 PIN_IN(gpm3-0, DOWN, LV1);
797 PIN_IN(gpm3-1, DOWN, LV1);
798 PIN_IN(gpm3-2, DOWN, LV1);
799 PIN_IN(gpm3-3, DOWN, LV1);
800 PIN_IN(gpm3-4, DOWN, LV1);
801
802 PIN_IN(gpm4-1, DOWN, LV1);
803 PIN_IN(gpm4-2, DOWN, LV1);
804 PIN_IN(gpm4-3, DOWN, LV1);
805 PIN_IN(gpm4-4, DOWN, LV1);
806 PIN_IN(gpm4-5, DOWN, LV1);
807 PIN_IN(gpm4-6, DOWN, LV1);
808 PIN_IN(gpm4-7, DOWN, LV1);
809 };
Chanwoo Choi18073d62014-11-07 08:10:13 +0900810
811 sleep1: sleep-state {
812 PIN_SLP(gpe0-0, PREV, NONE);
813 PIN_SLP(gpe0-1, PREV, NONE);
814 PIN_SLP(gpe0-2, INPUT, DOWN);
815 PIN_SLP(gpe0-3, INPUT, UP);
816 PIN_SLP(gpe0-4, INPUT, DOWN);
817 PIN_SLP(gpe0-5, INPUT, DOWN);
818 PIN_SLP(gpe0-6, INPUT, DOWN);
819 PIN_SLP(gpe0-7, INPUT, DOWN);
820
821 PIN_SLP(gpe1-0, INPUT, DOWN);
822 PIN_SLP(gpe1-1, PREV, NONE);
823 PIN_SLP(gpe1-2, INPUT, DOWN);
824 PIN_SLP(gpe1-3, INPUT, DOWN);
825 PIN_SLP(gpe1-4, INPUT, DOWN);
826 PIN_SLP(gpe1-5, INPUT, DOWN);
827 PIN_SLP(gpe1-6, INPUT, DOWN);
828 PIN_SLP(gpe1-7, INPUT, NONE);
829
830 PIN_SLP(gpe2-0, INPUT, NONE);
831 PIN_SLP(gpe2-1, INPUT, NONE);
832 PIN_SLP(gpe2-2, INPUT, NONE);
833
834 PIN_SLP(gpk0-0, INPUT, DOWN);
835 PIN_SLP(gpk0-1, INPUT, DOWN);
836 PIN_SLP(gpk0-2, OUT0, NONE);
837 PIN_SLP(gpk0-3, INPUT, DOWN);
838 PIN_SLP(gpk0-4, INPUT, DOWN);
839 PIN_SLP(gpk0-5, INPUT, DOWN);
840 PIN_SLP(gpk0-6, INPUT, DOWN);
841 PIN_SLP(gpk0-7, INPUT, DOWN);
842
843 PIN_SLP(gpk1-0, INPUT, DOWN);
844 PIN_SLP(gpk1-1, INPUT, DOWN);
845 PIN_SLP(gpk1-2, INPUT, DOWN);
846 PIN_SLP(gpk1-3, INPUT, DOWN);
847 PIN_SLP(gpk1-4, INPUT, DOWN);
848 PIN_SLP(gpk1-5, INPUT, DOWN);
849 PIN_SLP(gpk1-6, INPUT, DOWN);
850
851 PIN_SLP(gpk2-0, INPUT, DOWN);
852 PIN_SLP(gpk2-1, INPUT, DOWN);
853 PIN_SLP(gpk2-2, INPUT, DOWN);
854 PIN_SLP(gpk2-3, INPUT, DOWN);
855 PIN_SLP(gpk2-4, INPUT, DOWN);
856 PIN_SLP(gpk2-5, INPUT, DOWN);
857 PIN_SLP(gpk2-6, INPUT, DOWN);
858
859 PIN_SLP(gpl0-0, INPUT, DOWN);
860 PIN_SLP(gpl0-1, INPUT, DOWN);
861 PIN_SLP(gpl0-2, INPUT, DOWN);
862 PIN_SLP(gpl0-3, INPUT, DOWN);
863
864 PIN_SLP(gpm0-0, INPUT, DOWN);
865 PIN_SLP(gpm0-1, INPUT, DOWN);
866 PIN_SLP(gpm0-2, INPUT, DOWN);
867 PIN_SLP(gpm0-3, INPUT, DOWN);
868 PIN_SLP(gpm0-4, INPUT, DOWN);
869 PIN_SLP(gpm0-5, INPUT, DOWN);
870 PIN_SLP(gpm0-6, INPUT, DOWN);
871 PIN_SLP(gpm0-7, INPUT, DOWN);
872
873 PIN_SLP(gpm1-0, INPUT, DOWN);
874 PIN_SLP(gpm1-1, INPUT, DOWN);
875 PIN_SLP(gpm1-2, INPUT, DOWN);
876 PIN_SLP(gpm1-3, INPUT, DOWN);
877 PIN_SLP(gpm1-4, INPUT, DOWN);
878 PIN_SLP(gpm1-5, INPUT, DOWN);
879 PIN_SLP(gpm1-6, INPUT, DOWN);
880
881 PIN_SLP(gpm2-0, INPUT, DOWN);
882 PIN_SLP(gpm2-1, INPUT, DOWN);
883 PIN_SLP(gpm2-2, INPUT, DOWN);
884 PIN_SLP(gpm2-3, INPUT, DOWN);
885 PIN_SLP(gpm2-4, INPUT, DOWN);
886
887 PIN_SLP(gpm3-0, INPUT, DOWN);
888 PIN_SLP(gpm3-1, INPUT, DOWN);
889 PIN_SLP(gpm3-2, INPUT, DOWN);
890 PIN_SLP(gpm3-3, INPUT, DOWN);
891 PIN_SLP(gpm3-4, INPUT, DOWN);
892 PIN_SLP(gpm3-5, INPUT, DOWN);
893 PIN_SLP(gpm3-6, INPUT, DOWN);
894 PIN_SLP(gpm3-7, INPUT, DOWN);
895
896 PIN_SLP(gpm4-0, INPUT, DOWN);
897 PIN_SLP(gpm4-1, INPUT, DOWN);
898 PIN_SLP(gpm4-2, INPUT, DOWN);
899 PIN_SLP(gpm4-3, INPUT, DOWN);
900 PIN_SLP(gpm4-4, INPUT, DOWN);
901 PIN_SLP(gpm4-5, INPUT, DOWN);
902 PIN_SLP(gpm4-6, INPUT, DOWN);
903 PIN_SLP(gpm4-7, INPUT, DOWN);
904 };
905};