blob: 5175bd7e015f81c4b2db3e31bb3719dc95f35235 [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"
17#include <dt-bindings/input/input.h>
Beomho Seo13b9b642015-01-12 18:00:15 +090018#include <dt-bindings/gpio/gpio.h>
Krzysztof Kozlowski9f802932015-03-30 17:15:52 +020019#include <dt-bindings/clock/samsung,s2mps11.h>
Chanwoo Choifaaf3482014-11-07 08:10:12 +090020
21/ {
22 model = "Samsung Rinato board";
23 compatible = "samsung,rinato", "samsung,exynos3250", "samsung,exynos3";
24
25 aliases {
26 i2c7 = &i2c_max77836;
27 };
28
29 memory {
30 reg = <0x40000000 0x1ff00000>;
31 };
32
Chanwoo Choifaaf3482014-11-07 08:10:12 +090033 firmware@0205F000 {
34 compatible = "samsung,secure-firmware";
35 reg = <0x0205F000 0x1000>;
36 };
37
38 gpio_keys {
39 compatible = "gpio-keys";
40
41 power_key {
Beomho Seo13b9b642015-01-12 18:00:15 +090042 gpios = <&gpx2 7 GPIO_ACTIVE_LOW>;
Chanwoo Choifaaf3482014-11-07 08:10:12 +090043 linux,code = <KEY_POWER>;
44 label = "power key";
45 debounce-interval = <10>;
Sudeep Holla36a02822016-01-28 15:59:58 +000046 wakeup-source;
Chanwoo Choifaaf3482014-11-07 08:10:12 +090047 };
48 };
49
50 i2c_max77836: i2c-gpio-0 {
51 compatible = "i2c-gpio";
Javier Martinez Canillasde77e522015-10-08 07:39:57 +090052 gpios = <&gpd0 2 GPIO_ACTIVE_HIGH>, <&gpd0 3 GPIO_ACTIVE_HIGH>;
Chanwoo Choifaaf3482014-11-07 08:10:12 +090053 #address-cells = <1>;
54 #size-cells = <0>;
55
56 max77836: subpmic@25 {
57 compatible = "maxim,max77836";
58 interrupt-parent = <&gpx1>;
59 interrupts = <5 0>;
60 reg = <0x25>;
Sudeep Holla36a02822016-01-28 15:59:58 +000061 wakeup-source;
Chanwoo Choifaaf3482014-11-07 08:10:12 +090062
63 muic: max77836-muic {
64 compatible = "maxim,max77836-muic";
65 };
66
67 regulators {
68 compatible = "maxim,max77836-regulator";
69 safeout_reg: SAFEOUT {
70 regulator-name = "SAFEOUT";
71 };
72
73 charger_reg: CHARGER {
74 regulator-name = "CHARGER";
75 regulator-min-microamp = <45000>;
76 regulator-max-microamp = <475000>;
77 regulator-boot-on;
78 };
79
80 motor_reg: LDO1 {
81 regulator-name = "MOT_2.7V";
82 regulator-min-microvolt = <1100000>;
83 regulator-max-microvolt = <2700000>;
84 };
85
86 LDO2 {
87 regulator-name = "UNUSED_LDO2";
88 regulator-min-microvolt = <800000>;
89 regulator-max-microvolt = <3950000>;
90 };
91 };
92
93 charger {
94 compatible = "maxim,max77836-charger";
95
96 maxim,constant-uvolt = <4350000>;
97 maxim,fast-charge-uamp = <225000>;
98 maxim,eoc-uamp = <7500>;
99 maxim,ovp-uvolt = <6500000>;
100 };
101 };
102 };
Jaewon Kimc0276bc2015-01-24 13:13:58 +0900103
104 haptics {
105 compatible = "regulator-haptic";
106 haptic-supply = <&motor_reg>;
107 min-microvolt = <1100000>;
108 max-microvolt = <2700000>;
109 };
Chanwoo Choi5600f8c2015-07-30 23:02:22 +0900110
111 thermal-zones {
112 cpu_thermal: cpu-thermal {
113 cooling-maps {
114 map0 {
115 /* Corresponds to 500MHz */
116 cooling-device = <&cpu0 5 5>;
117 };
118 map1 {
119 /* Corresponds to 200MHz */
120 cooling-device = <&cpu0 8 8>;
121 };
122 };
123 };
124 };
Chanwoo Choifaaf3482014-11-07 08:10:12 +0900125};
126
127&adc {
128 vdd-supply = <&ldo3_reg>;
129 status = "okay";
130 assigned-clocks = <&cmu CLK_SCLK_TSADC>;
131 assigned-clock-rates = <6000000>;
132
133 thermistor-ap {
134 compatible = "ntc,ncp15wb473";
135 pullup-uv = <1800000>;
136 pullup-ohm = <100000>;
137 pulldown-ohm = <100000>;
138 io-channels = <&adc 0>;
139 };
140
141 thermistor-battery {
142 compatible = "ntc,ncp15wb473";
143 pullup-uv = <1800000>;
144 pullup-ohm = <100000>;
145 pulldown-ohm = <100000>;
146 io-channels = <&adc 1>;
147 };
148};
149
Chanwoo Choie9a53682016-04-11 12:57:50 +0900150&bus_dmc {
151 devfreq-events = <&ppmu_dmc0_3>, <&ppmu_dmc1_3>;
152 vdd-supply = <&buck1_reg>;
153 status = "okay";
154};
155
Chanwoo Choi48816af2015-07-24 12:55:21 +0900156&cpu0 {
157 cpu0-supply = <&buck2_reg>;
158};
159
Jaewon Kimcdc38662015-01-12 17:54:54 +0900160&exynos_usbphy {
161 status = "okay";
Marek Szyprowski4ae9a4c2015-08-21 14:38:38 +0200162 vbus-supply = <&safeout_reg>;
Jaewon Kimcdc38662015-01-12 17:54:54 +0900163};
164
165&hsotg {
166 vusb_d-supply = <&ldo15_reg>;
167 vusb_a-supply = <&ldo12_reg>;
Marek Szyprowski32f144f2015-01-24 13:12:03 +0900168 dr_mode = "peripheral";
Jaewon Kimcdc38662015-01-12 17:54:54 +0900169 status = "okay";
170};
171
Inki Dae2ea24732015-01-12 18:10:27 +0900172&dsi_0 {
173 vddcore-supply = <&ldo6_reg>;
174 vddio-supply = <&ldo6_reg>;
175 samsung,pll-clock-frequency = <24000000>;
176 status = "okay";
177
178 ports {
179 #address-cells = <1>;
180 #size-cells = <0>;
181
182 port@1 {
183 reg = <1>;
184
185 dsi_out: endpoint {
186 remote-endpoint = <&dsi_in>;
187 samsung,burst-clock-frequency = <250000000>;
188 samsung,esc-clock-frequency = <20000000>;
189 };
190 };
191 };
192
193 panel@0 {
194 compatible = "samsung,s6e63j0x03";
195 reg = <0>;
196 vdd3-supply = <&ldo16_reg>;
197 vci-supply = <&ldo20_reg>;
Javier Martinez Canillasde77e522015-10-08 07:39:57 +0900198 reset-gpios = <&gpe0 1 GPIO_ACTIVE_HIGH>;
199 te-gpios = <&gpx0 6 GPIO_ACTIVE_HIGH>;
Inki Dae2ea24732015-01-12 18:10:27 +0900200 power-on-delay= <30>;
201 power-off-delay= <120>;
202 reset-delay = <5>;
203 init-delay = <100>;
204 flip-horizontal;
205 flip-vertical;
206 panel-width-mm = <29>;
207 panel-height-mm = <29>;
208
209 display-timings {
210 timing-0 {
Hyungwon Hwang65e32932015-06-15 13:03:17 +0900211 clock-frequency = <4600000>;
Inki Dae2ea24732015-01-12 18:10:27 +0900212 hactive = <320>;
213 vactive = <320>;
214 hfront-porch = <1>;
215 hback-porch = <1>;
216 hsync-len = <1>;
217 vfront-porch = <150>;
218 vback-porch = <1>;
219 vsync-len = <2>;
220 };
221 };
222
223 port {
224 dsi_in: endpoint {
225 remote-endpoint = <&dsi_out>;
226 };
227 };
228 };
229};
230
Inki Daeb59b3af2015-01-12 18:08:37 +0900231&fimd {
232 status = "okay";
233
234 i80-if-timings {
235 cs-setup = <0>;
236 wr-setup = <0>;
237 wr-act = <1>;
238 wr-hold = <0>;
239 };
240};
241
Chanwoo Choifaaf3482014-11-07 08:10:12 +0900242&i2c_0 {
243 #address-cells = <1>;
244 #size-cells = <0>;
245 samsung,i2c-sda-delay = <100>;
246 samsung,i2c-slave-addr = <0x10>;
247 samsung,i2c-max-bus-freq = <100000>;
248 status = "okay";
249
250 s2mps14_pmic@66 {
251 compatible = "samsung,s2mps14-pmic";
252 interrupt-parent = <&gpx0>;
253 interrupts = <7 0>;
254 reg = <0x66>;
Sudeep Holla36a02822016-01-28 15:59:58 +0000255 wakeup-source;
Chanwoo Choifaaf3482014-11-07 08:10:12 +0900256
257 s2mps14_osc: clocks {
258 compatible = "samsung,s2mps14-clk";
259 #clock-cells = <1>;
260 clock-output-names = "s2mps14_ap", "unused",
261 "s2mps14_bt";
262 };
263
264 regulators {
265 ldo1_reg: LDO1 {
266 regulator-name = "VAP_ALIVE_1.0V";
267 regulator-min-microvolt = <1000000>;
268 regulator-max-microvolt = <1000000>;
269 regulator-always-on;
Chanwoo Choib9d7fda2014-11-07 08:10:13 +0900270
271 regulator-state-mem {
272 regulator-on-in-suspend;
273 };
Chanwoo Choifaaf3482014-11-07 08:10:12 +0900274 };
275
276 ldo2_reg: LDO2 {
277 regulator-name = "VAP_M1_1.2V";
278 regulator-min-microvolt = <1200000>;
279 regulator-max-microvolt = <1200000>;
280 regulator-always-on;
Chanwoo Choib9d7fda2014-11-07 08:10:13 +0900281
282 regulator-state-mem {
283 regulator-off-in-suspend;
284 };
Chanwoo Choifaaf3482014-11-07 08:10:12 +0900285 };
286
287 ldo3_reg: LDO3 {
288 regulator-name = "VCC_AP_1.8V";
289 regulator-min-microvolt = <1800000>;
290 regulator-max-microvolt = <1800000>;
291 regulator-always-on;
Chanwoo Choib9d7fda2014-11-07 08:10:13 +0900292
293 regulator-state-mem {
294 regulator-off-in-suspend;
295 };
Chanwoo Choifaaf3482014-11-07 08:10:12 +0900296 };
297
298 ldo4_reg: LDO4 {
299 regulator-name = "VAP_AVDD_PLL1";
300 regulator-min-microvolt = <1800000>;
301 regulator-max-microvolt = <1800000>;
302 regulator-always-on;
Chanwoo Choib9d7fda2014-11-07 08:10:13 +0900303
304 regulator-state-mem {
305 regulator-off-in-suspend;
306 };
Chanwoo Choifaaf3482014-11-07 08:10:12 +0900307 };
308
309 ldo5_reg: LDO5 {
310 regulator-name = "VAP_PLL_ISO_1.0V";
311 regulator-min-microvolt = <1000000>;
312 regulator-max-microvolt = <1000000>;
313 regulator-always-on;
Chanwoo Choib9d7fda2014-11-07 08:10:13 +0900314
315 regulator-state-mem {
316 regulator-off-in-suspend;
317 };
Chanwoo Choifaaf3482014-11-07 08:10:12 +0900318 };
319
320 ldo6_reg: LDO6 {
321 regulator-name = "VAP_VMIPI_1.0V";
322 regulator-min-microvolt = <1000000>;
323 regulator-max-microvolt = <1000000>;
324 regulator-always-on;
Chanwoo Choib9d7fda2014-11-07 08:10:13 +0900325
326 regulator-state-mem {
327 regulator-off-in-suspend;
328 };
Chanwoo Choifaaf3482014-11-07 08:10:12 +0900329 };
330
331 ldo7_reg: LDO7 {
332 regulator-name = "VAP_AVDD_1.8V";
333 regulator-min-microvolt = <1800000>;
334 regulator-max-microvolt = <1800000>;
335 regulator-always-on;
Chanwoo Choib9d7fda2014-11-07 08:10:13 +0900336
337 regulator-state-mem {
338 regulator-off-in-suspend;
339 };
Chanwoo Choifaaf3482014-11-07 08:10:12 +0900340 };
341
342 ldo8_reg: LDO8 {
343 regulator-name = "VAP_USB_3.0V";
344 regulator-min-microvolt = <3000000>;
345 regulator-max-microvolt = <3000000>;
346 regulator-always-on;
Chanwoo Choib9d7fda2014-11-07 08:10:13 +0900347
348 regulator-state-mem {
349 regulator-off-in-suspend;
350 };
Chanwoo Choifaaf3482014-11-07 08:10:12 +0900351 };
352
353 ldo9_reg: LDO9 {
354 regulator-name = "V_LPDDR_1.2V";
355 regulator-min-microvolt = <1200000>;
356 regulator-max-microvolt = <1200000>;
357 regulator-always-on;
Chanwoo Choib9d7fda2014-11-07 08:10:13 +0900358
359 regulator-state-mem {
360 regulator-on-in-suspend;
361 };
Chanwoo Choifaaf3482014-11-07 08:10:12 +0900362 };
363
364 ldo10_reg: LDO10 {
365 regulator-name = "UNUSED_LDO10";
366 regulator-min-microvolt = <1000000>;
367 regulator-max-microvolt = <1000000>;
Chanwoo Choib9d7fda2014-11-07 08:10:13 +0900368
369 regulator-state-mem {
370 regulator-off-in-suspend;
371 };
Chanwoo Choifaaf3482014-11-07 08:10:12 +0900372 };
373
374 ldo11_reg: LDO11 {
375 regulator-name = "V_EMMC_1.8V";
376 regulator-min-microvolt = <1800000>;
377 regulator-max-microvolt = <1800000>;
Javier Martinez Canillasde77e522015-10-08 07:39:57 +0900378 samsung,ext-control-gpios = <&gpk0 2 GPIO_ACTIVE_HIGH>;
Chanwoo Choifaaf3482014-11-07 08:10:12 +0900379 };
380
381 ldo12_reg: LDO12 {
382 regulator-name = "V_EMMC_2.8V";
383 regulator-min-microvolt = <2800000>;
384 regulator-max-microvolt = <2800000>;
Javier Martinez Canillasde77e522015-10-08 07:39:57 +0900385 samsung,ext-control-gpios = <&gpk0 2 GPIO_ACTIVE_HIGH>;
Chanwoo Choifaaf3482014-11-07 08:10:12 +0900386 };
387
388 ldo13_reg: LDO13 {
389 regulator-name = "CAM_AVDD_2.8V";
390 regulator-min-microvolt = <2800000>;
391 regulator-max-microvolt = <2800000>;
Chanwoo Choib9d7fda2014-11-07 08:10:13 +0900392
393 regulator-state-mem {
394 regulator-off-in-suspend;
395 };
Chanwoo Choifaaf3482014-11-07 08:10:12 +0900396 };
397
398 ldo14_reg: LDO14 {
399 regulator-name = "UNUSED_LDO14";
400 regulator-min-microvolt = <2700000>;
401 regulator-max-microvolt = <2700000>;
Chanwoo Choib9d7fda2014-11-07 08:10:13 +0900402
403 regulator-state-mem {
404 regulator-off-in-suspend;
405 };
Chanwoo Choifaaf3482014-11-07 08:10:12 +0900406 };
407
408 ldo15_reg: LDO15 {
409 regulator-name = "TSP_AVDD_3.3V";
410 regulator-min-microvolt = <3300000>;
411 regulator-max-microvolt = <3300000>;
Chanwoo Choib9d7fda2014-11-07 08:10:13 +0900412
413 regulator-state-mem {
414 regulator-off-in-suspend;
415 };
Chanwoo Choifaaf3482014-11-07 08:10:12 +0900416 };
417
418 ldo16_reg: LDO16 {
419 regulator-name = "LCD_VDD_3.3V";
420 regulator-min-microvolt = <3300000>;
421 regulator-max-microvolt = <3300000>;
Chanwoo Choib9d7fda2014-11-07 08:10:13 +0900422
423 regulator-state-mem {
424 regulator-off-in-suspend;
425 };
Chanwoo Choifaaf3482014-11-07 08:10:12 +0900426 };
427
428 ldo17_reg: LDO17 {
429 regulator-name = "V_IRLED_3.3V";
430 regulator-min-microvolt = <3300000>;
431 regulator-max-microvolt = <3300000>;
Chanwoo Choib9d7fda2014-11-07 08:10:13 +0900432
433 regulator-state-mem {
434 regulator-off-in-suspend;
435 };
Chanwoo Choifaaf3482014-11-07 08:10:12 +0900436 };
437
438 ldo18_reg: LDO18 {
439 regulator-name = "CAM_AF_2.8V";
440 regulator-min-microvolt = <2800000>;
441 regulator-max-microvolt = <2800000>;
Chanwoo Choib9d7fda2014-11-07 08:10:13 +0900442
443 regulator-state-mem {
444 regulator-off-in-suspend;
445 };
Chanwoo Choifaaf3482014-11-07 08:10:12 +0900446 };
447
448 ldo19_reg: LDO19 {
449 regulator-name = "TSP_VDD_1.8V";
450 regulator-min-microvolt = <1800000>;
451 regulator-max-microvolt = <1800000>;
Chanwoo Choib9d7fda2014-11-07 08:10:13 +0900452
453 regulator-state-mem {
454 regulator-off-in-suspend;
455 };
Chanwoo Choifaaf3482014-11-07 08:10:12 +0900456 };
457
458 ldo20_reg: LDO20 {
459 regulator-name = "LCD_VDD_1.8V";
460 regulator-min-microvolt = <1800000>;
461 regulator-max-microvolt = <1800000>;
Chanwoo Choib9d7fda2014-11-07 08:10:13 +0900462
463 regulator-state-mem {
464 regulator-off-in-suspend;
465 };
Chanwoo Choifaaf3482014-11-07 08:10:12 +0900466 };
467
468 ldo21_reg: LDO21 {
469 regulator-name = "CAM_IO_1.8V";
470 regulator-min-microvolt = <1800000>;
471 regulator-max-microvolt = <1800000>;
Chanwoo Choib9d7fda2014-11-07 08:10:13 +0900472
473 regulator-state-mem {
474 regulator-off-in-suspend;
475 };
Chanwoo Choifaaf3482014-11-07 08:10:12 +0900476 };
477
478 ldo22_reg: LDO22 {
479 regulator-name = "CAM_DVDD_1.2V";
480 regulator-min-microvolt = <1200000>;
481 regulator-max-microvolt = <1200000>;
Chanwoo Choib9d7fda2014-11-07 08:10:13 +0900482
483 regulator-state-mem {
484 regulator-off-in-suspend;
485 };
Chanwoo Choifaaf3482014-11-07 08:10:12 +0900486 };
487
488 ldo23_reg: LDO23 {
489 regulator-name = "HRM_VCC_1.8V";
490 regulator-min-microvolt = <1800000>;
491 regulator-max-microvolt = <1800000>;
492 regulator-always-on;
493 };
494
495 ldo24_reg: LDO24 {
496 regulator-name = "HRM_VCC_3.3V";
497 regulator-min-microvolt = <3000000>;
498 regulator-max-microvolt = <3000000>;
Chanwoo Choib9d7fda2014-11-07 08:10:13 +0900499
500 regulator-state-mem {
501 regulator-off-in-suspend;
502 };
Chanwoo Choifaaf3482014-11-07 08:10:12 +0900503 };
504
505 ldo25_reg: LDO25 {
506 regulator-name = "UNUSED_LDO25";
507 regulator-min-microvolt = <3000000>;
508 regulator-max-microvolt = <3000000>;
Chanwoo Choib9d7fda2014-11-07 08:10:13 +0900509
510 regulator-state-mem {
511 regulator-off-in-suspend;
512 };
Chanwoo Choifaaf3482014-11-07 08:10:12 +0900513 };
514
515 buck1_reg: BUCK1 {
516 regulator-name = "VAP_MIF_1.0V";
517 regulator-min-microvolt = <800000>;
518 regulator-max-microvolt = <900000>;
519 regulator-always-on;
Chanwoo Choib9d7fda2014-11-07 08:10:13 +0900520
521 regulator-state-mem {
522 regulator-off-in-suspend;
523 };
Chanwoo Choifaaf3482014-11-07 08:10:12 +0900524 };
525
526 buck2_reg: BUCK2 {
527 regulator-name = "VAP_ARM_1.0V";
528 regulator-min-microvolt = <850000>;
529 regulator-max-microvolt = <1150000>;
530 regulator-always-on;
Chanwoo Choib9d7fda2014-11-07 08:10:13 +0900531
532 regulator-state-mem {
533 regulator-off-in-suspend;
534 };
Chanwoo Choifaaf3482014-11-07 08:10:12 +0900535 };
536
537 buck3_reg: BUCK3 {
538 regulator-name = "VAP_INT3D_1.0V";
539 regulator-min-microvolt = <850000>;
540 regulator-max-microvolt = <1000000>;
541 regulator-always-on;
Chanwoo Choib9d7fda2014-11-07 08:10:13 +0900542
543 regulator-state-mem {
544 regulator-off-in-suspend;
545 };
Chanwoo Choifaaf3482014-11-07 08:10:12 +0900546 };
547
548 buck4_reg: BUCK4 {
549 regulator-name = "VCC_SUB_1.95V";
550 regulator-min-microvolt = <1950000>;
551 regulator-max-microvolt = <1950000>;
552 regulator-always-on;
Chanwoo Choib9d7fda2014-11-07 08:10:13 +0900553
554 regulator-state-mem {
555 regulator-on-in-suspend;
556 };
Chanwoo Choifaaf3482014-11-07 08:10:12 +0900557 };
558
559 buck5_reg: BUCK5 {
560 regulator-name = "VCC_SUB_1.35V";
561 regulator-min-microvolt = <1350000>;
562 regulator-max-microvolt = <1350000>;
563 regulator-always-on;
Chanwoo Choib9d7fda2014-11-07 08:10:13 +0900564
565 regulator-state-mem {
566 regulator-on-in-suspend;
567 };
Chanwoo Choifaaf3482014-11-07 08:10:12 +0900568 };
569 };
570 };
571};
572
573&i2c_1 {
574 #address-cells = <1>;
575 #size-cells = <0>;
576 samsung,i2c-sda-delay = <100>;
577 samsung,i2c-slave-addr = <0x10>;
578 samsung,i2c-max-bus-freq = <400000>;
579 status = "okay";
580
581 fuelgauge@36 {
582 compatible = "maxim,max77836-battery";
583 interrupt-parent = <&gpx1>;
584 interrupts = <2 8>;
585 reg = <0x36>;
586 };
587};
588
589&i2s2 {
590 status = "okay";
591};
592
593&mfc {
594 status = "okay";
595};
596
Jacek Anaszewskia1c00132015-01-23 16:39:57 +0100597&jpeg {
598 status = "okay";
599};
600
Chanwoo Choifaaf3482014-11-07 08:10:12 +0900601&mshc_0 {
602 #address-cells = <1>;
603 #size-cells = <0>;
604 num-slots = <1>;
605 broken-cd;
606 non-removable;
607 cap-mmc-highspeed;
608 desc-num = <4>;
609 mmc-hs200-1_8v;
610 card-detect-delay = <200>;
611 vmmc-supply = <&ldo12_reg>;
612 clock-frequency = <100000000>;
613 clock-freq-min-max = <400000 100000000>;
614 samsung,dw-mshc-ciu-div = <1>;
615 samsung,dw-mshc-sdr-timing = <0 1>;
616 samsung,dw-mshc-ddr-timing = <1 2>;
617 pinctrl-names = "default";
618 pinctrl-0 = <&sd0_cmd &sd0_bus1 &sd0_bus4 &sd0_bus8>;
619 bus-width = <8>;
620 status = "okay";
621};
622
623&serial_0 {
624 assigned-clocks = <&cmu CLK_SCLK_UART0>;
625 assigned-clock-rates = <100000000>;
626 status = "okay";
627};
628
629&serial_1 {
630 status = "okay";
631};
632
633&tmu {
634 vtmu-supply = <&ldo7_reg>;
635 status = "okay";
636};
637
638&rtc {
Krzysztof Kozlowski9f802932015-03-30 17:15:52 +0200639 clocks = <&cmu CLK_RTC>, <&s2mps14_osc S2MPS11_CLK_AP>;
Chanwoo Choifaaf3482014-11-07 08:10:12 +0900640 clock-names = "rtc", "rtc_src";
641 status = "okay";
642};
643
Chanwoo Choi8d6b9b42015-02-04 08:10:58 +0900644&ppmu_dmc0 {
645 status = "okay";
646
647 events {
648 ppmu_dmc0_3: ppmu-event3-dmc0 {
649 event-name = "ppmu-event3-dmc0";
650 };
651 };
652};
653
654&ppmu_dmc1 {
655 status = "okay";
656
657 events {
658 ppmu_dmc1_3: ppmu-event3-dmc1 {
659 event-name = "ppmu-event3-dmc1";
660 };
661 };
662};
663
664&ppmu_leftbus {
665 status = "okay";
666
667 events {
668 ppmu_leftbus_3: ppmu-event3-leftbus {
669 event-name = "ppmu-event3-leftbus";
670 };
671 };
672};
673
674&ppmu_rightbus {
675 status = "okay";
676
677 events {
678 ppmu_rightbus_3: ppmu-event3-rightbus {
679 event-name = "ppmu-event3-rightbus";
680 };
681 };
682};
683
Chanwoo Choifaaf3482014-11-07 08:10:12 +0900684&xusbxti {
685 clock-frequency = <24000000>;
686};
Chanwoo Choi18073d62014-11-07 08:10:13 +0900687
688&pinctrl_0 {
689 pinctrl-names = "default";
690 pinctrl-0 = <&sleep0>;
691
692 sleep0: sleep-state {
693 PIN_SLP(gpa0-0, INPUT, DOWN);
694 PIN_SLP(gpa0-1, INPUT, DOWN);
695 PIN_SLP(gpa0-2, INPUT, DOWN);
696 PIN_SLP(gpa0-3, INPUT, DOWN);
697 PIN_SLP(gpa0-4, INPUT, DOWN);
698 PIN_SLP(gpa0-5, INPUT, DOWN);
699 PIN_SLP(gpa0-6, INPUT, DOWN);
700 PIN_SLP(gpa0-7, INPUT, DOWN);
701
702 PIN_SLP(gpa1-0, INPUT, DOWN);
703 PIN_SLP(gpa1-1, INPUT, DOWN);
704 PIN_SLP(gpa1-2, INPUT, DOWN);
705 PIN_SLP(gpa1-3, INPUT, DOWN);
706 PIN_SLP(gpa1-4, INPUT, DOWN);
707 PIN_SLP(gpa1-5, INPUT, DOWN);
708
709 PIN_SLP(gpb-0, PREV, NONE);
710 PIN_SLP(gpb-1, PREV, NONE);
711 PIN_SLP(gpb-2, PREV, NONE);
712 PIN_SLP(gpb-3, PREV, NONE);
713 PIN_SLP(gpb-4, INPUT, DOWN);
714 PIN_SLP(gpb-5, INPUT, DOWN);
715 PIN_SLP(gpb-6, INPUT, DOWN);
716 PIN_SLP(gpb-7, INPUT, DOWN);
717
718 PIN_SLP(gpc0-0, INPUT, DOWN);
719 PIN_SLP(gpc0-1, INPUT, DOWN);
720 PIN_SLP(gpc0-2, INPUT, DOWN);
721 PIN_SLP(gpc0-3, INPUT, DOWN);
722 PIN_SLP(gpc0-4, INPUT, DOWN);
723
724 PIN_SLP(gpc1-0, INPUT, DOWN);
725 PIN_SLP(gpc1-1, INPUT, DOWN);
726 PIN_SLP(gpc1-2, INPUT, DOWN);
727 PIN_SLP(gpc1-3, INPUT, DOWN);
728 PIN_SLP(gpc1-4, INPUT, DOWN);
729
730 PIN_SLP(gpd0-0, INPUT, DOWN);
731 PIN_SLP(gpd0-1, INPUT, DOWN);
732 PIN_SLP(gpd0-2, INPUT, NONE);
733 PIN_SLP(gpd0-3, INPUT, NONE);
734
735 PIN_SLP(gpd1-0, INPUT, NONE);
736 PIN_SLP(gpd1-1, INPUT, NONE);
737 PIN_SLP(gpd1-2, INPUT, NONE);
738 PIN_SLP(gpd1-3, INPUT, NONE);
739 };
740};
741
742&pinctrl_1 {
743 pinctrl-names = "default";
744 pinctrl-0 = <&sleep1>;
745
746 sleep1: sleep-state {
747 PIN_SLP(gpe0-0, PREV, NONE);
748 PIN_SLP(gpe0-1, PREV, NONE);
749 PIN_SLP(gpe0-2, INPUT, DOWN);
750 PIN_SLP(gpe0-3, INPUT, UP);
751 PIN_SLP(gpe0-4, INPUT, DOWN);
752 PIN_SLP(gpe0-5, INPUT, DOWN);
753 PIN_SLP(gpe0-6, INPUT, DOWN);
754 PIN_SLP(gpe0-7, INPUT, DOWN);
755
756 PIN_SLP(gpe1-0, INPUT, DOWN);
757 PIN_SLP(gpe1-1, PREV, NONE);
758 PIN_SLP(gpe1-2, INPUT, DOWN);
759 PIN_SLP(gpe1-3, INPUT, DOWN);
760 PIN_SLP(gpe1-4, INPUT, DOWN);
761 PIN_SLP(gpe1-5, INPUT, DOWN);
762 PIN_SLP(gpe1-6, INPUT, DOWN);
763 PIN_SLP(gpe1-7, INPUT, NONE);
764
765 PIN_SLP(gpe2-0, INPUT, NONE);
766 PIN_SLP(gpe2-1, INPUT, NONE);
767 PIN_SLP(gpe2-2, INPUT, NONE);
768
769 PIN_SLP(gpk0-0, INPUT, DOWN);
770 PIN_SLP(gpk0-1, INPUT, DOWN);
771 PIN_SLP(gpk0-2, OUT0, NONE);
772 PIN_SLP(gpk0-3, INPUT, DOWN);
773 PIN_SLP(gpk0-4, INPUT, DOWN);
774 PIN_SLP(gpk0-5, INPUT, DOWN);
775 PIN_SLP(gpk0-6, INPUT, DOWN);
776 PIN_SLP(gpk0-7, INPUT, DOWN);
777
778 PIN_SLP(gpk1-0, INPUT, DOWN);
779 PIN_SLP(gpk1-1, INPUT, DOWN);
780 PIN_SLP(gpk1-2, INPUT, DOWN);
781 PIN_SLP(gpk1-3, INPUT, DOWN);
782 PIN_SLP(gpk1-4, INPUT, DOWN);
783 PIN_SLP(gpk1-5, INPUT, DOWN);
784 PIN_SLP(gpk1-6, INPUT, DOWN);
785
786 PIN_SLP(gpk2-0, INPUT, DOWN);
787 PIN_SLP(gpk2-1, INPUT, DOWN);
788 PIN_SLP(gpk2-2, INPUT, DOWN);
789 PIN_SLP(gpk2-3, INPUT, DOWN);
790 PIN_SLP(gpk2-4, INPUT, DOWN);
791 PIN_SLP(gpk2-5, INPUT, DOWN);
792 PIN_SLP(gpk2-6, INPUT, DOWN);
793
794 PIN_SLP(gpl0-0, INPUT, DOWN);
795 PIN_SLP(gpl0-1, INPUT, DOWN);
796 PIN_SLP(gpl0-2, INPUT, DOWN);
797 PIN_SLP(gpl0-3, INPUT, DOWN);
798
799 PIN_SLP(gpm0-0, INPUT, DOWN);
800 PIN_SLP(gpm0-1, INPUT, DOWN);
801 PIN_SLP(gpm0-2, INPUT, DOWN);
802 PIN_SLP(gpm0-3, INPUT, DOWN);
803 PIN_SLP(gpm0-4, INPUT, DOWN);
804 PIN_SLP(gpm0-5, INPUT, DOWN);
805 PIN_SLP(gpm0-6, INPUT, DOWN);
806 PIN_SLP(gpm0-7, INPUT, DOWN);
807
808 PIN_SLP(gpm1-0, INPUT, DOWN);
809 PIN_SLP(gpm1-1, INPUT, DOWN);
810 PIN_SLP(gpm1-2, INPUT, DOWN);
811 PIN_SLP(gpm1-3, INPUT, DOWN);
812 PIN_SLP(gpm1-4, INPUT, DOWN);
813 PIN_SLP(gpm1-5, INPUT, DOWN);
814 PIN_SLP(gpm1-6, INPUT, DOWN);
815
816 PIN_SLP(gpm2-0, INPUT, DOWN);
817 PIN_SLP(gpm2-1, INPUT, DOWN);
818 PIN_SLP(gpm2-2, INPUT, DOWN);
819 PIN_SLP(gpm2-3, INPUT, DOWN);
820 PIN_SLP(gpm2-4, INPUT, DOWN);
821
822 PIN_SLP(gpm3-0, INPUT, DOWN);
823 PIN_SLP(gpm3-1, INPUT, DOWN);
824 PIN_SLP(gpm3-2, INPUT, DOWN);
825 PIN_SLP(gpm3-3, INPUT, DOWN);
826 PIN_SLP(gpm3-4, INPUT, DOWN);
827 PIN_SLP(gpm3-5, INPUT, DOWN);
828 PIN_SLP(gpm3-6, INPUT, DOWN);
829 PIN_SLP(gpm3-7, INPUT, DOWN);
830
831 PIN_SLP(gpm4-0, INPUT, DOWN);
832 PIN_SLP(gpm4-1, INPUT, DOWN);
833 PIN_SLP(gpm4-2, INPUT, DOWN);
834 PIN_SLP(gpm4-3, INPUT, DOWN);
835 PIN_SLP(gpm4-4, INPUT, DOWN);
836 PIN_SLP(gpm4-5, INPUT, DOWN);
837 PIN_SLP(gpm4-6, INPUT, DOWN);
838 PIN_SLP(gpm4-7, INPUT, DOWN);
839 };
840};