Commit | Line | Data |
---|---|---|
cc4637f7 | 1 | // SPDX-License-Identifier: GPL-2.0 |
faaf348e CC |
2 | /* |
3 | * Samsung's Exynos3250 based Rinato board device tree source | |
4 | * | |
5 | * Copyright (c) 2014 Samsung Electronics Co., Ltd. | |
6 | * http://www.samsung.com | |
7 | * | |
8 | * Device tree source file for Samsung's Rinato board which is based on | |
9 | * Samsung Exynos3250 SoC. | |
faaf348e CC |
10 | */ |
11 | ||
12 | /dts-v1/; | |
13 | #include "exynos3250.dtsi" | |
4a80467a | 14 | #include "exynos4412-ppmu-common.dtsi" |
faaf348e | 15 | #include <dt-bindings/input/input.h> |
13b9b64e | 16 | #include <dt-bindings/gpio/gpio.h> |
9f802938 | 17 | #include <dt-bindings/clock/samsung,s2mps11.h> |
faaf348e CC |
18 | |
19 | / { | |
20 | model = "Samsung Rinato board"; | |
21 | compatible = "samsung,rinato", "samsung,exynos3250", "samsung,exynos3"; | |
22 | ||
23 | aliases { | |
24 | i2c7 = &i2c_max77836; | |
25 | }; | |
26 | ||
c31a9a64 MS |
27 | chosen { |
28 | stdout-path = &serial_1; | |
29 | }; | |
30 | ||
2458ff00 | 31 | memory@40000000 { |
33c3de7e | 32 | device_type = "memory"; |
faaf348e CC |
33 | reg = <0x40000000 0x1ff00000>; |
34 | }; | |
35 | ||
8dccafaa | 36 | firmware@205f000 { |
faaf348e CC |
37 | compatible = "samsung,secure-firmware"; |
38 | reg = <0x0205F000 0x1000>; | |
39 | }; | |
40 | ||
41 | gpio_keys { | |
42 | compatible = "gpio-keys"; | |
43 | ||
44 | power_key { | |
13b9b64e | 45 | gpios = <&gpx2 7 GPIO_ACTIVE_LOW>; |
faaf348e CC |
46 | linux,code = <KEY_POWER>; |
47 | label = "power key"; | |
48 | debounce-interval = <10>; | |
36a0282a | 49 | wakeup-source; |
faaf348e CC |
50 | }; |
51 | }; | |
52 | ||
53 | i2c_max77836: i2c-gpio-0 { | |
54 | compatible = "i2c-gpio"; | |
de77e52d | 55 | gpios = <&gpd0 2 GPIO_ACTIVE_HIGH>, <&gpd0 3 GPIO_ACTIVE_HIGH>; |
faaf348e CC |
56 | #address-cells = <1>; |
57 | #size-cells = <0>; | |
58 | ||
59 | max77836: subpmic@25 { | |
60 | compatible = "maxim,max77836"; | |
61 | interrupt-parent = <&gpx1>; | |
6ff0b90d | 62 | interrupts = <5 IRQ_TYPE_NONE>; |
faaf348e | 63 | reg = <0x25>; |
36a0282a | 64 | wakeup-source; |
faaf348e CC |
65 | |
66 | muic: max77836-muic { | |
67 | compatible = "maxim,max77836-muic"; | |
68 | }; | |
69 | ||
70 | regulators { | |
71 | compatible = "maxim,max77836-regulator"; | |
72 | safeout_reg: SAFEOUT { | |
73 | regulator-name = "SAFEOUT"; | |
74 | }; | |
75 | ||
76 | charger_reg: CHARGER { | |
77 | regulator-name = "CHARGER"; | |
78 | regulator-min-microamp = <45000>; | |
79 | regulator-max-microamp = <475000>; | |
80 | regulator-boot-on; | |
81 | }; | |
82 | ||
83 | motor_reg: LDO1 { | |
84 | regulator-name = "MOT_2.7V"; | |
85 | regulator-min-microvolt = <1100000>; | |
86 | regulator-max-microvolt = <2700000>; | |
87 | }; | |
88 | ||
89 | LDO2 { | |
90 | regulator-name = "UNUSED_LDO2"; | |
91 | regulator-min-microvolt = <800000>; | |
92 | regulator-max-microvolt = <3950000>; | |
93 | }; | |
94 | }; | |
95 | ||
96 | charger { | |
97 | compatible = "maxim,max77836-charger"; | |
98 | ||
99 | maxim,constant-uvolt = <4350000>; | |
100 | maxim,fast-charge-uamp = <225000>; | |
101 | maxim,eoc-uamp = <7500>; | |
102 | maxim,ovp-uvolt = <6500000>; | |
103 | }; | |
104 | }; | |
105 | }; | |
c0276bc1 JK |
106 | |
107 | haptics { | |
108 | compatible = "regulator-haptic"; | |
109 | haptic-supply = <&motor_reg>; | |
110 | min-microvolt = <1100000>; | |
111 | max-microvolt = <2700000>; | |
112 | }; | |
5600f8cc CC |
113 | |
114 | thermal-zones { | |
115 | cpu_thermal: cpu-thermal { | |
116 | cooling-maps { | |
117 | map0 { | |
118 | /* Corresponds to 500MHz */ | |
670734f5 VK |
119 | cooling-device = <&cpu0 5 5>, |
120 | <&cpu1 5 5>; | |
5600f8cc CC |
121 | }; |
122 | map1 { | |
123 | /* Corresponds to 200MHz */ | |
670734f5 VK |
124 | cooling-device = <&cpu0 8 8>, |
125 | <&cpu1 8 8>; | |
5600f8cc CC |
126 | }; |
127 | }; | |
128 | }; | |
129 | }; | |
faaf348e CC |
130 | }; |
131 | ||
132 | &adc { | |
133 | vdd-supply = <&ldo3_reg>; | |
134 | status = "okay"; | |
135 | assigned-clocks = <&cmu CLK_SCLK_TSADC>; | |
136 | assigned-clock-rates = <6000000>; | |
137 | ||
138 | thermistor-ap { | |
139 | compatible = "ntc,ncp15wb473"; | |
140 | pullup-uv = <1800000>; | |
141 | pullup-ohm = <100000>; | |
142 | pulldown-ohm = <100000>; | |
143 | io-channels = <&adc 0>; | |
144 | }; | |
145 | ||
146 | thermistor-battery { | |
147 | compatible = "ntc,ncp15wb473"; | |
148 | pullup-uv = <1800000>; | |
149 | pullup-ohm = <100000>; | |
150 | pulldown-ohm = <100000>; | |
151 | io-channels = <&adc 1>; | |
152 | }; | |
153 | }; | |
154 | ||
e9a53680 CC |
155 | &bus_dmc { |
156 | devfreq-events = <&ppmu_dmc0_3>, <&ppmu_dmc1_3>; | |
157 | vdd-supply = <&buck1_reg>; | |
158 | status = "okay"; | |
159 | }; | |
160 | ||
691d010e CC |
161 | &bus_leftbus { |
162 | devfreq-events = <&ppmu_leftbus_3>, <&ppmu_rightbus_3>; | |
163 | vdd-supply = <&buck3_reg>; | |
164 | status = "okay"; | |
165 | }; | |
166 | ||
167 | &bus_rightbus { | |
168 | devfreq = <&bus_leftbus>; | |
169 | status = "okay"; | |
170 | }; | |
171 | ||
172 | &bus_lcd0 { | |
173 | devfreq = <&bus_leftbus>; | |
174 | status = "okay"; | |
175 | }; | |
176 | ||
177 | &bus_fsys { | |
178 | devfreq = <&bus_leftbus>; | |
179 | status = "okay"; | |
180 | }; | |
181 | ||
182 | &bus_mcuisp { | |
183 | devfreq = <&bus_leftbus>; | |
184 | status = "okay"; | |
185 | }; | |
186 | ||
187 | &bus_isp { | |
188 | devfreq = <&bus_leftbus>; | |
189 | status = "okay"; | |
190 | }; | |
191 | ||
192 | &bus_peril { | |
193 | devfreq = <&bus_leftbus>; | |
194 | status = "okay"; | |
195 | }; | |
196 | ||
197 | &bus_mfc { | |
198 | devfreq = <&bus_leftbus>; | |
199 | status = "okay"; | |
200 | }; | |
201 | ||
48816aff CC |
202 | &cpu0 { |
203 | cpu0-supply = <&buck2_reg>; | |
204 | }; | |
205 | ||
cdc38668 JK |
206 | &exynos_usbphy { |
207 | status = "okay"; | |
4ae9a4c6 | 208 | vbus-supply = <&safeout_reg>; |
cdc38668 JK |
209 | }; |
210 | ||
211 | &hsotg { | |
212 | vusb_d-supply = <&ldo15_reg>; | |
213 | vusb_a-supply = <&ldo12_reg>; | |
32f144f2 | 214 | dr_mode = "peripheral"; |
cdc38668 JK |
215 | status = "okay"; |
216 | }; | |
217 | ||
2ea2473d ID |
218 | &dsi_0 { |
219 | vddcore-supply = <&ldo6_reg>; | |
220 | vddio-supply = <&ldo6_reg>; | |
4c74ea4e HK |
221 | samsung,burst-clock-frequency = <250000000>; |
222 | samsung,esc-clock-frequency = <20000000>; | |
2ea2473d ID |
223 | samsung,pll-clock-frequency = <24000000>; |
224 | status = "okay"; | |
225 | ||
2ea2473d ID |
226 | panel@0 { |
227 | compatible = "samsung,s6e63j0x03"; | |
228 | reg = <0>; | |
229 | vdd3-supply = <&ldo16_reg>; | |
230 | vci-supply = <&ldo20_reg>; | |
bc8ebb86 | 231 | reset-gpios = <&gpe0 1 GPIO_ACTIVE_LOW>; |
de77e52d | 232 | te-gpios = <&gpx0 6 GPIO_ACTIVE_HIGH>; |
2ea2473d ID |
233 | }; |
234 | }; | |
235 | ||
b59b3afb ID |
236 | &fimd { |
237 | status = "okay"; | |
238 | ||
239 | i80-if-timings { | |
240 | cs-setup = <0>; | |
241 | wr-setup = <0>; | |
242 | wr-act = <1>; | |
243 | wr-hold = <0>; | |
244 | }; | |
245 | }; | |
246 | ||
faaf348e CC |
247 | &i2c_0 { |
248 | #address-cells = <1>; | |
249 | #size-cells = <0>; | |
250 | samsung,i2c-sda-delay = <100>; | |
251 | samsung,i2c-slave-addr = <0x10>; | |
252 | samsung,i2c-max-bus-freq = <100000>; | |
253 | status = "okay"; | |
254 | ||
255 | s2mps14_pmic@66 { | |
256 | compatible = "samsung,s2mps14-pmic"; | |
257 | interrupt-parent = <&gpx0>; | |
6ff0b90d | 258 | interrupts = <7 IRQ_TYPE_NONE>; |
faaf348e | 259 | reg = <0x66>; |
36a0282a | 260 | wakeup-source; |
faaf348e CC |
261 | |
262 | s2mps14_osc: clocks { | |
263 | compatible = "samsung,s2mps14-clk"; | |
264 | #clock-cells = <1>; | |
265 | clock-output-names = "s2mps14_ap", "unused", | |
266 | "s2mps14_bt"; | |
267 | }; | |
268 | ||
269 | regulators { | |
270 | ldo1_reg: LDO1 { | |
271 | regulator-name = "VAP_ALIVE_1.0V"; | |
272 | regulator-min-microvolt = <1000000>; | |
273 | regulator-max-microvolt = <1000000>; | |
274 | regulator-always-on; | |
b9d7fdac CC |
275 | |
276 | regulator-state-mem { | |
277 | regulator-on-in-suspend; | |
278 | }; | |
faaf348e CC |
279 | }; |
280 | ||
281 | ldo2_reg: LDO2 { | |
282 | regulator-name = "VAP_M1_1.2V"; | |
283 | regulator-min-microvolt = <1200000>; | |
284 | regulator-max-microvolt = <1200000>; | |
285 | regulator-always-on; | |
b9d7fdac CC |
286 | |
287 | regulator-state-mem { | |
288 | regulator-off-in-suspend; | |
289 | }; | |
faaf348e CC |
290 | }; |
291 | ||
292 | ldo3_reg: LDO3 { | |
293 | regulator-name = "VCC_AP_1.8V"; | |
294 | regulator-min-microvolt = <1800000>; | |
295 | regulator-max-microvolt = <1800000>; | |
296 | regulator-always-on; | |
b9d7fdac CC |
297 | |
298 | regulator-state-mem { | |
299 | regulator-off-in-suspend; | |
300 | }; | |
faaf348e CC |
301 | }; |
302 | ||
303 | ldo4_reg: LDO4 { | |
304 | regulator-name = "VAP_AVDD_PLL1"; | |
305 | regulator-min-microvolt = <1800000>; | |
306 | regulator-max-microvolt = <1800000>; | |
307 | regulator-always-on; | |
b9d7fdac CC |
308 | |
309 | regulator-state-mem { | |
310 | regulator-off-in-suspend; | |
311 | }; | |
faaf348e CC |
312 | }; |
313 | ||
314 | ldo5_reg: LDO5 { | |
315 | regulator-name = "VAP_PLL_ISO_1.0V"; | |
316 | regulator-min-microvolt = <1000000>; | |
317 | regulator-max-microvolt = <1000000>; | |
318 | regulator-always-on; | |
b9d7fdac CC |
319 | |
320 | regulator-state-mem { | |
321 | regulator-off-in-suspend; | |
322 | }; | |
faaf348e CC |
323 | }; |
324 | ||
325 | ldo6_reg: LDO6 { | |
326 | regulator-name = "VAP_VMIPI_1.0V"; | |
327 | regulator-min-microvolt = <1000000>; | |
328 | regulator-max-microvolt = <1000000>; | |
329 | regulator-always-on; | |
b9d7fdac CC |
330 | |
331 | regulator-state-mem { | |
332 | regulator-off-in-suspend; | |
333 | }; | |
faaf348e CC |
334 | }; |
335 | ||
336 | ldo7_reg: LDO7 { | |
337 | regulator-name = "VAP_AVDD_1.8V"; | |
338 | regulator-min-microvolt = <1800000>; | |
339 | regulator-max-microvolt = <1800000>; | |
340 | regulator-always-on; | |
b9d7fdac CC |
341 | |
342 | regulator-state-mem { | |
343 | regulator-off-in-suspend; | |
344 | }; | |
faaf348e CC |
345 | }; |
346 | ||
347 | ldo8_reg: LDO8 { | |
348 | regulator-name = "VAP_USB_3.0V"; | |
349 | regulator-min-microvolt = <3000000>; | |
350 | regulator-max-microvolt = <3000000>; | |
351 | regulator-always-on; | |
b9d7fdac CC |
352 | |
353 | regulator-state-mem { | |
354 | regulator-off-in-suspend; | |
355 | }; | |
faaf348e CC |
356 | }; |
357 | ||
358 | ldo9_reg: LDO9 { | |
359 | regulator-name = "V_LPDDR_1.2V"; | |
360 | regulator-min-microvolt = <1200000>; | |
361 | regulator-max-microvolt = <1200000>; | |
362 | regulator-always-on; | |
b9d7fdac CC |
363 | |
364 | regulator-state-mem { | |
365 | regulator-on-in-suspend; | |
366 | }; | |
faaf348e CC |
367 | }; |
368 | ||
369 | ldo10_reg: LDO10 { | |
370 | regulator-name = "UNUSED_LDO10"; | |
371 | regulator-min-microvolt = <1000000>; | |
372 | regulator-max-microvolt = <1000000>; | |
b9d7fdac CC |
373 | |
374 | regulator-state-mem { | |
375 | regulator-off-in-suspend; | |
376 | }; | |
faaf348e CC |
377 | }; |
378 | ||
379 | ldo11_reg: LDO11 { | |
380 | regulator-name = "V_EMMC_1.8V"; | |
381 | regulator-min-microvolt = <1800000>; | |
382 | regulator-max-microvolt = <1800000>; | |
de77e52d | 383 | samsung,ext-control-gpios = <&gpk0 2 GPIO_ACTIVE_HIGH>; |
faaf348e CC |
384 | }; |
385 | ||
386 | ldo12_reg: LDO12 { | |
387 | regulator-name = "V_EMMC_2.8V"; | |
388 | regulator-min-microvolt = <2800000>; | |
389 | regulator-max-microvolt = <2800000>; | |
de77e52d | 390 | samsung,ext-control-gpios = <&gpk0 2 GPIO_ACTIVE_HIGH>; |
faaf348e CC |
391 | }; |
392 | ||
393 | ldo13_reg: LDO13 { | |
394 | regulator-name = "CAM_AVDD_2.8V"; | |
395 | regulator-min-microvolt = <2800000>; | |
396 | regulator-max-microvolt = <2800000>; | |
b9d7fdac CC |
397 | |
398 | regulator-state-mem { | |
399 | regulator-off-in-suspend; | |
400 | }; | |
faaf348e CC |
401 | }; |
402 | ||
403 | ldo14_reg: LDO14 { | |
404 | regulator-name = "UNUSED_LDO14"; | |
405 | regulator-min-microvolt = <2700000>; | |
406 | regulator-max-microvolt = <2700000>; | |
b9d7fdac CC |
407 | |
408 | regulator-state-mem { | |
409 | regulator-off-in-suspend; | |
410 | }; | |
faaf348e CC |
411 | }; |
412 | ||
413 | ldo15_reg: LDO15 { | |
414 | regulator-name = "TSP_AVDD_3.3V"; | |
415 | regulator-min-microvolt = <3300000>; | |
416 | regulator-max-microvolt = <3300000>; | |
b9d7fdac CC |
417 | |
418 | regulator-state-mem { | |
419 | regulator-off-in-suspend; | |
420 | }; | |
faaf348e CC |
421 | }; |
422 | ||
423 | ldo16_reg: LDO16 { | |
424 | regulator-name = "LCD_VDD_3.3V"; | |
425 | regulator-min-microvolt = <3300000>; | |
426 | regulator-max-microvolt = <3300000>; | |
b9d7fdac CC |
427 | |
428 | regulator-state-mem { | |
429 | regulator-off-in-suspend; | |
430 | }; | |
faaf348e CC |
431 | }; |
432 | ||
433 | ldo17_reg: LDO17 { | |
434 | regulator-name = "V_IRLED_3.3V"; | |
435 | regulator-min-microvolt = <3300000>; | |
436 | regulator-max-microvolt = <3300000>; | |
b9d7fdac CC |
437 | |
438 | regulator-state-mem { | |
439 | regulator-off-in-suspend; | |
440 | }; | |
faaf348e CC |
441 | }; |
442 | ||
443 | ldo18_reg: LDO18 { | |
444 | regulator-name = "CAM_AF_2.8V"; | |
445 | regulator-min-microvolt = <2800000>; | |
446 | regulator-max-microvolt = <2800000>; | |
b9d7fdac CC |
447 | |
448 | regulator-state-mem { | |
449 | regulator-off-in-suspend; | |
450 | }; | |
faaf348e CC |
451 | }; |
452 | ||
453 | ldo19_reg: LDO19 { | |
454 | regulator-name = "TSP_VDD_1.8V"; | |
455 | regulator-min-microvolt = <1800000>; | |
456 | regulator-max-microvolt = <1800000>; | |
b9d7fdac CC |
457 | |
458 | regulator-state-mem { | |
459 | regulator-off-in-suspend; | |
460 | }; | |
faaf348e CC |
461 | }; |
462 | ||
463 | ldo20_reg: LDO20 { | |
464 | regulator-name = "LCD_VDD_1.8V"; | |
465 | regulator-min-microvolt = <1800000>; | |
466 | regulator-max-microvolt = <1800000>; | |
b9d7fdac CC |
467 | |
468 | regulator-state-mem { | |
469 | regulator-off-in-suspend; | |
470 | }; | |
faaf348e CC |
471 | }; |
472 | ||
473 | ldo21_reg: LDO21 { | |
474 | regulator-name = "CAM_IO_1.8V"; | |
475 | regulator-min-microvolt = <1800000>; | |
476 | regulator-max-microvolt = <1800000>; | |
b9d7fdac CC |
477 | |
478 | regulator-state-mem { | |
479 | regulator-off-in-suspend; | |
480 | }; | |
faaf348e CC |
481 | }; |
482 | ||
483 | ldo22_reg: LDO22 { | |
484 | regulator-name = "CAM_DVDD_1.2V"; | |
485 | regulator-min-microvolt = <1200000>; | |
486 | regulator-max-microvolt = <1200000>; | |
b9d7fdac CC |
487 | |
488 | regulator-state-mem { | |
489 | regulator-off-in-suspend; | |
490 | }; | |
faaf348e CC |
491 | }; |
492 | ||
493 | ldo23_reg: LDO23 { | |
494 | regulator-name = "HRM_VCC_1.8V"; | |
495 | regulator-min-microvolt = <1800000>; | |
496 | regulator-max-microvolt = <1800000>; | |
497 | regulator-always-on; | |
498 | }; | |
499 | ||
500 | ldo24_reg: LDO24 { | |
501 | regulator-name = "HRM_VCC_3.3V"; | |
502 | regulator-min-microvolt = <3000000>; | |
503 | regulator-max-microvolt = <3000000>; | |
b9d7fdac CC |
504 | |
505 | regulator-state-mem { | |
506 | regulator-off-in-suspend; | |
507 | }; | |
faaf348e CC |
508 | }; |
509 | ||
510 | ldo25_reg: LDO25 { | |
511 | regulator-name = "UNUSED_LDO25"; | |
512 | regulator-min-microvolt = <3000000>; | |
513 | regulator-max-microvolt = <3000000>; | |
b9d7fdac CC |
514 | |
515 | regulator-state-mem { | |
516 | regulator-off-in-suspend; | |
517 | }; | |
faaf348e CC |
518 | }; |
519 | ||
520 | buck1_reg: BUCK1 { | |
521 | regulator-name = "VAP_MIF_1.0V"; | |
522 | regulator-min-microvolt = <800000>; | |
523 | regulator-max-microvolt = <900000>; | |
524 | regulator-always-on; | |
b9d7fdac CC |
525 | |
526 | regulator-state-mem { | |
527 | regulator-off-in-suspend; | |
528 | }; | |
faaf348e CC |
529 | }; |
530 | ||
531 | buck2_reg: BUCK2 { | |
532 | regulator-name = "VAP_ARM_1.0V"; | |
533 | regulator-min-microvolt = <850000>; | |
534 | regulator-max-microvolt = <1150000>; | |
535 | regulator-always-on; | |
b9d7fdac CC |
536 | |
537 | regulator-state-mem { | |
538 | regulator-off-in-suspend; | |
539 | }; | |
faaf348e CC |
540 | }; |
541 | ||
542 | buck3_reg: BUCK3 { | |
543 | regulator-name = "VAP_INT3D_1.0V"; | |
544 | regulator-min-microvolt = <850000>; | |
545 | regulator-max-microvolt = <1000000>; | |
546 | regulator-always-on; | |
b9d7fdac CC |
547 | |
548 | regulator-state-mem { | |
549 | regulator-off-in-suspend; | |
550 | }; | |
faaf348e CC |
551 | }; |
552 | ||
553 | buck4_reg: BUCK4 { | |
554 | regulator-name = "VCC_SUB_1.95V"; | |
555 | regulator-min-microvolt = <1950000>; | |
556 | regulator-max-microvolt = <1950000>; | |
557 | regulator-always-on; | |
b9d7fdac CC |
558 | |
559 | regulator-state-mem { | |
560 | regulator-on-in-suspend; | |
561 | }; | |
faaf348e CC |
562 | }; |
563 | ||
564 | buck5_reg: BUCK5 { | |
565 | regulator-name = "VCC_SUB_1.35V"; | |
566 | regulator-min-microvolt = <1350000>; | |
567 | regulator-max-microvolt = <1350000>; | |
568 | regulator-always-on; | |
b9d7fdac CC |
569 | |
570 | regulator-state-mem { | |
571 | regulator-on-in-suspend; | |
572 | }; | |
faaf348e CC |
573 | }; |
574 | }; | |
575 | }; | |
576 | }; | |
577 | ||
578 | &i2c_1 { | |
579 | #address-cells = <1>; | |
580 | #size-cells = <0>; | |
581 | samsung,i2c-sda-delay = <100>; | |
582 | samsung,i2c-slave-addr = <0x10>; | |
583 | samsung,i2c-max-bus-freq = <400000>; | |
584 | status = "okay"; | |
585 | ||
586 | fuelgauge@36 { | |
587 | compatible = "maxim,max77836-battery"; | |
588 | interrupt-parent = <&gpx1>; | |
6ff0b90d | 589 | interrupts = <2 IRQ_TYPE_LEVEL_LOW>; |
faaf348e CC |
590 | reg = <0x36>; |
591 | }; | |
592 | }; | |
593 | ||
594 | &i2s2 { | |
595 | status = "okay"; | |
596 | }; | |
597 | ||
a1c0013c JA |
598 | &jpeg { |
599 | status = "okay"; | |
600 | }; | |
601 | ||
faaf348e CC |
602 | &mshc_0 { |
603 | #address-cells = <1>; | |
604 | #size-cells = <0>; | |
faaf348e CC |
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>; | |
9adce7a4 | 613 | max-frequency = <100000000>; |
faaf348e CC |
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 { | |
9f802938 | 639 | clocks = <&cmu CLK_RTC>, <&s2mps14_osc S2MPS11_CLK_AP>; |
faaf348e CC |
640 | clock-names = "rtc", "rtc_src"; |
641 | status = "okay"; | |
642 | }; | |
643 | ||
644 | &xusbxti { | |
645 | clock-frequency = <24000000>; | |
646 | }; | |
18073d6e CC |
647 | |
648 | &pinctrl_0 { | |
649 | pinctrl-names = "default"; | |
40bbd191 CC |
650 | pinctrl-0 = <&initial0 &sleep0>; |
651 | ||
652 | initial0: initial-state { | |
653 | PIN_IN(gpa1-4, DOWN, LV1); | |
654 | PIN_IN(gpa1-5, DOWN, LV1); | |
655 | ||
656 | PIN_IN(gpc0-0, DOWN, LV1); | |
657 | PIN_IN(gpc0-1, DOWN, LV1); | |
658 | PIN_IN(gpc0-2, DOWN, LV1); | |
659 | PIN_IN(gpc0-3, DOWN, LV1); | |
660 | PIN_IN(gpc0-4, DOWN, LV1); | |
661 | ||
662 | PIN_IN(gpd0-0, DOWN, LV1); | |
663 | PIN_IN(gpd0-1, DOWN, LV1); | |
664 | }; | |
18073d6e CC |
665 | |
666 | sleep0: sleep-state { | |
667 | PIN_SLP(gpa0-0, INPUT, DOWN); | |
668 | PIN_SLP(gpa0-1, INPUT, DOWN); | |
669 | PIN_SLP(gpa0-2, INPUT, DOWN); | |
670 | PIN_SLP(gpa0-3, INPUT, DOWN); | |
671 | PIN_SLP(gpa0-4, INPUT, DOWN); | |
672 | PIN_SLP(gpa0-5, INPUT, DOWN); | |
673 | PIN_SLP(gpa0-6, INPUT, DOWN); | |
674 | PIN_SLP(gpa0-7, INPUT, DOWN); | |
675 | ||
676 | PIN_SLP(gpa1-0, INPUT, DOWN); | |
677 | PIN_SLP(gpa1-1, INPUT, DOWN); | |
678 | PIN_SLP(gpa1-2, INPUT, DOWN); | |
679 | PIN_SLP(gpa1-3, INPUT, DOWN); | |
680 | PIN_SLP(gpa1-4, INPUT, DOWN); | |
681 | PIN_SLP(gpa1-5, INPUT, DOWN); | |
682 | ||
683 | PIN_SLP(gpb-0, PREV, NONE); | |
684 | PIN_SLP(gpb-1, PREV, NONE); | |
685 | PIN_SLP(gpb-2, PREV, NONE); | |
686 | PIN_SLP(gpb-3, PREV, NONE); | |
687 | PIN_SLP(gpb-4, INPUT, DOWN); | |
688 | PIN_SLP(gpb-5, INPUT, DOWN); | |
689 | PIN_SLP(gpb-6, INPUT, DOWN); | |
690 | PIN_SLP(gpb-7, INPUT, DOWN); | |
691 | ||
692 | PIN_SLP(gpc0-0, INPUT, DOWN); | |
693 | PIN_SLP(gpc0-1, INPUT, DOWN); | |
694 | PIN_SLP(gpc0-2, INPUT, DOWN); | |
695 | PIN_SLP(gpc0-3, INPUT, DOWN); | |
696 | PIN_SLP(gpc0-4, INPUT, DOWN); | |
697 | ||
698 | PIN_SLP(gpc1-0, INPUT, DOWN); | |
699 | PIN_SLP(gpc1-1, INPUT, DOWN); | |
700 | PIN_SLP(gpc1-2, INPUT, DOWN); | |
701 | PIN_SLP(gpc1-3, INPUT, DOWN); | |
702 | PIN_SLP(gpc1-4, INPUT, DOWN); | |
703 | ||
704 | PIN_SLP(gpd0-0, INPUT, DOWN); | |
705 | PIN_SLP(gpd0-1, INPUT, DOWN); | |
706 | PIN_SLP(gpd0-2, INPUT, NONE); | |
707 | PIN_SLP(gpd0-3, INPUT, NONE); | |
708 | ||
709 | PIN_SLP(gpd1-0, INPUT, NONE); | |
710 | PIN_SLP(gpd1-1, INPUT, NONE); | |
711 | PIN_SLP(gpd1-2, INPUT, NONE); | |
712 | PIN_SLP(gpd1-3, INPUT, NONE); | |
713 | }; | |
714 | }; | |
715 | ||
716 | &pinctrl_1 { | |
717 | pinctrl-names = "default"; | |
40bbd191 CC |
718 | pinctrl-0 = <&initial1 &sleep1>; |
719 | ||
720 | initial1: initial-state { | |
721 | PIN_IN(gpe0-6, DOWN, LV1); | |
722 | PIN_IN(gpe0-7, DOWN, LV1); | |
723 | ||
724 | PIN_IN(gpe1-0, DOWN, LV1); | |
725 | PIN_IN(gpe1-3, DOWN, LV1); | |
726 | PIN_IN(gpe1-4, DOWN, LV1); | |
727 | PIN_IN(gpe1-5, DOWN, LV1); | |
728 | PIN_IN(gpe1-6, DOWN, LV1); | |
729 | ||
730 | PIN_IN(gpk2-0, DOWN, LV1); | |
731 | PIN_IN(gpk2-1, DOWN, LV1); | |
732 | PIN_IN(gpk2-2, DOWN, LV1); | |
733 | PIN_IN(gpk2-3, DOWN, LV1); | |
734 | PIN_IN(gpk2-4, DOWN, LV1); | |
735 | PIN_IN(gpk2-5, DOWN, LV1); | |
736 | PIN_IN(gpk2-6, DOWN, LV1); | |
737 | ||
738 | PIN_IN(gpm0-0, DOWN, LV1); | |
739 | PIN_IN(gpm0-1, DOWN, LV1); | |
740 | PIN_IN(gpm0-2, DOWN, LV1); | |
741 | PIN_IN(gpm0-3, DOWN, LV1); | |
742 | PIN_IN(gpm0-4, DOWN, LV1); | |
743 | PIN_IN(gpm0-5, DOWN, LV1); | |
744 | PIN_IN(gpm0-6, DOWN, LV1); | |
745 | PIN_IN(gpm0-7, DOWN, LV1); | |
746 | ||
747 | PIN_IN(gpm1-0, DOWN, LV1); | |
748 | PIN_IN(gpm1-1, DOWN, LV1); | |
749 | PIN_IN(gpm1-2, DOWN, LV1); | |
750 | PIN_IN(gpm1-3, DOWN, LV1); | |
751 | PIN_IN(gpm1-4, DOWN, LV1); | |
752 | PIN_IN(gpm1-5, DOWN, LV1); | |
753 | PIN_IN(gpm1-6, DOWN, LV1); | |
754 | ||
755 | PIN_IN(gpm2-0, DOWN, LV1); | |
756 | PIN_IN(gpm2-1, DOWN, LV1); | |
757 | ||
758 | PIN_IN(gpm3-0, DOWN, LV1); | |
759 | PIN_IN(gpm3-1, DOWN, LV1); | |
760 | PIN_IN(gpm3-2, DOWN, LV1); | |
761 | PIN_IN(gpm3-3, DOWN, LV1); | |
762 | PIN_IN(gpm3-4, DOWN, LV1); | |
763 | ||
764 | PIN_IN(gpm4-1, DOWN, LV1); | |
765 | PIN_IN(gpm4-2, DOWN, LV1); | |
766 | PIN_IN(gpm4-3, DOWN, LV1); | |
767 | PIN_IN(gpm4-4, DOWN, LV1); | |
768 | PIN_IN(gpm4-5, DOWN, LV1); | |
769 | PIN_IN(gpm4-6, DOWN, LV1); | |
770 | PIN_IN(gpm4-7, DOWN, LV1); | |
771 | }; | |
18073d6e CC |
772 | |
773 | sleep1: sleep-state { | |
774 | PIN_SLP(gpe0-0, PREV, NONE); | |
775 | PIN_SLP(gpe0-1, PREV, NONE); | |
776 | PIN_SLP(gpe0-2, INPUT, DOWN); | |
777 | PIN_SLP(gpe0-3, INPUT, UP); | |
778 | PIN_SLP(gpe0-4, INPUT, DOWN); | |
779 | PIN_SLP(gpe0-5, INPUT, DOWN); | |
780 | PIN_SLP(gpe0-6, INPUT, DOWN); | |
781 | PIN_SLP(gpe0-7, INPUT, DOWN); | |
782 | ||
783 | PIN_SLP(gpe1-0, INPUT, DOWN); | |
784 | PIN_SLP(gpe1-1, PREV, NONE); | |
785 | PIN_SLP(gpe1-2, INPUT, DOWN); | |
786 | PIN_SLP(gpe1-3, INPUT, DOWN); | |
787 | PIN_SLP(gpe1-4, INPUT, DOWN); | |
788 | PIN_SLP(gpe1-5, INPUT, DOWN); | |
789 | PIN_SLP(gpe1-6, INPUT, DOWN); | |
790 | PIN_SLP(gpe1-7, INPUT, NONE); | |
791 | ||
792 | PIN_SLP(gpe2-0, INPUT, NONE); | |
793 | PIN_SLP(gpe2-1, INPUT, NONE); | |
794 | PIN_SLP(gpe2-2, INPUT, NONE); | |
795 | ||
796 | PIN_SLP(gpk0-0, INPUT, DOWN); | |
797 | PIN_SLP(gpk0-1, INPUT, DOWN); | |
798 | PIN_SLP(gpk0-2, OUT0, NONE); | |
799 | PIN_SLP(gpk0-3, INPUT, DOWN); | |
800 | PIN_SLP(gpk0-4, INPUT, DOWN); | |
801 | PIN_SLP(gpk0-5, INPUT, DOWN); | |
802 | PIN_SLP(gpk0-6, INPUT, DOWN); | |
803 | PIN_SLP(gpk0-7, INPUT, DOWN); | |
804 | ||
805 | PIN_SLP(gpk1-0, INPUT, DOWN); | |
806 | PIN_SLP(gpk1-1, INPUT, DOWN); | |
807 | PIN_SLP(gpk1-2, INPUT, DOWN); | |
808 | PIN_SLP(gpk1-3, INPUT, DOWN); | |
809 | PIN_SLP(gpk1-4, INPUT, DOWN); | |
810 | PIN_SLP(gpk1-5, INPUT, DOWN); | |
811 | PIN_SLP(gpk1-6, INPUT, DOWN); | |
812 | ||
813 | PIN_SLP(gpk2-0, INPUT, DOWN); | |
814 | PIN_SLP(gpk2-1, INPUT, DOWN); | |
815 | PIN_SLP(gpk2-2, INPUT, DOWN); | |
816 | PIN_SLP(gpk2-3, INPUT, DOWN); | |
817 | PIN_SLP(gpk2-4, INPUT, DOWN); | |
818 | PIN_SLP(gpk2-5, INPUT, DOWN); | |
819 | PIN_SLP(gpk2-6, INPUT, DOWN); | |
820 | ||
821 | PIN_SLP(gpl0-0, INPUT, DOWN); | |
822 | PIN_SLP(gpl0-1, INPUT, DOWN); | |
823 | PIN_SLP(gpl0-2, INPUT, DOWN); | |
824 | PIN_SLP(gpl0-3, INPUT, DOWN); | |
825 | ||
826 | PIN_SLP(gpm0-0, INPUT, DOWN); | |
827 | PIN_SLP(gpm0-1, INPUT, DOWN); | |
828 | PIN_SLP(gpm0-2, INPUT, DOWN); | |
829 | PIN_SLP(gpm0-3, INPUT, DOWN); | |
830 | PIN_SLP(gpm0-4, INPUT, DOWN); | |
831 | PIN_SLP(gpm0-5, INPUT, DOWN); | |
832 | PIN_SLP(gpm0-6, INPUT, DOWN); | |
833 | PIN_SLP(gpm0-7, INPUT, DOWN); | |
834 | ||
835 | PIN_SLP(gpm1-0, INPUT, DOWN); | |
836 | PIN_SLP(gpm1-1, INPUT, DOWN); | |
837 | PIN_SLP(gpm1-2, INPUT, DOWN); | |
838 | PIN_SLP(gpm1-3, INPUT, DOWN); | |
839 | PIN_SLP(gpm1-4, INPUT, DOWN); | |
840 | PIN_SLP(gpm1-5, INPUT, DOWN); | |
841 | PIN_SLP(gpm1-6, INPUT, DOWN); | |
842 | ||
843 | PIN_SLP(gpm2-0, INPUT, DOWN); | |
844 | PIN_SLP(gpm2-1, INPUT, DOWN); | |
845 | PIN_SLP(gpm2-2, INPUT, DOWN); | |
846 | PIN_SLP(gpm2-3, INPUT, DOWN); | |
847 | PIN_SLP(gpm2-4, INPUT, DOWN); | |
848 | ||
849 | PIN_SLP(gpm3-0, INPUT, DOWN); | |
850 | PIN_SLP(gpm3-1, INPUT, DOWN); | |
851 | PIN_SLP(gpm3-2, INPUT, DOWN); | |
852 | PIN_SLP(gpm3-3, INPUT, DOWN); | |
853 | PIN_SLP(gpm3-4, INPUT, DOWN); | |
854 | PIN_SLP(gpm3-5, INPUT, DOWN); | |
855 | PIN_SLP(gpm3-6, INPUT, DOWN); | |
856 | PIN_SLP(gpm3-7, INPUT, DOWN); | |
857 | ||
858 | PIN_SLP(gpm4-0, INPUT, DOWN); | |
859 | PIN_SLP(gpm4-1, INPUT, DOWN); | |
860 | PIN_SLP(gpm4-2, INPUT, DOWN); | |
861 | PIN_SLP(gpm4-3, INPUT, DOWN); | |
862 | PIN_SLP(gpm4-4, INPUT, DOWN); | |
863 | PIN_SLP(gpm4-5, INPUT, DOWN); | |
864 | PIN_SLP(gpm4-6, INPUT, DOWN); | |
865 | PIN_SLP(gpm4-7, INPUT, DOWN); | |
866 | }; | |
867 | }; |