dt-bindings: mailbox: Add Amlogic Meson MHU Bindings
[deliverable/linux.git] / arch / arm / boot / dts / exynos5420-peach-pit.dts
1 /*
2 * Google Peach Pit Rev 6+ board device tree source
3 *
4 * Copyright (c) 2014 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 <dt-bindings/input/input.h>
13 #include <dt-bindings/gpio/gpio.h>
14 #include <dt-bindings/interrupt-controller/irq.h>
15 #include <dt-bindings/clock/maxim,max77802.h>
16 #include <dt-bindings/regulator/maxim,max77802.h>
17 #include "exynos5420.dtsi"
18 #include "exynos5420-cpus.dtsi"
19 #include "exynos-mfc-reserved-memory.dtsi"
20
21 / {
22 model = "Google Peach Pit Rev 6+";
23
24 compatible = "google,pit-rev16",
25 "google,pit-rev15", "google,pit-rev14",
26 "google,pit-rev13", "google,pit-rev12",
27 "google,pit-rev11", "google,pit-rev10",
28 "google,pit-rev9", "google,pit-rev8",
29 "google,pit-rev7", "google,pit-rev6",
30 "google,pit", "google,peach","samsung,exynos5420",
31 "samsung,exynos5";
32
33 aliases {
34 /* Assign 20 so we don't get confused w/ builtin ones */
35 i2c20 = "/spi@12d40000/cros-ec@0/i2c-tunnel";
36 };
37
38 backlight: backlight {
39 compatible = "pwm-backlight";
40 pwms = <&pwm 0 1000000 0>;
41 brightness-levels = <0 100 500 1000 1500 2000 2500 2800>;
42 default-brightness-level = <7>;
43 power-supply = <&tps65090_fet1>;
44 pinctrl-0 = <&pwm0_out>;
45 pinctrl-names = "default";
46 };
47
48 chosen {
49 stdout-path = "serial3:115200n8";
50 };
51
52 fixed-rate-clocks {
53 oscclk {
54 compatible = "samsung,exynos5420-oscclk";
55 clock-frequency = <24000000>;
56 };
57 };
58
59 gpio-keys {
60 compatible = "gpio-keys";
61
62 pinctrl-names = "default";
63 pinctrl-0 = <&power_key_irq &lid_irq>;
64
65 power {
66 label = "Power";
67 gpios = <&gpx1 2 GPIO_ACTIVE_LOW>;
68 linux,code = <KEY_POWER>;
69 wakeup-source;
70 };
71
72 lid-switch {
73 label = "Lid";
74 gpios = <&gpx3 4 GPIO_ACTIVE_LOW>;
75 linux,input-type = <5>; /* EV_SW */
76 linux,code = <0>; /* SW_LID */
77 debounce-interval = <1>;
78 wakeup-source;
79 };
80 };
81
82 memory {
83 reg = <0x20000000 0x80000000>;
84 };
85
86 sound {
87 compatible = "google,snow-audio-max98090";
88
89 samsung,model = "Peach-Pit-I2S-MAX98090";
90 samsung,i2s-controller = <&i2s0>;
91 samsung,audio-codec = <&max98090>;
92 };
93
94 usb300_vbus_reg: regulator-usb300 {
95 compatible = "regulator-fixed";
96 regulator-name = "P5.0V_USB3CON0";
97 regulator-min-microvolt = <5000000>;
98 regulator-max-microvolt = <5000000>;
99 gpio = <&gph0 0 GPIO_ACTIVE_HIGH>;
100 pinctrl-names = "default";
101 pinctrl-0 = <&usb300_vbus_en>;
102 enable-active-high;
103 };
104
105 usb301_vbus_reg: regulator-usb301 {
106 compatible = "regulator-fixed";
107 regulator-name = "P5.0V_USB3CON1";
108 regulator-min-microvolt = <5000000>;
109 regulator-max-microvolt = <5000000>;
110 gpio = <&gph0 1 GPIO_ACTIVE_HIGH>;
111 pinctrl-names = "default";
112 pinctrl-0 = <&usb301_vbus_en>;
113 enable-active-high;
114 };
115
116 vbat: fixed-regulator {
117 compatible = "regulator-fixed";
118 regulator-name = "vbat-supply";
119 regulator-boot-on;
120 regulator-always-on;
121 };
122
123 panel: panel {
124 compatible = "auo,b116xw03";
125 power-supply = <&tps65090_fet6>;
126 backlight = <&backlight>;
127
128 port {
129 panel_in: endpoint {
130 remote-endpoint = <&bridge_out>;
131 };
132 };
133 };
134
135 mmc1_pwrseq: mmc1_pwrseq {
136 compatible = "mmc-pwrseq-simple";
137 reset-gpios = <&gpx0 0 GPIO_ACTIVE_LOW>; /* WIFI_EN */
138 clocks = <&max77802 MAX77802_CLK_32K_CP>;
139 clock-names = "ext_clock";
140 };
141 };
142
143 &adc {
144 status = "okay";
145 vdd-supply = <&ldo9_reg>;
146 };
147
148 &cpu0 {
149 cpu-supply = <&buck2_reg>;
150 };
151
152 &cpu4 {
153 cpu-supply = <&buck6_reg>;
154 };
155
156 &dp {
157 status = "okay";
158 pinctrl-names = "default";
159 pinctrl-0 = <&dp_hpd_gpio>;
160 samsung,color-space = <0>;
161 samsung,color-depth = <1>;
162 samsung,link-rate = <0x06>;
163 samsung,lane-count = <2>;
164 hpd-gpios = <&gpx2 6 GPIO_ACTIVE_HIGH>;
165
166 ports {
167 port {
168 dp_out: endpoint {
169 remote-endpoint = <&bridge_in>;
170 };
171 };
172 };
173 };
174
175 &fimd {
176 status = "okay";
177 samsung,invert-vclk;
178 };
179
180 &hdmi {
181 status = "okay";
182 hpd-gpio = <&gpx3 7 GPIO_ACTIVE_HIGH>;
183 pinctrl-names = "default";
184 pinctrl-0 = <&hdmi_hpd_irq>;
185 ddc = <&i2c_2>;
186
187 hdmi-en-supply = <&tps65090_fet7>;
188 vdd-supply = <&ldo8_reg>;
189 vdd_osc-supply = <&ldo10_reg>;
190 vdd_pll-supply = <&ldo8_reg>;
191 };
192
193 &hsi2c_4 {
194 status = "okay";
195 clock-frequency = <400000>;
196
197 max77802: max77802-pmic@9 {
198 compatible = "maxim,max77802";
199 interrupt-parent = <&gpx3>;
200 interrupts = <1 IRQ_TYPE_NONE>;
201 pinctrl-names = "default";
202 pinctrl-0 = <&max77802_irq>, <&pmic_selb>,
203 <&pmic_dvs_1>, <&pmic_dvs_2>, <&pmic_dvs_3>;
204 wakeup-source;
205 reg = <0x9>;
206 #clock-cells = <1>;
207
208 inb1-supply = <&tps65090_dcdc2>;
209 inb2-supply = <&tps65090_dcdc1>;
210 inb3-supply = <&tps65090_dcdc2>;
211 inb4-supply = <&tps65090_dcdc2>;
212 inb5-supply = <&tps65090_dcdc1>;
213 inb6-supply = <&tps65090_dcdc2>;
214 inb7-supply = <&tps65090_dcdc1>;
215 inb8-supply = <&tps65090_dcdc1>;
216 inb9-supply = <&tps65090_dcdc1>;
217 inb10-supply = <&tps65090_dcdc1>;
218
219 inl1-supply = <&buck5_reg>;
220 inl2-supply = <&buck7_reg>;
221 inl3-supply = <&buck9_reg>;
222 inl4-supply = <&buck9_reg>;
223 inl5-supply = <&buck9_reg>;
224 inl6-supply = <&tps65090_dcdc2>;
225 inl7-supply = <&buck9_reg>;
226 inl9-supply = <&tps65090_dcdc2>;
227 inl10-supply = <&buck7_reg>;
228
229 regulators {
230 buck1_reg: BUCK1 {
231 regulator-name = "vdd_mif";
232 regulator-min-microvolt = <800000>;
233 regulator-max-microvolt = <1300000>;
234 regulator-always-on;
235 regulator-boot-on;
236 regulator-ramp-delay = <12500>;
237 regulator-state-mem {
238 regulator-off-in-suspend;
239 };
240 };
241
242 buck2_reg: BUCK2 {
243 regulator-name = "vdd_arm";
244 regulator-min-microvolt = <800000>;
245 regulator-max-microvolt = <1500000>;
246 regulator-always-on;
247 regulator-boot-on;
248 regulator-ramp-delay = <12500>;
249 regulator-state-mem {
250 regulator-off-in-suspend;
251 };
252 };
253
254 buck3_reg: BUCK3 {
255 regulator-name = "vdd_int";
256 regulator-min-microvolt = <800000>;
257 regulator-max-microvolt = <1400000>;
258 regulator-always-on;
259 regulator-boot-on;
260 regulator-ramp-delay = <12500>;
261 regulator-state-mem {
262 regulator-off-in-suspend;
263 };
264 };
265
266 buck4_reg: BUCK4 {
267 regulator-name = "vdd_g3d";
268 regulator-min-microvolt = <700000>;
269 regulator-max-microvolt = <1400000>;
270 regulator-always-on;
271 regulator-boot-on;
272 regulator-ramp-delay = <12500>;
273 regulator-state-mem {
274 regulator-off-in-suspend;
275 };
276 };
277
278 buck5_reg: BUCK5 {
279 regulator-name = "vdd_1v2";
280 regulator-min-microvolt = <1200000>;
281 regulator-max-microvolt = <1200000>;
282 regulator-boot-on;
283 regulator-state-mem {
284 regulator-off-in-suspend;
285 };
286 };
287
288 buck6_reg: BUCK6 {
289 regulator-name = "vdd_kfc";
290 regulator-min-microvolt = <800000>;
291 regulator-max-microvolt = <1500000>;
292 regulator-always-on;
293 regulator-boot-on;
294 regulator-ramp-delay = <12500>;
295 regulator-state-mem {
296 regulator-off-in-suspend;
297 };
298 };
299
300 buck7_reg: BUCK7 {
301 regulator-name = "vdd_1v35";
302 regulator-min-microvolt = <1350000>;
303 regulator-max-microvolt = <1350000>;
304 regulator-boot-on;
305 regulator-state-mem {
306 regulator-on-in-suspend;
307 };
308 };
309
310 buck8_reg: BUCK8 {
311 regulator-name = "vdd_emmc";
312 regulator-min-microvolt = <2850000>;
313 regulator-max-microvolt = <2850000>;
314 regulator-always-on;
315 regulator-boot-on;
316 regulator-state-mem {
317 regulator-off-in-suspend;
318 };
319 };
320
321 buck9_reg: BUCK9 {
322 regulator-name = "vdd_2v";
323 regulator-min-microvolt = <2000000>;
324 regulator-max-microvolt = <2000000>;
325 regulator-boot-on;
326 regulator-state-mem {
327 regulator-on-in-suspend;
328 };
329 };
330
331 buck10_reg: BUCK10 {
332 regulator-name = "vdd_1v8";
333 regulator-min-microvolt = <1800000>;
334 regulator-max-microvolt = <1800000>;
335 regulator-boot-on;
336 regulator-state-mem {
337 regulator-on-in-suspend;
338 };
339 };
340
341 ldo1_reg: LDO1 {
342 regulator-name = "vdd_1v0";
343 regulator-min-microvolt = <1000000>;
344 regulator-max-microvolt = <1000000>;
345 regulator-always-on;
346 regulator-state-mem {
347 regulator-on-in-suspend;
348 regulator-mode = <MAX77802_OPMODE_LP>;
349 };
350 };
351
352 ldo2_reg: LDO2 {
353 regulator-name = "vdd_1v2_2";
354 regulator-min-microvolt = <1200000>;
355 regulator-max-microvolt = <1200000>;
356 };
357
358 ldo3_reg: LDO3 {
359 regulator-name = "vdd_1v8_3";
360 regulator-min-microvolt = <1800000>;
361 regulator-max-microvolt = <1800000>;
362 regulator-always-on;
363 regulator-state-mem {
364 regulator-on-in-suspend;
365 regulator-mode = <MAX77802_OPMODE_LP>;
366 };
367 };
368
369 vqmmc_sdcard: ldo4_reg: LDO4 {
370 regulator-name = "vdd_sd";
371 regulator-min-microvolt = <1800000>;
372 regulator-max-microvolt = <2800000>;
373 regulator-always-on;
374 regulator-state-mem {
375 regulator-off-in-suspend;
376 };
377 };
378
379 ldo5_reg: LDO5 {
380 regulator-name = "vdd_1v8_5";
381 regulator-min-microvolt = <1800000>;
382 regulator-max-microvolt = <1800000>;
383 regulator-always-on;
384 regulator-state-mem {
385 regulator-off-in-suspend;
386 };
387 };
388
389 ldo6_reg: LDO6 {
390 regulator-name = "vdd_1v8_6";
391 regulator-min-microvolt = <1800000>;
392 regulator-max-microvolt = <1800000>;
393 regulator-always-on;
394 regulator-state-mem {
395 regulator-off-in-suspend;
396 };
397 };
398
399 ldo7_reg: LDO7 {
400 regulator-name = "vdd_1v8_7";
401 regulator-min-microvolt = <1800000>;
402 regulator-max-microvolt = <1800000>;
403 };
404
405 ldo8_reg: LDO8 {
406 regulator-name = "vdd_ldo8";
407 regulator-min-microvolt = <1000000>;
408 regulator-max-microvolt = <1000000>;
409 regulator-always-on;
410 regulator-state-mem {
411 regulator-off-in-suspend;
412 };
413 };
414
415 ldo9_reg: LDO9 {
416 regulator-name = "vdd_ldo9";
417 regulator-min-microvolt = <1800000>;
418 regulator-max-microvolt = <1800000>;
419 regulator-state-mem {
420 regulator-on-in-suspend;
421 regulator-mode = <MAX77802_OPMODE_LP>;
422 };
423 };
424
425 ldo10_reg: LDO10 {
426 regulator-name = "vdd_ldo10";
427 regulator-min-microvolt = <1800000>;
428 regulator-max-microvolt = <1800000>;
429 regulator-state-mem {
430 regulator-off-in-suspend;
431 };
432 };
433
434 ldo11_reg: LDO11 {
435 regulator-name = "vdd_ldo11";
436 regulator-min-microvolt = <1800000>;
437 regulator-max-microvolt = <1800000>;
438 regulator-always-on;
439 regulator-state-mem {
440 regulator-on-in-suspend;
441 regulator-mode = <MAX77802_OPMODE_LP>;
442 };
443 };
444
445 ldo12_reg: LDO12 {
446 regulator-name = "vdd_ldo12";
447 regulator-min-microvolt = <3000000>;
448 regulator-max-microvolt = <3000000>;
449 regulator-always-on;
450 regulator-state-mem {
451 regulator-off-in-suspend;
452 };
453 };
454
455 ldo13_reg: LDO13 {
456 regulator-name = "vdd_ldo13";
457 regulator-min-microvolt = <1800000>;
458 regulator-max-microvolt = <1800000>;
459 regulator-always-on;
460 regulator-state-mem {
461 regulator-on-in-suspend;
462 regulator-mode = <MAX77802_OPMODE_LP>;
463 };
464 };
465
466 ldo14_reg: LDO14 {
467 regulator-name = "vdd_ldo14";
468 regulator-min-microvolt = <1800000>;
469 regulator-max-microvolt = <1800000>;
470 regulator-always-on;
471 regulator-state-mem {
472 regulator-off-in-suspend;
473 };
474 };
475
476 ldo15_reg: LDO15 {
477 regulator-name = "vdd_ldo15";
478 regulator-min-microvolt = <1000000>;
479 regulator-max-microvolt = <1000000>;
480 regulator-always-on;
481 regulator-state-mem {
482 regulator-off-in-suspend;
483 };
484 };
485
486 ldo17_reg: LDO17 {
487 regulator-name = "vdd_g3ds";
488 regulator-min-microvolt = <900000>;
489 regulator-max-microvolt = <1400000>;
490 regulator-always-on;
491 regulator-state-mem {
492 regulator-off-in-suspend;
493 };
494 };
495
496 ldo18_reg: LDO18 {
497 regulator-name = "ldo_18";
498 regulator-min-microvolt = <1800000>;
499 regulator-max-microvolt = <1800000>;
500 };
501
502 ldo19_reg: LDO19 {
503 regulator-name = "ldo_19";
504 regulator-min-microvolt = <1800000>;
505 regulator-max-microvolt = <1800000>;
506 };
507
508 ldo20_reg: LDO20 {
509 regulator-name = "ldo_20";
510 regulator-min-microvolt = <1800000>;
511 regulator-max-microvolt = <1800000>;
512 regulator-always-on;
513 };
514
515 ldo21_reg: LDO21 {
516 regulator-name = "ldo_21";
517 regulator-min-microvolt = <2800000>;
518 regulator-max-microvolt = <2800000>;
519 };
520
521 ldo23_reg: LDO23 {
522 regulator-name = "ldo_23";
523 regulator-min-microvolt = <3300000>;
524 regulator-max-microvolt = <3300000>;
525 };
526 ldo24_reg: LDO24 {
527 regulator-name = "ldo_24";
528 regulator-min-microvolt = <2800000>;
529 regulator-max-microvolt = <2800000>;
530 };
531
532 ldo25_reg: LDO25 {
533 regulator-name = "ldo_25";
534 regulator-min-microvolt = <3300000>;
535 regulator-max-microvolt = <3300000>;
536 };
537
538 ldo26_reg: LDO26 {
539 regulator-name = "ldo_26";
540 regulator-min-microvolt = <1200000>;
541 regulator-max-microvolt = <1200000>;
542 };
543
544 ldo27_reg: LDO27 {
545 regulator-name = "ldo_27";
546 regulator-min-microvolt = <1200000>;
547 regulator-max-microvolt = <1200000>;
548 };
549
550 ldo28_reg: LDO28 {
551 regulator-name = "ldo_28";
552 regulator-min-microvolt = <1800000>;
553 regulator-max-microvolt = <1800000>;
554 };
555
556 ldo29_reg: LDO29 {
557 regulator-name = "ldo_29";
558 regulator-min-microvolt = <1800000>;
559 regulator-max-microvolt = <1800000>;
560 };
561
562 ldo30_reg: LDO30 {
563 regulator-name = "vdd_mifs";
564 regulator-min-microvolt = <1000000>;
565 regulator-max-microvolt = <1000000>;
566 regulator-always-on;
567 regulator-state-mem {
568 regulator-off-in-suspend;
569 };
570 };
571
572 ldo32_reg: LDO32 {
573 regulator-name = "ldo_32";
574 regulator-min-microvolt = <3000000>;
575 regulator-max-microvolt = <3000000>;
576 };
577
578 ldo33_reg: LDO33 {
579 regulator-name = "ldo_33";
580 regulator-min-microvolt = <2800000>;
581 regulator-max-microvolt = <2800000>;
582 };
583
584 ldo34_reg: LDO34 {
585 regulator-name = "ldo_34";
586 regulator-min-microvolt = <3000000>;
587 regulator-max-microvolt = <3000000>;
588 };
589
590 ldo35_reg: LDO35 {
591 regulator-name = "ldo_35";
592 regulator-min-microvolt = <1200000>;
593 regulator-max-microvolt = <1200000>;
594 };
595 };
596 };
597 };
598
599 &hsi2c_7 {
600 status = "okay";
601 clock-frequency = <400000>;
602
603 max98090: codec@10 {
604 compatible = "maxim,max98090";
605 reg = <0x10>;
606 interrupts = <2 0>;
607 interrupt-parent = <&gpx0>;
608 pinctrl-names = "default";
609 pinctrl-0 = <&max98090_irq>;
610 clocks = <&pmu_system_controller 0>;
611 clock-names = "mclk";
612 };
613
614 light-sensor@44 {
615 compatible = "isil,isl29018";
616 reg = <0x44>;
617 vcc-supply = <&tps65090_fet5>;
618 };
619
620 ps8625: lvds-bridge@48 {
621 compatible = "parade,ps8625";
622 reg = <0x48>;
623 sleep-gpios = <&gpx3 5 GPIO_ACTIVE_HIGH>;
624 reset-gpios = <&gpy7 7 GPIO_ACTIVE_HIGH>;
625 lane-count = <2>;
626 use-external-pwm;
627
628 ports {
629 #address-cells = <1>;
630 #size-cells = <0>;
631
632 port@0 {
633 reg = <0>;
634
635 bridge_out: endpoint {
636 remote-endpoint = <&panel_in>;
637 };
638 };
639
640 port@1 {
641 reg = <1>;
642
643 bridge_in: endpoint {
644 remote-endpoint = <&dp_out>;
645 };
646 };
647 };
648
649 };
650 };
651
652 &hsi2c_8 {
653 status = "okay";
654 clock-frequency = <333000>;
655
656 /* Atmel mXT336S */
657 trackpad@4b {
658 compatible = "atmel,maxtouch";
659 reg = <0x4b>;
660 interrupt-parent = <&gpx1>;
661 interrupts = <1 IRQ_TYPE_EDGE_FALLING>;
662 wakeup-source;
663 pinctrl-names = "default";
664 pinctrl-0 = <&trackpad_irq>;
665 linux,gpio-keymap = <KEY_RESERVED
666 KEY_RESERVED
667 KEY_RESERVED /* GPIO0 */
668 KEY_RESERVED /* GPIO1 */
669 KEY_RESERVED /* GPIO2 */
670 BTN_LEFT>; /* GPIO3 */
671 };
672 };
673
674 &hsi2c_9 {
675 status = "okay";
676 clock-frequency = <400000>;
677
678 tpm@20 {
679 compatible = "infineon,slb9645tt";
680 reg = <0x20>;
681
682 /* Unused irq; but still need to configure the pins */
683 pinctrl-names = "default";
684 pinctrl-0 = <&tpm_irq>;
685 };
686 };
687
688 &i2c_2 {
689 status = "okay";
690 samsung,i2c-sda-delay = <100>;
691 samsung,i2c-max-bus-freq = <66000>;
692 samsung,i2c-slave-addr = <0x50>;
693 };
694
695 &i2s0 {
696 status = "okay";
697 };
698
699 &mmc_0 {
700 status = "okay";
701 num-slots = <1>;
702 mmc-hs200-1_8v;
703 cap-mmc-highspeed;
704 non-removable;
705 clock-frequency = <400000000>;
706 samsung,dw-mshc-ciu-div = <3>;
707 samsung,dw-mshc-sdr-timing = <0 4>;
708 samsung,dw-mshc-ddr-timing = <0 2>;
709 samsung,dw-mshc-hs400-timing = <0 2>;
710 samsung,read-strobe-delay = <90>;
711 pinctrl-names = "default";
712 pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_bus1 &sd0_bus4 &sd0_bus8 &sd0_rclk>;
713 bus-width = <8>;
714 };
715
716 &mmc_1 {
717 status = "okay";
718 num-slots = <1>;
719 non-removable;
720 cap-sdio-irq;
721 keep-power-in-suspend;
722 clock-frequency = <400000000>;
723 samsung,dw-mshc-ciu-div = <1>;
724 samsung,dw-mshc-sdr-timing = <0 1>;
725 samsung,dw-mshc-ddr-timing = <0 2>;
726 pinctrl-names = "default";
727 pinctrl-0 = <&sd1_clk>, <&sd1_cmd>, <&sd1_int>, <&sd1_bus1>,
728 <&sd1_bus4>, <&sd1_bus8>, <&wifi_en>;
729 bus-width = <4>;
730 cap-sd-highspeed;
731 mmc-pwrseq = <&mmc1_pwrseq>;
732 vqmmc-supply = <&buck10_reg>;
733 };
734
735 &mmc_2 {
736 status = "okay";
737 num-slots = <1>;
738 cap-sd-highspeed;
739 card-detect-delay = <200>;
740 clock-frequency = <400000000>;
741 samsung,dw-mshc-ciu-div = <3>;
742 samsung,dw-mshc-sdr-timing = <2 3>;
743 samsung,dw-mshc-ddr-timing = <1 2>;
744 pinctrl-names = "default";
745 pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_cd &sd2_bus1 &sd2_bus4>;
746 bus-width = <4>;
747 };
748
749
750 &pinctrl_0 {
751 pinctrl-names = "default";
752 pinctrl-0 = <&mask_tpm_reset>;
753
754 wifi_en: wifi-en {
755 samsung,pins = "gpx0-0";
756 samsung,pin-function = <1>;
757 samsung,pin-pud = <0>;
758 samsung,pin-drv = <0>;
759 };
760
761 max98090_irq: max98090-irq {
762 samsung,pins = "gpx0-2";
763 samsung,pin-function = <0>;
764 samsung,pin-pud = <0>;
765 samsung,pin-drv = <0>;
766 };
767
768 /* We need GPX0_6 to be low at sleep time; just keep it low always */
769 mask_tpm_reset: mask-tpm-reset {
770 samsung,pins = "gpx0-6";
771 samsung,pin-function = <1>;
772 samsung,pin-pud = <0>;
773 samsung,pin-drv = <0>;
774 samsung,pin-val = <0>;
775 };
776
777 tpm_irq: tpm-irq {
778 samsung,pins = "gpx1-0";
779 samsung,pin-function = <0>;
780 samsung,pin-pud = <0>;
781 samsung,pin-drv = <0>;
782 };
783
784 trackpad_irq: trackpad-irq {
785 samsung,pins = "gpx1-1";
786 samsung,pin-function = <0xf>;
787 samsung,pin-pud = <0>;
788 samsung,pin-drv = <0>;
789 };
790
791 power_key_irq: power-key-irq {
792 samsung,pins = "gpx1-2";
793 samsung,pin-function = <0>;
794 samsung,pin-pud = <0>;
795 samsung,pin-drv = <0>;
796 };
797
798 ec_irq: ec-irq {
799 samsung,pins = "gpx1-5";
800 samsung,pin-function = <0>;
801 samsung,pin-pud = <0>;
802 samsung,pin-drv = <0>;
803 };
804
805 tps65090_irq: tps65090-irq {
806 samsung,pins = "gpx2-5";
807 samsung,pin-function = <0>;
808 samsung,pin-pud = <0>;
809 samsung,pin-drv = <0>;
810 };
811
812 dp_hpd_gpio: dp_hpd_gpio {
813 samsung,pins = "gpx2-6";
814 samsung,pin-function = <0>;
815 samsung,pin-pud = <3>;
816 samsung,pin-drv = <0>;
817 };
818
819 max77802_irq: max77802-irq {
820 samsung,pins = "gpx3-1";
821 samsung,pin-function = <0>;
822 samsung,pin-pud = <0>;
823 samsung,pin-drv = <0>;
824 };
825
826 lid_irq: lid-irq {
827 samsung,pins = "gpx3-4";
828 samsung,pin-function = <0xf>;
829 samsung,pin-pud = <0>;
830 samsung,pin-drv = <0>;
831 };
832
833 hdmi_hpd_irq: hdmi-hpd-irq {
834 samsung,pins = "gpx3-7";
835 samsung,pin-function = <0>;
836 samsung,pin-pud = <1>;
837 samsung,pin-drv = <0>;
838 };
839
840 pmic_dvs_1: pmic-dvs-1 {
841 samsung,pins = "gpy7-6";
842 samsung,pin-function = <1>;
843 samsung,pin-pud = <0>;
844 samsung,pin-drv = <0>;
845 };
846 };
847
848 &pinctrl_1 {
849 /* Adjust WiFi drive strengths lower for EMI */
850 sd1_clk: sd1-clk {
851 samsung,pin-drv = <2>;
852 };
853
854 sd1_cmd: sd1-cmd {
855 samsung,pin-drv = <2>;
856 };
857
858 sd1_bus1: sd1-bus-width1 {
859 samsung,pin-drv = <2>;
860 };
861
862 sd1_bus4: sd1-bus-width4 {
863 samsung,pin-drv = <2>;
864 };
865
866 sd1_bus8: sd1-bus-width8 {
867 samsung,pin-drv = <2>;
868 };
869 };
870
871 &pinctrl_2 {
872 pmic_dvs_2: pmic-dvs-2 {
873 samsung,pins = "gpj4-2";
874 samsung,pin-function = <1>;
875 samsung,pin-pud = <0>;
876 samsung,pin-drv = <0>;
877 };
878
879 pmic_dvs_3: pmic-dvs-3 {
880 samsung,pins = "gpj4-3";
881 samsung,pin-function = <1>;
882 samsung,pin-pud = <0>;
883 samsung,pin-drv = <0>;
884 };
885 };
886
887 &pinctrl_3 {
888 /* Drive SPI lines at x2 for better integrity */
889 spi2-bus {
890 samsung,pin-drv = <2>;
891 };
892
893 /* Drive SPI chip select at x2 for better integrity */
894 ec_spi_cs: ec-spi-cs {
895 samsung,pins = "gpb1-2";
896 samsung,pin-function = <1>;
897 samsung,pin-pud = <0>;
898 samsung,pin-drv = <2>;
899 };
900
901 usb300_vbus_en: usb300-vbus-en {
902 samsung,pins = "gph0-0";
903 samsung,pin-function = <1>;
904 samsung,pin-pud = <0>;
905 samsung,pin-drv = <0>;
906 };
907
908 usb301_vbus_en: usb301-vbus-en {
909 samsung,pins = "gph0-1";
910 samsung,pin-function = <1>;
911 samsung,pin-pud = <0>;
912 samsung,pin-drv = <0>;
913 };
914
915 pmic_selb: pmic-selb {
916 samsung,pins = "gph0-2", "gph0-3", "gph0-4", "gph0-5",
917 "gph0-6";
918 samsung,pin-function = <1>;
919 samsung,pin-pud = <0>;
920 samsung,pin-drv = <0>;
921 };
922 };
923
924 &pmu_system_controller {
925 assigned-clocks = <&pmu_system_controller 0>;
926 assigned-clock-parents = <&clock CLK_FIN_PLL>;
927 };
928
929 &rtc {
930 status = "okay";
931 clocks = <&clock CLK_RTC>, <&max77802 MAX77802_CLK_32K_AP>;
932 clock-names = "rtc", "rtc_src";
933 };
934
935 &spi_2 {
936 status = "okay";
937 num-cs = <1>;
938 samsung,spi-src-clk = <0>;
939 cs-gpios = <&gpb1 2 GPIO_ACTIVE_HIGH>;
940
941 cros_ec: cros-ec@0 {
942 compatible = "google,cros-ec-spi";
943 interrupt-parent = <&gpx1>;
944 interrupts = <5 0>;
945 pinctrl-names = "default";
946 pinctrl-0 = <&ec_spi_cs &ec_irq>;
947 reg = <0>;
948 spi-max-frequency = <3125000>;
949 google,has-vbc-nvram;
950
951 controller-data {
952 samsung,spi-feedback-delay = <1>;
953 };
954
955 i2c-tunnel {
956 compatible = "google,cros-ec-i2c-tunnel";
957 #address-cells = <1>;
958 #size-cells = <0>;
959 google,remote-bus = <0>;
960
961 battery: sbs-battery@b {
962 compatible = "sbs,sbs-battery";
963 reg = <0xb>;
964 sbs,poll-retry-count = <1>;
965 sbs,i2c-retry-count = <2>;
966 };
967
968 power-regulator@48 {
969 compatible = "ti,tps65090";
970 reg = <0x48>;
971
972 /*
973 * Config irq to disable internal pulls
974 * even though we run in polling mode.
975 */
976 pinctrl-names = "default";
977 pinctrl-0 = <&tps65090_irq>;
978
979 vsys1-supply = <&vbat>;
980 vsys2-supply = <&vbat>;
981 vsys3-supply = <&vbat>;
982 infet1-supply = <&vbat>;
983 infet2-supply = <&tps65090_dcdc1>;
984 infet3-supply = <&tps65090_dcdc2>;
985 infet4-supply = <&tps65090_dcdc2>;
986 infet5-supply = <&tps65090_dcdc2>;
987 infet6-supply = <&tps65090_dcdc2>;
988 infet7-supply = <&tps65090_dcdc1>;
989 vsys-l1-supply = <&vbat>;
990 vsys-l2-supply = <&vbat>;
991
992 regulators {
993 tps65090_dcdc1: dcdc1 {
994 ti,enable-ext-control;
995 };
996 tps65090_dcdc2: dcdc2 {
997 ti,enable-ext-control;
998 };
999 tps65090_dcdc3: dcdc3 {
1000 ti,enable-ext-control;
1001 };
1002 tps65090_fet1: fet1 {
1003 regulator-name = "vcd_led";
1004 };
1005 tps65090_fet2: fet2 {
1006 regulator-name = "video_mid";
1007 regulator-always-on;
1008 };
1009 tps65090_fet3: fet3 {
1010 regulator-name = "wwan_r";
1011 regulator-always-on;
1012 };
1013 tps65090_fet4: fet4 {
1014 regulator-name = "sdcard";
1015 regulator-always-on;
1016 };
1017 tps65090_fet5: fet5 {
1018 regulator-name = "camout";
1019 regulator-always-on;
1020 };
1021 tps65090_fet6: fet6 {
1022 regulator-name = "lcd_vdd";
1023 };
1024 tps65090_fet7: fet7 {
1025 regulator-name = "video_mid_1a";
1026 regulator-always-on;
1027 };
1028 tps65090_ldo1: ldo1 {
1029 };
1030 tps65090_ldo2: ldo2 {
1031 };
1032 };
1033
1034 charger {
1035 compatible = "ti,tps65090-charger";
1036 };
1037 };
1038 };
1039 };
1040 };
1041
1042 &serial_3 {
1043 status = "okay";
1044 };
1045
1046 &tmu_cpu0 {
1047 vtmu-supply = <&ldo10_reg>;
1048 };
1049
1050 &tmu_cpu1 {
1051 vtmu-supply = <&ldo10_reg>;
1052 };
1053
1054 &tmu_cpu2 {
1055 vtmu-supply = <&ldo10_reg>;
1056 };
1057
1058 &tmu_cpu3 {
1059 vtmu-supply = <&ldo10_reg>;
1060 };
1061
1062 &tmu_gpu {
1063 vtmu-supply = <&ldo10_reg>;
1064 };
1065
1066 &usbdrd_dwc3_0 {
1067 dr_mode = "host";
1068 };
1069
1070 &usbdrd_dwc3_1 {
1071 dr_mode = "host";
1072 };
1073
1074 &usbdrd_phy0 {
1075 vbus-supply = <&usb300_vbus_reg>;
1076 };
1077
1078 &usbdrd_phy1 {
1079 vbus-supply = <&usb301_vbus_reg>;
1080 };
1081
1082 /*
1083 * Use longest HW watchdog in SoC (32 seconds) since the hardware
1084 * watchdog provides no debugging information (compared to soft/hard
1085 * lockup detectors) and so should be last resort.
1086 */
1087 &watchdog {
1088 timeout-sec = <32>;
1089 };
1090
1091 #include "cros-ec-keyboard.dtsi"
1092 #include "cros-adc-thermistors.dtsi"
This page took 0.061999 seconds and 5 git commands to generate.