1 // SPDX-License-Identifier: GPL-2.0
3 * Google Peach Pi Rev 10+ board device tree source
5 * Copyright (c) 2014 Google, Inc
9 #include <dt-bindings/input/input.h>
10 #include <dt-bindings/gpio/gpio.h>
11 #include <dt-bindings/interrupt-controller/irq.h>
12 #include <dt-bindings/clock/maxim,max77802.h>
13 #include <dt-bindings/regulator/maxim,max77802.h>
14 #include <dt-bindings/sound/samsung-i2s.h>
15 #include "exynos5800.dtsi"
16 #include "exynos5420-cpus.dtsi"
19 model = "Google Peach Pi Rev 10+";
21 compatible = "google,pi-rev16",
22 "google,pi-rev15", "google,pi-rev14",
23 "google,pi-rev13", "google,pi-rev12",
24 "google,pi-rev11", "google,pi-rev10",
25 "google,pi", "google,peach", "samsung,exynos5800",
29 /* Assign 20 so we don't get confused w/ builtin ones */
33 backlight: backlight {
34 compatible = "pwm-backlight";
35 pwms = <&pwm 0 1000000 0>;
36 brightness-levels = <0 100 500 1000 1500 2000 2500 2800>;
37 default-brightness-level = <7>;
38 enable-gpios = <&gpx2 2 GPIO_ACTIVE_HIGH>;
39 power-supply = <&tps65090_fet1>;
40 pinctrl-0 = <&pwm0_out>;
41 pinctrl-names = "default";
45 stdout-path = "serial3:115200n8";
50 compatible = "samsung,exynos5420-oscclk";
51 clock-frequency = <24000000>;
56 compatible = "gpio-keys";
58 pinctrl-names = "default";
59 pinctrl-0 = <&power_key_irq &lid_irq>;
63 gpios = <&gpx1 2 GPIO_ACTIVE_LOW>;
64 linux,code = <KEY_POWER>;
70 gpios = <&gpx3 4 GPIO_ACTIVE_LOW>;
71 linux,input-type = <5>; /* EV_SW */
72 linux,code = <0>; /* SW_LID */
73 debounce-interval = <1>;
80 device_type = "memory";
81 reg = <0x20000000 0x80000000>;
85 compatible = "google,snow-audio-max98091";
87 samsung,model = "Peach-Pi-I2S-MAX98091";
88 samsung,i2s-controller = <&i2s0>;
89 samsung,audio-codec = <&max98091>;
92 sound-dai = <&i2s0 0>;
96 sound-dai = <&max98091>, <&hdmi>;
100 usb300_vbus_reg: regulator-usb300 {
101 compatible = "regulator-fixed";
102 regulator-name = "P5.0V_USB3CON0";
103 regulator-min-microvolt = <5000000>;
104 regulator-max-microvolt = <5000000>;
105 gpio = <&gph0 0 GPIO_ACTIVE_HIGH>;
106 pinctrl-names = "default";
107 pinctrl-0 = <&usb300_vbus_en>;
111 usb301_vbus_reg: regulator-usb301 {
112 compatible = "regulator-fixed";
113 regulator-name = "P5.0V_USB3CON1";
114 regulator-min-microvolt = <5000000>;
115 regulator-max-microvolt = <5000000>;
116 gpio = <&gph0 1 GPIO_ACTIVE_HIGH>;
117 pinctrl-names = "default";
118 pinctrl-0 = <&usb301_vbus_en>;
122 vbat: fixed-regulator {
123 compatible = "regulator-fixed";
124 regulator-name = "vbat-supply";
130 compatible = "auo,b133htn01";
131 power-supply = <&tps65090_fet6>;
132 backlight = <&backlight>;
136 remote-endpoint = <&dp_out>;
141 mmc1_pwrseq: mmc1_pwrseq {
142 compatible = "mmc-pwrseq-simple";
143 reset-gpios = <&gpx0 0 GPIO_ACTIVE_LOW>; /* WIFI_EN */
144 clocks = <&max77802 MAX77802_CLK_32K_CP>;
145 clock-names = "ext_clock";
151 vdd-supply = <&ldo9_reg>;
155 assigned-clocks = <&clock_audss EXYNOS_MOUT_AUDSS>;
156 assigned-clock-parents = <&clock CLK_MAU_EPLL>;
160 cpu-supply = <&buck2_reg>;
164 cpu-supply = <&buck6_reg>;
169 pinctrl-names = "default";
170 pinctrl-0 = <&dp_hpd_gpio>;
171 samsung,color-space = <0>;
172 samsung,color-depth = <1>;
173 samsung,link-rate = <0x0a>;
174 samsung,lane-count = <2>;
175 samsung,hpd-gpio = <&gpx2 6 GPIO_ACTIVE_HIGH>;
180 remote-endpoint = <&panel_in>;
193 hpd-gpios = <&gpx3 7 GPIO_ACTIVE_HIGH>;
194 pinctrl-names = "default";
195 pinctrl-0 = <&hdmi_hpd_irq>;
198 hdmi-en-supply = <&tps65090_fet7>;
199 vdd-supply = <&ldo8_reg>;
200 vdd_osc-supply = <&ldo10_reg>;
201 vdd_pll-supply = <&ldo8_reg>;
206 clock-frequency = <400000>;
208 max77802: max77802-pmic@9 {
209 compatible = "maxim,max77802";
210 interrupt-parent = <&gpx3>;
211 interrupts = <1 IRQ_TYPE_NONE>;
212 pinctrl-names = "default";
213 pinctrl-0 = <&max77802_irq>, <&pmic_selb>,
214 <&pmic_dvs_1>, <&pmic_dvs_2>, <&pmic_dvs_3>;
219 inb1-supply = <&tps65090_dcdc2>;
220 inb2-supply = <&tps65090_dcdc1>;
221 inb3-supply = <&tps65090_dcdc2>;
222 inb4-supply = <&tps65090_dcdc2>;
223 inb5-supply = <&tps65090_dcdc1>;
224 inb6-supply = <&tps65090_dcdc2>;
225 inb7-supply = <&tps65090_dcdc1>;
226 inb8-supply = <&tps65090_dcdc1>;
227 inb9-supply = <&tps65090_dcdc1>;
228 inb10-supply = <&tps65090_dcdc1>;
230 inl1-supply = <&buck5_reg>;
231 inl2-supply = <&buck7_reg>;
232 inl3-supply = <&buck9_reg>;
233 inl4-supply = <&buck9_reg>;
234 inl5-supply = <&buck9_reg>;
235 inl6-supply = <&tps65090_dcdc2>;
236 inl7-supply = <&buck9_reg>;
237 inl9-supply = <&tps65090_dcdc2>;
238 inl10-supply = <&buck7_reg>;
242 regulator-name = "vdd_mif";
243 regulator-min-microvolt = <800000>;
244 regulator-max-microvolt = <1300000>;
247 regulator-ramp-delay = <12500>;
248 regulator-state-mem {
249 regulator-off-in-suspend;
254 regulator-name = "vdd_arm";
255 regulator-min-microvolt = <800000>;
256 regulator-max-microvolt = <1500000>;
259 regulator-ramp-delay = <12500>;
260 regulator-state-mem {
261 regulator-off-in-suspend;
266 regulator-name = "vdd_int";
267 regulator-min-microvolt = <800000>;
268 regulator-max-microvolt = <1400000>;
271 regulator-ramp-delay = <12500>;
272 regulator-state-mem {
273 regulator-off-in-suspend;
278 regulator-name = "vdd_g3d";
279 regulator-min-microvolt = <700000>;
280 regulator-max-microvolt = <1400000>;
283 regulator-ramp-delay = <12500>;
284 regulator-state-mem {
285 regulator-off-in-suspend;
290 regulator-name = "vdd_1v2";
291 regulator-min-microvolt = <1200000>;
292 regulator-max-microvolt = <1200000>;
294 regulator-state-mem {
295 regulator-off-in-suspend;
300 regulator-name = "vdd_kfc";
301 regulator-min-microvolt = <800000>;
302 regulator-max-microvolt = <1500000>;
305 regulator-ramp-delay = <12500>;
306 regulator-state-mem {
307 regulator-off-in-suspend;
312 regulator-name = "vdd_1v35";
313 regulator-min-microvolt = <1350000>;
314 regulator-max-microvolt = <1350000>;
317 regulator-state-mem {
318 regulator-on-in-suspend;
323 regulator-name = "vdd_emmc";
324 regulator-min-microvolt = <2850000>;
325 regulator-max-microvolt = <2850000>;
328 regulator-state-mem {
329 regulator-off-in-suspend;
334 regulator-name = "vdd_2v";
335 regulator-min-microvolt = <2000000>;
336 regulator-max-microvolt = <2000000>;
339 regulator-state-mem {
340 regulator-on-in-suspend;
345 regulator-name = "vdd_1v8";
346 regulator-min-microvolt = <1800000>;
347 regulator-max-microvolt = <1800000>;
350 regulator-state-mem {
351 regulator-on-in-suspend;
356 regulator-name = "vdd_1v0";
357 regulator-min-microvolt = <1000000>;
358 regulator-max-microvolt = <1000000>;
360 regulator-state-mem {
361 regulator-on-in-suspend;
362 regulator-mode = <MAX77802_OPMODE_LP>;
367 regulator-name = "vdd_1v2_2";
368 regulator-min-microvolt = <1200000>;
369 regulator-max-microvolt = <1200000>;
373 regulator-name = "vdd_1v8_3";
374 regulator-min-microvolt = <1800000>;
375 regulator-max-microvolt = <1800000>;
377 regulator-state-mem {
378 regulator-on-in-suspend;
379 regulator-mode = <MAX77802_OPMODE_LP>;
383 vqmmc_sdcard: ldo4_reg: LDO4 {
384 regulator-name = "vdd_sd";
385 regulator-min-microvolt = <1800000>;
386 regulator-max-microvolt = <2800000>;
388 regulator-state-mem {
389 regulator-off-in-suspend;
394 regulator-name = "vdd_1v8_5";
395 regulator-min-microvolt = <1800000>;
396 regulator-max-microvolt = <1800000>;
398 regulator-state-mem {
399 regulator-off-in-suspend;
404 regulator-name = "vdd_1v8_6";
405 regulator-min-microvolt = <1800000>;
406 regulator-max-microvolt = <1800000>;
408 regulator-state-mem {
409 regulator-off-in-suspend;
414 regulator-name = "vdd_1v8_7";
415 regulator-min-microvolt = <1800000>;
416 regulator-max-microvolt = <1800000>;
420 regulator-name = "vdd_ldo8";
421 regulator-min-microvolt = <1000000>;
422 regulator-max-microvolt = <1000000>;
424 regulator-state-mem {
425 regulator-off-in-suspend;
430 regulator-name = "vdd_ldo9";
431 regulator-min-microvolt = <1800000>;
432 regulator-max-microvolt = <1800000>;
433 regulator-state-mem {
434 regulator-on-in-suspend;
435 regulator-mode = <MAX77802_OPMODE_LP>;
440 regulator-name = "vdd_ldo10";
441 regulator-min-microvolt = <1800000>;
442 regulator-max-microvolt = <1800000>;
444 regulator-state-mem {
445 regulator-off-in-suspend;
450 regulator-name = "vdd_ldo11";
451 regulator-min-microvolt = <1800000>;
452 regulator-max-microvolt = <1800000>;
454 regulator-state-mem {
455 regulator-on-in-suspend;
456 regulator-mode = <MAX77802_OPMODE_LP>;
461 regulator-name = "vdd_ldo12";
462 regulator-min-microvolt = <3000000>;
463 regulator-max-microvolt = <3000000>;
465 regulator-state-mem {
466 regulator-off-in-suspend;
471 regulator-name = "vdd_ldo13";
472 regulator-min-microvolt = <1800000>;
473 regulator-max-microvolt = <1800000>;
475 regulator-state-mem {
476 regulator-on-in-suspend;
477 regulator-mode = <MAX77802_OPMODE_LP>;
482 regulator-name = "vdd_ldo14";
483 regulator-min-microvolt = <1800000>;
484 regulator-max-microvolt = <1800000>;
486 regulator-state-mem {
487 regulator-off-in-suspend;
492 regulator-name = "vdd_ldo15";
493 regulator-min-microvolt = <1000000>;
494 regulator-max-microvolt = <1000000>;
496 regulator-state-mem {
497 regulator-off-in-suspend;
502 regulator-name = "vdd_g3ds";
503 regulator-min-microvolt = <900000>;
504 regulator-max-microvolt = <1400000>;
506 regulator-state-mem {
507 regulator-off-in-suspend;
512 regulator-name = "ldo_18";
513 regulator-min-microvolt = <1800000>;
514 regulator-max-microvolt = <1800000>;
518 regulator-name = "ldo_19";
519 regulator-min-microvolt = <1800000>;
520 regulator-max-microvolt = <1800000>;
524 regulator-name = "ldo_20";
525 regulator-min-microvolt = <1800000>;
526 regulator-max-microvolt = <1800000>;
531 regulator-name = "ldo_21";
532 regulator-min-microvolt = <2800000>;
533 regulator-max-microvolt = <2800000>;
537 regulator-name = "ldo_23";
538 regulator-min-microvolt = <3300000>;
539 regulator-max-microvolt = <3300000>;
542 regulator-name = "ldo_24";
543 regulator-min-microvolt = <2800000>;
544 regulator-max-microvolt = <2800000>;
548 regulator-name = "ldo_25";
549 regulator-min-microvolt = <3300000>;
550 regulator-max-microvolt = <3300000>;
554 regulator-name = "ldo_26";
555 regulator-min-microvolt = <1200000>;
556 regulator-max-microvolt = <1200000>;
560 regulator-name = "ldo_27";
561 regulator-min-microvolt = <1200000>;
562 regulator-max-microvolt = <1200000>;
566 regulator-name = "ldo_28";
567 regulator-min-microvolt = <1800000>;
568 regulator-max-microvolt = <1800000>;
572 regulator-name = "ldo_29";
573 regulator-min-microvolt = <1800000>;
574 regulator-max-microvolt = <1800000>;
578 regulator-name = "vdd_mifs";
579 regulator-min-microvolt = <1000000>;
580 regulator-max-microvolt = <1000000>;
582 regulator-state-mem {
583 regulator-off-in-suspend;
588 regulator-name = "ldo_32";
589 regulator-min-microvolt = <3000000>;
590 regulator-max-microvolt = <3000000>;
594 regulator-name = "ldo_33";
595 regulator-min-microvolt = <2800000>;
596 regulator-max-microvolt = <2800000>;
600 regulator-name = "ldo_34";
601 regulator-min-microvolt = <3000000>;
602 regulator-max-microvolt = <3000000>;
606 regulator-name = "ldo_35";
607 regulator-min-microvolt = <1200000>;
608 regulator-max-microvolt = <1200000>;
616 clock-frequency = <400000>;
619 compatible = "maxim,max98091";
621 interrupts = <2 IRQ_TYPE_NONE>;
622 interrupt-parent = <&gpx0>;
623 pinctrl-names = "default";
624 pinctrl-0 = <&max98091_irq>;
625 clocks = <&pmu_system_controller 0>;
626 clock-names = "mclk";
627 #sound-dai-cells = <0>;
631 compatible = "isil,isl29018";
633 vcc-supply = <&tps65090_fet5>;
639 clock-frequency = <333000>;
642 compatible = "atmel,maxtouch";
644 interrupt-parent = <&gpx1>;
645 interrupts = <1 IRQ_TYPE_EDGE_FALLING>;
647 pinctrl-names = "default";
648 pinctrl-0 = <&trackpad_irq>;
649 linux,gpio-keymap = <KEY_RESERVED
651 KEY_RESERVED /* GPIO 0 */
652 KEY_RESERVED /* GPIO 1 */
653 BTN_LEFT /* GPIO 2 */
654 KEY_RESERVED>; /* GPIO 3 */
660 clock-frequency = <400000>;
663 compatible = "infineon,slb9645tt";
666 /* Unused irq; but still need to configure the pins */
667 pinctrl-names = "default";
668 pinctrl-0 = <&tpm_irq>;
674 samsung,i2c-sda-delay = <100>;
675 samsung,i2c-max-bus-freq = <66000>;
676 samsung,i2c-slave-addr = <0x50>;
680 assigned-clocks = <&i2s0 CLK_I2S_RCLK_SRC>;
681 assigned-clock-parents = <&clock_audss EXYNOS_I2S_BUS>;
696 clock-frequency = <800000000>;
697 samsung,dw-mshc-ciu-div = <3>;
698 samsung,dw-mshc-sdr-timing = <0 4>;
699 samsung,dw-mshc-ddr-timing = <0 2>;
700 samsung,dw-mshc-hs400-timing = <0 2>;
701 samsung,read-strobe-delay = <90>;
702 pinctrl-names = "default";
703 pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_bus1 &sd0_bus4 &sd0_bus8 &sd0_rclk>;
707 /* WiFi SDIO module */
712 keep-power-in-suspend;
713 clock-frequency = <400000000>;
714 samsung,dw-mshc-ciu-div = <1>;
715 samsung,dw-mshc-sdr-timing = <0 1>;
716 samsung,dw-mshc-ddr-timing = <0 2>;
717 pinctrl-names = "default";
718 pinctrl-0 = <&sd1_clk>, <&sd1_cmd>, <&sd1_int>, <&sd1_bus1>,
719 <&sd1_bus4>, <&sd1_bus8>, <&wifi_en>;
722 mmc-pwrseq = <&mmc1_pwrseq>;
723 vqmmc-supply = <&buck10_reg>;
730 card-detect-delay = <200>;
731 clock-frequency = <400000000>;
732 samsung,dw-mshc-ciu-div = <3>;
733 samsung,dw-mshc-sdr-timing = <2 3>;
734 samsung,dw-mshc-ddr-timing = <1 2>;
735 pinctrl-names = "default";
736 pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_cd &sd2_bus1 &sd2_bus4>;
742 pinctrl-names = "default";
743 pinctrl-0 = <&mask_tpm_reset>;
746 samsung,pins = "gpx0-0";
747 samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
748 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
749 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
752 max98091_irq: max98091-irq {
753 samsung,pins = "gpx0-2";
754 samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
755 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
756 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
759 /* We need GPX0_6 to be low at sleep time; just keep it low always */
760 mask_tpm_reset: mask-tpm-reset {
761 samsung,pins = "gpx0-6";
762 samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
763 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
764 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
765 samsung,pin-val = <0>;
769 samsung,pins = "gpx1-0";
770 samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
771 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
772 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
775 trackpad_irq: trackpad-irq {
776 samsung,pins = "gpx1-1";
777 samsung,pin-function = <EXYNOS_PIN_FUNC_F>;
778 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
779 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
782 power_key_irq: power-key-irq {
783 samsung,pins = "gpx1-2";
784 samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
785 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
786 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
790 samsung,pins = "gpx1-5";
791 samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
792 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
793 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
796 tps65090_irq: tps65090-irq {
797 samsung,pins = "gpx2-5";
798 samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
799 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
800 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
803 dp_hpd_gpio: dp_hpd_gpio {
804 samsung,pins = "gpx2-6";
805 samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
806 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
807 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
810 max77802_irq: max77802-irq {
811 samsung,pins = "gpx3-1";
812 samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
813 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
814 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
818 samsung,pins = "gpx3-4";
819 samsung,pin-function = <EXYNOS_PIN_FUNC_F>;
820 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
821 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
824 hdmi_hpd_irq: hdmi-hpd-irq {
825 samsung,pins = "gpx3-7";
826 samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
827 samsung,pin-pud = <EXYNOS_PIN_PULL_DOWN>;
828 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
831 pmic_dvs_1: pmic-dvs-1 {
832 samsung,pins = "gpy7-6";
833 samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
834 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
835 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
840 /* Adjust WiFi drive strengths lower for EMI */
842 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV3>;
846 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV3>;
849 sd1_bus1: sd1-bus-width1 {
850 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV3>;
853 sd1_bus4: sd1-bus-width4 {
854 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV3>;
857 sd1_bus8: sd1-bus-width8 {
858 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV3>;
863 pmic_dvs_2: pmic-dvs-2 {
864 samsung,pins = "gpj4-2";
865 samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
866 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
867 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
870 pmic_dvs_3: pmic-dvs-3 {
871 samsung,pins = "gpj4-3";
872 samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
873 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
874 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
879 /* Drive SPI lines at x2 for better integrity */
881 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV3>;
884 /* Drive SPI chip select at x2 for better integrity */
885 ec_spi_cs: ec-spi-cs {
886 samsung,pins = "gpb1-2";
887 samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
888 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
889 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV3>;
892 usb300_vbus_en: usb300-vbus-en {
893 samsung,pins = "gph0-0";
894 samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
895 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
896 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
899 usb301_vbus_en: usb301-vbus-en {
900 samsung,pins = "gph0-1";
901 samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
902 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
903 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
906 pmic_selb: pmic-selb {
907 samsung,pins = "gph0-2", "gph0-3", "gph0-4", "gph0-5",
909 samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
910 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
911 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
915 &pmu_system_controller {
916 assigned-clocks = <&pmu_system_controller 0>;
917 assigned-clock-parents = <&clock CLK_FIN_PLL>;
922 clocks = <&clock CLK_RTC>, <&max77802 MAX77802_CLK_32K_AP>;
923 clock-names = "rtc", "rtc_src";
929 samsung,spi-src-clk = <0>;
930 cs-gpios = <&gpb1 2 GPIO_ACTIVE_HIGH>;
933 compatible = "google,cros-ec-spi";
934 interrupt-parent = <&gpx1>;
935 interrupts = <5 IRQ_TYPE_NONE>;
936 pinctrl-names = "default";
937 pinctrl-0 = <&ec_spi_cs &ec_irq>;
939 spi-max-frequency = <3125000>;
940 google,has-vbc-nvram;
943 samsung,spi-feedback-delay = <1>;
946 i2c_tunnel: i2c-tunnel {
947 compatible = "google,cros-ec-i2c-tunnel";
948 #address-cells = <1>;
950 google,remote-bus = <0>;
952 battery: sbs-battery@b {
953 compatible = "sbs,sbs-battery";
955 sbs,poll-retry-count = <1>;
956 sbs,i2c-retry-count = <2>;
960 compatible = "ti,tps65090";
964 * Config irq to disable internal pulls
965 * even though we run in polling mode.
967 pinctrl-names = "default";
968 pinctrl-0 = <&tps65090_irq>;
970 vsys1-supply = <&vbat>;
971 vsys2-supply = <&vbat>;
972 vsys3-supply = <&vbat>;
973 infet1-supply = <&vbat>;
974 infet2-supply = <&tps65090_dcdc1>;
975 infet3-supply = <&tps65090_dcdc2>;
976 infet4-supply = <&tps65090_dcdc2>;
977 infet5-supply = <&tps65090_dcdc2>;
978 infet6-supply = <&tps65090_dcdc2>;
979 infet7-supply = <&tps65090_dcdc1>;
980 vsys-l1-supply = <&vbat>;
981 vsys-l2-supply = <&vbat>;
984 tps65090_dcdc1: dcdc1 {
985 ti,enable-ext-control;
987 tps65090_dcdc2: dcdc2 {
988 ti,enable-ext-control;
990 tps65090_dcdc3: dcdc3 {
991 ti,enable-ext-control;
993 tps65090_fet1: fet1 {
994 regulator-name = "vcd_led";
996 tps65090_fet2: fet2 {
997 regulator-name = "video_mid";
1000 tps65090_fet3: fet3 {
1001 regulator-name = "wwan_r";
1002 regulator-always-on;
1004 tps65090_fet4: fet4 {
1005 regulator-name = "sdcard";
1006 regulator-always-on;
1008 tps65090_fet5: fet5 {
1009 regulator-name = "camout";
1010 regulator-always-on;
1012 tps65090_fet6: fet6 {
1013 regulator-name = "lcd_vdd";
1015 tps65090_fet7: fet7 {
1016 regulator-name = "video_mid_1a";
1017 regulator-always-on;
1019 tps65090_ldo1: ldo1 {
1021 tps65090_ldo2: ldo2 {
1026 compatible = "ti,tps65090-charger";
1038 vtmu-supply = <&ldo10_reg>;
1042 vtmu-supply = <&ldo10_reg>;
1046 vtmu-supply = <&ldo10_reg>;
1050 vtmu-supply = <&ldo10_reg>;
1054 vtmu-supply = <&ldo10_reg>;
1066 vbus-supply = <&usb300_vbus_reg>;
1070 vbus-supply = <&usb301_vbus_reg>;
1074 * Use longest HW watchdog in SoC (32 seconds) since the hardware
1075 * watchdog provides no debugging information (compared to soft/hard
1076 * lockup detectors) and so should be last resort.
1082 #include "cros-ec-keyboard.dtsi"
1083 #include "cros-adc-thermistors.dtsi"