blob: 20f36edecfff5f37bfd837e4c5b695538e248c2c [file] [log] [blame]
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/regulator/qcom,rpmh-regulator-levels.h>
#include <dt-bindings/iio/qcom,spmi-adc7-smb139x.h>
#include "yupik-pmic-overlay.dtsi"
#include "pm8350b.dtsi"
#include "yupik-audio-overlay.dtsi"
#include "yupik-thermal-overlay-qrd.dtsi"
#include "display/yupik-sde-display-qrd.dtsi"
#include "camera/yupik-camera-sensor-qrd.dtsi"
&soc {
gpio_keys {
compatible = "gpio-keys";
label = "gpio-keys";
pinctrl-names = "default";
pinctrl-0 = <&key_vol_up_default>;
vol_up {
label = "volume_up";
gpios = <&pm7325_gpios 6 GPIO_ACTIVE_LOW>;
linux,input-type = <1>;
linux,code = <KEY_VOLUMEUP>;
gpio-key,wakeup;
debounce-interval = <15>;
linux,can-disable;
};
};
};
&qupv3_se9_i2c {
status = "ok";
qcom,clk-freq-out = <1000000>;
#address-cells = <1>;
#size-cells = <0>;
nq@28 {
compatible = "qcom,sn-nci";
reg = <0x28>;
qcom,sn-irq = <&tlmm 41 0x00>;
qcom,sn-ven = <&tlmm 38 0x00>;
qcom,sn-firm = <&tlmm 40 0x00>;
qcom,sn-clkreq = <&tlmm 39 0x00>;
qcom,sn-vdd-1p8-supply = <&L18B>;
qcom,sn-vdd-1p8-voltage = <1800000 1800000>;
qcom,sn-vdd-1p8-current = <157000>;
interrupt-parent = <&tlmm>;
interrupts = <41 0>;
interrupt-names = "nfc_irq";
pinctrl-names = "nfc_active", "nfc_suspend";
pinctrl-0 = <&nfc_int_active &nfc_enable_active>;
pinctrl-1 = <&nfc_int_suspend &nfc_enable_suspend>;
};
};
&ufsphy_mem {
compatible = "qcom,ufs-phy-qmp-v4-yupik";
vdda-phy-supply = <&L10C>;
vdda-pll-supply = <&L6B>;
vdda-phy-max-microamp = <97500>;
vdda-pll-max-microamp = <18400>;
status = "ok";
};
&ufshc_mem {
vdd-hba-supply = <&gcc_ufs_phy_gdsc>;
vdd-hba-fixed-regulator;
vcc-supply = <&L7B>;
vcc-voltage-level = <2504000 2952000>;
vcc-low-voltage-sup;
vcc-max-microamp = <800000>;
/*
* Yupik target supports both UFS2.2 & UFS3.1, here
* vccq2 is supplied via eLDO, and that is controlled via
* L9B which supports a max voltage of 1.2V, but eLDO would
* supply 1.8V. and same L9B acts as vccq voltage for UFS3.1
* devices.
* Here L9B can max support for 1.2V but UFS GKI driver code
* votes for 1.8V, which is leading to failure from pmic
* regulator.
*
* Now since vccq and control of eLDO are common that is L9B
* we can use vccq vote as control of eLDO for vccq2.
* Hence vccq entries shall be used for both type of UFS
* devices only. And vccq entries should not be changed/removed
* for any design alteration.
*/
vccq-supply = <&L9B>;
vccq-max-microamp = <900000>;
vccq-min-microamp = <10000>;
qcom,vddp-ref-clk-supply = <&L9B>;
qcom,vddp-ref-clk-max-microamp = <100>;
status = "ok";
};
&pmk8350_vadc {
pm8350b_ref_gnd {
reg = <PM8350B_ADC7_REF_GND>;
label = "pm8350b_ref_gnd";
qcom,pre-scaling = <1 1>;
};
pm8350b_vref_1p25 {
reg = <PM8350B_ADC7_1P25VREF>;
label = "pm8350b_vref_1p25";
qcom,pre-scaling = <1 1>;
};
pm8350b_die_temp {
reg = <PM8350B_ADC7_DIE_TEMP>;
label = "pm8350b_die_temp";
qcom,pre-scaling = <1 1>;
};
pm8350b_vph_pwr {
reg = <PM8350B_ADC7_VPH_PWR>;
label = "pm8350b_vph_pwr";
qcom,pre-scaling = <1 3>;
};
pm8350b_vbat_sns {
reg = <PM8350B_ADC7_VBAT_SNS>;
label = "pm8350b_vbat_sns";
qcom,pre-scaling = <1 3>;
};
pm8350b_usb_conn_therm {
reg = <PM8350B_ADC7_AMUX_THM4_100K_PU>;
label = "pm8350b_usb_conn_therm";
qcom,ratiometric;
qcom,hw-settle-time = <200>;
qcom,pre-scaling = <1 1>;
};
pm8350b_chg_skin_therm {
reg = <PM8350B_ADC7_GPIO2_100K_PU>;
label = "pm8350b_chg_skin_therm";
qcom,ratiometric;
qcom,hw-settle-time = <200>;
qcom,pre-scaling = <1 1>;
};
pm8350b_chg_temp {
reg = <PM8350B_ADC7_CHG_TEMP>;
label = "pm8350b_chg_temp";
qcom,pre-scaling = <1 1>;
};
pm8350b_iin_fb {
reg = <PM8350B_ADC7_IIN_FB>;
label = "pm8350b_iin_fb";
qcom,pre-scaling = <32 100>;
};
pm8350b_ichg_fb {
reg = <PM8350B_ADC7_ICHG_FB>;
label = "pm8350b_ichg_fb";
qcom,pre-scaling = <1000 305185>;
};
smb139x_1_smb_temp {
reg = <SMB139x_1_ADC7_SMB_TEMP>;
label = "smb139x_1_smb_temp";
qcom,pre-scaling = <1 1>;
};
smb139x_1_ichg_smb {
reg = <SMB139x_1_ADC7_ICHG_SMB>;
label = "smb139x_1_ichg_smb";
qcom,pre-scaling = <16 100>;
};
smb139x_1_ichg_smb_pt {
reg = <SMB139x_1_ADC7_ICHG_SMB>;
label = "smb139x_1_ichg_smb_pt";
qcom,pre-scaling = <32 100>;
};
smb139x_1_iin_smb {
reg = <SMB139x_1_ADC7_IIN_SMB>;
label = "smb139x_1_iin_smb";
qcom,pre-scaling = <32 100>;
};
smb139x_2_smb_temp {
reg = <SMB139x_2_ADC7_SMB_TEMP>;
label = "smb139x_2_smb_temp";
qcom,pre-scaling = <1 1>;
};
smb139x_2_ichg_smb {
reg = <SMB139x_2_ADC7_ICHG_SMB>;
label = "smb139x_2_ichg_smb";
qcom,pre-scaling = <16 100>;
};
smb139x_2_ichg_smb_pt {
reg = <SMB139x_2_ADC7_ICHG_SMB>;
label = "smb139x_2_ichg_smb_pt";
qcom,pre-scaling = <32 100>;
};
smb139x_2_iin_smb {
reg = <SMB139x_2_ADC7_IIN_SMB>;
label = "smb139x_2_iin_smb";
qcom,pre-scaling = <32 100>;
};
};
&pmk8350_adc_tm {
io-channels = <&pmk8350_vadc PM7325_ADC7_AMUX_THM1_100K_PU>,
<&pmk8350_vadc PM7325_ADC7_AMUX_THM2_100K_PU>,
<&pmk8350_vadc PM7325_ADC7_AMUX_THM3_100K_PU>,
<&pmk8350_vadc PM7325_ADC7_AMUX_THM4_100K_PU>,
<&pmk8350_vadc PMK8350_ADC7_AMUX_THM1_100K_PU>,
<&pmk8350_vadc PM8350B_ADC7_AMUX_THM4_100K_PU>,
<&pmk8350_vadc PM8350B_ADC7_GPIO2_100K_PU>;
pm8350b_usb_conn_therm {
reg = <PM8350B_ADC7_AMUX_THM4_100K_PU>;
qcom,ratiometric;
qcom,hw-settle-time = <200>;
};
pm8350b_chg_skin_therm {
reg = <PM8350B_ADC7_GPIO2_100K_PU>;
qcom,ratiometric;
qcom,hw-settle-time = <200>;
};
};
&thermal_zones {
conn-therm-usr {
polling-delay-passive = <0>;
polling-delay = <0>;
thermal-governor = "user_space";
thermal-sensors = <&pmk8350_adc_tm PM8350B_ADC7_AMUX_THM4_100K_PU>;
wake-capable-sensor;
trips {
active-config0 {
temperature = <125000>;
hysteresis = <1000>;
type = "passive";
};
};
};
charger-therm-usr {
polling-delay-passive = <0>;
polling-delay = <0>;
thermal-governor = "user_space";
thermal-sensors = <&pmk8350_adc_tm PM8350B_ADC7_GPIO2_100K_PU>;
wake-capable-sensor;
trips {
active-config0 {
temperature = <125000>;
hysteresis = <1000>;
type = "passive";
};
};
};
modem-sub6-pa1-step {
polling-delay-passive = <0>;
polling-delay = <0>;
thermal-governor = "step_wise";
thermal-sensors = <&qmi_sensor
(QMI_MODEM_INST_ID+QMI_PA)>;
trips {
sub6_pa1_trip0: sub6-pa1-trip0 {
temperature = <46000>;
hysteresis = <4000>;
type = "passive";
};
sub6_pa1_trip1: sub6-pa1-trip1 {
temperature = <47000>;
hysteresis = <4000>;
type = "passive";
};
sub6_pa1_trip2: sub6-pa1-trip2 {
temperature = <57000>;
hysteresis = <4000>;
type = "passive";
};
};
cooling-maps {
pa_fr1_cdev0 {
trip = <&sub6_pa1_trip0>;
cooling-device = <&modem_pa_fr1 1 1>;
};
pa_fr1_cdev1 {
trip = <&sub6_pa1_trip1>;
cooling-device = <&modem_pa_fr1 2 2>;
};
pa_fr1_cdev2 {
trip = <&sub6_pa1_trip2>;
cooling-device = <&modem_pa_fr1 3 3>;
};
};
};
modem-lte-pa2-step {
polling-delay-passive = <0>;
polling-delay = <0>;
thermal-governor = "step_wise";
thermal-sensors = <&qmi_sensor
(QMI_MODEM_INST_ID+QMI_PA_1)>;
trips {
sub6_pa2_trip0: sub6-pa2-trip0 {
temperature = <46000>;
hysteresis = <4000>;
type = "passive";
};
sub6_pa2_trip1: sub6-pa2-trip1 {
temperature = <47000>;
hysteresis = <4000>;
type = "passive";
};
sub6_pa2_trip2: sub6-pa2-trip2 {
temperature = <57000>;
hysteresis = <4000>;
type = "passive";
};
};
cooling-maps {
pa_cdev0 {
trip = <&sub6_pa2_trip0>;
cooling-device = <&modem_pa 1 1>;
};
pa_cdev1 {
trip = <&sub6_pa2_trip1>;
cooling-device = <&modem_pa 2 2>;
};
pa_cdev2 {
trip = <&sub6_pa2_trip2>;
cooling-device = <&modem_pa 3 3>;
};
};
};
quiet-therm-step {
polling-delay-passive = <2000>;
polling-delay = <0>;
thermal-governor = "step_wise";
thermal-sensors = <&pmk8350_adc_tm PM7325_ADC7_AMUX_THM1_100K_PU>;
trips {
quiet_batt_trip0: quiet-batt-trip0 {
temperature = <44000>;
hysteresis = <2000>;
type = "passive";
};
quiet_batt_trip1: quiet-batt-trip1 {
temperature = <46000>;
hysteresis = <2000>;
type = "passive";
};
quiet_skin_trip0: quiet-skin-trip0 {
temperature = <47000>;
hysteresis = <4000>;
type = "passive";
};
quiet_batt_trip2: quiet-batt-trip2 {
temperature = <48000>;
hysteresis = <2000>;
type = "passive";
};
quiet_batt_trip3: quiet-batt-trip3 {
temperature = <49000>;
hysteresis = <1000>;
type = "passive";
};
quiet_skin_trip1: quiet-skin-trip1 {
temperature = <49000>;
hysteresis = <4000>;
type = "passive";
};
quiet_apc_trip: quiet-apc-trip {
temperature = <50000>;
hysteresis = <0>;
type = "passive";
};
quiet_gpu_trip: quiet-gpu-trip {
temperature = <52000>;
hysteresis = <0>;
type = "passive";
};
quiet_silver_trip: quiet-silver-trip {
temperature = <55000>;
hysteresis = <0>;
type = "passive";
};
quiet_cx_trip: quiet-cx-trip {
temperature = <55000>;
hysteresis = <5000>;
type = "passive";
};
quiet_skin_trip2: quiet-skin-trip2 {
temperature = <57000>;
hysteresis = <4000>;
type = "passive";
};
};
cooling-maps {
apc_cluster_cdev:apc-cluster-cdev {
trip = <&quiet_apc_trip>;
cooling-device = <&apc1_cluster THERMAL_NO_LIMIT 5>;
};
cpu_silver_cdev:cpu-silver-cdev {
trip = <&quiet_silver_trip>;
/* throttle to 1516800KHz */
cooling-device = <&CPU0 THERMAL_NO_LIMIT
(THERMAL_MAX_LIMIT-6)>;
};
gpu-cdev_0 {
trip = <&quiet_gpu_trip>;
/* throttle to 555000000Hz */
cooling-device = <&msm_gpu THERMAL_NO_LIMIT
(THERMAL_MAX_LIMIT-2)>;
};
gpu-cdev_1 {
trip = <&quiet_cx_trip>;
/* throttle to 315000000Hz */
cooling-device = <&msm_gpu THERMAL_MAX_LIMIT
THERMAL_MAX_LIMIT>;
};
cdsp-cdev {
trip = <&quiet_cx_trip>;
cooling-device = <&cdsp_sw 4 4>;
};
skin-cdev0 {
trip = <&quiet_skin_trip0>;
cooling-device = <&modem_skin 1 1>;
};
skin-cdev1 {
trip = <&quiet_skin_trip1>;
cooling-device = <&modem_skin 2 2>;
};
skin-cdev2 {
trip = <&quiet_skin_trip2>;
cooling-device = <&modem_skin 3 3>;
};
batt-cdev0 {
trip = <&quiet_batt_trip0>;
cooling-device = <&battery_charger 4 4>;
};
batt-cdev1 {
trip = <&quiet_batt_trip1>;
cooling-device = <&battery_charger 8 8>;
};
batt-cdev2 {
trip = <&quiet_batt_trip2>;
cooling-device = <&battery_charger 12 12>;
};
batt-cdev3 {
trip = <&quiet_batt_trip3>;
cooling-device = <&battery_charger 16 16>;
};
};
};
modem-mmw-pa1-step {
polling-delay-passive = <0>;
polling-delay = <0>;
thermal-governor = "step_wise";
thermal-sensors = <&qmi_sensor
(QMI_MODEM_INST_ID+QMI_MMW_PA1)>;
trips {
mmw_pa1_trip0: mmw-pa1-trip0 {
temperature = <48000>;
hysteresis = <2000>;
type = "passive";
};
mmw_pa1_trip1: mmw-pa1-trip1 {
temperature = <51000>;
hysteresis = <2000>;
type = "passive";
};
mmw_pa1_trip2: mmw-pa1-trip2 {
temperature = <57000>;
hysteresis = <4000>;
type = "passive";
};
};
cooling-maps {
mmw_skin1_cdev0 {
trip = <&mmw_pa1_trip0>;
cooling-device = <&modem_mmw_skin1 1 1>;
};
mmw_skin1_cdev1 {
trip = <&mmw_pa1_trip1>;
cooling-device = <&modem_mmw_skin1 2 2>;
};
mmw_skin1_cdev2 {
trip = <&mmw_pa1_trip2>;
cooling-device = <&modem_mmw_skin1 3 3>;
};
};
};
modem-mmw-pa2-step {
polling-delay-passive = <0>;
polling-delay = <0>;
thermal-governor = "step_wise";
thermal-sensors = <&qmi_sensor
(QMI_MODEM_INST_ID+QMI_MMW_PA2)>;
trips {
mmw_pa2_trip0: mmw-pa2-trip0 {
temperature = <46000>;
hysteresis = <2000>;
type = "passive";
};
mmw_pa2_trip1: mmw-pa2-trip1 {
temperature = <48000>;
hysteresis = <2000>;
type = "passive";
};
mmw_pa2_trip2: mmw-pa2-trip2 {
temperature = <57000>;
hysteresis = <4000>;
type = "passive";
};
};
cooling-maps {
mmw_skin2_cdev0 {
trip = <&mmw_pa2_trip0>;
cooling-device = <&modem_mmw_skin2 1 1>;
};
mmw_skin2_cdev1 {
trip = <&mmw_pa2_trip1>;
cooling-device = <&modem_mmw_skin2 2 2>;
};
mmw_skin2_cdev2 {
trip = <&mmw_pa2_trip2>;
cooling-device = <&modem_mmw_skin2 3 3>;
};
};
};
modem-mmw-pa3-step {
polling-delay-passive = <0>;
polling-delay = <0>;
thermal-governor = "step_wise";
thermal-sensors = <&qmi_sensor
(QMI_MODEM_INST_ID+QMI_MMW_PA3)>;
trips {
mmw_pa3_trip0: mmw-pa3-trip0 {
temperature = <46000>;
hysteresis = <2000>;
type = "passive";
};
mmw_pa3_trip1: mmw-pa3-trip1 {
temperature = <48000>;
hysteresis = <2000>;
type = "passive";
};
mmw_pa3_trip2: mmw-pa3-trip2 {
temperature = <57000>;
hysteresis = <4000>;
type = "passive";
};
};
cooling-maps {
mmw_skin0_cdev0 {
trip = <&mmw_pa3_trip0>;
cooling-device = <&modem_mmw_skin0 1 1>;
};
mmw_skin0_cdev1 {
trip = <&mmw_pa3_trip1>;
cooling-device = <&modem_mmw_skin0 2 2>;
};
mmw_skin0_cdev2 {
trip = <&mmw_pa3_trip2>;
cooling-device = <&modem_mmw_skin0 3 3>;
};
};
};
};
&apps_rsc {
rpmh-regulator-ldod1 {
compatible = "qcom,rpmh-vrm-regulator";
qcom,resource-name = "ldod1";
qcom,regulator-type = "pmic5-ldo";
qcom,supported-modes =
<RPMH_REGULATOR_MODE_LPM
RPMH_REGULATOR_MODE_HPM>;
qcom,mode-threshold-currents = <0 30000>;
L1D:
pm8350b_l1: regulator-pm8350b-l1 {
regulator-name = "pm8350b_l1";
qcom,set = <RPMH_REGULATOR_SET_ALL>;
regulator-min-microvolt = <1100000>;
regulator-max-microvolt = <1300000>;
qcom,init-voltage = <1200000>;
qcom,init-mode = <RPMH_REGULATOR_MODE_HPM>;
};
};
};
&pm8350c_l12 {
qcom,init-voltage = <1800000>;
};
&spmi_debug_bus {
status = "ok";
};
&spmi_glink_debug {
status = "ok";
};
&pm8350c_switch0 {
qcom,led-mask = <9>; /* Channels 1 & 4 */
qcom,symmetry-en;
};
&pm8350c_switch1 {
qcom,led-mask = <6>; /* Channels 2 & 3 */
qcom,symmetry-en;
};
&pm8350c_switch2 {
qcom,led-mask = <15>; /* All Channels */
qcom,symmetry-en;
};
&pm8350c_flash {
status = "ok";
};
&pmk8350_sdam_2 {
hap_cl_brake: cl_brake@7c {
reg = <0x7c 0x1>;
bits = <0 8>;
};
};
&pm8350b_haptics {
nvmem-cell-names = "hap_cl_brake";
nvmem-cells = <&hap_cl_brake>;
nvmem-names = "hap_cfg_sdam";
nvmem = <&pmk8350_sdam_46>;
qcom,pbs-client = <&pm8350b_pbs2>;
qcom,vmax-mv = <1300>;
qcom,lra-period-us = <5880>;
status = "ok";
effect_0 {
/* CLICK */
qcom,wf-vmax-mv = <1800>;
qcom,wf-pattern-period-us = <5880>;
};
effect_1 {
/* DOUBLE_CLICK */
qcom,wf-vmax-mv = <1800>;
qcom,wf-pattern-period-us = <5880>;
};
effect_2 {
/* TICK */
qcom,wf-vmax-mv = <1800>;
qcom,wf-pattern-period-us = <5880>;
};
effect_3 {
/* THUD */
qcom,wf-vmax-mv = <1800>;
qcom,wf-pattern-period-us = <5880>;
};
effect_4 {
/* POP */
qcom,wf-vmax-mv = <1800>;
qcom,wf-pattern-period-us = <5880>;
};
effect_5 {
/* HEAVY CLICK */
qcom,wf-vmax-mv = <1800>;
qcom,wf-pattern-period-us = <5880>;
};
};
&battery_charger {
qcom,thermal-mitigation = <10000000 9500000 9000000 8500000 8000000
7500000 7000000 6500000 6000000 5500000
5000000 4500000 4000000 3500000 3000000
2500000 2000000 1500000 1000000 500000>;
};
&pm8350b_amoled_ecm {
display-panels = <&dsi_r66451_amoled_90hz_cmd_cphy
&dsi_r66451_amoled_144hz_cmd_cphy>;
};
&pm8350b_tz {
io-channels = <&pmk8350_vadc PM8350B_ADC7_DIE_TEMP>;
io-channel-names = "thermal";
};
&wsa883x_0221 {
status = "disabled";
};
&wsa883x_0222 {
qcom,spkr-sd-n-node = <&wsa_spkr_en1>;
};
&swr_haptics {
status = "okay";
swr-slave-supply = <&hap_swr_slave_reg>;
};
&swr2 {
qcom,swr-phy-dev-addr = <0x0D 0x01170223>,
<0x08 0x58350223>,
<0x08 0x58350222>,
<0x08 0x58350221>,
<0x08 0x58350220>;
};
&wcd938x_rx_slave {
status = "okay";
};
&wcd938x_tx_slave {
status = "okay";
};
&wcd938x_codec {
status = "okay";
};
&wcd937x_codec {
status = "disabled";
};
&wcd937x_rx_slave {
status = "disabled";
};
&wcd937x_tx_slave {
status = "disabled";
};
&yupik_snd {
qcom,model = "lahaina-yupikqrd-snd-card";
qcom,audio-routing =
"AMIC1", "Analog Mic1",
"Analog Mic1", "MIC BIAS1",
"AMIC2", "Analog Mic2",
"Analog Mic2", "MIC BIAS2",
"AMIC3", "Analog Mic3",
"Analog Mic3", "MIC BIAS3",
"AMIC4", "Analog Mic4",
"Analog Mic4", "MIC BIAS1",
"TX DMIC0", "Digital Mic0",
"Digital Mic0", "MIC BIAS1",
"TX DMIC1", "Digital Mic1",
"Digital Mic1", "MIC BIAS1",
"TX DMIC2", "Digital Mic2",
"Digital Mic2", "MIC BIAS3",
"TX DMIC3", "Digital Mic3",
"Digital Mic3", "MIC BIAS3",
"TX DMIC4", "Digital Mic4",
"Digital Mic4", "MIC BIAS4",
"TX DMIC5", "Digital Mic5",
"Digital Mic5", "MIC BIAS4",
"IN1_HPHL", "HPHL_OUT",
"IN2_HPHR", "HPHR_OUT",
"IN3_AUX", "AUX_OUT",
"HAP_IN", "PCM_OUT",
"WSA SRC0_INP", "SRC0",
"WSA_TX DEC0_INP", "TX DEC0 MUX",
"WSA_TX DEC1_INP", "TX DEC1 MUX",
"RX_TX DEC0_INP", "TX DEC0 MUX",
"RX_TX DEC1_INP", "TX DEC1 MUX",
"RX_TX DEC2_INP", "TX DEC2 MUX",
"RX_TX DEC3_INP", "TX DEC3 MUX",
"SpkrRight IN", "WSA_SPK2 OUT",
"TX SWR_INPUT", "WCD_TX_OUTPUT",
"VA SWR_INPUT", "VA_SWR_CLK",
"VA SWR_INPUT", "WCD_TX_OUTPUT",
"VA_AIF1 CAP", "VA_SWR_CLK",
"VA_AIF2 CAP", "VA_SWR_CLK",
"VA_AIF3 CAP", "VA_SWR_CLK",
"VA DMIC0", "Digital Mic0",
"VA DMIC1", "Digital Mic1",
"VA DMIC2", "Digital Mic2",
"VA DMIC3", "Digital Mic3",
"VA DMIC4", "Digital Mic4",
"VA DMIC5", "Digital Mic5",
"VA DMIC0", "VA MIC BIAS1",
"VA DMIC1", "VA MIC BIAS3",
"VA DMIC2", "VA MIC BIAS4",
"VA DMIC3", "VA MIC BIAS1",
"VA DMIC4", "VA MIC BIAS3",
"VA DMIC5", "VA MIC BIAS4";
qcom,swr-dmic-max-devs = <0>;
qcom,msm-mbhc-usbc-audio-supported = <1>;
qcom,msm-mbhc-hphl-swh = <0>;
qcom,msm-mbhc-gnd-swh = <0>;
asoc-codec = <&stub_codec>, <&bolero>,
<&wcd938x_codec>, <&swr_haptics>,
<&wsa883x_0222>,
<&ext_disp_audio_codec>;
asoc-codec-names = "msm-stub-codec.1", "bolero_codec",
"wcd938x_codec", "swr-haptics",
"wsa-codec2",
"msm-ext-disp-audio-codec-rx";
qcom,wsa-max-devs = <1>;
qcom,msm_audio_ssr_devs = <&audio_apr>, <&q6core>, <&lpi_tlmm>,
<&bolero>;
};
&sdhc_1 {
pinctrl-names = "default", "sleep";
pinctrl-0 = <&sdc1_on>;
pinctrl-1 = <&sdc1_off>;
vdd-supply = <&L7B>;
qcom,vdd-voltage-level = <2952000 2952000>;
qcom,vdd-current-level = <0 570000>;
vdd-io-supply = <&L19B>;
qcom,vdd-io-always-on;
qcom,vdd-io-lpm-sup;
qcom,vdd-io-voltage-level = <1800000 1800000>;
qcom,vdd-io-current-level = <0 325000>;
status = "ok";
};
&sdhc_2 {
pinctrl-names = "default", "sleep";
pinctrl-0 = <&sdc2_on>;
pinctrl-1 = <&sdc2_off>;
vdd-supply = <&L9C>;
qcom,vdd-voltage-level = <2960000 2960000>;
qcom,vdd-current-level = <0 800000>;
vdd-io-supply = <&L6C>;
qcom,vdd-io-voltage-level = <1800000 2960000>;
qcom,vdd-io-current-level = <0 22000>;
cd-gpios = <&tlmm 91 GPIO_ACTIVE_LOW>;
status = "ok";
};
&qupv3_se13_i2c {
status = "disabled";
};
&qupv3_se13_spi {
status = "ok";
qcom,spi-touch-active = "focaltech,fts_ts";
focaltech@0 {
compatible = "focaltech,fts_ts";
reg = <0x0>;
spi-max-frequency = <6000000>;
interrupt-parent = <&tlmm>;
interrupts = <81 0x2008>;
focaltech,reset-gpio = <&tlmm 105 0x00>;
focaltech,irq-gpio = <&tlmm 81 0x2008>;
focaltech,display-coords = <0 0 1080 2340>;
focaltech,max-touch-number = <5>;
focaltech,ic-type = <0x3658D488>;
vdd-supply = <&L3C>;
pinctrl-names = "pmx_ts_active", "pmx_ts_suspend","pmx_ts_release";
pinctrl-0 = <&ts_active>;
pinctrl-1 = <&ts_int_suspend &ts_reset_suspend>;
pinctrl-2 = <&ts_release>;
focaltech,trusted-touch-mode = "vm_mode";
focaltech,touch-environment = "pvm";
focaltech,trusted-touch-spi-irq = <601>;
focaltech,trusted-touch-io-bases = <0xf134000 0xf135000 0xf136000 0xf137000 0xf169000 0xf151000 0xa94000 0x00a10000>;
focaltech,trusted-touch-io-sizes = <0x1000 0x1000 0x1000 0x1000 0x1000 0x1000 0x1000 0x4000>;
panel = <&dsi_r66451_amoled_144hz_cmd_cphy &dsi_r66451_amoled_120hz_cmd_cphy
&dsi_r66451_amoled_90hz_cmd_cphy &dsi_r66451_amoled_60hz_cmd_cphy>;
};
};