2 * Google Peach Pi Rev 10+ board device tree source
4 * Copyright (c) 2014 Google, Inc
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.
12 #include <dt-bindings/input/input.h>
13 #include <dt-bindings/gpio/gpio.h>
14 #include <dt-bindings/interrupt-controller/irq.h>
15 #include "exynos5800.dtsi"
18 model = "Google Peach Pi Rev 10+";
20 compatible = "google,pi-rev16",
21 "google,pi-rev15", "google,pi-rev14",
22 "google,pi-rev13", "google,pi-rev12",
23 "google,pi-rev11", "google,pi-rev10",
24 "google,pi", "google,peach", "samsung,exynos5800",
28 /* Assign 20 so we don't get confused w/ builtin ones */
29 i2c20 = "/spi@12d40000/cros-ec@0/i2c-tunnel";
33 compatible = "pwm-backlight";
34 pwms = <&pwm 0 1000000 0>;
35 brightness-levels = <0 100 500 1000 1500 2000 2500 2800>;
36 default-brightness-level = <7>;
37 pinctrl-0 = <&pwm0_out>;
38 pinctrl-names = "default";
43 compatible = "samsung,exynos5420-oscclk";
44 clock-frequency = <24000000>;
49 compatible = "gpio-keys";
51 pinctrl-names = "default";
52 pinctrl-0 = <&power_key_irq>;
56 gpios = <&gpx1 2 GPIO_ACTIVE_LOW>;
57 linux,code = <KEY_POWER>;
63 reg = <0x20000000 0x80000000>;
67 compatible = "google,snow-audio-max98091";
69 samsung,model = "Peach-Pi-I2S-MAX98091";
70 samsung,i2s-controller = <&i2s0>;
71 samsung,audio-codec = <&max98091>;
74 usb300_vbus_reg: regulator-usb300 {
75 compatible = "regulator-fixed";
76 regulator-name = "P5.0V_USB3CON0";
77 regulator-min-microvolt = <5000000>;
78 regulator-max-microvolt = <5000000>;
80 pinctrl-names = "default";
81 pinctrl-0 = <&usb300_vbus_en>;
85 usb301_vbus_reg: regulator-usb301 {
86 compatible = "regulator-fixed";
87 regulator-name = "P5.0V_USB3CON1";
88 regulator-min-microvolt = <5000000>;
89 regulator-max-microvolt = <5000000>;
91 pinctrl-names = "default";
92 pinctrl-0 = <&usb301_vbus_en>;
96 vbat: fixed-regulator {
97 compatible = "regulator-fixed";
98 regulator-name = "vbat-supply";
106 pinctrl-names = "default";
107 pinctrl-0 = <&dp_hpd_gpio>;
108 samsung,color-space = <0>;
109 samsung,dynamic-range = <0>;
110 samsung,ycbcr-coeff = <0>;
111 samsung,color-depth = <1>;
112 samsung,link-rate = <0x0a>;
113 samsung,lane-count = <2>;
114 samsung,hpd-gpio = <&gpx2 6 0>;
117 native-mode = <&timing1>;
120 clock-frequency = <150660000>;
140 hpd-gpio = <&gpx3 7 GPIO_ACTIVE_HIGH>;
141 pinctrl-names = "default";
142 pinctrl-0 = <&hdmi_hpd_irq>;
145 hdmi-en-supply = <&tps65090_fet7>;
146 vdd-supply = <&ldo8_reg>;
147 vdd_osc-supply = <&ldo10_reg>;
148 vdd_pll-supply = <&ldo8_reg>;
153 clock-frequency = <400000>;
156 compatible = "maxim,max77802";
157 interrupt-parent = <&gpx3>;
158 interrupts = <1 IRQ_TYPE_NONE>;
159 pinctrl-names = "default";
160 pinctrl-0 = <&max77802_irq>, <&pmic_selb>,
161 <&pmic_dvs_1>, <&pmic_dvs_2>, <&pmic_dvs_3>;
166 inb1-supply = <&tps65090_dcdc2>;
167 inb2-supply = <&tps65090_dcdc1>;
168 inb3-supply = <&tps65090_dcdc2>;
169 inb4-supply = <&tps65090_dcdc2>;
170 inb5-supply = <&tps65090_dcdc1>;
171 inb6-supply = <&tps65090_dcdc2>;
172 inb7-supply = <&tps65090_dcdc1>;
173 inb8-supply = <&tps65090_dcdc1>;
174 inb9-supply = <&tps65090_dcdc1>;
175 inb10-supply = <&tps65090_dcdc1>;
177 inl1-supply = <&buck5_reg>;
178 inl2-supply = <&buck7_reg>;
179 inl3-supply = <&buck9_reg>;
180 inl4-supply = <&buck9_reg>;
181 inl5-supply = <&buck9_reg>;
182 inl6-supply = <&tps65090_dcdc2>;
183 inl7-supply = <&buck9_reg>;
184 inl9-supply = <&tps65090_dcdc2>;
185 inl10-supply = <&buck7_reg>;
189 regulator-name = "vdd_mif";
190 regulator-min-microvolt = <800000>;
191 regulator-max-microvolt = <1300000>;
194 regulator-ramp-delay = <12500>;
198 regulator-name = "vdd_arm";
199 regulator-min-microvolt = <800000>;
200 regulator-max-microvolt = <1500000>;
203 regulator-ramp-delay = <12500>;
207 regulator-name = "vdd_int";
208 regulator-min-microvolt = <800000>;
209 regulator-max-microvolt = <1400000>;
212 regulator-ramp-delay = <12500>;
216 regulator-name = "vdd_g3d";
217 regulator-min-microvolt = <700000>;
218 regulator-max-microvolt = <1400000>;
221 regulator-ramp-delay = <12500>;
225 regulator-name = "vdd_1v2";
226 regulator-min-microvolt = <1200000>;
227 regulator-max-microvolt = <1200000>;
233 regulator-name = "vdd_kfc";
234 regulator-min-microvolt = <800000>;
235 regulator-max-microvolt = <1500000>;
238 regulator-ramp-delay = <12500>;
242 regulator-name = "vdd_1v35";
243 regulator-min-microvolt = <1350000>;
244 regulator-max-microvolt = <1350000>;
250 regulator-name = "vdd_emmc";
251 regulator-min-microvolt = <2850000>;
252 regulator-max-microvolt = <2850000>;
258 regulator-name = "vdd_2v";
259 regulator-min-microvolt = <2000000>;
260 regulator-max-microvolt = <2000000>;
266 regulator-name = "vdd_1v8";
267 regulator-min-microvolt = <1800000>;
268 regulator-max-microvolt = <1800000>;
274 regulator-name = "vdd_1v0";
275 regulator-min-microvolt = <1000000>;
276 regulator-max-microvolt = <1000000>;
281 regulator-name = "vdd_1v2_2";
282 regulator-min-microvolt = <1200000>;
283 regulator-max-microvolt = <1200000>;
287 regulator-name = "vdd_1v8_3";
288 regulator-min-microvolt = <1800000>;
289 regulator-max-microvolt = <1800000>;
293 vqmmc_sdcard: ldo4_reg: LDO4 {
294 regulator-name = "vdd_sd";
295 regulator-min-microvolt = <1800000>;
296 regulator-max-microvolt = <2800000>;
301 regulator-name = "vdd_1v8_5";
302 regulator-min-microvolt = <1800000>;
303 regulator-max-microvolt = <1800000>;
308 regulator-name = "vdd_1v8_6";
309 regulator-min-microvolt = <1800000>;
310 regulator-max-microvolt = <1800000>;
315 regulator-name = "vdd_1v8_7";
316 regulator-min-microvolt = <1800000>;
317 regulator-max-microvolt = <1800000>;
321 regulator-name = "vdd_ldo8";
322 regulator-min-microvolt = <1000000>;
323 regulator-max-microvolt = <1000000>;
328 regulator-name = "vdd_ldo9";
329 regulator-min-microvolt = <1800000>;
330 regulator-max-microvolt = <1800000>;
335 regulator-name = "vdd_ldo10";
336 regulator-min-microvolt = <1800000>;
337 regulator-max-microvolt = <1800000>;
342 regulator-name = "vdd_ldo11";
343 regulator-min-microvolt = <1800000>;
344 regulator-max-microvolt = <1800000>;
349 regulator-name = "vdd_ldo12";
350 regulator-min-microvolt = <3000000>;
351 regulator-max-microvolt = <3000000>;
356 regulator-name = "vdd_ldo13";
357 regulator-min-microvolt = <1800000>;
358 regulator-max-microvolt = <1800000>;
363 regulator-name = "vdd_ldo14";
364 regulator-min-microvolt = <1800000>;
365 regulator-max-microvolt = <1800000>;
370 regulator-name = "vdd_ldo15";
371 regulator-min-microvolt = <1000000>;
372 regulator-max-microvolt = <1000000>;
377 regulator-name = "vdd_g3ds";
378 regulator-min-microvolt = <900000>;
379 regulator-max-microvolt = <1400000>;
384 regulator-name = "ldo_18";
385 regulator-min-microvolt = <1800000>;
386 regulator-max-microvolt = <1800000>;
390 regulator-name = "ldo_19";
391 regulator-min-microvolt = <1800000>;
392 regulator-max-microvolt = <1800000>;
396 regulator-name = "ldo_20";
397 regulator-min-microvolt = <1800000>;
398 regulator-max-microvolt = <1800000>;
403 regulator-name = "ldo_21";
404 regulator-min-microvolt = <2800000>;
405 regulator-max-microvolt = <2800000>;
409 regulator-name = "ldo_23";
410 regulator-min-microvolt = <3300000>;
411 regulator-max-microvolt = <3300000>;
414 regulator-name = "ldo_24";
415 regulator-min-microvolt = <2800000>;
416 regulator-max-microvolt = <2800000>;
420 regulator-name = "ldo_25";
421 regulator-min-microvolt = <3300000>;
422 regulator-max-microvolt = <3300000>;
426 regulator-name = "ldo_26";
427 regulator-min-microvolt = <1200000>;
428 regulator-max-microvolt = <1200000>;
432 regulator-name = "ldo_27";
433 regulator-min-microvolt = <1200000>;
434 regulator-max-microvolt = <1200000>;
438 regulator-name = "ldo_28";
439 regulator-min-microvolt = <1800000>;
440 regulator-max-microvolt = <1800000>;
444 regulator-name = "ldo_29";
445 regulator-min-microvolt = <1800000>;
446 regulator-max-microvolt = <1800000>;
450 regulator-name = "vdd_mifs";
451 regulator-min-microvolt = <1000000>;
452 regulator-max-microvolt = <1000000>;
457 regulator-name = "ldo_32";
458 regulator-min-microvolt = <3000000>;
459 regulator-max-microvolt = <3000000>;
463 regulator-name = "ldo_33";
464 regulator-min-microvolt = <2800000>;
465 regulator-max-microvolt = <2800000>;
469 regulator-name = "ldo_34";
470 regulator-min-microvolt = <3000000>;
471 regulator-max-microvolt = <3000000>;
475 regulator-name = "ldo_35";
476 regulator-min-microvolt = <1200000>;
477 regulator-max-microvolt = <1200000>;
487 compatible = "maxim,max98091";
490 interrupt-parent = <&gpx0>;
491 pinctrl-names = "default";
492 pinctrl-0 = <&max98091_irq>;
498 clock-frequency = <400000>;
501 compatible = "infineon,slb9645tt";
504 /* Unused irq; but still need to configure the pins */
505 pinctrl-names = "default";
506 pinctrl-0 = <&tpm_irq>;
512 samsung,i2c-sda-delay = <100>;
513 samsung,i2c-max-bus-freq = <66000>;
514 samsung,i2c-slave-addr = <0x50>;
525 caps2-mmc-hs200-1_8v;
528 card-detect-delay = <200>;
529 clock-frequency = <400000000>;
530 samsung,dw-mshc-ciu-div = <3>;
531 samsung,dw-mshc-sdr-timing = <0 4>;
532 samsung,dw-mshc-ddr-timing = <0 2>;
533 pinctrl-names = "default";
534 pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_bus4 &sd0_bus8>;
542 card-detect-delay = <200>;
543 clock-frequency = <400000000>;
544 samsung,dw-mshc-ciu-div = <3>;
545 samsung,dw-mshc-sdr-timing = <2 3>;
546 samsung,dw-mshc-ddr-timing = <1 2>;
547 pinctrl-names = "default";
548 pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_cd &sd2_bus4>;
554 pinctrl-names = "default";
555 pinctrl-0 = <&mask_tpm_reset>;
557 max98091_irq: max98091-irq {
558 samsung,pins = "gpx0-2";
559 samsung,pin-function = <0>;
560 samsung,pin-pud = <0>;
561 samsung,pin-drv = <0>;
564 /* We need GPX0_6 to be low at sleep time; just keep it low always */
565 mask_tpm_reset: mask-tpm-reset {
566 samsung,pins = "gpx0-6";
567 samsung,pin-function = <1>;
568 samsung,pin-pud = <0>;
569 samsung,pin-drv = <0>;
570 samsung,pin-val = <0>;
574 samsung,pins = "gpx1-0";
575 samsung,pin-function = <0>;
576 samsung,pin-pud = <0>;
577 samsung,pin-drv = <0>;
580 power_key_irq: power-key-irq {
581 samsung,pins = "gpx1-2";
582 samsung,pin-function = <0>;
583 samsung,pin-pud = <0>;
584 samsung,pin-drv = <0>;
588 samsung,pins = "gpx1-5";
589 samsung,pin-function = <0>;
590 samsung,pin-pud = <0>;
591 samsung,pin-drv = <0>;
594 tps65090_irq: tps65090-irq {
595 samsung,pins = "gpx2-5";
596 samsung,pin-function = <0>;
597 samsung,pin-pud = <0>;
598 samsung,pin-drv = <0>;
601 dp_hpd_gpio: dp_hpd_gpio {
602 samsung,pins = "gpx2-6";
603 samsung,pin-function = <0>;
604 samsung,pin-pud = <3>;
605 samsung,pin-drv = <0>;
608 max77802_irq: max77802-irq {
609 samsung,pins = "gpx3-1";
610 samsung,pin-function = <0>;
611 samsung,pin-pud = <0>;
612 samsung,pin-drv = <0>;
615 hdmi_hpd_irq: hdmi-hpd-irq {
616 samsung,pins = "gpx3-7";
617 samsung,pin-function = <0>;
618 samsung,pin-pud = <1>;
619 samsung,pin-drv = <0>;
622 pmic_dvs_1: pmic-dvs-1 {
623 samsung,pins = "gpy7-6";
624 samsung,pin-function = <1>;
625 samsung,pin-pud = <0>;
626 samsung,pin-drv = <0>;
631 pmic_dvs_2: pmic-dvs-2 {
632 samsung,pins = "gpj4-2";
633 samsung,pin-function = <1>;
634 samsung,pin-pud = <0>;
635 samsung,pin-drv = <0>;
638 pmic_dvs_3: pmic-dvs-3 {
639 samsung,pins = "gpj4-3";
640 samsung,pin-function = <1>;
641 samsung,pin-pud = <0>;
642 samsung,pin-drv = <0>;
647 /* Drive SPI lines at x2 for better integrity */
649 samsung,pin-drv = <2>;
652 /* Drive SPI chip select at x2 for better integrity */
653 ec_spi_cs: ec-spi-cs {
654 samsung,pins = "gpb1-2";
655 samsung,pin-function = <1>;
656 samsung,pin-pud = <0>;
657 samsung,pin-drv = <2>;
660 usb300_vbus_en: usb300-vbus-en {
661 samsung,pins = "gph0-0";
662 samsung,pin-function = <1>;
663 samsung,pin-pud = <0>;
664 samsung,pin-drv = <0>;
667 usb301_vbus_en: usb301-vbus-en {
668 samsung,pins = "gph0-1";
669 samsung,pin-function = <1>;
670 samsung,pin-pud = <0>;
671 samsung,pin-drv = <0>;
674 pmic_selb: pmic-selb {
675 samsung,pins = "gph0-2", "gph0-3", "gph0-4", "gph0-5",
677 samsung,pin-function = <1>;
678 samsung,pin-pud = <0>;
679 samsung,pin-drv = <0>;
690 samsung,spi-src-clk = <0>;
691 cs-gpios = <&gpb1 2 0>;
694 compatible = "google,cros-ec-spi";
695 interrupt-parent = <&gpx1>;
697 pinctrl-names = "default";
698 pinctrl-0 = <&ec_spi_cs &ec_irq>;
700 spi-max-frequency = <3125000>;
703 samsung,spi-feedback-delay = <1>;
707 compatible = "google,cros-ec-i2c-tunnel";
708 #address-cells = <1>;
710 google,remote-bus = <0>;
712 battery: sbs-battery@b {
713 compatible = "sbs,sbs-battery";
715 sbs,poll-retry-count = <1>;
716 sbs,i2c-retry-count = <2>;
720 compatible = "ti,tps65090";
724 * Config irq to disable internal pulls
725 * even though we run in polling mode.
727 pinctrl-names = "default";
728 pinctrl-0 = <&tps65090_irq>;
730 vsys1-supply = <&vbat>;
731 vsys2-supply = <&vbat>;
732 vsys3-supply = <&vbat>;
733 infet1-supply = <&vbat>;
734 infet2-supply = <&tps65090_dcdc1>;
735 infet3-supply = <&tps65090_dcdc2>;
736 infet4-supply = <&tps65090_dcdc2>;
737 infet5-supply = <&tps65090_dcdc2>;
738 infet6-supply = <&tps65090_dcdc2>;
739 infet7-supply = <&tps65090_dcdc1>;
740 vsys-l1-supply = <&vbat>;
741 vsys-l2-supply = <&vbat>;
744 tps65090_dcdc1: dcdc1 {
745 ti,enable-ext-control;
747 tps65090_dcdc2: dcdc2 {
748 ti,enable-ext-control;
750 tps65090_dcdc3: dcdc3 {
751 ti,enable-ext-control;
753 tps65090_fet1: fet1 {
754 regulator-name = "vcd_led";
756 tps65090_fet2: fet2 {
757 regulator-name = "video_mid";
760 tps65090_fet3: fet3 {
761 regulator-name = "wwan_r";
764 tps65090_fet4: fet4 {
765 regulator-name = "sdcard";
768 tps65090_fet5: fet5 {
769 regulator-name = "camout";
771 tps65090_fet6: fet6 {
772 regulator-name = "lcd_vdd";
774 tps65090_fet7: fet7 {
775 regulator-name = "video_mid_1a";
778 tps65090_ldo1: ldo1 {
780 tps65090_ldo2: ldo2 {
785 compatible = "ti,tps65090-charger";
797 vbus-supply = <&usb300_vbus_reg>;
801 vbus-supply = <&usb301_vbus_reg>;
805 * Use longest HW watchdog in SoC (32 seconds) since the hardware
806 * watchdog provides no debugging information (compared to soft/hard
807 * lockup detectors) and so should be last resort.
813 #include "cros-ec-keyboard.dtsi"