17d0873ebSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0 27d0873ebSEmmanuel Vadot#include "qcom-msm8974pro.dtsi" 37d0873ebSEmmanuel Vadot#include "pma8084.dtsi" 47d0873ebSEmmanuel Vadot#include <dt-bindings/input/input.h> 57d0873ebSEmmanuel Vadot#include <dt-bindings/pinctrl/qcom,pmic-gpio.h> 67d0873ebSEmmanuel Vadot#include <dt-bindings/leds/common.h> 77d0873ebSEmmanuel Vadot 87d0873ebSEmmanuel Vadot/ { 97d0873ebSEmmanuel Vadot chassis-type = "handset"; 107d0873ebSEmmanuel Vadot 117d0873ebSEmmanuel Vadot aliases { 127d0873ebSEmmanuel Vadot serial0 = &blsp1_uart1; 137d0873ebSEmmanuel Vadot mmc0 = &sdhc_1; /* SDC1 eMMC slot */ 147d0873ebSEmmanuel Vadot mmc1 = &sdhc_3; /* SDC2 SD card slot */ 157d0873ebSEmmanuel Vadot }; 167d0873ebSEmmanuel Vadot 177d0873ebSEmmanuel Vadot chosen { 187d0873ebSEmmanuel Vadot stdout-path = "serial0:115200n8"; 197d0873ebSEmmanuel Vadot }; 207d0873ebSEmmanuel Vadot 217d0873ebSEmmanuel Vadot gpio-keys { 227d0873ebSEmmanuel Vadot compatible = "gpio-keys"; 237d0873ebSEmmanuel Vadot 247d0873ebSEmmanuel Vadot pinctrl-names = "default"; 257d0873ebSEmmanuel Vadot pinctrl-0 = <&gpio_keys_pin_a>; 267d0873ebSEmmanuel Vadot 277d0873ebSEmmanuel Vadot key-volume-down { 287d0873ebSEmmanuel Vadot label = "volume_down"; 297d0873ebSEmmanuel Vadot gpios = <&pma8084_gpios 2 GPIO_ACTIVE_LOW>; 307d0873ebSEmmanuel Vadot linux,input-type = <1>; 317d0873ebSEmmanuel Vadot linux,code = <KEY_VOLUMEDOWN>; 327d0873ebSEmmanuel Vadot debounce-interval = <15>; 337d0873ebSEmmanuel Vadot }; 347d0873ebSEmmanuel Vadot 357d0873ebSEmmanuel Vadot key-home { 367d0873ebSEmmanuel Vadot label = "home_key"; 377d0873ebSEmmanuel Vadot gpios = <&pma8084_gpios 3 GPIO_ACTIVE_LOW>; 387d0873ebSEmmanuel Vadot linux,input-type = <1>; 397d0873ebSEmmanuel Vadot linux,code = <KEY_HOMEPAGE>; 407d0873ebSEmmanuel Vadot wakeup-source; 417d0873ebSEmmanuel Vadot debounce-interval = <15>; 427d0873ebSEmmanuel Vadot }; 437d0873ebSEmmanuel Vadot 447d0873ebSEmmanuel Vadot key-volume-up { 457d0873ebSEmmanuel Vadot label = "volume_up"; 467d0873ebSEmmanuel Vadot gpios = <&pma8084_gpios 5 GPIO_ACTIVE_LOW>; 477d0873ebSEmmanuel Vadot linux,input-type = <1>; 487d0873ebSEmmanuel Vadot linux,code = <KEY_VOLUMEUP>; 497d0873ebSEmmanuel Vadot debounce-interval = <15>; 507d0873ebSEmmanuel Vadot }; 517d0873ebSEmmanuel Vadot }; 527d0873ebSEmmanuel Vadot 537d0873ebSEmmanuel Vadot i2c-gpio-touchkey { 547d0873ebSEmmanuel Vadot compatible = "i2c-gpio"; 557d0873ebSEmmanuel Vadot #address-cells = <1>; 567d0873ebSEmmanuel Vadot #size-cells = <0>; 577d0873ebSEmmanuel Vadot sda-gpios = <&tlmm 95 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; 587d0873ebSEmmanuel Vadot scl-gpios = <&tlmm 96 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; 597d0873ebSEmmanuel Vadot pinctrl-names = "default"; 607d0873ebSEmmanuel Vadot pinctrl-0 = <&i2c_touchkey_pins>; 617d0873ebSEmmanuel Vadot 627d0873ebSEmmanuel Vadot touchkey@20 { 637d0873ebSEmmanuel Vadot compatible = "cypress,tm2-touchkey"; 647d0873ebSEmmanuel Vadot reg = <0x20>; 657d0873ebSEmmanuel Vadot 667d0873ebSEmmanuel Vadot interrupt-parent = <&pma8084_gpios>; 677d0873ebSEmmanuel Vadot interrupts = <6 IRQ_TYPE_EDGE_FALLING>; 687d0873ebSEmmanuel Vadot pinctrl-names = "default"; 697d0873ebSEmmanuel Vadot pinctrl-0 = <&touchkey_pin>; 707d0873ebSEmmanuel Vadot 717d0873ebSEmmanuel Vadot vcc-supply = <&max77826_ldo15>; 727d0873ebSEmmanuel Vadot vdd-supply = <&pma8084_l19>; 737d0873ebSEmmanuel Vadot 747d0873ebSEmmanuel Vadot linux,keycodes = <KEY_APPSELECT KEY_BACK>; 757d0873ebSEmmanuel Vadot }; 767d0873ebSEmmanuel Vadot }; 777d0873ebSEmmanuel Vadot 787d0873ebSEmmanuel Vadot i2c_led_gpio: i2c-gpio-led { 797d0873ebSEmmanuel Vadot compatible = "i2c-gpio"; 807d0873ebSEmmanuel Vadot #address-cells = <1>; 817d0873ebSEmmanuel Vadot #size-cells = <0>; 827d0873ebSEmmanuel Vadot pinctrl-names = "default"; 837d0873ebSEmmanuel Vadot pinctrl-0 = <&i2c_led_gpioex_pins>; 847d0873ebSEmmanuel Vadot 857d0873ebSEmmanuel Vadot i2c-gpio,delay-us = <2>; 867d0873ebSEmmanuel Vadot 877d0873ebSEmmanuel Vadot gpio_expander: gpio@20 { 887d0873ebSEmmanuel Vadot compatible = "nxp,pcal6416"; 897d0873ebSEmmanuel Vadot reg = <0x20>; 907d0873ebSEmmanuel Vadot 917d0873ebSEmmanuel Vadot gpio-controller; 927d0873ebSEmmanuel Vadot #gpio-cells = <2>; 937d0873ebSEmmanuel Vadot 947d0873ebSEmmanuel Vadot vcc-supply = <&pma8084_s4>; 957d0873ebSEmmanuel Vadot 967d0873ebSEmmanuel Vadot pinctrl-names = "default"; 977d0873ebSEmmanuel Vadot pinctrl-0 = <&gpioex_pin>; 987d0873ebSEmmanuel Vadot 997d0873ebSEmmanuel Vadot reset-gpios = <&tlmm 145 GPIO_ACTIVE_LOW>; 1007d0873ebSEmmanuel Vadot }; 1017d0873ebSEmmanuel Vadot 1027d0873ebSEmmanuel Vadot led-controller@30 { 1037d0873ebSEmmanuel Vadot compatible = "panasonic,an30259a"; 1047d0873ebSEmmanuel Vadot reg = <0x30>; 1057d0873ebSEmmanuel Vadot 1067d0873ebSEmmanuel Vadot #address-cells = <1>; 1077d0873ebSEmmanuel Vadot #size-cells = <0>; 1087d0873ebSEmmanuel Vadot 1097d0873ebSEmmanuel Vadot led@1 { 1107d0873ebSEmmanuel Vadot reg = <1>; 1117d0873ebSEmmanuel Vadot function = LED_FUNCTION_STATUS; 1127d0873ebSEmmanuel Vadot color = <LED_COLOR_ID_RED>; 1137d0873ebSEmmanuel Vadot }; 1147d0873ebSEmmanuel Vadot 1157d0873ebSEmmanuel Vadot led@2 { 1167d0873ebSEmmanuel Vadot reg = <2>; 1177d0873ebSEmmanuel Vadot function = LED_FUNCTION_STATUS; 1187d0873ebSEmmanuel Vadot color = <LED_COLOR_ID_GREEN>; 1197d0873ebSEmmanuel Vadot }; 1207d0873ebSEmmanuel Vadot 1217d0873ebSEmmanuel Vadot led@3 { 1227d0873ebSEmmanuel Vadot reg = <3>; 1237d0873ebSEmmanuel Vadot function = LED_FUNCTION_STATUS; 1247d0873ebSEmmanuel Vadot color = <LED_COLOR_ID_BLUE>; 1257d0873ebSEmmanuel Vadot }; 1267d0873ebSEmmanuel Vadot }; 1277d0873ebSEmmanuel Vadot }; 1287d0873ebSEmmanuel Vadot 1297d0873ebSEmmanuel Vadot vreg_wlan: wlan-regulator { 1307d0873ebSEmmanuel Vadot compatible = "regulator-fixed"; 1317d0873ebSEmmanuel Vadot 1327d0873ebSEmmanuel Vadot regulator-name = "wl-reg"; 1337d0873ebSEmmanuel Vadot regulator-min-microvolt = <3300000>; 1347d0873ebSEmmanuel Vadot regulator-max-microvolt = <3300000>; 1357d0873ebSEmmanuel Vadot 1367d0873ebSEmmanuel Vadot gpio = <&gpio_expander 8 GPIO_ACTIVE_HIGH>; 1377d0873ebSEmmanuel Vadot enable-active-high; 1387d0873ebSEmmanuel Vadot }; 1397d0873ebSEmmanuel Vadot 1407d0873ebSEmmanuel Vadot vreg_panel: panel-regulator { 1417d0873ebSEmmanuel Vadot compatible = "regulator-fixed"; 1427d0873ebSEmmanuel Vadot 1437d0873ebSEmmanuel Vadot pinctrl-names = "default"; 1447d0873ebSEmmanuel Vadot pinctrl-0 = <&panel_en_pin>; 1457d0873ebSEmmanuel Vadot 1467d0873ebSEmmanuel Vadot regulator-name = "panel-vddr-reg"; 1477d0873ebSEmmanuel Vadot regulator-min-microvolt = <1500000>; 1487d0873ebSEmmanuel Vadot regulator-max-microvolt = <1500000>; 1497d0873ebSEmmanuel Vadot 1507d0873ebSEmmanuel Vadot gpio = <&pma8084_gpios 14 GPIO_ACTIVE_HIGH>; 1517d0873ebSEmmanuel Vadot enable-active-high; 1527d0873ebSEmmanuel Vadot }; 1537d0873ebSEmmanuel Vadot 1547d0873ebSEmmanuel Vadot vreg_vph_pwr: vreg-vph-pwr { 1557d0873ebSEmmanuel Vadot compatible = "regulator-fixed"; 1567d0873ebSEmmanuel Vadot regulator-name = "vph-pwr"; 1577d0873ebSEmmanuel Vadot 1587d0873ebSEmmanuel Vadot regulator-min-microvolt = <3600000>; 1597d0873ebSEmmanuel Vadot regulator-max-microvolt = <3600000>; 1607d0873ebSEmmanuel Vadot 1617d0873ebSEmmanuel Vadot regulator-always-on; 1627d0873ebSEmmanuel Vadot }; 1637d0873ebSEmmanuel Vadot}; 1647d0873ebSEmmanuel Vadot 1657d0873ebSEmmanuel Vadot&blsp1_i2c2 { 1667d0873ebSEmmanuel Vadot status = "okay"; 1677d0873ebSEmmanuel Vadot 1687d0873ebSEmmanuel Vadot touchscreen@20 { 1697d0873ebSEmmanuel Vadot compatible = "syna,rmi4-i2c"; 1707d0873ebSEmmanuel Vadot reg = <0x20>; 1717d0873ebSEmmanuel Vadot 1727d0873ebSEmmanuel Vadot interrupt-parent = <&pma8084_gpios>; 1737d0873ebSEmmanuel Vadot interrupts = <8 IRQ_TYPE_EDGE_FALLING>; 1747d0873ebSEmmanuel Vadot 1757d0873ebSEmmanuel Vadot vdd-supply = <&max77826_ldo13>; 1767d0873ebSEmmanuel Vadot vio-supply = <&pma8084_lvs2>; 1777d0873ebSEmmanuel Vadot 1787d0873ebSEmmanuel Vadot pinctrl-names = "default"; 1797d0873ebSEmmanuel Vadot pinctrl-0 = <&touch_pin>; 1807d0873ebSEmmanuel Vadot 1817d0873ebSEmmanuel Vadot syna,startup-delay-ms = <100>; 1827d0873ebSEmmanuel Vadot 1837d0873ebSEmmanuel Vadot #address-cells = <1>; 1847d0873ebSEmmanuel Vadot #size-cells = <0>; 1857d0873ebSEmmanuel Vadot 1867d0873ebSEmmanuel Vadot rmi4-f01@1 { 1877d0873ebSEmmanuel Vadot reg = <0x1>; 1887d0873ebSEmmanuel Vadot syna,nosleep-mode = <1>; 1897d0873ebSEmmanuel Vadot }; 1907d0873ebSEmmanuel Vadot 1917d0873ebSEmmanuel Vadot rmi4-f12@12 { 1927d0873ebSEmmanuel Vadot reg = <0x12>; 1937d0873ebSEmmanuel Vadot syna,sensor-type = <1>; 1947d0873ebSEmmanuel Vadot }; 1957d0873ebSEmmanuel Vadot }; 1967d0873ebSEmmanuel Vadot}; 1977d0873ebSEmmanuel Vadot 1987d0873ebSEmmanuel Vadot&blsp1_i2c6 { 1997d0873ebSEmmanuel Vadot status = "okay"; 2007d0873ebSEmmanuel Vadot 2017d0873ebSEmmanuel Vadot pmic@60 { 2027d0873ebSEmmanuel Vadot reg = <0x60>; 2037d0873ebSEmmanuel Vadot compatible = "maxim,max77826"; 2047d0873ebSEmmanuel Vadot 2057d0873ebSEmmanuel Vadot regulators { 2067d0873ebSEmmanuel Vadot max77826_ldo1: LDO1 { 2077d0873ebSEmmanuel Vadot regulator-min-microvolt = <1200000>; 2087d0873ebSEmmanuel Vadot regulator-max-microvolt = <1200000>; 2097d0873ebSEmmanuel Vadot }; 2107d0873ebSEmmanuel Vadot 2117d0873ebSEmmanuel Vadot max77826_ldo2: LDO2 { 2127d0873ebSEmmanuel Vadot regulator-min-microvolt = <1000000>; 2137d0873ebSEmmanuel Vadot regulator-max-microvolt = <1000000>; 2147d0873ebSEmmanuel Vadot }; 2157d0873ebSEmmanuel Vadot 2167d0873ebSEmmanuel Vadot max77826_ldo3: LDO3 { 2177d0873ebSEmmanuel Vadot regulator-min-microvolt = <1200000>; 2187d0873ebSEmmanuel Vadot regulator-max-microvolt = <1200000>; 2197d0873ebSEmmanuel Vadot }; 2207d0873ebSEmmanuel Vadot 2217d0873ebSEmmanuel Vadot max77826_ldo4: LDO4 { 2227d0873ebSEmmanuel Vadot regulator-min-microvolt = <1800000>; 2237d0873ebSEmmanuel Vadot regulator-max-microvolt = <1800000>; 2247d0873ebSEmmanuel Vadot }; 2257d0873ebSEmmanuel Vadot 2267d0873ebSEmmanuel Vadot max77826_ldo5: LDO5 { 2277d0873ebSEmmanuel Vadot regulator-min-microvolt = <1800000>; 2287d0873ebSEmmanuel Vadot regulator-max-microvolt = <1800000>; 2297d0873ebSEmmanuel Vadot }; 2307d0873ebSEmmanuel Vadot 2317d0873ebSEmmanuel Vadot max77826_ldo6: LDO6 { 2327d0873ebSEmmanuel Vadot regulator-min-microvolt = <1800000>; 2337d0873ebSEmmanuel Vadot regulator-max-microvolt = <3300000>; 2347d0873ebSEmmanuel Vadot }; 2357d0873ebSEmmanuel Vadot 2367d0873ebSEmmanuel Vadot max77826_ldo7: LDO7 { 2377d0873ebSEmmanuel Vadot regulator-min-microvolt = <1800000>; 2387d0873ebSEmmanuel Vadot regulator-max-microvolt = <1800000>; 2397d0873ebSEmmanuel Vadot }; 2407d0873ebSEmmanuel Vadot 2417d0873ebSEmmanuel Vadot max77826_ldo8: LDO8 { 2427d0873ebSEmmanuel Vadot regulator-min-microvolt = <1800000>; 2437d0873ebSEmmanuel Vadot regulator-max-microvolt = <3300000>; 2447d0873ebSEmmanuel Vadot }; 2457d0873ebSEmmanuel Vadot 2467d0873ebSEmmanuel Vadot max77826_ldo9: LDO9 { 2477d0873ebSEmmanuel Vadot regulator-min-microvolt = <1800000>; 2487d0873ebSEmmanuel Vadot regulator-max-microvolt = <1800000>; 2497d0873ebSEmmanuel Vadot }; 2507d0873ebSEmmanuel Vadot 2517d0873ebSEmmanuel Vadot max77826_ldo10: LDO10 { 2527d0873ebSEmmanuel Vadot regulator-min-microvolt = <2800000>; 2537d0873ebSEmmanuel Vadot regulator-max-microvolt = <2950000>; 2547d0873ebSEmmanuel Vadot }; 2557d0873ebSEmmanuel Vadot 2567d0873ebSEmmanuel Vadot max77826_ldo11: LDO11 { 2577d0873ebSEmmanuel Vadot regulator-min-microvolt = <2700000>; 2587d0873ebSEmmanuel Vadot regulator-max-microvolt = <2950000>; 2597d0873ebSEmmanuel Vadot }; 2607d0873ebSEmmanuel Vadot 2617d0873ebSEmmanuel Vadot max77826_ldo12: LDO12 { 2627d0873ebSEmmanuel Vadot regulator-min-microvolt = <2500000>; 2637d0873ebSEmmanuel Vadot regulator-max-microvolt = <3300000>; 2647d0873ebSEmmanuel Vadot }; 2657d0873ebSEmmanuel Vadot 2667d0873ebSEmmanuel Vadot max77826_ldo13: LDO13 { 2677d0873ebSEmmanuel Vadot regulator-min-microvolt = <3300000>; 2687d0873ebSEmmanuel Vadot regulator-max-microvolt = <3300000>; 2697d0873ebSEmmanuel Vadot }; 2707d0873ebSEmmanuel Vadot 2717d0873ebSEmmanuel Vadot max77826_ldo14: LDO14 { 2727d0873ebSEmmanuel Vadot regulator-min-microvolt = <3300000>; 2737d0873ebSEmmanuel Vadot regulator-max-microvolt = <3300000>; 2747d0873ebSEmmanuel Vadot }; 2757d0873ebSEmmanuel Vadot 2767d0873ebSEmmanuel Vadot max77826_ldo15: LDO15 { 2777d0873ebSEmmanuel Vadot regulator-min-microvolt = <1800000>; 2787d0873ebSEmmanuel Vadot regulator-max-microvolt = <1800000>; 2797d0873ebSEmmanuel Vadot }; 2807d0873ebSEmmanuel Vadot 2817d0873ebSEmmanuel Vadot max77826_buck: BUCK { 2827d0873ebSEmmanuel Vadot regulator-min-microvolt = <1225000>; 2837d0873ebSEmmanuel Vadot regulator-max-microvolt = <1225000>; 2847d0873ebSEmmanuel Vadot }; 2857d0873ebSEmmanuel Vadot 2867d0873ebSEmmanuel Vadot max77826_buckboost: BUCKBOOST { 2877d0873ebSEmmanuel Vadot regulator-min-microvolt = <3400000>; 2887d0873ebSEmmanuel Vadot regulator-max-microvolt = <3400000>; 2897d0873ebSEmmanuel Vadot }; 2907d0873ebSEmmanuel Vadot }; 2917d0873ebSEmmanuel Vadot }; 2927d0873ebSEmmanuel Vadot}; 2937d0873ebSEmmanuel Vadot 2947d0873ebSEmmanuel Vadot&blsp1_uart2 { 2957d0873ebSEmmanuel Vadot status = "okay"; 2967d0873ebSEmmanuel Vadot}; 2977d0873ebSEmmanuel Vadot 2987d0873ebSEmmanuel Vadot&blsp2_i2c6 { 2997d0873ebSEmmanuel Vadot status = "okay"; 3007d0873ebSEmmanuel Vadot 3017d0873ebSEmmanuel Vadot fuelgauge@36 { 3027d0873ebSEmmanuel Vadot compatible = "maxim,max17048"; 3037d0873ebSEmmanuel Vadot reg = <0x36>; 3047d0873ebSEmmanuel Vadot 3057d0873ebSEmmanuel Vadot maxim,double-soc; 3067d0873ebSEmmanuel Vadot maxim,rcomp = /bits/ 8 <0x56>; 3077d0873ebSEmmanuel Vadot 3087d0873ebSEmmanuel Vadot interrupt-parent = <&pma8084_gpios>; 3097d0873ebSEmmanuel Vadot interrupts = <21 IRQ_TYPE_LEVEL_LOW>; 3107d0873ebSEmmanuel Vadot 3117d0873ebSEmmanuel Vadot pinctrl-names = "default"; 3127d0873ebSEmmanuel Vadot pinctrl-0 = <&fuelgauge_pin>; 3137d0873ebSEmmanuel Vadot }; 3147d0873ebSEmmanuel Vadot}; 3157d0873ebSEmmanuel Vadot 3167d0873ebSEmmanuel Vadot&blsp2_uart2 { 3177d0873ebSEmmanuel Vadot status = "okay"; 3187d0873ebSEmmanuel Vadot 3197d0873ebSEmmanuel Vadot pinctrl-names = "default", "sleep"; 3207d0873ebSEmmanuel Vadot pinctrl-0 = <&blsp2_uart2_pins_active>; 3217d0873ebSEmmanuel Vadot pinctrl-1 = <&blsp2_uart2_pins_sleep>; 3227d0873ebSEmmanuel Vadot 3237d0873ebSEmmanuel Vadot bluetooth { 3247d0873ebSEmmanuel Vadot compatible = "brcm,bcm43540-bt"; 3257d0873ebSEmmanuel Vadot max-speed = <3000000>; 3267d0873ebSEmmanuel Vadot pinctrl-names = "default"; 3277d0873ebSEmmanuel Vadot pinctrl-0 = <&bt_pins>; 3287d0873ebSEmmanuel Vadot device-wakeup-gpios = <&tlmm 91 GPIO_ACTIVE_HIGH>; 3297d0873ebSEmmanuel Vadot shutdown-gpios = <&gpio_expander 9 GPIO_ACTIVE_HIGH>; 3307d0873ebSEmmanuel Vadot interrupt-parent = <&tlmm>; 3317d0873ebSEmmanuel Vadot interrupts = <75 IRQ_TYPE_LEVEL_HIGH>; 3327d0873ebSEmmanuel Vadot interrupt-names = "host-wakeup"; 3337d0873ebSEmmanuel Vadot }; 3347d0873ebSEmmanuel Vadot}; 3357d0873ebSEmmanuel Vadot 3367d0873ebSEmmanuel Vadot&gpu { 3377d0873ebSEmmanuel Vadot status = "okay"; 3387d0873ebSEmmanuel Vadot}; 3397d0873ebSEmmanuel Vadot 3407d0873ebSEmmanuel Vadot&mdss { 3417d0873ebSEmmanuel Vadot status = "okay"; 3427d0873ebSEmmanuel Vadot}; 3437d0873ebSEmmanuel Vadot 3447d0873ebSEmmanuel Vadot&mdss_dsi0 { 3457d0873ebSEmmanuel Vadot status = "okay"; 3467d0873ebSEmmanuel Vadot 3477d0873ebSEmmanuel Vadot vdda-supply = <&pma8084_l2>; 3487d0873ebSEmmanuel Vadot vdd-supply = <&pma8084_l22>; 3497d0873ebSEmmanuel Vadot vddio-supply = <&pma8084_l12>; 3507d0873ebSEmmanuel Vadot 3517d0873ebSEmmanuel Vadot panel: panel@0 { 3527d0873ebSEmmanuel Vadot reg = <0>; 3537d0873ebSEmmanuel Vadot compatible = "samsung,s6e3fa2"; 3547d0873ebSEmmanuel Vadot 3557d0873ebSEmmanuel Vadot pinctrl-names = "default"; 3567d0873ebSEmmanuel Vadot pinctrl-0 = <&panel_te_pin &panel_rst_pin>; 3577d0873ebSEmmanuel Vadot 3587d0873ebSEmmanuel Vadot iovdd-supply = <&pma8084_lvs4>; 3597d0873ebSEmmanuel Vadot vddr-supply = <&vreg_panel>; 3607d0873ebSEmmanuel Vadot 3617d0873ebSEmmanuel Vadot reset-gpios = <&pma8084_gpios 17 GPIO_ACTIVE_LOW>; 3627d0873ebSEmmanuel Vadot 3637d0873ebSEmmanuel Vadot port { 3647d0873ebSEmmanuel Vadot panel_in: endpoint { 3657d0873ebSEmmanuel Vadot remote-endpoint = <&mdss_dsi0_out>; 3667d0873ebSEmmanuel Vadot }; 3677d0873ebSEmmanuel Vadot }; 3687d0873ebSEmmanuel Vadot }; 3697d0873ebSEmmanuel Vadot}; 3707d0873ebSEmmanuel Vadot 3717d0873ebSEmmanuel Vadot&mdss_dsi0_out { 3727d0873ebSEmmanuel Vadot remote-endpoint = <&panel_in>; 3737d0873ebSEmmanuel Vadot data-lanes = <0 1 2 3>; 3747d0873ebSEmmanuel Vadot}; 3757d0873ebSEmmanuel Vadot 3767d0873ebSEmmanuel Vadot&mdss_dsi0_phy { 3777d0873ebSEmmanuel Vadot status = "okay"; 3787d0873ebSEmmanuel Vadot 3797d0873ebSEmmanuel Vadot vddio-supply = <&pma8084_l12>; 3807d0873ebSEmmanuel Vadot}; 3817d0873ebSEmmanuel Vadot 3827d0873ebSEmmanuel Vadot&pma8084_gpios { 3837d0873ebSEmmanuel Vadot gpio_keys_pin_a: gpio-keys-active-state { 3847d0873ebSEmmanuel Vadot pins = "gpio2", "gpio3", "gpio5"; 3857d0873ebSEmmanuel Vadot function = "normal"; 3867d0873ebSEmmanuel Vadot 3877d0873ebSEmmanuel Vadot bias-pull-up; 3887d0873ebSEmmanuel Vadot power-source = <PMA8084_GPIO_S4>; 3897d0873ebSEmmanuel Vadot }; 3907d0873ebSEmmanuel Vadot 3917d0873ebSEmmanuel Vadot touchkey_pin: touchkey-int-state { 3927d0873ebSEmmanuel Vadot pins = "gpio6"; 3937d0873ebSEmmanuel Vadot function = "normal"; 3947d0873ebSEmmanuel Vadot bias-disable; 3957d0873ebSEmmanuel Vadot input-enable; 3967d0873ebSEmmanuel Vadot power-source = <PMA8084_GPIO_S4>; 3977d0873ebSEmmanuel Vadot }; 3987d0873ebSEmmanuel Vadot 3997d0873ebSEmmanuel Vadot touch_pin: touchscreen-int-state { 4007d0873ebSEmmanuel Vadot pins = "gpio8"; 4017d0873ebSEmmanuel Vadot function = "normal"; 4027d0873ebSEmmanuel Vadot bias-disable; 4037d0873ebSEmmanuel Vadot input-enable; 4047d0873ebSEmmanuel Vadot power-source = <PMA8084_GPIO_S4>; 4057d0873ebSEmmanuel Vadot }; 4067d0873ebSEmmanuel Vadot 4077d0873ebSEmmanuel Vadot panel_en_pin: panel-en-state { 4087d0873ebSEmmanuel Vadot pins = "gpio14"; 4097d0873ebSEmmanuel Vadot function = "normal"; 4107d0873ebSEmmanuel Vadot bias-pull-up; 4117d0873ebSEmmanuel Vadot power-source = <PMA8084_GPIO_S4>; 4127d0873ebSEmmanuel Vadot qcom,drive-strength = <PMIC_GPIO_STRENGTH_LOW>; 4137d0873ebSEmmanuel Vadot }; 4147d0873ebSEmmanuel Vadot 4157d0873ebSEmmanuel Vadot wlan_sleep_clk_pin: wlan-sleep-clk-state { 4167d0873ebSEmmanuel Vadot pins = "gpio16"; 4177d0873ebSEmmanuel Vadot function = "func2"; 4187d0873ebSEmmanuel Vadot 4197d0873ebSEmmanuel Vadot output-high; 4207d0873ebSEmmanuel Vadot power-source = <PMA8084_GPIO_S4>; 4217d0873ebSEmmanuel Vadot qcom,drive-strength = <PMIC_GPIO_STRENGTH_HIGH>; 4227d0873ebSEmmanuel Vadot }; 4237d0873ebSEmmanuel Vadot 4247d0873ebSEmmanuel Vadot panel_rst_pin: panel-rst-state { 4257d0873ebSEmmanuel Vadot pins = "gpio17"; 4267d0873ebSEmmanuel Vadot function = "normal"; 4277d0873ebSEmmanuel Vadot bias-disable; 4287d0873ebSEmmanuel Vadot power-source = <PMA8084_GPIO_S4>; 4297d0873ebSEmmanuel Vadot qcom,drive-strength = <PMIC_GPIO_STRENGTH_LOW>; 4307d0873ebSEmmanuel Vadot }; 4317d0873ebSEmmanuel Vadot 4327d0873ebSEmmanuel Vadot fuelgauge_pin: fuelgauge-int-state { 4337d0873ebSEmmanuel Vadot pins = "gpio21"; 4347d0873ebSEmmanuel Vadot function = "normal"; 4357d0873ebSEmmanuel Vadot bias-disable; 4367d0873ebSEmmanuel Vadot input-enable; 4377d0873ebSEmmanuel Vadot power-source = <PMA8084_GPIO_S4>; 4387d0873ebSEmmanuel Vadot }; 4397d0873ebSEmmanuel Vadot}; 4407d0873ebSEmmanuel Vadot 441*b2d2a78aSEmmanuel Vadot&reserved_memory { 442*b2d2a78aSEmmanuel Vadot ramoops@3e8e0000 { 443*b2d2a78aSEmmanuel Vadot compatible = "ramoops"; 444*b2d2a78aSEmmanuel Vadot reg = <0x3e8e0000 0x200000>; 445*b2d2a78aSEmmanuel Vadot 446*b2d2a78aSEmmanuel Vadot console-size = <0x100000>; 447*b2d2a78aSEmmanuel Vadot record-size = <0x10000>; 448*b2d2a78aSEmmanuel Vadot ftrace-size = <0x10000>; 449*b2d2a78aSEmmanuel Vadot pmsg-size = <0x80000>; 450*b2d2a78aSEmmanuel Vadot ecc-size = <8>; 451*b2d2a78aSEmmanuel Vadot }; 452*b2d2a78aSEmmanuel Vadot}; 453*b2d2a78aSEmmanuel Vadot 4547d0873ebSEmmanuel Vadot&remoteproc_adsp { 4557d0873ebSEmmanuel Vadot status = "okay"; 4567d0873ebSEmmanuel Vadot cx-supply = <&pma8084_s2>; 4577d0873ebSEmmanuel Vadot}; 4587d0873ebSEmmanuel Vadot 4597d0873ebSEmmanuel Vadot&remoteproc_mss { 4607d0873ebSEmmanuel Vadot status = "okay"; 4617d0873ebSEmmanuel Vadot cx-supply = <&pma8084_s2>; 4627d0873ebSEmmanuel Vadot mss-supply = <&pma8084_s6>; 4637d0873ebSEmmanuel Vadot mx-supply = <&pma8084_s1>; 4647d0873ebSEmmanuel Vadot pll-supply = <&pma8084_l12>; 4657d0873ebSEmmanuel Vadot}; 4667d0873ebSEmmanuel Vadot 4677d0873ebSEmmanuel Vadot&rpm_requests { 4687d0873ebSEmmanuel Vadot regulators-0 { 4697d0873ebSEmmanuel Vadot compatible = "qcom,rpm-pma8084-regulators"; 4707d0873ebSEmmanuel Vadot 4717d0873ebSEmmanuel Vadot pma8084_s1: s1 { 4727d0873ebSEmmanuel Vadot regulator-min-microvolt = <675000>; 4737d0873ebSEmmanuel Vadot regulator-max-microvolt = <1050000>; 4747d0873ebSEmmanuel Vadot regulator-always-on; 4757d0873ebSEmmanuel Vadot }; 4767d0873ebSEmmanuel Vadot 4777d0873ebSEmmanuel Vadot pma8084_s2: s2 { 4787d0873ebSEmmanuel Vadot regulator-min-microvolt = <500000>; 4797d0873ebSEmmanuel Vadot regulator-max-microvolt = <1050000>; 4807d0873ebSEmmanuel Vadot }; 4817d0873ebSEmmanuel Vadot 4827d0873ebSEmmanuel Vadot pma8084_s3: s3 { 4837d0873ebSEmmanuel Vadot regulator-min-microvolt = <1300000>; 4847d0873ebSEmmanuel Vadot regulator-max-microvolt = <1300000>; 4857d0873ebSEmmanuel Vadot }; 4867d0873ebSEmmanuel Vadot 4877d0873ebSEmmanuel Vadot pma8084_s4: s4 { 4887d0873ebSEmmanuel Vadot regulator-min-microvolt = <1800000>; 4897d0873ebSEmmanuel Vadot regulator-max-microvolt = <1800000>; 4907d0873ebSEmmanuel Vadot }; 4917d0873ebSEmmanuel Vadot 4927d0873ebSEmmanuel Vadot pma8084_s5: s5 { 4937d0873ebSEmmanuel Vadot regulator-min-microvolt = <2150000>; 4947d0873ebSEmmanuel Vadot regulator-max-microvolt = <2150000>; 4957d0873ebSEmmanuel Vadot }; 4967d0873ebSEmmanuel Vadot 4977d0873ebSEmmanuel Vadot pma8084_s6: s6 { 4987d0873ebSEmmanuel Vadot regulator-min-microvolt = <1050000>; 4997d0873ebSEmmanuel Vadot regulator-max-microvolt = <1050000>; 5007d0873ebSEmmanuel Vadot }; 5017d0873ebSEmmanuel Vadot 5027d0873ebSEmmanuel Vadot pma8084_l1: l1 { 5037d0873ebSEmmanuel Vadot regulator-min-microvolt = <1225000>; 5047d0873ebSEmmanuel Vadot regulator-max-microvolt = <1225000>; 5057d0873ebSEmmanuel Vadot }; 5067d0873ebSEmmanuel Vadot 5077d0873ebSEmmanuel Vadot pma8084_l2: l2 { 5087d0873ebSEmmanuel Vadot regulator-min-microvolt = <1200000>; 5097d0873ebSEmmanuel Vadot regulator-max-microvolt = <1200000>; 5107d0873ebSEmmanuel Vadot }; 5117d0873ebSEmmanuel Vadot 5127d0873ebSEmmanuel Vadot pma8084_l3: l3 { 5137d0873ebSEmmanuel Vadot regulator-min-microvolt = <1050000>; 5147d0873ebSEmmanuel Vadot regulator-max-microvolt = <1200000>; 5157d0873ebSEmmanuel Vadot }; 5167d0873ebSEmmanuel Vadot 5177d0873ebSEmmanuel Vadot pma8084_l4: l4 { 5187d0873ebSEmmanuel Vadot regulator-min-microvolt = <1200000>; 5197d0873ebSEmmanuel Vadot regulator-max-microvolt = <1225000>; 5207d0873ebSEmmanuel Vadot }; 5217d0873ebSEmmanuel Vadot 5227d0873ebSEmmanuel Vadot pma8084_l5: l5 { 5237d0873ebSEmmanuel Vadot regulator-min-microvolt = <1800000>; 5247d0873ebSEmmanuel Vadot regulator-max-microvolt = <1800000>; 5257d0873ebSEmmanuel Vadot }; 5267d0873ebSEmmanuel Vadot 5277d0873ebSEmmanuel Vadot pma8084_l6: l6 { 5287d0873ebSEmmanuel Vadot regulator-min-microvolt = <1800000>; 5297d0873ebSEmmanuel Vadot regulator-max-microvolt = <1800000>; 5307d0873ebSEmmanuel Vadot }; 5317d0873ebSEmmanuel Vadot 5327d0873ebSEmmanuel Vadot pma8084_l7: l7 { 5337d0873ebSEmmanuel Vadot regulator-min-microvolt = <1800000>; 5347d0873ebSEmmanuel Vadot regulator-max-microvolt = <1800000>; 5357d0873ebSEmmanuel Vadot }; 5367d0873ebSEmmanuel Vadot 5377d0873ebSEmmanuel Vadot pma8084_l8: l8 { 5387d0873ebSEmmanuel Vadot regulator-min-microvolt = <1800000>; 5397d0873ebSEmmanuel Vadot regulator-max-microvolt = <1800000>; 5407d0873ebSEmmanuel Vadot }; 5417d0873ebSEmmanuel Vadot 5427d0873ebSEmmanuel Vadot pma8084_l9: l9 { 5437d0873ebSEmmanuel Vadot regulator-min-microvolt = <1800000>; 5447d0873ebSEmmanuel Vadot regulator-max-microvolt = <2950000>; 5457d0873ebSEmmanuel Vadot }; 5467d0873ebSEmmanuel Vadot 5477d0873ebSEmmanuel Vadot pma8084_l10: l10 { 5487d0873ebSEmmanuel Vadot regulator-min-microvolt = <1800000>; 5497d0873ebSEmmanuel Vadot regulator-max-microvolt = <2950000>; 5507d0873ebSEmmanuel Vadot }; 5517d0873ebSEmmanuel Vadot 5527d0873ebSEmmanuel Vadot pma8084_l11: l11 { 5537d0873ebSEmmanuel Vadot regulator-min-microvolt = <1300000>; 5547d0873ebSEmmanuel Vadot regulator-max-microvolt = <1300000>; 5557d0873ebSEmmanuel Vadot }; 5567d0873ebSEmmanuel Vadot 5577d0873ebSEmmanuel Vadot pma8084_l12: l12 { 5587d0873ebSEmmanuel Vadot regulator-min-microvolt = <1800000>; 5597d0873ebSEmmanuel Vadot regulator-max-microvolt = <1800000>; 5607d0873ebSEmmanuel Vadot regulator-always-on; 5617d0873ebSEmmanuel Vadot }; 5627d0873ebSEmmanuel Vadot 5637d0873ebSEmmanuel Vadot pma8084_l13: l13 { 5647d0873ebSEmmanuel Vadot regulator-min-microvolt = <1800000>; 5657d0873ebSEmmanuel Vadot regulator-max-microvolt = <2950000>; 5667d0873ebSEmmanuel Vadot }; 5677d0873ebSEmmanuel Vadot 5687d0873ebSEmmanuel Vadot pma8084_l14: l14 { 5697d0873ebSEmmanuel Vadot regulator-min-microvolt = <1800000>; 5707d0873ebSEmmanuel Vadot regulator-max-microvolt = <1800000>; 5717d0873ebSEmmanuel Vadot }; 5727d0873ebSEmmanuel Vadot 5737d0873ebSEmmanuel Vadot pma8084_l15: l15 { 5747d0873ebSEmmanuel Vadot regulator-min-microvolt = <2050000>; 5757d0873ebSEmmanuel Vadot regulator-max-microvolt = <2050000>; 5767d0873ebSEmmanuel Vadot }; 5777d0873ebSEmmanuel Vadot 5787d0873ebSEmmanuel Vadot pma8084_l16: l16 { 5797d0873ebSEmmanuel Vadot regulator-min-microvolt = <2700000>; 5807d0873ebSEmmanuel Vadot regulator-max-microvolt = <2700000>; 5817d0873ebSEmmanuel Vadot }; 5827d0873ebSEmmanuel Vadot 5837d0873ebSEmmanuel Vadot pma8084_l17: l17 { 5847d0873ebSEmmanuel Vadot regulator-min-microvolt = <2850000>; 5857d0873ebSEmmanuel Vadot regulator-max-microvolt = <2850000>; 5867d0873ebSEmmanuel Vadot }; 5877d0873ebSEmmanuel Vadot 5887d0873ebSEmmanuel Vadot pma8084_l18: l18 { 5897d0873ebSEmmanuel Vadot regulator-min-microvolt = <2850000>; 5907d0873ebSEmmanuel Vadot regulator-max-microvolt = <2850000>; 5917d0873ebSEmmanuel Vadot }; 5927d0873ebSEmmanuel Vadot 5937d0873ebSEmmanuel Vadot pma8084_l19: l19 { 5947d0873ebSEmmanuel Vadot regulator-min-microvolt = <3300000>; 5957d0873ebSEmmanuel Vadot regulator-max-microvolt = <3300000>; 5967d0873ebSEmmanuel Vadot }; 5977d0873ebSEmmanuel Vadot 5987d0873ebSEmmanuel Vadot pma8084_l20: l20 { 5997d0873ebSEmmanuel Vadot regulator-min-microvolt = <2950000>; 6007d0873ebSEmmanuel Vadot regulator-max-microvolt = <2950000>; 6017d0873ebSEmmanuel Vadot regulator-system-load = <200000>; 6027d0873ebSEmmanuel Vadot regulator-allow-set-load; 6037d0873ebSEmmanuel Vadot }; 6047d0873ebSEmmanuel Vadot 6057d0873ebSEmmanuel Vadot pma8084_l21: l21 { 6067d0873ebSEmmanuel Vadot regulator-min-microvolt = <2950000>; 6077d0873ebSEmmanuel Vadot regulator-max-microvolt = <2950000>; 6087d0873ebSEmmanuel Vadot regulator-system-load = <200000>; 6097d0873ebSEmmanuel Vadot regulator-allow-set-load; 6107d0873ebSEmmanuel Vadot }; 6117d0873ebSEmmanuel Vadot 6127d0873ebSEmmanuel Vadot pma8084_l22: l22 { 6137d0873ebSEmmanuel Vadot regulator-min-microvolt = <3000000>; 6147d0873ebSEmmanuel Vadot regulator-max-microvolt = <3300000>; 6157d0873ebSEmmanuel Vadot }; 6167d0873ebSEmmanuel Vadot 6177d0873ebSEmmanuel Vadot pma8084_l23: l23 { 6187d0873ebSEmmanuel Vadot regulator-min-microvolt = <3000000>; 6197d0873ebSEmmanuel Vadot regulator-max-microvolt = <3000000>; 6207d0873ebSEmmanuel Vadot }; 6217d0873ebSEmmanuel Vadot 6227d0873ebSEmmanuel Vadot pma8084_l24: l24 { 6237d0873ebSEmmanuel Vadot regulator-min-microvolt = <3075000>; 6247d0873ebSEmmanuel Vadot regulator-max-microvolt = <3075000>; 6257d0873ebSEmmanuel Vadot }; 6267d0873ebSEmmanuel Vadot 6277d0873ebSEmmanuel Vadot pma8084_l25: l25 { 6287d0873ebSEmmanuel Vadot regulator-min-microvolt = <2100000>; 6297d0873ebSEmmanuel Vadot regulator-max-microvolt = <2100000>; 6307d0873ebSEmmanuel Vadot }; 6317d0873ebSEmmanuel Vadot 6327d0873ebSEmmanuel Vadot pma8084_l26: l26 { 6337d0873ebSEmmanuel Vadot regulator-min-microvolt = <1800000>; 6347d0873ebSEmmanuel Vadot regulator-max-microvolt = <2050000>; 6357d0873ebSEmmanuel Vadot }; 6367d0873ebSEmmanuel Vadot 6377d0873ebSEmmanuel Vadot pma8084_l27: l27 { 6387d0873ebSEmmanuel Vadot regulator-min-microvolt = <1000000>; 6397d0873ebSEmmanuel Vadot regulator-max-microvolt = <1225000>; 6407d0873ebSEmmanuel Vadot }; 6417d0873ebSEmmanuel Vadot 6427d0873ebSEmmanuel Vadot pma8084_lvs1: lvs1 {}; 6437d0873ebSEmmanuel Vadot pma8084_lvs2: lvs2 {}; 6447d0873ebSEmmanuel Vadot pma8084_lvs3: lvs3 {}; 6457d0873ebSEmmanuel Vadot pma8084_lvs4: lvs4 {}; 6467d0873ebSEmmanuel Vadot 6477d0873ebSEmmanuel Vadot pma8084_5vs1: 5vs1 {}; 6487d0873ebSEmmanuel Vadot }; 6497d0873ebSEmmanuel Vadot}; 6507d0873ebSEmmanuel Vadot 6517d0873ebSEmmanuel Vadot&sdhc_1 { 6527d0873ebSEmmanuel Vadot status = "okay"; 6537d0873ebSEmmanuel Vadot 6547d0873ebSEmmanuel Vadot vmmc-supply = <&pma8084_l20>; 6557d0873ebSEmmanuel Vadot vqmmc-supply = <&pma8084_s4>; 6567d0873ebSEmmanuel Vadot 6577d0873ebSEmmanuel Vadot pinctrl-names = "default", "sleep"; 6587d0873ebSEmmanuel Vadot pinctrl-0 = <&sdc1_on>; 6597d0873ebSEmmanuel Vadot pinctrl-1 = <&sdc1_off>; 6607d0873ebSEmmanuel Vadot}; 6617d0873ebSEmmanuel Vadot 6627d0873ebSEmmanuel Vadot&sdhc_2 { 6637d0873ebSEmmanuel Vadot status = "okay"; 6647d0873ebSEmmanuel Vadot max-frequency = <100000000>; 6657d0873ebSEmmanuel Vadot vmmc-supply = <&vreg_wlan>; 6667d0873ebSEmmanuel Vadot vqmmc-supply = <&pma8084_s4>; 6677d0873ebSEmmanuel Vadot non-removable; 6687d0873ebSEmmanuel Vadot 6697d0873ebSEmmanuel Vadot pinctrl-names = "default", "sleep"; 6707d0873ebSEmmanuel Vadot pinctrl-0 = <&sdc2_on>; 6717d0873ebSEmmanuel Vadot pinctrl-1 = <&sdc2_off>; 6727d0873ebSEmmanuel Vadot 6737d0873ebSEmmanuel Vadot wifi@1 { 6747d0873ebSEmmanuel Vadot reg = <1>; 6757d0873ebSEmmanuel Vadot compatible = "brcm,bcm4329-fmac"; 6767d0873ebSEmmanuel Vadot 6777d0873ebSEmmanuel Vadot /* 6787d0873ebSEmmanuel Vadot * Allow all klte* variants to load the same NVRAM file, 6797d0873ebSEmmanuel Vadot * as they have little difference in the WiFi part. 6807d0873ebSEmmanuel Vadot */ 6817d0873ebSEmmanuel Vadot brcm,board-type = "samsung,klte"; 6827d0873ebSEmmanuel Vadot 6837d0873ebSEmmanuel Vadot interrupt-parent = <&tlmm>; 6847d0873ebSEmmanuel Vadot interrupts = <92 IRQ_TYPE_LEVEL_HIGH>; 6857d0873ebSEmmanuel Vadot interrupt-names = "host-wake"; 6867d0873ebSEmmanuel Vadot 6877d0873ebSEmmanuel Vadot pinctrl-names = "default"; 6887d0873ebSEmmanuel Vadot pinctrl-0 = <&wlan_sleep_clk_pin &wifi_pin>; 6897d0873ebSEmmanuel Vadot }; 6907d0873ebSEmmanuel Vadot}; 6917d0873ebSEmmanuel Vadot 6927d0873ebSEmmanuel Vadot&sdhc_3 { 6937d0873ebSEmmanuel Vadot status = "okay"; 6947d0873ebSEmmanuel Vadot max-frequency = <100000000>; 6957d0873ebSEmmanuel Vadot vmmc-supply = <&pma8084_l21>; 6967d0873ebSEmmanuel Vadot vqmmc-supply = <&pma8084_l13>; 6977d0873ebSEmmanuel Vadot 6987d0873ebSEmmanuel Vadot /* 6997d0873ebSEmmanuel Vadot * cd-gpio is intentionally disabled. If enabled, an SD card 7007d0873ebSEmmanuel Vadot * present during boot is not initialized correctly. Without 7017d0873ebSEmmanuel Vadot * cd-gpios the driver resorts to polling, so hotplug works. 7027d0873ebSEmmanuel Vadot */ 7037d0873ebSEmmanuel Vadot pinctrl-names = "default"; 7047d0873ebSEmmanuel Vadot pinctrl-0 = <&sdc3_on /* &sdhc3_cd_pin */>; 7057d0873ebSEmmanuel Vadot /* cd-gpios = <&tlmm 62 GPIO_ACTIVE_LOW>; */ 7067d0873ebSEmmanuel Vadot}; 7077d0873ebSEmmanuel Vadot 7087d0873ebSEmmanuel Vadot&tlmm { 7097d0873ebSEmmanuel Vadot /* This seems suspicious, but somebody with this device should look into it. */ 7107d0873ebSEmmanuel Vadot blsp2_uart2_pins_active: blsp2-uart2-pins-active-state { 7117d0873ebSEmmanuel Vadot pins = "gpio45", "gpio46", "gpio47", "gpio48"; 7127d0873ebSEmmanuel Vadot function = "blsp_uart8"; 7137d0873ebSEmmanuel Vadot drive-strength = <8>; 7147d0873ebSEmmanuel Vadot bias-disable; 7157d0873ebSEmmanuel Vadot }; 7167d0873ebSEmmanuel Vadot 7177d0873ebSEmmanuel Vadot blsp2_uart2_pins_sleep: blsp2-uart2-pins-sleep-state { 7187d0873ebSEmmanuel Vadot pins = "gpio45", "gpio46", "gpio47", "gpio48"; 7197d0873ebSEmmanuel Vadot function = "gpio"; 7207d0873ebSEmmanuel Vadot drive-strength = <2>; 7217d0873ebSEmmanuel Vadot bias-pull-down; 7227d0873ebSEmmanuel Vadot }; 7237d0873ebSEmmanuel Vadot 7247d0873ebSEmmanuel Vadot bt_pins: bt-pins-state { 7257d0873ebSEmmanuel Vadot hostwake-pins { 7267d0873ebSEmmanuel Vadot pins = "gpio75"; 7277d0873ebSEmmanuel Vadot function = "gpio"; 7287d0873ebSEmmanuel Vadot drive-strength = <16>; 7297d0873ebSEmmanuel Vadot }; 7307d0873ebSEmmanuel Vadot 7317d0873ebSEmmanuel Vadot devwake-pins { 7327d0873ebSEmmanuel Vadot pins = "gpio91"; 7337d0873ebSEmmanuel Vadot function = "gpio"; 7347d0873ebSEmmanuel Vadot drive-strength = <2>; 7357d0873ebSEmmanuel Vadot }; 7367d0873ebSEmmanuel Vadot }; 7377d0873ebSEmmanuel Vadot 7387d0873ebSEmmanuel Vadot sdc1_on: sdhc1-on-state { 7397d0873ebSEmmanuel Vadot clk-pins { 7407d0873ebSEmmanuel Vadot pins = "sdc1_clk"; 7417d0873ebSEmmanuel Vadot drive-strength = <4>; 7427d0873ebSEmmanuel Vadot bias-disable; 7437d0873ebSEmmanuel Vadot }; 7447d0873ebSEmmanuel Vadot 7457d0873ebSEmmanuel Vadot cmd-data-pins { 7467d0873ebSEmmanuel Vadot pins = "sdc1_cmd", "sdc1_data"; 7477d0873ebSEmmanuel Vadot drive-strength = <4>; 7487d0873ebSEmmanuel Vadot bias-pull-up; 7497d0873ebSEmmanuel Vadot }; 7507d0873ebSEmmanuel Vadot }; 7517d0873ebSEmmanuel Vadot 7527d0873ebSEmmanuel Vadot sdc3_on: sdc3-on-state { 7537d0873ebSEmmanuel Vadot pins = "gpio35", "gpio36", "gpio37", "gpio38", "gpio39", "gpio40"; 7547d0873ebSEmmanuel Vadot function = "sdc3"; 7557d0873ebSEmmanuel Vadot drive-strength = <8>; 7567d0873ebSEmmanuel Vadot bias-disable; 7577d0873ebSEmmanuel Vadot }; 7587d0873ebSEmmanuel Vadot 7597d0873ebSEmmanuel Vadot sdhc3_cd_pin: sdc3-cd-on-state { 7607d0873ebSEmmanuel Vadot pins = "gpio62"; 7617d0873ebSEmmanuel Vadot function = "gpio"; 7627d0873ebSEmmanuel Vadot 7637d0873ebSEmmanuel Vadot drive-strength = <2>; 7647d0873ebSEmmanuel Vadot bias-disable; 7657d0873ebSEmmanuel Vadot }; 7667d0873ebSEmmanuel Vadot 7677d0873ebSEmmanuel Vadot sdc2_on: sdhc2-on-state { 7687d0873ebSEmmanuel Vadot clk-pins { 7697d0873ebSEmmanuel Vadot pins = "sdc2_clk"; 7707d0873ebSEmmanuel Vadot drive-strength = <6>; 7717d0873ebSEmmanuel Vadot bias-disable; 7727d0873ebSEmmanuel Vadot }; 7737d0873ebSEmmanuel Vadot 7747d0873ebSEmmanuel Vadot cmd-data-pins { 7757d0873ebSEmmanuel Vadot pins = "sdc2_cmd", "sdc2_data"; 7767d0873ebSEmmanuel Vadot drive-strength = <6>; 7777d0873ebSEmmanuel Vadot bias-pull-up; 7787d0873ebSEmmanuel Vadot }; 7797d0873ebSEmmanuel Vadot }; 7807d0873ebSEmmanuel Vadot 7817d0873ebSEmmanuel Vadot i2c_touchkey_pins: i2c-touchkey-state { 7827d0873ebSEmmanuel Vadot pins = "gpio95", "gpio96"; 7837d0873ebSEmmanuel Vadot function = "gpio"; 7847d0873ebSEmmanuel Vadot bias-pull-up; 7857d0873ebSEmmanuel Vadot }; 7867d0873ebSEmmanuel Vadot 7877d0873ebSEmmanuel Vadot i2c_led_gpioex_pins: i2c-led-gpioex-state { 7887d0873ebSEmmanuel Vadot function = "gpio"; 7897d0873ebSEmmanuel Vadot bias-pull-down; 7907d0873ebSEmmanuel Vadot }; 7917d0873ebSEmmanuel Vadot 7927d0873ebSEmmanuel Vadot gpioex_pin: gpioex-state { 7937d0873ebSEmmanuel Vadot pins = "gpio145"; 7947d0873ebSEmmanuel Vadot function = "gpio"; 7957d0873ebSEmmanuel Vadot bias-pull-up; 7967d0873ebSEmmanuel Vadot drive-strength = <2>; 7977d0873ebSEmmanuel Vadot }; 7987d0873ebSEmmanuel Vadot 7997d0873ebSEmmanuel Vadot wifi_pin: wifi-state { 8007d0873ebSEmmanuel Vadot pins = "gpio92"; 8017d0873ebSEmmanuel Vadot function = "gpio"; 8027d0873ebSEmmanuel Vadot bias-pull-down; 8037d0873ebSEmmanuel Vadot }; 8047d0873ebSEmmanuel Vadot 8057d0873ebSEmmanuel Vadot panel_te_pin: panel-state { 8067d0873ebSEmmanuel Vadot pins = "gpio12"; 8077d0873ebSEmmanuel Vadot function = "mdp_vsync"; 8087d0873ebSEmmanuel Vadot drive-strength = <2>; 8097d0873ebSEmmanuel Vadot bias-disable; 8107d0873ebSEmmanuel Vadot }; 8117d0873ebSEmmanuel Vadot}; 8127d0873ebSEmmanuel Vadot 8137d0873ebSEmmanuel Vadot&usb { 8147d0873ebSEmmanuel Vadot status = "okay"; 8157d0873ebSEmmanuel Vadot 8167d0873ebSEmmanuel Vadot phys = <&usb_hs1_phy>; 8177d0873ebSEmmanuel Vadot phy-select = <&tcsr 0xb000 0>; 8187d0873ebSEmmanuel Vadot 8197d0873ebSEmmanuel Vadot hnp-disable; 8207d0873ebSEmmanuel Vadot srp-disable; 8217d0873ebSEmmanuel Vadot adp-disable; 8227d0873ebSEmmanuel Vadot}; 8237d0873ebSEmmanuel Vadot 8247d0873ebSEmmanuel Vadot&usb_hs1_phy { 8257d0873ebSEmmanuel Vadot status = "okay"; 8267d0873ebSEmmanuel Vadot 8277d0873ebSEmmanuel Vadot v1p8-supply = <&pma8084_l6>; 8287d0873ebSEmmanuel Vadot v3p3-supply = <&pma8084_l24>; 8297d0873ebSEmmanuel Vadot 8307d0873ebSEmmanuel Vadot qcom,init-seq = /bits/ 8 <0x1 0x64>; 8317d0873ebSEmmanuel Vadot}; 832