16be33864SEmmanuel Vadot// SPDX-License-Identifier: BSD-3-Clause 26be33864SEmmanuel Vadot/* 36be33864SEmmanuel Vadot * Copyright (c) 2020, Linaro Ltd. 46be33864SEmmanuel Vadot */ 56be33864SEmmanuel Vadot 66be33864SEmmanuel Vadot/dts-v1/; 76be33864SEmmanuel Vadot 8b97ee269SEmmanuel Vadot#include <dt-bindings/leds/common.h> 96be33864SEmmanuel Vadot#include <dt-bindings/regulator/qcom,rpmh-regulator.h> 105def4c47SEmmanuel Vadot#include <dt-bindings/sound/qcom,q6afe.h> 115def4c47SEmmanuel Vadot#include <dt-bindings/sound/qcom,q6asm.h> 1284943d6fSEmmanuel Vadot#include <dt-bindings/usb/pd.h> 136be33864SEmmanuel Vadot#include "sm8250.dtsi" 146be33864SEmmanuel Vadot#include "pm8150.dtsi" 156be33864SEmmanuel Vadot#include "pm8150b.dtsi" 166be33864SEmmanuel Vadot#include "pm8150l.dtsi" 176be33864SEmmanuel Vadot 186be33864SEmmanuel Vadot/ { 196be33864SEmmanuel Vadot model = "Qualcomm Technologies, Inc. Robotics RB5"; 206be33864SEmmanuel Vadot compatible = "qcom,qrb5165-rb5", "qcom,sm8250"; 218cc087a1SEmmanuel Vadot qcom,msm-id = <455 0x20001>; 228cc087a1SEmmanuel Vadot qcom,board-id = <11 3>; 236be33864SEmmanuel Vadot 246be33864SEmmanuel Vadot aliases { 256be33864SEmmanuel Vadot serial0 = &uart12; 268d13bc63SEmmanuel Vadot serial1 = &uart6; 275def4c47SEmmanuel Vadot sdhc2 = &sdhc_2; 286be33864SEmmanuel Vadot }; 296be33864SEmmanuel Vadot 306be33864SEmmanuel Vadot chosen { 316be33864SEmmanuel Vadot stdout-path = "serial0:115200n8"; 326be33864SEmmanuel Vadot }; 336be33864SEmmanuel Vadot 345def4c47SEmmanuel Vadot /* Fixed crystal oscillator dedicated to MCP2518FD */ 35d5b0e70fSEmmanuel Vadot clk40M: can-clock { 365def4c47SEmmanuel Vadot compatible = "fixed-clock"; 375def4c47SEmmanuel Vadot #clock-cells = <0>; 385def4c47SEmmanuel Vadot clock-frequency = <40000000>; 395def4c47SEmmanuel Vadot }; 405def4c47SEmmanuel Vadot 416be33864SEmmanuel Vadot dc12v: dc12v-regulator { 426be33864SEmmanuel Vadot compatible = "regulator-fixed"; 436be33864SEmmanuel Vadot regulator-name = "DC12V"; 446be33864SEmmanuel Vadot regulator-min-microvolt = <12000000>; 456be33864SEmmanuel Vadot regulator-max-microvolt = <12000000>; 466be33864SEmmanuel Vadot regulator-always-on; 476be33864SEmmanuel Vadot }; 486be33864SEmmanuel Vadot 495def4c47SEmmanuel Vadot hdmi-out { 505def4c47SEmmanuel Vadot compatible = "hdmi-connector"; 515def4c47SEmmanuel Vadot type = "a"; 525def4c47SEmmanuel Vadot 535def4c47SEmmanuel Vadot port { 545def4c47SEmmanuel Vadot hdmi_con: endpoint { 555def4c47SEmmanuel Vadot remote-endpoint = <<9611_out>; 565def4c47SEmmanuel Vadot }; 575def4c47SEmmanuel Vadot }; 585def4c47SEmmanuel Vadot }; 595def4c47SEmmanuel Vadot 606be33864SEmmanuel Vadot leds { 616be33864SEmmanuel Vadot compatible = "gpio-leds"; 626be33864SEmmanuel Vadot 63b97ee269SEmmanuel Vadot led-user4 { 646be33864SEmmanuel Vadot label = "green:user4"; 65b97ee269SEmmanuel Vadot function = LED_FUNCTION_INDICATOR; 66b97ee269SEmmanuel Vadot color = <LED_COLOR_ID_GREEN>; 676be33864SEmmanuel Vadot gpios = <&pm8150_gpios 10 GPIO_ACTIVE_HIGH>; 686be33864SEmmanuel Vadot default-state = "off"; 698d13bc63SEmmanuel Vadot panic-indicator; 706be33864SEmmanuel Vadot }; 716be33864SEmmanuel Vadot 72b97ee269SEmmanuel Vadot led-wlan { 736be33864SEmmanuel Vadot label = "yellow:wlan"; 74b97ee269SEmmanuel Vadot function = LED_FUNCTION_WLAN; 75b97ee269SEmmanuel Vadot color = <LED_COLOR_ID_YELLOW>; 766be33864SEmmanuel Vadot gpios = <&pm8150_gpios 9 GPIO_ACTIVE_HIGH>; 776be33864SEmmanuel Vadot linux,default-trigger = "phy0tx"; 786be33864SEmmanuel Vadot default-state = "off"; 796be33864SEmmanuel Vadot }; 806be33864SEmmanuel Vadot 81b97ee269SEmmanuel Vadot led-bt { 826be33864SEmmanuel Vadot label = "blue:bt"; 83b97ee269SEmmanuel Vadot function = LED_FUNCTION_BLUETOOTH; 84b97ee269SEmmanuel Vadot color = <LED_COLOR_ID_BLUE>; 856be33864SEmmanuel Vadot gpios = <&pm8150_gpios 7 GPIO_ACTIVE_HIGH>; 866be33864SEmmanuel Vadot linux,default-trigger = "bluetooth-power"; 876be33864SEmmanuel Vadot default-state = "off"; 886be33864SEmmanuel Vadot }; 896be33864SEmmanuel Vadot }; 906be33864SEmmanuel Vadot 915def4c47SEmmanuel Vadot lt9611_1v2: lt9611-vdd12-regulator { 925def4c47SEmmanuel Vadot compatible = "regulator-fixed"; 935def4c47SEmmanuel Vadot regulator-name = "LT9611_1V2"; 945def4c47SEmmanuel Vadot 955def4c47SEmmanuel Vadot vin-supply = <&vdc_3v3>; 965def4c47SEmmanuel Vadot regulator-min-microvolt = <1200000>; 975def4c47SEmmanuel Vadot regulator-max-microvolt = <1200000>; 985def4c47SEmmanuel Vadot }; 995def4c47SEmmanuel Vadot 1005def4c47SEmmanuel Vadot lt9611_3v3: lt9611-3v3 { 1015def4c47SEmmanuel Vadot compatible = "regulator-fixed"; 1025def4c47SEmmanuel Vadot regulator-name = "LT9611_3V3"; 1035def4c47SEmmanuel Vadot 1045def4c47SEmmanuel Vadot vin-supply = <&vdc_3v3>; 1055def4c47SEmmanuel Vadot regulator-min-microvolt = <3300000>; 1065def4c47SEmmanuel Vadot regulator-max-microvolt = <3300000>; 1075def4c47SEmmanuel Vadot regulator-boot-on; 1085def4c47SEmmanuel Vadot regulator-always-on; 1095def4c47SEmmanuel Vadot }; 1105def4c47SEmmanuel Vadot 111*0e8011faSEmmanuel Vadot qca6390-pmu { 112*0e8011faSEmmanuel Vadot compatible = "qcom,qca6390-pmu"; 113*0e8011faSEmmanuel Vadot 114*0e8011faSEmmanuel Vadot pinctrl-names = "default"; 115*0e8011faSEmmanuel Vadot pinctrl-0 = <&bt_en_state>, <&wlan_en_state>; 116*0e8011faSEmmanuel Vadot 117*0e8011faSEmmanuel Vadot vddaon-supply = <&vreg_s6a_0p95>; 118*0e8011faSEmmanuel Vadot vddpmu-supply = <&vreg_s2f_0p95>; 119*0e8011faSEmmanuel Vadot vddrfa0p95-supply = <&vreg_s2f_0p95>; 120*0e8011faSEmmanuel Vadot vddrfa1p3-supply = <&vreg_s8c_1p3>; 121*0e8011faSEmmanuel Vadot vddrfa1p9-supply = <&vreg_s5a_1p9>; 122*0e8011faSEmmanuel Vadot vddpcie1p3-supply = <&vreg_s8c_1p3>; 123*0e8011faSEmmanuel Vadot vddpcie1p9-supply = <&vreg_s5a_1p9>; 124*0e8011faSEmmanuel Vadot vddio-supply = <&vreg_s4a_1p8>; 125*0e8011faSEmmanuel Vadot 126*0e8011faSEmmanuel Vadot wlan-enable-gpios = <&tlmm 20 GPIO_ACTIVE_HIGH>; 127*0e8011faSEmmanuel Vadot bt-enable-gpios = <&tlmm 21 GPIO_ACTIVE_HIGH>; 128*0e8011faSEmmanuel Vadot 129*0e8011faSEmmanuel Vadot regulators { 130*0e8011faSEmmanuel Vadot vreg_pmu_rfa_cmn: ldo0 { 131*0e8011faSEmmanuel Vadot regulator-name = "vreg_pmu_rfa_cmn"; 132*0e8011faSEmmanuel Vadot }; 133*0e8011faSEmmanuel Vadot 134*0e8011faSEmmanuel Vadot vreg_pmu_aon_0p59: ldo1 { 135*0e8011faSEmmanuel Vadot regulator-name = "vreg_pmu_aon_0p59"; 136*0e8011faSEmmanuel Vadot }; 137*0e8011faSEmmanuel Vadot 138*0e8011faSEmmanuel Vadot vreg_pmu_wlcx_0p8: ldo2 { 139*0e8011faSEmmanuel Vadot regulator-name = "vreg_pmu_wlcx_0p8"; 140*0e8011faSEmmanuel Vadot }; 141*0e8011faSEmmanuel Vadot 142*0e8011faSEmmanuel Vadot vreg_pmu_wlmx_0p85: ldo3 { 143*0e8011faSEmmanuel Vadot regulator-name = "vreg_pmu_wlmx_0p85"; 144*0e8011faSEmmanuel Vadot }; 145*0e8011faSEmmanuel Vadot 146*0e8011faSEmmanuel Vadot vreg_pmu_btcmx_0p85: ldo4 { 147*0e8011faSEmmanuel Vadot regulator-name = "vreg_pmu_btcmx_0p85"; 148*0e8011faSEmmanuel Vadot }; 149*0e8011faSEmmanuel Vadot 150*0e8011faSEmmanuel Vadot vreg_pmu_rfa_0p8: ldo5 { 151*0e8011faSEmmanuel Vadot regulator-name = "vreg_pmu_rfa_0p8"; 152*0e8011faSEmmanuel Vadot }; 153*0e8011faSEmmanuel Vadot 154*0e8011faSEmmanuel Vadot vreg_pmu_rfa_1p2: ldo6 { 155*0e8011faSEmmanuel Vadot regulator-name = "vreg_pmu_rfa_1p2"; 156*0e8011faSEmmanuel Vadot }; 157*0e8011faSEmmanuel Vadot 158*0e8011faSEmmanuel Vadot vreg_pmu_rfa_1p7: ldo7 { 159*0e8011faSEmmanuel Vadot regulator-name = "vreg_pmu_rfa_1p7"; 160*0e8011faSEmmanuel Vadot }; 161*0e8011faSEmmanuel Vadot 162*0e8011faSEmmanuel Vadot vreg_pmu_pcie_0p9: ldo8 { 163*0e8011faSEmmanuel Vadot regulator-name = "vreg_pmu_pcie_0p9"; 164*0e8011faSEmmanuel Vadot }; 165*0e8011faSEmmanuel Vadot 166*0e8011faSEmmanuel Vadot vreg_pmu_pcie_1p8: ldo9 { 167*0e8011faSEmmanuel Vadot regulator-name = "vreg_pmu_pcie_1p8"; 168*0e8011faSEmmanuel Vadot }; 169*0e8011faSEmmanuel Vadot }; 170*0e8011faSEmmanuel Vadot }; 171*0e8011faSEmmanuel Vadot 1725def4c47SEmmanuel Vadot thermal-zones { 1735def4c47SEmmanuel Vadot conn-thermal { 1745def4c47SEmmanuel Vadot thermal-sensors = <&pm8150b_adc_tm 0>; 1755def4c47SEmmanuel Vadot 1765def4c47SEmmanuel Vadot trips { 1775def4c47SEmmanuel Vadot active-config0 { 1785def4c47SEmmanuel Vadot temperature = <125000>; 1795def4c47SEmmanuel Vadot hysteresis = <1000>; 1805def4c47SEmmanuel Vadot type = "critical"; 1815def4c47SEmmanuel Vadot }; 1825def4c47SEmmanuel Vadot }; 1835def4c47SEmmanuel Vadot }; 1845def4c47SEmmanuel Vadot 185f126890aSEmmanuel Vadot pm8150l-pcb-thermal { 1865def4c47SEmmanuel Vadot thermal-sensors = <&pm8150l_adc_tm 1>; 1875def4c47SEmmanuel Vadot 1885def4c47SEmmanuel Vadot trips { 1895def4c47SEmmanuel Vadot active-config0 { 1905def4c47SEmmanuel Vadot temperature = <50000>; 1915def4c47SEmmanuel Vadot hysteresis = <4000>; 1925def4c47SEmmanuel Vadot type = "passive"; 1935def4c47SEmmanuel Vadot }; 1945def4c47SEmmanuel Vadot }; 1955def4c47SEmmanuel Vadot }; 1965def4c47SEmmanuel Vadot 1975def4c47SEmmanuel Vadot skin-msm-thermal { 1985def4c47SEmmanuel Vadot thermal-sensors = <&pm8150l_adc_tm 0>; 1995def4c47SEmmanuel Vadot 2005def4c47SEmmanuel Vadot trips { 2015def4c47SEmmanuel Vadot active-config0 { 2025def4c47SEmmanuel Vadot temperature = <50000>; 2035def4c47SEmmanuel Vadot hysteresis = <4000>; 2045def4c47SEmmanuel Vadot type = "passive"; 2055def4c47SEmmanuel Vadot }; 2065def4c47SEmmanuel Vadot }; 2075def4c47SEmmanuel Vadot }; 2085def4c47SEmmanuel Vadot 2095def4c47SEmmanuel Vadot wifi-thermal { 2105def4c47SEmmanuel Vadot thermal-sensors = <&pm8150_adc_tm 1>; 2115def4c47SEmmanuel Vadot 2125def4c47SEmmanuel Vadot trips { 2135def4c47SEmmanuel Vadot active-config0 { 2145def4c47SEmmanuel Vadot temperature = <52000>; 2155def4c47SEmmanuel Vadot hysteresis = <4000>; 2165def4c47SEmmanuel Vadot type = "passive"; 2175def4c47SEmmanuel Vadot }; 2185def4c47SEmmanuel Vadot }; 2195def4c47SEmmanuel Vadot }; 2205def4c47SEmmanuel Vadot 2215def4c47SEmmanuel Vadot xo-thermal { 2225def4c47SEmmanuel Vadot thermal-sensors = <&pm8150_adc_tm 0>; 2235def4c47SEmmanuel Vadot 2245def4c47SEmmanuel Vadot trips { 2255def4c47SEmmanuel Vadot active-config0 { 2265def4c47SEmmanuel Vadot temperature = <50000>; 2275def4c47SEmmanuel Vadot hysteresis = <4000>; 2285def4c47SEmmanuel Vadot type = "passive"; 2295def4c47SEmmanuel Vadot }; 2305def4c47SEmmanuel Vadot }; 2315def4c47SEmmanuel Vadot }; 2325def4c47SEmmanuel Vadot }; 2335def4c47SEmmanuel Vadot 2346be33864SEmmanuel Vadot vbat: vbat-regulator { 2356be33864SEmmanuel Vadot compatible = "regulator-fixed"; 2366be33864SEmmanuel Vadot regulator-name = "VBAT"; 2376be33864SEmmanuel Vadot vin-supply = <&vreg_l11c_3p3>; 2386be33864SEmmanuel Vadot regulator-min-microvolt = <4200000>; 2396be33864SEmmanuel Vadot regulator-max-microvolt = <4200000>; 2406be33864SEmmanuel Vadot regulator-always-on; 2416be33864SEmmanuel Vadot }; 2426be33864SEmmanuel Vadot 2436be33864SEmmanuel Vadot vbat_som: vbat-som-regulator { 2446be33864SEmmanuel Vadot compatible = "regulator-fixed"; 2456be33864SEmmanuel Vadot regulator-name = "VBAT_SOM"; 2466be33864SEmmanuel Vadot vin-supply = <&dc12v>; 2476be33864SEmmanuel Vadot regulator-min-microvolt = <4200000>; 2486be33864SEmmanuel Vadot regulator-max-microvolt = <4200000>; 2496be33864SEmmanuel Vadot regulator-always-on; 2506be33864SEmmanuel Vadot }; 2516be33864SEmmanuel Vadot 2526be33864SEmmanuel Vadot vdc_3v3: vdc-3v3-regulator { 2536be33864SEmmanuel Vadot compatible = "regulator-fixed"; 2546be33864SEmmanuel Vadot regulator-name = "VDC_3V3"; 2555def4c47SEmmanuel Vadot vin-supply = <&vreg_l11c_3p3>; 2566be33864SEmmanuel Vadot regulator-min-microvolt = <3300000>; 2576be33864SEmmanuel Vadot regulator-max-microvolt = <3300000>; 2586be33864SEmmanuel Vadot regulator-always-on; 2596be33864SEmmanuel Vadot }; 2606be33864SEmmanuel Vadot 2616be33864SEmmanuel Vadot vdc_5v: vdc-5v-regulator { 2626be33864SEmmanuel Vadot compatible = "regulator-fixed"; 2636be33864SEmmanuel Vadot regulator-name = "VDC_5V"; 2646be33864SEmmanuel Vadot 2656be33864SEmmanuel Vadot regulator-min-microvolt = <5000000>; 2666be33864SEmmanuel Vadot regulator-max-microvolt = <5000000>; 2676be33864SEmmanuel Vadot regulator-always-on; 2686be33864SEmmanuel Vadot vin-supply = <&vreg_l11c_3p3>; 2696be33864SEmmanuel Vadot }; 2706be33864SEmmanuel Vadot 2716be33864SEmmanuel Vadot vph_pwr: vph-pwr-regulator { 2726be33864SEmmanuel Vadot compatible = "regulator-fixed"; 2736be33864SEmmanuel Vadot regulator-name = "vph_pwr"; 2746be33864SEmmanuel Vadot regulator-min-microvolt = <3700000>; 2756be33864SEmmanuel Vadot regulator-max-microvolt = <3700000>; 2766be33864SEmmanuel Vadot regulator-always-on; 2776be33864SEmmanuel Vadot }; 2786be33864SEmmanuel Vadot 2796be33864SEmmanuel Vadot vreg_s4a_1p8: vreg-s4a-1p8 { 2806be33864SEmmanuel Vadot compatible = "regulator-fixed"; 2816be33864SEmmanuel Vadot regulator-name = "vreg_s4a_1p8"; 2826be33864SEmmanuel Vadot regulator-min-microvolt = <1800000>; 2836be33864SEmmanuel Vadot regulator-max-microvolt = <1800000>; 2846be33864SEmmanuel Vadot regulator-always-on; 2856be33864SEmmanuel Vadot }; 2866be33864SEmmanuel Vadot}; 2876be33864SEmmanuel Vadot 2885def4c47SEmmanuel Vadot&adsp { 2895def4c47SEmmanuel Vadot status = "okay"; 2905def4c47SEmmanuel Vadot firmware-name = "qcom/sm8250/adsp.mbn"; 2915def4c47SEmmanuel Vadot}; 2925def4c47SEmmanuel Vadot 2936be33864SEmmanuel Vadot&apps_rsc { 294cb7aa33aSEmmanuel Vadot regulators-0 { 2955def4c47SEmmanuel Vadot compatible = "qcom,pm8009-1-rpmh-regulators"; 2966be33864SEmmanuel Vadot qcom,pmic-id = "f"; 2976be33864SEmmanuel Vadot 2986be33864SEmmanuel Vadot vdd-s1-supply = <&vph_pwr>; 2996be33864SEmmanuel Vadot vdd-s2-supply = <&vph_pwr>; 3006be33864SEmmanuel Vadot vdd-l2-supply = <&vreg_s8c_1p3>; 3016be33864SEmmanuel Vadot vdd-l5-l6-supply = <&vreg_bob>; 3026be33864SEmmanuel Vadot vdd-l7-supply = <&vreg_s4a_1p8>; 3036be33864SEmmanuel Vadot 3045def4c47SEmmanuel Vadot vreg_s2f_0p95: smps2 { 3055def4c47SEmmanuel Vadot regulator-name = "vreg_s2f_0p95"; 3065def4c47SEmmanuel Vadot regulator-min-microvolt = <900000>; 3075def4c47SEmmanuel Vadot regulator-max-microvolt = <952000>; 3085def4c47SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_AUTO>; 3095def4c47SEmmanuel Vadot }; 3105def4c47SEmmanuel Vadot 3116be33864SEmmanuel Vadot vreg_l1f_1p1: ldo1 { 3126be33864SEmmanuel Vadot regulator-name = "vreg_l1f_1p1"; 3136be33864SEmmanuel Vadot regulator-min-microvolt = <1104000>; 3146be33864SEmmanuel Vadot regulator-max-microvolt = <1104000>; 3156be33864SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 3166be33864SEmmanuel Vadot }; 3176be33864SEmmanuel Vadot 3186be33864SEmmanuel Vadot vreg_l2f_1p2: ldo2 { 3196be33864SEmmanuel Vadot regulator-name = "vreg_l2f_1p2"; 3206be33864SEmmanuel Vadot regulator-min-microvolt = <1200000>; 3216be33864SEmmanuel Vadot regulator-max-microvolt = <1200000>; 3226be33864SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 3236be33864SEmmanuel Vadot }; 3246be33864SEmmanuel Vadot 3256be33864SEmmanuel Vadot vreg_l6f_2p8: ldo6 { 3266be33864SEmmanuel Vadot regulator-name = "vreg_l6f_2p8"; 3276be33864SEmmanuel Vadot regulator-min-microvolt = <2800000>; 3286be33864SEmmanuel Vadot regulator-max-microvolt = <2800000>; 3296be33864SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 3306be33864SEmmanuel Vadot }; 3316be33864SEmmanuel Vadot 3326be33864SEmmanuel Vadot vreg_l7f_1p8: ldo7 { 3336be33864SEmmanuel Vadot regulator-name = "vreg_l7f_1p8"; 3346be33864SEmmanuel Vadot regulator-min-microvolt = <1800000>; 3356be33864SEmmanuel Vadot regulator-max-microvolt = <1800000>; 3366be33864SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 3376be33864SEmmanuel Vadot }; 3386be33864SEmmanuel Vadot }; 3396be33864SEmmanuel Vadot 340cb7aa33aSEmmanuel Vadot regulators-1 { 3416be33864SEmmanuel Vadot compatible = "qcom,pm8150-rpmh-regulators"; 3426be33864SEmmanuel Vadot qcom,pmic-id = "a"; 3436be33864SEmmanuel Vadot 3446be33864SEmmanuel Vadot vdd-s1-supply = <&vph_pwr>; 3456be33864SEmmanuel Vadot vdd-s2-supply = <&vph_pwr>; 3466be33864SEmmanuel Vadot vdd-s3-supply = <&vph_pwr>; 3476be33864SEmmanuel Vadot vdd-s4-supply = <&vph_pwr>; 3486be33864SEmmanuel Vadot vdd-s5-supply = <&vph_pwr>; 3496be33864SEmmanuel Vadot vdd-s6-supply = <&vph_pwr>; 3506be33864SEmmanuel Vadot vdd-s7-supply = <&vph_pwr>; 3516be33864SEmmanuel Vadot vdd-s8-supply = <&vph_pwr>; 3526be33864SEmmanuel Vadot vdd-s9-supply = <&vph_pwr>; 3536be33864SEmmanuel Vadot vdd-s10-supply = <&vph_pwr>; 3546be33864SEmmanuel Vadot vdd-l2-l10-supply = <&vreg_bob>; 3556be33864SEmmanuel Vadot vdd-l3-l4-l5-l18-supply = <&vreg_s6a_0p95>; 3566be33864SEmmanuel Vadot vdd-l6-l9-supply = <&vreg_s8c_1p3>; 3576be33864SEmmanuel Vadot vdd-l7-l12-l14-l15-supply = <&vreg_s5a_1p9>; 3586be33864SEmmanuel Vadot vdd-l13-l16-l17-supply = <&vreg_bob>; 3596be33864SEmmanuel Vadot 3606be33864SEmmanuel Vadot vreg_l2a_3p1: ldo2 { 3616be33864SEmmanuel Vadot regulator-name = "vreg_l2a_3p1"; 3626be33864SEmmanuel Vadot regulator-min-microvolt = <3072000>; 3636be33864SEmmanuel Vadot regulator-max-microvolt = <3072000>; 3646be33864SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 3656be33864SEmmanuel Vadot }; 3666be33864SEmmanuel Vadot 3676be33864SEmmanuel Vadot vreg_l3a_0p9: ldo3 { 3686be33864SEmmanuel Vadot regulator-name = "vreg_l3a_0p9"; 3696be33864SEmmanuel Vadot regulator-min-microvolt = <928000>; 3706be33864SEmmanuel Vadot regulator-max-microvolt = <932000>; 3716be33864SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 3726be33864SEmmanuel Vadot }; 3736be33864SEmmanuel Vadot 3746be33864SEmmanuel Vadot vreg_l5a_0p88: ldo5 { 3756be33864SEmmanuel Vadot regulator-name = "vreg_l5a_0p88"; 3766be33864SEmmanuel Vadot regulator-min-microvolt = <880000>; 3776be33864SEmmanuel Vadot regulator-max-microvolt = <880000>; 3786be33864SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 3796be33864SEmmanuel Vadot }; 3806be33864SEmmanuel Vadot 3816be33864SEmmanuel Vadot vreg_l6a_1p2: ldo6 { 3826be33864SEmmanuel Vadot regulator-name = "vreg_l6a_1p2"; 3836be33864SEmmanuel Vadot regulator-min-microvolt = <1200000>; 3846be33864SEmmanuel Vadot regulator-max-microvolt = <1200000>; 3856be33864SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 3866be33864SEmmanuel Vadot }; 3876be33864SEmmanuel Vadot 3886be33864SEmmanuel Vadot vreg_l7a_1p7: ldo7 { 3896be33864SEmmanuel Vadot regulator-name = "vreg_l7a_1p7"; 3906be33864SEmmanuel Vadot regulator-min-microvolt = <1704000>; 3916be33864SEmmanuel Vadot regulator-max-microvolt = <1800000>; 3926be33864SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 3936be33864SEmmanuel Vadot }; 3946be33864SEmmanuel Vadot 3956be33864SEmmanuel Vadot vreg_l9a_1p2: ldo9 { 3966be33864SEmmanuel Vadot regulator-name = "vreg_l9a_1p2"; 3976be33864SEmmanuel Vadot regulator-min-microvolt = <1200000>; 3986be33864SEmmanuel Vadot regulator-max-microvolt = <1200000>; 3996be33864SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 4006be33864SEmmanuel Vadot }; 4016be33864SEmmanuel Vadot 4026be33864SEmmanuel Vadot vreg_l10a_1p8: ldo10 { 4036be33864SEmmanuel Vadot regulator-name = "vreg_l10a_1p8"; 4046be33864SEmmanuel Vadot regulator-min-microvolt = <1800000>; 4056be33864SEmmanuel Vadot regulator-max-microvolt = <1800000>; 4066be33864SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 4076be33864SEmmanuel Vadot }; 4086be33864SEmmanuel Vadot 4096be33864SEmmanuel Vadot vreg_l12a_1p8: ldo12 { 4106be33864SEmmanuel Vadot regulator-name = "vreg_l12a_1p8"; 4116be33864SEmmanuel Vadot regulator-min-microvolt = <1800000>; 4126be33864SEmmanuel Vadot regulator-max-microvolt = <1800000>; 4136be33864SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 4146be33864SEmmanuel Vadot }; 4156be33864SEmmanuel Vadot 4166be33864SEmmanuel Vadot vreg_l13a_ts_3p0: ldo13 { 4176be33864SEmmanuel Vadot regulator-name = "vreg_l13a_ts_3p0"; 4186be33864SEmmanuel Vadot regulator-min-microvolt = <3008000>; 4196be33864SEmmanuel Vadot regulator-max-microvolt = <3008000>; 4206be33864SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 4216be33864SEmmanuel Vadot }; 4226be33864SEmmanuel Vadot 4236be33864SEmmanuel Vadot vreg_l14a_1p8: ldo14 { 4246be33864SEmmanuel Vadot regulator-name = "vreg_l14a_1p8"; 4256be33864SEmmanuel Vadot regulator-min-microvolt = <1800000>; 4266be33864SEmmanuel Vadot regulator-max-microvolt = <1880000>; 4276be33864SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 4286be33864SEmmanuel Vadot }; 4296be33864SEmmanuel Vadot 4306be33864SEmmanuel Vadot vreg_l15a_1p8: ldo15 { 4316be33864SEmmanuel Vadot regulator-name = "vreg_l15a_1p8"; 4326be33864SEmmanuel Vadot regulator-min-microvolt = <1800000>; 4336be33864SEmmanuel Vadot regulator-max-microvolt = <1800000>; 4346be33864SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 4356be33864SEmmanuel Vadot }; 4366be33864SEmmanuel Vadot 4376be33864SEmmanuel Vadot vreg_l16a_2p7: ldo16 { 4386be33864SEmmanuel Vadot regulator-name = "vreg_l16a_2p7"; 4396be33864SEmmanuel Vadot regulator-min-microvolt = <2704000>; 4406be33864SEmmanuel Vadot regulator-max-microvolt = <2960000>; 4416be33864SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 4426be33864SEmmanuel Vadot }; 4436be33864SEmmanuel Vadot 4446be33864SEmmanuel Vadot vreg_l17a_3p0: ldo17 { 4456be33864SEmmanuel Vadot regulator-name = "vreg_l17a_3p0"; 4466be33864SEmmanuel Vadot regulator-min-microvolt = <2856000>; 4476be33864SEmmanuel Vadot regulator-max-microvolt = <3008000>; 4486be33864SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 4496be33864SEmmanuel Vadot }; 4506be33864SEmmanuel Vadot 4516be33864SEmmanuel Vadot vreg_l18a_0p92: ldo18 { 4526be33864SEmmanuel Vadot regulator-name = "vreg_l18a_0p92"; 4536be33864SEmmanuel Vadot regulator-min-microvolt = <800000>; 4546be33864SEmmanuel Vadot regulator-max-microvolt = <912000>; 4556be33864SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 4566be33864SEmmanuel Vadot }; 4576be33864SEmmanuel Vadot 4586be33864SEmmanuel Vadot vreg_s5a_1p9: smps5 { 4596be33864SEmmanuel Vadot regulator-name = "vreg_s5a_1p9"; 4606be33864SEmmanuel Vadot regulator-min-microvolt = <1904000>; 4616be33864SEmmanuel Vadot regulator-max-microvolt = <2000000>; 4626be33864SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 4636be33864SEmmanuel Vadot }; 4646be33864SEmmanuel Vadot 4656be33864SEmmanuel Vadot vreg_s6a_0p95: smps6 { 4666be33864SEmmanuel Vadot regulator-name = "vreg_s6a_0p95"; 4676be33864SEmmanuel Vadot regulator-min-microvolt = <920000>; 4686be33864SEmmanuel Vadot regulator-max-microvolt = <1128000>; 4696be33864SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 4706be33864SEmmanuel Vadot }; 4716be33864SEmmanuel Vadot }; 4726be33864SEmmanuel Vadot 473cb7aa33aSEmmanuel Vadot regulators-2 { 4746be33864SEmmanuel Vadot compatible = "qcom,pm8150l-rpmh-regulators"; 4756be33864SEmmanuel Vadot qcom,pmic-id = "c"; 4766be33864SEmmanuel Vadot 4776be33864SEmmanuel Vadot vdd-s1-supply = <&vph_pwr>; 4786be33864SEmmanuel Vadot vdd-s2-supply = <&vph_pwr>; 4796be33864SEmmanuel Vadot vdd-s3-supply = <&vph_pwr>; 4806be33864SEmmanuel Vadot vdd-s4-supply = <&vph_pwr>; 4816be33864SEmmanuel Vadot vdd-s5-supply = <&vph_pwr>; 4826be33864SEmmanuel Vadot vdd-s6-supply = <&vph_pwr>; 4836be33864SEmmanuel Vadot vdd-s7-supply = <&vph_pwr>; 4846be33864SEmmanuel Vadot vdd-s8-supply = <&vph_pwr>; 4856be33864SEmmanuel Vadot vdd-l1-l8-supply = <&vreg_s4a_1p8>; 4866be33864SEmmanuel Vadot vdd-l2-l3-supply = <&vreg_s8c_1p3>; 4876be33864SEmmanuel Vadot vdd-l4-l5-l6-supply = <&vreg_bob>; 4886be33864SEmmanuel Vadot vdd-l7-l11-supply = <&vreg_bob>; 4896be33864SEmmanuel Vadot vdd-l9-l10-supply = <&vreg_bob>; 4906be33864SEmmanuel Vadot vdd-bob-supply = <&vph_pwr>; 4916be33864SEmmanuel Vadot 4926be33864SEmmanuel Vadot vreg_bob: bob { 4936be33864SEmmanuel Vadot regulator-name = "vreg_bob"; 4946be33864SEmmanuel Vadot regulator-min-microvolt = <3008000>; 4956be33864SEmmanuel Vadot regulator-max-microvolt = <4000000>; 4966be33864SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_AUTO>; 4976be33864SEmmanuel Vadot }; 4986be33864SEmmanuel Vadot 4996be33864SEmmanuel Vadot vreg_l1c_1p8: ldo1 { 5006be33864SEmmanuel Vadot regulator-name = "vreg_l1c_1p8"; 5016be33864SEmmanuel Vadot regulator-min-microvolt = <1800000>; 5026be33864SEmmanuel Vadot regulator-max-microvolt = <1800000>; 5036be33864SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 5046be33864SEmmanuel Vadot }; 5056be33864SEmmanuel Vadot 5066be33864SEmmanuel Vadot vreg_l2c_1p2: ldo2 { 5076be33864SEmmanuel Vadot regulator-name = "vreg_l2c_1p2"; 5086be33864SEmmanuel Vadot regulator-min-microvolt = <1200000>; 5096be33864SEmmanuel Vadot regulator-max-microvolt = <1200000>; 5106be33864SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 5116be33864SEmmanuel Vadot }; 5126be33864SEmmanuel Vadot 5136be33864SEmmanuel Vadot vreg_l3c_0p8: ldo3 { 5146be33864SEmmanuel Vadot regulator-name = "vreg_l3c_0p8"; 5156be33864SEmmanuel Vadot regulator-min-microvolt = <800000>; 5166be33864SEmmanuel Vadot regulator-max-microvolt = <800000>; 5176be33864SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 5186be33864SEmmanuel Vadot }; 5196be33864SEmmanuel Vadot 5206be33864SEmmanuel Vadot vreg_l4c_1p7: ldo4 { 5216be33864SEmmanuel Vadot regulator-name = "vreg_l4c_1p7"; 5226be33864SEmmanuel Vadot regulator-min-microvolt = <1704000>; 5236be33864SEmmanuel Vadot regulator-max-microvolt = <2928000>; 5246be33864SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 5256be33864SEmmanuel Vadot }; 5266be33864SEmmanuel Vadot 5276be33864SEmmanuel Vadot vreg_l5c_1p8: ldo5 { 5286be33864SEmmanuel Vadot regulator-name = "vreg_l5c_1p8"; 5296be33864SEmmanuel Vadot regulator-min-microvolt = <1800000>; 5306be33864SEmmanuel Vadot regulator-max-microvolt = <2928000>; 5316be33864SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 5326be33864SEmmanuel Vadot }; 5336be33864SEmmanuel Vadot 5346be33864SEmmanuel Vadot vreg_l6c_2p96: ldo6 { 5356be33864SEmmanuel Vadot regulator-name = "vreg_l6c_2p96"; 5366be33864SEmmanuel Vadot regulator-min-microvolt = <1800000>; 5376be33864SEmmanuel Vadot regulator-max-microvolt = <2960000>; 5386be33864SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 5396be33864SEmmanuel Vadot }; 5406be33864SEmmanuel Vadot 5416be33864SEmmanuel Vadot vreg_l7c_cam_vcm0_2p85: ldo7 { 5426be33864SEmmanuel Vadot regulator-name = "vreg_l7c_cam_vcm0_2p85"; 5436be33864SEmmanuel Vadot regulator-min-microvolt = <2856000>; 5446be33864SEmmanuel Vadot regulator-max-microvolt = <3104000>; 5456be33864SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 5466be33864SEmmanuel Vadot }; 5476be33864SEmmanuel Vadot 5486be33864SEmmanuel Vadot vreg_l8c_1p8: ldo8 { 5496be33864SEmmanuel Vadot regulator-name = "vreg_l8c_1p8"; 5506be33864SEmmanuel Vadot regulator-min-microvolt = <1800000>; 5516be33864SEmmanuel Vadot regulator-max-microvolt = <1800000>; 5526be33864SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 5536be33864SEmmanuel Vadot }; 5546be33864SEmmanuel Vadot 5556be33864SEmmanuel Vadot vreg_l9c_2p96: ldo9 { 5566be33864SEmmanuel Vadot regulator-name = "vreg_l9c_2p96"; 5576be33864SEmmanuel Vadot regulator-min-microvolt = <2704000>; 5586be33864SEmmanuel Vadot regulator-max-microvolt = <2960000>; 5596be33864SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 5606be33864SEmmanuel Vadot }; 5616be33864SEmmanuel Vadot 5626be33864SEmmanuel Vadot vreg_l10c_3p0: ldo10 { 5636be33864SEmmanuel Vadot regulator-name = "vreg_l10c_3p0"; 5646be33864SEmmanuel Vadot regulator-min-microvolt = <3000000>; 5656be33864SEmmanuel Vadot regulator-max-microvolt = <3000000>; 5666be33864SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 5676be33864SEmmanuel Vadot }; 5686be33864SEmmanuel Vadot 5696be33864SEmmanuel Vadot vreg_l11c_3p3: ldo11 { 5706be33864SEmmanuel Vadot regulator-name = "vreg_l11c_3p3"; 5716be33864SEmmanuel Vadot regulator-min-microvolt = <3296000>; 5726be33864SEmmanuel Vadot regulator-max-microvolt = <3296000>; 5736be33864SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 5746be33864SEmmanuel Vadot regulator-always-on; 5756be33864SEmmanuel Vadot }; 5766be33864SEmmanuel Vadot 5776be33864SEmmanuel Vadot vreg_s8c_1p3: smps8 { 5786be33864SEmmanuel Vadot regulator-name = "vreg_s8c_1p3"; 5796be33864SEmmanuel Vadot regulator-min-microvolt = <1352000>; 5806be33864SEmmanuel Vadot regulator-max-microvolt = <1352000>; 5816be33864SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 5826be33864SEmmanuel Vadot }; 5836be33864SEmmanuel Vadot }; 5846be33864SEmmanuel Vadot}; 5856be33864SEmmanuel Vadot 5865def4c47SEmmanuel Vadot&cdsp { 5875def4c47SEmmanuel Vadot status = "okay"; 5885def4c47SEmmanuel Vadot firmware-name = "qcom/sm8250/cdsp.mbn"; 5895def4c47SEmmanuel Vadot}; 5905def4c47SEmmanuel Vadot 5915956d97fSEmmanuel Vadot&gmu { 5925956d97fSEmmanuel Vadot status = "okay"; 5935956d97fSEmmanuel Vadot}; 5945956d97fSEmmanuel Vadot 5955def4c47SEmmanuel Vadot&gpu { 5965956d97fSEmmanuel Vadot status = "okay"; 5975956d97fSEmmanuel Vadot 5985def4c47SEmmanuel Vadot zap-shader { 5995def4c47SEmmanuel Vadot memory-region = <&gpu_mem>; 6005def4c47SEmmanuel Vadot firmware-name = "qcom/sm8250/a650_zap.mbn"; 6015def4c47SEmmanuel Vadot }; 6025def4c47SEmmanuel Vadot}; 6035def4c47SEmmanuel Vadot 6046be33864SEmmanuel Vadot/* LS-I2C0 */ 6056be33864SEmmanuel Vadot&i2c4 { 6066be33864SEmmanuel Vadot status = "okay"; 6076be33864SEmmanuel Vadot}; 6086be33864SEmmanuel Vadot 6096be33864SEmmanuel Vadot&i2c5 { 6106be33864SEmmanuel Vadot status = "okay"; 6115def4c47SEmmanuel Vadot clock-frequency = <400000>; 6125def4c47SEmmanuel Vadot 6135def4c47SEmmanuel Vadot lt9611_codec: hdmi-bridge@2b { 6145def4c47SEmmanuel Vadot compatible = "lontium,lt9611uxc"; 6155def4c47SEmmanuel Vadot reg = <0x2b>; 6165def4c47SEmmanuel Vadot #sound-dai-cells = <1>; 6175def4c47SEmmanuel Vadot 6185def4c47SEmmanuel Vadot interrupts-extended = <&tlmm 63 IRQ_TYPE_EDGE_FALLING>; 6195def4c47SEmmanuel Vadot 6205def4c47SEmmanuel Vadot reset-gpios = <&pm8150l_gpios 5 GPIO_ACTIVE_HIGH>; 6215def4c47SEmmanuel Vadot 6225def4c47SEmmanuel Vadot vdd-supply = <<9611_1v2>; 6235def4c47SEmmanuel Vadot vcc-supply = <<9611_3v3>; 6245def4c47SEmmanuel Vadot 6255def4c47SEmmanuel Vadot pinctrl-names = "default"; 6265def4c47SEmmanuel Vadot pinctrl-0 = <<9611_irq_pin <9611_rst_pin>; 6275def4c47SEmmanuel Vadot 6285def4c47SEmmanuel Vadot ports { 6295def4c47SEmmanuel Vadot #address-cells = <1>; 6305def4c47SEmmanuel Vadot #size-cells = <0>; 6315def4c47SEmmanuel Vadot 6325def4c47SEmmanuel Vadot port@0 { 6335def4c47SEmmanuel Vadot reg = <0>; 6345def4c47SEmmanuel Vadot 6355def4c47SEmmanuel Vadot lt9611_a: endpoint { 636f126890aSEmmanuel Vadot remote-endpoint = <&mdss_dsi0_out>; 6375def4c47SEmmanuel Vadot }; 6385def4c47SEmmanuel Vadot }; 6395def4c47SEmmanuel Vadot 6405def4c47SEmmanuel Vadot#if 0 6415def4c47SEmmanuel Vadot port@1 { 6425def4c47SEmmanuel Vadot reg = <1>; 6435def4c47SEmmanuel Vadot 6445def4c47SEmmanuel Vadot lt9611_b: endpoint { 645f126890aSEmmanuel Vadot remote-endpoint = <&mdss_dsi1_out>; 6465def4c47SEmmanuel Vadot }; 6475def4c47SEmmanuel Vadot }; 6485def4c47SEmmanuel Vadot#endif 6495def4c47SEmmanuel Vadot 6505def4c47SEmmanuel Vadot port@2 { 6515def4c47SEmmanuel Vadot reg = <2>; 6525def4c47SEmmanuel Vadot 6535def4c47SEmmanuel Vadot lt9611_out: endpoint { 6545def4c47SEmmanuel Vadot remote-endpoint = <&hdmi_con>; 6555def4c47SEmmanuel Vadot }; 6565def4c47SEmmanuel Vadot }; 6575def4c47SEmmanuel Vadot 6585def4c47SEmmanuel Vadot }; 6595def4c47SEmmanuel Vadot }; 6606be33864SEmmanuel Vadot}; 6616be33864SEmmanuel Vadot 6626be33864SEmmanuel Vadot/* LS-I2C1 */ 6636be33864SEmmanuel Vadot&i2c15 { 6646be33864SEmmanuel Vadot status = "okay"; 66584943d6fSEmmanuel Vadot 66684943d6fSEmmanuel Vadot typec-mux@1c { 66784943d6fSEmmanuel Vadot compatible = "onnn,nb7vpq904m"; 66884943d6fSEmmanuel Vadot reg = <0x1c>; 66984943d6fSEmmanuel Vadot 67084943d6fSEmmanuel Vadot vcc-supply = <&vreg_s4a_1p8>; 67184943d6fSEmmanuel Vadot 67284943d6fSEmmanuel Vadot retimer-switch; 67384943d6fSEmmanuel Vadot orientation-switch; 67484943d6fSEmmanuel Vadot 67584943d6fSEmmanuel Vadot ports { 67684943d6fSEmmanuel Vadot #address-cells = <1>; 67784943d6fSEmmanuel Vadot #size-cells = <0>; 67884943d6fSEmmanuel Vadot 67984943d6fSEmmanuel Vadot port@0 { 68084943d6fSEmmanuel Vadot reg = <0>; 68184943d6fSEmmanuel Vadot 68284943d6fSEmmanuel Vadot redriver_usb_con_ss: endpoint { 68384943d6fSEmmanuel Vadot remote-endpoint = <&pm8150b_typec_mux_in>; 68484943d6fSEmmanuel Vadot }; 68584943d6fSEmmanuel Vadot }; 68684943d6fSEmmanuel Vadot 68784943d6fSEmmanuel Vadot port@1 { 68884943d6fSEmmanuel Vadot reg = <1>; 68984943d6fSEmmanuel Vadot 69084943d6fSEmmanuel Vadot redriver_phy_con_ss: endpoint { 69184943d6fSEmmanuel Vadot remote-endpoint = <&usb_1_qmpphy_out>; 69284943d6fSEmmanuel Vadot data-lanes = <0 1 2 3>; 69384943d6fSEmmanuel Vadot }; 69484943d6fSEmmanuel Vadot }; 69584943d6fSEmmanuel Vadot 69684943d6fSEmmanuel Vadot port@2 { 69784943d6fSEmmanuel Vadot reg = <2>; 69884943d6fSEmmanuel Vadot 69984943d6fSEmmanuel Vadot redriver_usb_con_sbu: endpoint { 70084943d6fSEmmanuel Vadot remote-endpoint = <&pm8150b_typec_sbu_out>; 70184943d6fSEmmanuel Vadot }; 70284943d6fSEmmanuel Vadot }; 70384943d6fSEmmanuel Vadot }; 70484943d6fSEmmanuel Vadot }; 7056be33864SEmmanuel Vadot}; 7066be33864SEmmanuel Vadot 7075def4c47SEmmanuel Vadot&mdss { 7085def4c47SEmmanuel Vadot status = "okay"; 7095def4c47SEmmanuel Vadot}; 7105def4c47SEmmanuel Vadot 71184943d6fSEmmanuel Vadot&mdss_dp { 71284943d6fSEmmanuel Vadot status = "okay"; 71384943d6fSEmmanuel Vadot}; 71484943d6fSEmmanuel Vadot 71584943d6fSEmmanuel Vadot&mdss_dp_out { 71684943d6fSEmmanuel Vadot data-lanes = <0 1>; 71784943d6fSEmmanuel Vadot remote-endpoint = <&usb_1_qmpphy_dp_in>; 71884943d6fSEmmanuel Vadot}; 71984943d6fSEmmanuel Vadot 720f126890aSEmmanuel Vadot&mdss_dsi0 { 7215def4c47SEmmanuel Vadot status = "okay"; 722f126890aSEmmanuel Vadot vdda-supply = <&vreg_l9a_1p2>; 723f126890aSEmmanuel Vadot 724f126890aSEmmanuel Vadot#if 0 725f126890aSEmmanuel Vadot qcom,dual-dsi-mode; 726f126890aSEmmanuel Vadot qcom,master-dsi; 727f126890aSEmmanuel Vadot#endif 728f126890aSEmmanuel Vadot 729f126890aSEmmanuel Vadot ports { 730f126890aSEmmanuel Vadot port@1 { 731f126890aSEmmanuel Vadot endpoint { 732f126890aSEmmanuel Vadot remote-endpoint = <<9611_a>; 733f126890aSEmmanuel Vadot data-lanes = <0 1 2 3>; 734f126890aSEmmanuel Vadot }; 735f126890aSEmmanuel Vadot }; 736f126890aSEmmanuel Vadot }; 737f126890aSEmmanuel Vadot}; 738f126890aSEmmanuel Vadot 739f126890aSEmmanuel Vadot&mdss_dsi0_phy { 740f126890aSEmmanuel Vadot status = "okay"; 741f126890aSEmmanuel Vadot vdds-supply = <&vreg_l5a_0p88>; 7425def4c47SEmmanuel Vadot}; 7435def4c47SEmmanuel Vadot 7445def4c47SEmmanuel Vadot&pm8150_adc { 745aa1a8ff2SEmmanuel Vadot channel@4c { 7465def4c47SEmmanuel Vadot reg = <ADC5_XO_THERM_100K_PU>; 7475def4c47SEmmanuel Vadot qcom,ratiometric; 7485def4c47SEmmanuel Vadot qcom,hw-settle-time = <200>; 749aa1a8ff2SEmmanuel Vadot label = "xo_therm"; 7505def4c47SEmmanuel Vadot }; 7515def4c47SEmmanuel Vadot 752aa1a8ff2SEmmanuel Vadot channel@4e { 7535def4c47SEmmanuel Vadot reg = <ADC5_AMUX_THM2_100K_PU>; 7545def4c47SEmmanuel Vadot qcom,ratiometric; 7555def4c47SEmmanuel Vadot qcom,hw-settle-time = <200>; 756aa1a8ff2SEmmanuel Vadot label = "wifi_therm"; 7575def4c47SEmmanuel Vadot }; 7585def4c47SEmmanuel Vadot}; 7595def4c47SEmmanuel Vadot 7605def4c47SEmmanuel Vadot&pm8150_adc_tm { 7615def4c47SEmmanuel Vadot status = "okay"; 7625def4c47SEmmanuel Vadot 7635def4c47SEmmanuel Vadot xo-therm@0 { 7645def4c47SEmmanuel Vadot reg = <0>; 7655def4c47SEmmanuel Vadot io-channels = <&pm8150_adc ADC5_XO_THERM_100K_PU>; 7665def4c47SEmmanuel Vadot qcom,ratiometric; 7675def4c47SEmmanuel Vadot qcom,hw-settle-time-us = <200>; 7685def4c47SEmmanuel Vadot }; 7695def4c47SEmmanuel Vadot 7705def4c47SEmmanuel Vadot wifi-therm@1 { 7715def4c47SEmmanuel Vadot reg = <1>; 7725def4c47SEmmanuel Vadot io-channels = <&pm8150_adc ADC5_AMUX_THM2_100K_PU>; 7735def4c47SEmmanuel Vadot qcom,ratiometric; 7745def4c47SEmmanuel Vadot qcom,hw-settle-time-us = <200>; 7755def4c47SEmmanuel Vadot }; 7765def4c47SEmmanuel Vadot}; 7775def4c47SEmmanuel Vadot 7785def4c47SEmmanuel Vadot&pcie0 { 7795def4c47SEmmanuel Vadot status = "okay"; 7805def4c47SEmmanuel Vadot}; 7815def4c47SEmmanuel Vadot 7825def4c47SEmmanuel Vadot&pcie0_phy { 7835def4c47SEmmanuel Vadot status = "okay"; 7845def4c47SEmmanuel Vadot vdda-phy-supply = <&vreg_l5a_0p88>; 7855def4c47SEmmanuel Vadot vdda-pll-supply = <&vreg_l9a_1p2>; 7865def4c47SEmmanuel Vadot}; 7875def4c47SEmmanuel Vadot 788*0e8011faSEmmanuel Vadot&pcieport0 { 789*0e8011faSEmmanuel Vadot wifi@0 { 790*0e8011faSEmmanuel Vadot compatible = "pci17cb,1101"; 791*0e8011faSEmmanuel Vadot reg = <0x10000 0x0 0x0 0x0 0x0>; 792*0e8011faSEmmanuel Vadot 793*0e8011faSEmmanuel Vadot vddrfacmn-supply = <&vreg_pmu_rfa_cmn>; 794*0e8011faSEmmanuel Vadot vddaon-supply = <&vreg_pmu_aon_0p59>; 795*0e8011faSEmmanuel Vadot vddwlcx-supply = <&vreg_pmu_wlcx_0p8>; 796*0e8011faSEmmanuel Vadot vddwlmx-supply = <&vreg_pmu_wlmx_0p85>; 797*0e8011faSEmmanuel Vadot vddrfa0p8-supply = <&vreg_pmu_rfa_0p8>; 798*0e8011faSEmmanuel Vadot vddrfa1p2-supply = <&vreg_pmu_rfa_1p2>; 799*0e8011faSEmmanuel Vadot vddrfa1p7-supply = <&vreg_pmu_rfa_1p7>; 800*0e8011faSEmmanuel Vadot vddpcie0p9-supply = <&vreg_pmu_pcie_0p9>; 801*0e8011faSEmmanuel Vadot vddpcie1p8-supply = <&vreg_pmu_pcie_1p8>; 802*0e8011faSEmmanuel Vadot }; 803*0e8011faSEmmanuel Vadot}; 804*0e8011faSEmmanuel Vadot 8055def4c47SEmmanuel Vadot&pcie1 { 8065def4c47SEmmanuel Vadot status = "okay"; 8075def4c47SEmmanuel Vadot}; 8085def4c47SEmmanuel Vadot 8095def4c47SEmmanuel Vadot&pcie1_phy { 8105def4c47SEmmanuel Vadot status = "okay"; 8115def4c47SEmmanuel Vadot vdda-phy-supply = <&vreg_l5a_0p88>; 8125def4c47SEmmanuel Vadot vdda-pll-supply = <&vreg_l9a_1p2>; 8135def4c47SEmmanuel Vadot}; 8145def4c47SEmmanuel Vadot 8155def4c47SEmmanuel Vadot&pcie2 { 8165def4c47SEmmanuel Vadot status = "okay"; 8175def4c47SEmmanuel Vadot}; 8185def4c47SEmmanuel Vadot 8195def4c47SEmmanuel Vadot&pcie2_phy { 8205def4c47SEmmanuel Vadot status = "okay"; 8215def4c47SEmmanuel Vadot vdda-phy-supply = <&vreg_l5a_0p88>; 8225def4c47SEmmanuel Vadot vdda-pll-supply = <&vreg_l9a_1p2>; 8235def4c47SEmmanuel Vadot}; 8245def4c47SEmmanuel Vadot 8256be33864SEmmanuel Vadot&pm8150_gpios { 8266be33864SEmmanuel Vadot gpio-reserved-ranges = <1 1>, <3 2>, <7 1>; 8276be33864SEmmanuel Vadot gpio-line-names = 8286be33864SEmmanuel Vadot "NC", 8296be33864SEmmanuel Vadot "OPTION2", 8306be33864SEmmanuel Vadot "PM_GPIO-F", 8316be33864SEmmanuel Vadot "PM_SLP_CLK_IN", 8326be33864SEmmanuel Vadot "OPTION1", 8336be33864SEmmanuel Vadot "VOL_UP_N", 8346be33864SEmmanuel Vadot "PM8250_GPIO7", /* Blue LED */ 8356be33864SEmmanuel Vadot "SP_ARI_PWR_ALARM", 8366be33864SEmmanuel Vadot "GPIO_9_P", /* Yellow LED */ 8376be33864SEmmanuel Vadot "GPIO_10_P"; /* Green LED */ 8386be33864SEmmanuel Vadot}; 8396be33864SEmmanuel Vadot 8405def4c47SEmmanuel Vadot&pm8150b_adc { 841aa1a8ff2SEmmanuel Vadot channel@4f { 8425def4c47SEmmanuel Vadot reg = <ADC5_AMUX_THM3_100K_PU>; 8435def4c47SEmmanuel Vadot qcom,ratiometric; 8445def4c47SEmmanuel Vadot qcom,hw-settle-time = <200>; 845aa1a8ff2SEmmanuel Vadot label = "conn_therm"; 8465def4c47SEmmanuel Vadot }; 8475def4c47SEmmanuel Vadot}; 8485def4c47SEmmanuel Vadot 8495def4c47SEmmanuel Vadot&pm8150b_adc_tm { 8505def4c47SEmmanuel Vadot status = "okay"; 8515def4c47SEmmanuel Vadot 8525def4c47SEmmanuel Vadot conn-therm@0 { 8535def4c47SEmmanuel Vadot reg = <0>; 8545def4c47SEmmanuel Vadot io-channels = <&pm8150b_adc ADC5_AMUX_THM3_100K_PU>; 8555def4c47SEmmanuel Vadot qcom,ratiometric; 8565def4c47SEmmanuel Vadot qcom,hw-settle-time-us = <200>; 8575def4c47SEmmanuel Vadot }; 8585def4c47SEmmanuel Vadot}; 8595def4c47SEmmanuel Vadot 8606be33864SEmmanuel Vadot&pm8150b_gpios { 8616be33864SEmmanuel Vadot gpio-line-names = 8626be33864SEmmanuel Vadot "NC", 8636be33864SEmmanuel Vadot "NC", 8646be33864SEmmanuel Vadot "NC", 8656be33864SEmmanuel Vadot "NC", 8666be33864SEmmanuel Vadot "HAP_BOOST_EN", /* SOM */ 8676be33864SEmmanuel Vadot "SMB_STAT", /* SOM */ 8686be33864SEmmanuel Vadot "NC", 8696be33864SEmmanuel Vadot "NC", 8706be33864SEmmanuel Vadot "SDM_FORCE_USB_BOOT", 8716be33864SEmmanuel Vadot "NC", 8726be33864SEmmanuel Vadot "NC", 8736be33864SEmmanuel Vadot "NC"; 8746be33864SEmmanuel Vadot}; 8756be33864SEmmanuel Vadot 8765def4c47SEmmanuel Vadot&pm8150l_adc { 877aa1a8ff2SEmmanuel Vadot channel@4e { 8785def4c47SEmmanuel Vadot reg = <ADC5_AMUX_THM2_100K_PU>; 8795def4c47SEmmanuel Vadot qcom,ratiometric; 8805def4c47SEmmanuel Vadot qcom,hw-settle-time = <200>; 881aa1a8ff2SEmmanuel Vadot label = "skin_msm_therm"; 8825def4c47SEmmanuel Vadot }; 8835def4c47SEmmanuel Vadot 884aa1a8ff2SEmmanuel Vadot channel@4f { 8855def4c47SEmmanuel Vadot reg = <ADC5_AMUX_THM3_100K_PU>; 8865def4c47SEmmanuel Vadot qcom,ratiometric; 8875def4c47SEmmanuel Vadot qcom,hw-settle-time = <200>; 888aa1a8ff2SEmmanuel Vadot label = "pm8150l_therm"; 8895def4c47SEmmanuel Vadot }; 8905def4c47SEmmanuel Vadot}; 8915def4c47SEmmanuel Vadot 8925def4c47SEmmanuel Vadot&pm8150l_adc_tm { 8935def4c47SEmmanuel Vadot status = "okay"; 8945def4c47SEmmanuel Vadot 8955def4c47SEmmanuel Vadot skin-msm-therm@0 { 8965def4c47SEmmanuel Vadot reg = <0>; 8975def4c47SEmmanuel Vadot io-channels = <&pm8150l_adc ADC5_AMUX_THM2_100K_PU>; 8985def4c47SEmmanuel Vadot qcom,ratiometric; 8995def4c47SEmmanuel Vadot qcom,hw-settle-time-us = <200>; 9005def4c47SEmmanuel Vadot }; 9015def4c47SEmmanuel Vadot 9025def4c47SEmmanuel Vadot pm8150l-therm@1 { 9035def4c47SEmmanuel Vadot reg = <1>; 9045def4c47SEmmanuel Vadot io-channels = <&pm8150l_adc ADC5_AMUX_THM3_100K_PU>; 9055def4c47SEmmanuel Vadot qcom,ratiometric; 9065def4c47SEmmanuel Vadot qcom,hw-settle-time-us = <200>; 9075def4c47SEmmanuel Vadot }; 9085def4c47SEmmanuel Vadot}; 9095def4c47SEmmanuel Vadot 9106be33864SEmmanuel Vadot&pm8150l_gpios { 9116be33864SEmmanuel Vadot gpio-line-names = 9126be33864SEmmanuel Vadot "NC", 9136be33864SEmmanuel Vadot "PM3003A_EN", 9146be33864SEmmanuel Vadot "NC", 9156be33864SEmmanuel Vadot "NC", 9166be33864SEmmanuel Vadot "PM_GPIO5", /* HDMI RST_N */ 9176be33864SEmmanuel Vadot "PM_GPIO-A", /* PWM */ 9186be33864SEmmanuel Vadot "PM_GPIO7", 9196be33864SEmmanuel Vadot "NC", 9206be33864SEmmanuel Vadot "NC", 9216be33864SEmmanuel Vadot "PM_GPIO-B", 9226be33864SEmmanuel Vadot "NC", 9236be33864SEmmanuel Vadot "PM3003A_MODE"; 9245def4c47SEmmanuel Vadot 925b97ee269SEmmanuel Vadot lt9611_rst_pin: lt9611-rst-state { 9265def4c47SEmmanuel Vadot pins = "gpio5"; 9275def4c47SEmmanuel Vadot function = "normal"; 9285def4c47SEmmanuel Vadot 9295def4c47SEmmanuel Vadot output-high; 9305def4c47SEmmanuel Vadot input-disable; 9315def4c47SEmmanuel Vadot power-source = <0>; 9325def4c47SEmmanuel Vadot }; 9335def4c47SEmmanuel Vadot}; 9345def4c47SEmmanuel Vadot 935b97ee269SEmmanuel Vadot&pm8150l_lpg { 936b97ee269SEmmanuel Vadot status = "okay"; 937b97ee269SEmmanuel Vadot 938b97ee269SEmmanuel Vadot #address-cells = <1>; 939b97ee269SEmmanuel Vadot #size-cells = <0>; 940b97ee269SEmmanuel Vadot 941b97ee269SEmmanuel Vadot led@1 { 942b97ee269SEmmanuel Vadot reg = <1>; 943b97ee269SEmmanuel Vadot color = <LED_COLOR_ID_GREEN>; 944b97ee269SEmmanuel Vadot function = LED_FUNCTION_HEARTBEAT; 945b97ee269SEmmanuel Vadot function-enumerator = <3>; 946b97ee269SEmmanuel Vadot 947b97ee269SEmmanuel Vadot linux,default-trigger = "heartbeat"; 948b97ee269SEmmanuel Vadot default-state = "on"; 949b97ee269SEmmanuel Vadot }; 950b97ee269SEmmanuel Vadot 951b97ee269SEmmanuel Vadot led@2 { 952b97ee269SEmmanuel Vadot reg = <2>; 953b97ee269SEmmanuel Vadot color = <LED_COLOR_ID_GREEN>; 954b97ee269SEmmanuel Vadot function = LED_FUNCTION_INDICATOR; 955b97ee269SEmmanuel Vadot function-enumerator = <2>; 956b97ee269SEmmanuel Vadot default-state = "on"; 957b97ee269SEmmanuel Vadot }; 958b97ee269SEmmanuel Vadot 959b97ee269SEmmanuel Vadot led@3 { 960b97ee269SEmmanuel Vadot reg = <3>; 961b97ee269SEmmanuel Vadot color = <LED_COLOR_ID_GREEN>; 962b97ee269SEmmanuel Vadot function = LED_FUNCTION_INDICATOR; 963b97ee269SEmmanuel Vadot function-enumerator = <1>; 964b97ee269SEmmanuel Vadot }; 965b97ee269SEmmanuel Vadot}; 966b97ee269SEmmanuel Vadot 967354d7675SEmmanuel Vadot&pon_pwrkey { 968354d7675SEmmanuel Vadot status = "okay"; 969354d7675SEmmanuel Vadot}; 970354d7675SEmmanuel Vadot 971354d7675SEmmanuel Vadot&pon_resin { 972354d7675SEmmanuel Vadot status = "okay"; 973354d7675SEmmanuel Vadot 974354d7675SEmmanuel Vadot linux,code = <KEY_VOLUMEDOWN>; 975354d7675SEmmanuel Vadot}; 976354d7675SEmmanuel Vadot 9776be33864SEmmanuel Vadot&qupv3_id_0 { 9786be33864SEmmanuel Vadot status = "okay"; 9796be33864SEmmanuel Vadot}; 9806be33864SEmmanuel Vadot 9816be33864SEmmanuel Vadot&qupv3_id_1 { 9826be33864SEmmanuel Vadot status = "okay"; 9836be33864SEmmanuel Vadot}; 9846be33864SEmmanuel Vadot 9856be33864SEmmanuel Vadot&qupv3_id_2 { 9866be33864SEmmanuel Vadot status = "okay"; 9876be33864SEmmanuel Vadot}; 9886be33864SEmmanuel Vadot 9895def4c47SEmmanuel Vadot&q6afedai { 9908bab661aSEmmanuel Vadot dai@16 { 991b97ee269SEmmanuel Vadot reg = <PRIMARY_MI2S_RX>; 9925def4c47SEmmanuel Vadot qcom,sd-lines = <0 1 2 3>; 9935def4c47SEmmanuel Vadot }; 9945def4c47SEmmanuel Vadot}; 9955def4c47SEmmanuel Vadot 9965def4c47SEmmanuel Vadot/* TERT I2S Uses 1 I2S SD Lines for audio on LT9611 HDMI Bridge */ 9975def4c47SEmmanuel Vadot&q6afedai { 9988bab661aSEmmanuel Vadot dai@20 { 999b97ee269SEmmanuel Vadot reg = <TERTIARY_MI2S_RX>; 10005def4c47SEmmanuel Vadot qcom,sd-lines = <0>; 10015def4c47SEmmanuel Vadot }; 10025def4c47SEmmanuel Vadot}; 10035def4c47SEmmanuel Vadot 10045def4c47SEmmanuel Vadot&q6asmdai { 10055def4c47SEmmanuel Vadot dai@0 { 10065def4c47SEmmanuel Vadot reg = <0>; 10075def4c47SEmmanuel Vadot }; 10085def4c47SEmmanuel Vadot 10095def4c47SEmmanuel Vadot dai@1 { 10105def4c47SEmmanuel Vadot reg = <1>; 10115def4c47SEmmanuel Vadot }; 10125def4c47SEmmanuel Vadot 10135def4c47SEmmanuel Vadot dai@2 { 10145def4c47SEmmanuel Vadot reg = <2>; 10155def4c47SEmmanuel Vadot }; 10165def4c47SEmmanuel Vadot}; 10175def4c47SEmmanuel Vadot 10185def4c47SEmmanuel Vadot&sdhc_2 { 10195def4c47SEmmanuel Vadot status = "okay"; 10205def4c47SEmmanuel Vadot pinctrl-names = "default"; 10215def4c47SEmmanuel Vadot pinctrl-0 = <&sdc2_default_state &sdc2_card_det_n>; 10225def4c47SEmmanuel Vadot vmmc-supply = <&vreg_l9c_2p96>; 10235def4c47SEmmanuel Vadot vqmmc-supply = <&vreg_l6c_2p96>; 10245def4c47SEmmanuel Vadot cd-gpios = <&tlmm 77 GPIO_ACTIVE_LOW>; 10255def4c47SEmmanuel Vadot bus-width = <4>; 10265def4c47SEmmanuel Vadot no-sdio; 10278bab661aSEmmanuel Vadot no-mmc; 10285def4c47SEmmanuel Vadot}; 10295def4c47SEmmanuel Vadot 10305def4c47SEmmanuel Vadot&sound { 10315def4c47SEmmanuel Vadot compatible = "qcom,qrb5165-rb5-sndcard"; 10325def4c47SEmmanuel Vadot pinctrl-0 = <&tert_mi2s_active>; 10335def4c47SEmmanuel Vadot pinctrl-names = "default"; 10345def4c47SEmmanuel Vadot model = "Qualcomm-RB5-WSA8815-Speakers-DMIC0"; 10355def4c47SEmmanuel Vadot audio-routing = 10365def4c47SEmmanuel Vadot "SpkrLeft IN", "WSA_SPK1 OUT", 10375def4c47SEmmanuel Vadot "SpkrRight IN", "WSA_SPK2 OUT", 10385def4c47SEmmanuel Vadot "VA DMIC0", "vdd-micb", 10395def4c47SEmmanuel Vadot "VA DMIC1", "vdd-micb", 10405def4c47SEmmanuel Vadot "MM_DL1", "MultiMedia1 Playback", 10415def4c47SEmmanuel Vadot "MM_DL2", "MultiMedia2 Playback", 10425def4c47SEmmanuel Vadot "MultiMedia3 Capture", "MM_UL3"; 10435def4c47SEmmanuel Vadot 10445def4c47SEmmanuel Vadot mm1-dai-link { 10455def4c47SEmmanuel Vadot link-name = "MultiMedia1"; 10465def4c47SEmmanuel Vadot cpu { 10475def4c47SEmmanuel Vadot sound-dai = <&q6asmdai MSM_FRONTEND_DAI_MULTIMEDIA1>; 10485def4c47SEmmanuel Vadot }; 10495def4c47SEmmanuel Vadot }; 10505def4c47SEmmanuel Vadot 10515def4c47SEmmanuel Vadot mm2-dai-link { 10525def4c47SEmmanuel Vadot link-name = "MultiMedia2"; 10535def4c47SEmmanuel Vadot cpu { 10545def4c47SEmmanuel Vadot sound-dai = <&q6asmdai MSM_FRONTEND_DAI_MULTIMEDIA2>; 10555def4c47SEmmanuel Vadot }; 10565def4c47SEmmanuel Vadot }; 10575def4c47SEmmanuel Vadot 10585def4c47SEmmanuel Vadot mm3-dai-link { 10595def4c47SEmmanuel Vadot link-name = "MultiMedia3"; 10605def4c47SEmmanuel Vadot cpu { 10615def4c47SEmmanuel Vadot sound-dai = <&q6asmdai MSM_FRONTEND_DAI_MULTIMEDIA3>; 10625def4c47SEmmanuel Vadot }; 10635def4c47SEmmanuel Vadot }; 10645def4c47SEmmanuel Vadot 10655def4c47SEmmanuel Vadot hdmi-dai-link { 10665def4c47SEmmanuel Vadot link-name = "HDMI Playback"; 10675def4c47SEmmanuel Vadot cpu { 10685def4c47SEmmanuel Vadot sound-dai = <&q6afedai TERTIARY_MI2S_RX>; 10695def4c47SEmmanuel Vadot }; 10705def4c47SEmmanuel Vadot 10715def4c47SEmmanuel Vadot platform { 10725def4c47SEmmanuel Vadot sound-dai = <&q6routing>; 10735def4c47SEmmanuel Vadot }; 10745def4c47SEmmanuel Vadot 10755def4c47SEmmanuel Vadot codec { 10765def4c47SEmmanuel Vadot sound-dai = <<9611_codec 0>; 10775def4c47SEmmanuel Vadot }; 10785def4c47SEmmanuel Vadot }; 10795def4c47SEmmanuel Vadot 10805def4c47SEmmanuel Vadot dma-dai-link { 10815def4c47SEmmanuel Vadot link-name = "WSA Playback"; 10825def4c47SEmmanuel Vadot cpu { 10835def4c47SEmmanuel Vadot sound-dai = <&q6afedai WSA_CODEC_DMA_RX_0>; 10845def4c47SEmmanuel Vadot }; 10855def4c47SEmmanuel Vadot 10865def4c47SEmmanuel Vadot platform { 10875def4c47SEmmanuel Vadot sound-dai = <&q6routing>; 10885def4c47SEmmanuel Vadot }; 10895def4c47SEmmanuel Vadot 10905def4c47SEmmanuel Vadot codec { 10915def4c47SEmmanuel Vadot sound-dai = <&left_spkr>, <&right_spkr>, <&swr0 0>, <&wsamacro 0>; 10925def4c47SEmmanuel Vadot }; 10935def4c47SEmmanuel Vadot }; 10945def4c47SEmmanuel Vadot 10955def4c47SEmmanuel Vadot va-dai-link { 10965def4c47SEmmanuel Vadot link-name = "VA Capture"; 10975def4c47SEmmanuel Vadot cpu { 10985def4c47SEmmanuel Vadot sound-dai = <&q6afedai VA_CODEC_DMA_TX_0>; 10995def4c47SEmmanuel Vadot }; 11005def4c47SEmmanuel Vadot 11015def4c47SEmmanuel Vadot platform { 11025def4c47SEmmanuel Vadot sound-dai = <&q6routing>; 11035def4c47SEmmanuel Vadot }; 11045def4c47SEmmanuel Vadot 11055def4c47SEmmanuel Vadot codec { 11065def4c47SEmmanuel Vadot sound-dai = <&vamacro 0>; 11075def4c47SEmmanuel Vadot }; 11085def4c47SEmmanuel Vadot }; 11095def4c47SEmmanuel Vadot}; 11105def4c47SEmmanuel Vadot 11116be33864SEmmanuel Vadot/* CAN */ 11126be33864SEmmanuel Vadot&spi0 { 11136be33864SEmmanuel Vadot status = "okay"; 11142eb4d8dcSEmmanuel Vadot pinctrl-names = "default"; 11152eb4d8dcSEmmanuel Vadot pinctrl-0 = <&qup_spi0_data_clk>, <&qup_spi0_cs_gpio>; 11162eb4d8dcSEmmanuel Vadot cs-gpios = <&tlmm 31 GPIO_ACTIVE_LOW>; 11175def4c47SEmmanuel Vadot 11185def4c47SEmmanuel Vadot can@0 { 11195def4c47SEmmanuel Vadot compatible = "microchip,mcp2518fd"; 11205def4c47SEmmanuel Vadot reg = <0>; 11215def4c47SEmmanuel Vadot clocks = <&clk40M>; 11225def4c47SEmmanuel Vadot interrupts-extended = <&tlmm 15 IRQ_TYPE_LEVEL_LOW>; 11235def4c47SEmmanuel Vadot spi-max-frequency = <10000000>; 11245def4c47SEmmanuel Vadot vdd-supply = <&vdc_5v>; 11255def4c47SEmmanuel Vadot xceiver-supply = <&vdc_5v>; 11265def4c47SEmmanuel Vadot }; 11275def4c47SEmmanuel Vadot}; 11285def4c47SEmmanuel Vadot 11295def4c47SEmmanuel Vadot&swr0 { 1130cb7aa33aSEmmanuel Vadot status = "okay"; 1131cb7aa33aSEmmanuel Vadot 11328bab661aSEmmanuel Vadot left_spkr: speaker@0,3 { 11335def4c47SEmmanuel Vadot compatible = "sdw10217211000"; 11345def4c47SEmmanuel Vadot reg = <0 3>; 1135cb7aa33aSEmmanuel Vadot powerdown-gpios = <&tlmm 130 GPIO_ACTIVE_LOW>; 11365def4c47SEmmanuel Vadot #thermal-sensor-cells = <0>; 11375def4c47SEmmanuel Vadot sound-name-prefix = "SpkrLeft"; 11385def4c47SEmmanuel Vadot #sound-dai-cells = <0>; 11395def4c47SEmmanuel Vadot }; 11405def4c47SEmmanuel Vadot 11418bab661aSEmmanuel Vadot right_spkr: speaker@0,4 { 11425def4c47SEmmanuel Vadot compatible = "sdw10217211000"; 11435def4c47SEmmanuel Vadot reg = <0 4>; 1144cb7aa33aSEmmanuel Vadot powerdown-gpios = <&tlmm 130 GPIO_ACTIVE_LOW>; 11455def4c47SEmmanuel Vadot #thermal-sensor-cells = <0>; 11465def4c47SEmmanuel Vadot sound-name-prefix = "SpkrRight"; 11475def4c47SEmmanuel Vadot #sound-dai-cells = <0>; 11485def4c47SEmmanuel Vadot }; 11496be33864SEmmanuel Vadot}; 11506be33864SEmmanuel Vadot 11516be33864SEmmanuel Vadot&tlmm { 11526be33864SEmmanuel Vadot gpio-reserved-ranges = <40 4>; 11536be33864SEmmanuel Vadot gpio-line-names = 11546be33864SEmmanuel Vadot "GPIO-MM", 11556be33864SEmmanuel Vadot "GPIO-NN", 11566be33864SEmmanuel Vadot "GPIO-OO", 11576be33864SEmmanuel Vadot "GPIO-PP", 11586be33864SEmmanuel Vadot "GPIO-A", 11596be33864SEmmanuel Vadot "GPIO-C", 11606be33864SEmmanuel Vadot "GPIO-E", 11616be33864SEmmanuel Vadot "GPIO-D", 11626be33864SEmmanuel Vadot "I2C0-SDA", 11636be33864SEmmanuel Vadot "I2C0-SCL", 11646be33864SEmmanuel Vadot "GPIO-TT", /* GPIO_10 */ 11656be33864SEmmanuel Vadot "NC", 11666be33864SEmmanuel Vadot "GPIO_12_I2C_SDA", 11676be33864SEmmanuel Vadot "GPIO_13_I2C_SCL", 11686be33864SEmmanuel Vadot "GPIO-X", 11696be33864SEmmanuel Vadot "GPIO_15_RGMII_INT", 11706be33864SEmmanuel Vadot "HST_BT_UART_CTS", 11716be33864SEmmanuel Vadot "HST_BT_UART_RFR", 11726be33864SEmmanuel Vadot "HST_BT_UART_TX", 11736be33864SEmmanuel Vadot "HST_BT_UART_RX", 11746be33864SEmmanuel Vadot "HST_WLAN_EN", /* GPIO_20 */ 11756be33864SEmmanuel Vadot "HST_BT_EN", 11766be33864SEmmanuel Vadot "GPIO-AAA", 11776be33864SEmmanuel Vadot "GPIO-BBB", 11786be33864SEmmanuel Vadot "GPIO-CCC", 11796be33864SEmmanuel Vadot "GPIO-Z", 11806be33864SEmmanuel Vadot "GPIO-DDD", 11816be33864SEmmanuel Vadot "GPIO-BB", 11826be33864SEmmanuel Vadot "GPIO_28_CAN_SPI_MISO", 11836be33864SEmmanuel Vadot "GPIO_29_CAN_SPI_MOSI", 11846be33864SEmmanuel Vadot "GPIO_30_CAN_SPI_CLK", /* GPIO_30 */ 11856be33864SEmmanuel Vadot "GPIO_31_CAN_SPI_CS", 11866be33864SEmmanuel Vadot "GPIO-UU", 11876be33864SEmmanuel Vadot "NC", 11886be33864SEmmanuel Vadot "UART1_TXD_SOM", 11896be33864SEmmanuel Vadot "UART1_RXD_SOM", 11906be33864SEmmanuel Vadot "UART0_CTS", 11916be33864SEmmanuel Vadot "UART0_RTS", 11926be33864SEmmanuel Vadot "UART0_TXD", 11936be33864SEmmanuel Vadot "UART0_RXD", 11946be33864SEmmanuel Vadot "SPI1_MISO", /* GPIO_40 */ 11956be33864SEmmanuel Vadot "SPI1_MOSI", 11966be33864SEmmanuel Vadot "SPI1_CLK", 11976be33864SEmmanuel Vadot "SPI1_CS", 11986be33864SEmmanuel Vadot "I2C1_SDA", 11996be33864SEmmanuel Vadot "I2C1_SCL", 12006be33864SEmmanuel Vadot "GPIO-F", 12016be33864SEmmanuel Vadot "GPIO-JJ", 12026be33864SEmmanuel Vadot "Board_ID1", 12036be33864SEmmanuel Vadot "Board_ID2", 12046be33864SEmmanuel Vadot "NC", /* GPIO_50 */ 12056be33864SEmmanuel Vadot "NC", 12066be33864SEmmanuel Vadot "SPI0_MISO", 12076be33864SEmmanuel Vadot "SPI0_MOSI", 12086be33864SEmmanuel Vadot "SPI0_SCLK", 12096be33864SEmmanuel Vadot "SPI0_CS", 12106be33864SEmmanuel Vadot "GPIO-QQ", 12116be33864SEmmanuel Vadot "GPIO-RR", 12126be33864SEmmanuel Vadot "USB2LAN_RESET", 12136be33864SEmmanuel Vadot "USB2LAN_EXTWAKE", 12146be33864SEmmanuel Vadot "NC", /* GPIO_60 */ 12156be33864SEmmanuel Vadot "NC", 12166be33864SEmmanuel Vadot "NC", 12176be33864SEmmanuel Vadot "LT9611_INT", 12186be33864SEmmanuel Vadot "GPIO-AA", 12196be33864SEmmanuel Vadot "USB_CC_DIR", 12206be33864SEmmanuel Vadot "GPIO-G", 12216be33864SEmmanuel Vadot "GPIO-LL", 12226be33864SEmmanuel Vadot "USB_DP_HPD_1P8", 12236be33864SEmmanuel Vadot "NC", 12246be33864SEmmanuel Vadot "NC", /* GPIO_70 */ 12256be33864SEmmanuel Vadot "SD_CMD", 12266be33864SEmmanuel Vadot "SD_DAT3", 12276be33864SEmmanuel Vadot "SD_SCLK", 12286be33864SEmmanuel Vadot "SD_DAT2", 12296be33864SEmmanuel Vadot "SD_DAT1", 12306be33864SEmmanuel Vadot "SD_DAT0", /* BOOT_CFG3 */ 12316be33864SEmmanuel Vadot "SD_UFS_CARD_DET_N", 12326be33864SEmmanuel Vadot "GPIO-II", 12336be33864SEmmanuel Vadot "PCIE0_RST_N", 12346be33864SEmmanuel Vadot "PCIE0_CLK_REQ_N", /* GPIO_80 */ 12356be33864SEmmanuel Vadot "PCIE0_WAKE_N", 12366be33864SEmmanuel Vadot "GPIO-CC", 12376be33864SEmmanuel Vadot "GPIO-DD", 12386be33864SEmmanuel Vadot "GPIO-EE", 12396be33864SEmmanuel Vadot "GPIO-FF", 12406be33864SEmmanuel Vadot "GPIO-GG", 12416be33864SEmmanuel Vadot "GPIO-HH", 12426be33864SEmmanuel Vadot "GPIO-VV", 12436be33864SEmmanuel Vadot "GPIO-WW", 12446be33864SEmmanuel Vadot "NC", /* GPIO_90 */ 12456be33864SEmmanuel Vadot "NC", 12466be33864SEmmanuel Vadot "GPIO-K", 12476be33864SEmmanuel Vadot "GPIO-I", 12486be33864SEmmanuel Vadot "CSI0_MCLK", 12496be33864SEmmanuel Vadot "CSI1_MCLK", 12506be33864SEmmanuel Vadot "CSI2_MCLK", 12516be33864SEmmanuel Vadot "CSI3_MCLK", 12526be33864SEmmanuel Vadot "GPIO-AA", /* CSI4_MCLK */ 12536be33864SEmmanuel Vadot "GPIO-BB", /* CSI5_MCLK */ 12546be33864SEmmanuel Vadot "GPIO-KK", /* GPIO_100 */ 12556be33864SEmmanuel Vadot "CCI_I2C_SDA0", 12566be33864SEmmanuel Vadot "CCI_I2C_SCL0", 12576be33864SEmmanuel Vadot "CCI_I2C_SDA1", 12586be33864SEmmanuel Vadot "CCI_I2C_SCL1", 12596be33864SEmmanuel Vadot "CCI_I2C_SDA2", 12606be33864SEmmanuel Vadot "CCI_I2C_SCL2", 12616be33864SEmmanuel Vadot "CCI_I2C_SDA3", 12626be33864SEmmanuel Vadot "CCI_I2C_SCL3", 12636be33864SEmmanuel Vadot "GPIO-L", 12646be33864SEmmanuel Vadot "NC", /* GPIO_110 */ 12656be33864SEmmanuel Vadot "NC", 12666be33864SEmmanuel Vadot "ACCEL_INT", 12676be33864SEmmanuel Vadot "GYRO_INT", 12686be33864SEmmanuel Vadot "GPIO-J", 12696be33864SEmmanuel Vadot "GPIO-YY", 12706be33864SEmmanuel Vadot "GPIO-H", 12716be33864SEmmanuel Vadot "GPIO-ZZ", 12726be33864SEmmanuel Vadot "NC", 12736be33864SEmmanuel Vadot "NC", 12746be33864SEmmanuel Vadot "NC", /* GPIO_120 */ 12756be33864SEmmanuel Vadot "NC", 12766be33864SEmmanuel Vadot "MAG_INT", 12776be33864SEmmanuel Vadot "MAG_DRDY_INT", 12786be33864SEmmanuel Vadot "HST_SW_CTRL", 12796be33864SEmmanuel Vadot "GPIO-M", 12806be33864SEmmanuel Vadot "GPIO-N", 12816be33864SEmmanuel Vadot "GPIO-O", 12826be33864SEmmanuel Vadot "GPIO-P", 12836be33864SEmmanuel Vadot "PS_INT", 12846be33864SEmmanuel Vadot "WSA1_EN", /* GPIO_130 */ 12856be33864SEmmanuel Vadot "USB_HUB_RESET", 12866be33864SEmmanuel Vadot "SDM_FORCE_USB_BOOT", 12876be33864SEmmanuel Vadot "I2S1_CLK_HDMI", 12886be33864SEmmanuel Vadot "I2S1_DATA0_HDMI", 12896be33864SEmmanuel Vadot "I2S1_WS_HDMI", 12906be33864SEmmanuel Vadot "GPIO-B", 12916be33864SEmmanuel Vadot "GPIO_137", /* To LT9611_I2S_MCLK_3V3 */ 12926be33864SEmmanuel Vadot "PCM_CLK", 12936be33864SEmmanuel Vadot "PCM_DI", 12946be33864SEmmanuel Vadot "PCM_DO", /* GPIO_140 */ 12956be33864SEmmanuel Vadot "PCM_FS", 12966be33864SEmmanuel Vadot "HST_SLIM_CLK", 12976be33864SEmmanuel Vadot "HST_SLIM_DATA", 12986be33864SEmmanuel Vadot "GPIO-U", 12996be33864SEmmanuel Vadot "GPIO-Y", 13006be33864SEmmanuel Vadot "GPIO-R", 13016be33864SEmmanuel Vadot "GPIO-Q", 13026be33864SEmmanuel Vadot "GPIO-S", 13036be33864SEmmanuel Vadot "GPIO-T", 13046be33864SEmmanuel Vadot "GPIO-V", /* GPIO_150 */ 13056be33864SEmmanuel Vadot "GPIO-W", 13066be33864SEmmanuel Vadot "DMIC_CLK1", 13076be33864SEmmanuel Vadot "DMIC_DATA1", 13086be33864SEmmanuel Vadot "DMIC_CLK2", 13096be33864SEmmanuel Vadot "DMIC_DATA2", 13106be33864SEmmanuel Vadot "WSA_SWR_CLK", 13116be33864SEmmanuel Vadot "WSA_SWR_DATA", 13126be33864SEmmanuel Vadot "DMIC_CLK3", 13136be33864SEmmanuel Vadot "DMIC_DATA3", 13146be33864SEmmanuel Vadot "I2C4_SDA", /* GPIO_160 */ 13156be33864SEmmanuel Vadot "I2C4_SCL", 13166be33864SEmmanuel Vadot "SPI3_CS1", 13176be33864SEmmanuel Vadot "SPI3_CS2", 13186be33864SEmmanuel Vadot "SPI2_MISO_LS3", 13196be33864SEmmanuel Vadot "SPI2_MOSI_LS3", 13206be33864SEmmanuel Vadot "SPI2_CLK_LS3", 13216be33864SEmmanuel Vadot "SPI2_ACCEL_CS_LS3", 13226be33864SEmmanuel Vadot "SPI2_CS1", 13236be33864SEmmanuel Vadot "NC", 13246be33864SEmmanuel Vadot "GPIO-SS", /* GPIO_170 */ 13256be33864SEmmanuel Vadot "GPIO-XX", 13266be33864SEmmanuel Vadot "SPI3_MISO", 13276be33864SEmmanuel Vadot "SPI3_MOSI", 13286be33864SEmmanuel Vadot "SPI3_CLK", 13296be33864SEmmanuel Vadot "SPI3_CS", 13306be33864SEmmanuel Vadot "HST_BLE_SNS_UART_TX", 13316be33864SEmmanuel Vadot "HST_BLE_SNS_UART_RX", 13326be33864SEmmanuel Vadot "HST_WLAN_UART_TX", 13336be33864SEmmanuel Vadot "HST_WLAN_UART_RX"; 13345def4c47SEmmanuel Vadot 13358d13bc63SEmmanuel Vadot bt_en_state: bt-default-state { 13368d13bc63SEmmanuel Vadot pins = "gpio21"; 13378d13bc63SEmmanuel Vadot function = "gpio"; 13388d13bc63SEmmanuel Vadot drive-strength = <16>; 13398d13bc63SEmmanuel Vadot output-low; 13408d13bc63SEmmanuel Vadot bias-pull-up; 13418d13bc63SEmmanuel Vadot }; 13428d13bc63SEmmanuel Vadot 13438bab661aSEmmanuel Vadot lt9611_irq_pin: lt9611-irq-state { 13445def4c47SEmmanuel Vadot pins = "gpio63"; 13455def4c47SEmmanuel Vadot function = "gpio"; 13465def4c47SEmmanuel Vadot bias-disable; 13475def4c47SEmmanuel Vadot }; 13485def4c47SEmmanuel Vadot 13498bab661aSEmmanuel Vadot sdc2_default_state: sdc2-default-state { 13508bab661aSEmmanuel Vadot clk-pins { 13515def4c47SEmmanuel Vadot pins = "sdc2_clk"; 13525def4c47SEmmanuel Vadot bias-disable; 13535def4c47SEmmanuel Vadot drive-strength = <16>; 13545def4c47SEmmanuel Vadot }; 13555def4c47SEmmanuel Vadot 13568bab661aSEmmanuel Vadot cmd-pins { 13575def4c47SEmmanuel Vadot pins = "sdc2_cmd"; 13585def4c47SEmmanuel Vadot bias-pull-up; 13595def4c47SEmmanuel Vadot drive-strength = <10>; 13605def4c47SEmmanuel Vadot }; 13615def4c47SEmmanuel Vadot 13628bab661aSEmmanuel Vadot data-pins { 13635def4c47SEmmanuel Vadot pins = "sdc2_data"; 13645def4c47SEmmanuel Vadot bias-pull-up; 13655def4c47SEmmanuel Vadot drive-strength = <10>; 13665def4c47SEmmanuel Vadot }; 13675def4c47SEmmanuel Vadot }; 13685def4c47SEmmanuel Vadot 13698bab661aSEmmanuel Vadot sdc2_card_det_n: sd-card-det-n-state { 13705def4c47SEmmanuel Vadot pins = "gpio77"; 13715def4c47SEmmanuel Vadot function = "gpio"; 13725def4c47SEmmanuel Vadot bias-pull-up; 13735def4c47SEmmanuel Vadot }; 1374*0e8011faSEmmanuel Vadot 1375*0e8011faSEmmanuel Vadot wlan_en_state: wlan-default-state { 1376*0e8011faSEmmanuel Vadot pins = "gpio20"; 1377*0e8011faSEmmanuel Vadot function = "gpio"; 1378*0e8011faSEmmanuel Vadot drive-strength = <16>; 1379*0e8011faSEmmanuel Vadot output-low; 1380*0e8011faSEmmanuel Vadot bias-pull-up; 1381*0e8011faSEmmanuel Vadot }; 13826be33864SEmmanuel Vadot}; 13836be33864SEmmanuel Vadot 13848d13bc63SEmmanuel Vadot&uart6 { 13858d13bc63SEmmanuel Vadot status = "okay"; 13868d13bc63SEmmanuel Vadot 13878d13bc63SEmmanuel Vadot bluetooth { 13888d13bc63SEmmanuel Vadot compatible = "qcom,qca6390-bt"; 13898d13bc63SEmmanuel Vadot 1390*0e8011faSEmmanuel Vadot vddrfacmn-supply = <&vreg_pmu_rfa_cmn>; 1391*0e8011faSEmmanuel Vadot vddaon-supply = <&vreg_pmu_aon_0p59>; 1392*0e8011faSEmmanuel Vadot vddbtcmx-supply = <&vreg_pmu_btcmx_0p85>; 1393*0e8011faSEmmanuel Vadot vddrfa0p8-supply = <&vreg_pmu_rfa_0p8>; 1394*0e8011faSEmmanuel Vadot vddrfa1p2-supply = <&vreg_pmu_rfa_1p2>; 1395*0e8011faSEmmanuel Vadot vddrfa1p7-supply = <&vreg_pmu_rfa_1p7>; 13968d13bc63SEmmanuel Vadot }; 13978d13bc63SEmmanuel Vadot}; 13988d13bc63SEmmanuel Vadot 13996be33864SEmmanuel Vadot&uart12 { 14006be33864SEmmanuel Vadot status = "okay"; 14016be33864SEmmanuel Vadot}; 14026be33864SEmmanuel Vadot 14036be33864SEmmanuel Vadot&ufs_mem_hc { 14046be33864SEmmanuel Vadot status = "okay"; 14056be33864SEmmanuel Vadot 14066be33864SEmmanuel Vadot vcc-supply = <&vreg_l17a_3p0>; 14076be33864SEmmanuel Vadot vcc-max-microamp = <800000>; 14086be33864SEmmanuel Vadot vccq-supply = <&vreg_l6a_1p2>; 14096be33864SEmmanuel Vadot vccq-max-microamp = <800000>; 14106be33864SEmmanuel Vadot vccq2-supply = <&vreg_s4a_1p8>; 14116be33864SEmmanuel Vadot vccq2-max-microamp = <800000>; 14126be33864SEmmanuel Vadot}; 14136be33864SEmmanuel Vadot 14146be33864SEmmanuel Vadot&ufs_mem_phy { 14156be33864SEmmanuel Vadot status = "okay"; 14166be33864SEmmanuel Vadot 14176be33864SEmmanuel Vadot vdda-phy-supply = <&vreg_l5a_0p88>; 14186be33864SEmmanuel Vadot vdda-pll-supply = <&vreg_l9a_1p2>; 14196be33864SEmmanuel Vadot}; 14205def4c47SEmmanuel Vadot 14215def4c47SEmmanuel Vadot&usb_1 { 14225def4c47SEmmanuel Vadot status = "okay"; 14235def4c47SEmmanuel Vadot}; 14245def4c47SEmmanuel Vadot 14255def4c47SEmmanuel Vadot&usb_1_dwc3 { 142684943d6fSEmmanuel Vadot dr_mode = "otg"; 142784943d6fSEmmanuel Vadot usb-role-switch; 142884943d6fSEmmanuel Vadot}; 142984943d6fSEmmanuel Vadot 1430*0e8011faSEmmanuel Vadot&usb_1_dwc3_hs_out { 1431*0e8011faSEmmanuel Vadot remote-endpoint = <&pm8150b_hs_in>; 14325def4c47SEmmanuel Vadot}; 14335def4c47SEmmanuel Vadot 14345def4c47SEmmanuel Vadot&usb_1_hsphy { 14355def4c47SEmmanuel Vadot status = "okay"; 14365def4c47SEmmanuel Vadot 14375def4c47SEmmanuel Vadot vdda-pll-supply = <&vreg_l5a_0p88>; 14385def4c47SEmmanuel Vadot vdda33-supply = <&vreg_l2a_3p1>; 14395def4c47SEmmanuel Vadot vdda18-supply = <&vreg_l12a_1p8>; 14405def4c47SEmmanuel Vadot}; 14415def4c47SEmmanuel Vadot 14425def4c47SEmmanuel Vadot&usb_1_qmpphy { 14435def4c47SEmmanuel Vadot status = "okay"; 14445def4c47SEmmanuel Vadot 14455def4c47SEmmanuel Vadot vdda-phy-supply = <&vreg_l9a_1p2>; 14465def4c47SEmmanuel Vadot vdda-pll-supply = <&vreg_l18a_0p92>; 144784943d6fSEmmanuel Vadot}; 144884943d6fSEmmanuel Vadot 144984943d6fSEmmanuel Vadot&usb_1_qmpphy_out { 145084943d6fSEmmanuel Vadot remote-endpoint = <&redriver_phy_con_ss>; 14515def4c47SEmmanuel Vadot}; 14525def4c47SEmmanuel Vadot 14535def4c47SEmmanuel Vadot&usb_2 { 14545def4c47SEmmanuel Vadot status = "okay"; 14555def4c47SEmmanuel Vadot}; 14565def4c47SEmmanuel Vadot 14575def4c47SEmmanuel Vadot&usb_2_dwc3 { 14585def4c47SEmmanuel Vadot dr_mode = "host"; 14595def4c47SEmmanuel Vadot}; 14605def4c47SEmmanuel Vadot 14615def4c47SEmmanuel Vadot&usb_2_hsphy { 14625def4c47SEmmanuel Vadot status = "okay"; 14635def4c47SEmmanuel Vadot 14645def4c47SEmmanuel Vadot vdda-pll-supply = <&vreg_l5a_0p88>; 14655def4c47SEmmanuel Vadot vdda33-supply = <&vreg_l2a_3p1>; 14665def4c47SEmmanuel Vadot vdda18-supply = <&vreg_l12a_1p8>; 14675def4c47SEmmanuel Vadot}; 14685def4c47SEmmanuel Vadot 14695def4c47SEmmanuel Vadot&usb_2_qmpphy { 14705def4c47SEmmanuel Vadot status = "okay"; 14715def4c47SEmmanuel Vadot 14725def4c47SEmmanuel Vadot vdda-phy-supply = <&vreg_l9a_1p2>; 14735def4c47SEmmanuel Vadot vdda-pll-supply = <&vreg_l18a_0p92>; 14745def4c47SEmmanuel Vadot}; 14755def4c47SEmmanuel Vadot 14765def4c47SEmmanuel Vadot&vamacro { 14775def4c47SEmmanuel Vadot pinctrl-0 = <&dmic01_active>; 14785def4c47SEmmanuel Vadot pinctrl-names = "default"; 14795def4c47SEmmanuel Vadot vdd-micb-supply = <&vreg_s4a_1p8>; 14805def4c47SEmmanuel Vadot qcom,dmic-sample-rate = <600000>; 14815def4c47SEmmanuel Vadot}; 14822eb4d8dcSEmmanuel Vadot 14835956d97fSEmmanuel Vadot&venus { 14845956d97fSEmmanuel Vadot status = "okay"; 14855956d97fSEmmanuel Vadot}; 14865956d97fSEmmanuel Vadot 1487cb7aa33aSEmmanuel Vadot&wsamacro { 1488cb7aa33aSEmmanuel Vadot status = "okay"; 1489cb7aa33aSEmmanuel Vadot}; 1490cb7aa33aSEmmanuel Vadot 14912eb4d8dcSEmmanuel Vadot/* PINCTRL - additions to nodes defined in sm8250.dtsi */ 14922eb4d8dcSEmmanuel Vadot&qup_spi0_cs_gpio { 14932eb4d8dcSEmmanuel Vadot drive-strength = <6>; 14942eb4d8dcSEmmanuel Vadot bias-disable; 14952eb4d8dcSEmmanuel Vadot}; 14962eb4d8dcSEmmanuel Vadot 14972eb4d8dcSEmmanuel Vadot&qup_spi0_data_clk { 14982eb4d8dcSEmmanuel Vadot drive-strength = <6>; 14992eb4d8dcSEmmanuel Vadot bias-disable; 15002eb4d8dcSEmmanuel Vadot}; 150184943d6fSEmmanuel Vadot 150284943d6fSEmmanuel Vadot&pm8150b_vbus { 150384943d6fSEmmanuel Vadot regulator-min-microamp = <500000>; 150484943d6fSEmmanuel Vadot regulator-max-microamp = <3000000>; 150584943d6fSEmmanuel Vadot status = "okay"; 150684943d6fSEmmanuel Vadot}; 150784943d6fSEmmanuel Vadot 150884943d6fSEmmanuel Vadot&pm8150b_typec { 150984943d6fSEmmanuel Vadot status = "okay"; 151084943d6fSEmmanuel Vadot 151184943d6fSEmmanuel Vadot vdd-pdphy-supply = <&vreg_l2a_3p1>; 151284943d6fSEmmanuel Vadot 151384943d6fSEmmanuel Vadot connector { 151484943d6fSEmmanuel Vadot compatible = "usb-c-connector"; 151584943d6fSEmmanuel Vadot 151684943d6fSEmmanuel Vadot power-role = "source"; 151784943d6fSEmmanuel Vadot data-role = "dual"; 151884943d6fSEmmanuel Vadot self-powered; 151984943d6fSEmmanuel Vadot 152084943d6fSEmmanuel Vadot source-pdos = <PDO_FIXED(5000, 3000, 152184943d6fSEmmanuel Vadot PDO_FIXED_DUAL_ROLE | 152284943d6fSEmmanuel Vadot PDO_FIXED_USB_COMM | 152384943d6fSEmmanuel Vadot PDO_FIXED_DATA_SWAP)>; 152484943d6fSEmmanuel Vadot 152584943d6fSEmmanuel Vadot altmodes { 152684943d6fSEmmanuel Vadot displayport { 15278d13bc63SEmmanuel Vadot svid = /bits/ 16 <0xff01>; 152884943d6fSEmmanuel Vadot vdo = <0x00001c46>; 152984943d6fSEmmanuel Vadot }; 153084943d6fSEmmanuel Vadot }; 153184943d6fSEmmanuel Vadot 153284943d6fSEmmanuel Vadot ports { 153384943d6fSEmmanuel Vadot #address-cells = <1>; 153484943d6fSEmmanuel Vadot #size-cells = <0>; 153584943d6fSEmmanuel Vadot 153684943d6fSEmmanuel Vadot port@0 { 153784943d6fSEmmanuel Vadot reg = <0>; 1538*0e8011faSEmmanuel Vadot pm8150b_hs_in: endpoint { 1539*0e8011faSEmmanuel Vadot remote-endpoint = <&usb_1_dwc3_hs_out>; 154084943d6fSEmmanuel Vadot }; 154184943d6fSEmmanuel Vadot }; 154284943d6fSEmmanuel Vadot 154384943d6fSEmmanuel Vadot port@1 { 154484943d6fSEmmanuel Vadot reg = <1>; 154584943d6fSEmmanuel Vadot pm8150b_typec_mux_in: endpoint { 154684943d6fSEmmanuel Vadot remote-endpoint = <&redriver_usb_con_ss>; 154784943d6fSEmmanuel Vadot }; 154884943d6fSEmmanuel Vadot }; 154984943d6fSEmmanuel Vadot 155084943d6fSEmmanuel Vadot port@2 { 155184943d6fSEmmanuel Vadot reg = <2>; 155284943d6fSEmmanuel Vadot 155384943d6fSEmmanuel Vadot pm8150b_typec_sbu_out: endpoint { 155484943d6fSEmmanuel Vadot remote-endpoint = <&redriver_usb_con_sbu>; 155584943d6fSEmmanuel Vadot }; 155684943d6fSEmmanuel Vadot }; 155784943d6fSEmmanuel Vadot }; 155884943d6fSEmmanuel Vadot }; 155984943d6fSEmmanuel Vadot}; 156084943d6fSEmmanuel Vadot 156184943d6fSEmmanuel Vadot&usb_1_qmpphy_dp_in { 156284943d6fSEmmanuel Vadot remote-endpoint = <&mdss_dp_out>; 156384943d6fSEmmanuel Vadot}; 1564