Created
January 19, 2024 10:53
-
-
Save imjyotiraditya/c6293043b9de51bdc60a9fc03c95512a to your computer and use it in GitHub Desktop.
RB5
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <dt-bindings/gpio/gpio.h> | |
#include <dt-bindings/input/input.h> | |
#include "kona-pmic-overlay.dtsi" | |
#include "kona-sde-display.dtsi" | |
#include "camera/kona-camera-sensor-rb5.dtsi" | |
#include "kona-rb5-audio-overlay.dtsi" | |
#include "kona-thermal-overlay.dtsi" | |
&qupv3_se12_2uart { | |
status = "ok"; | |
}; | |
&pm8150a_amoled { | |
status = "ok"; | |
}; | |
&pcie1 { | |
status = "ok"; | |
qcom,boot-option = <0x0>; | |
qcom,core-preset = <0x77777777>; | |
qcom,target-link-speed = <2>; | |
qcom,ep-gpio = <&tlmm 1 0>; | |
pinctrl-0 = <&pcie1_perst_default | |
&pcie1_clkreq_default | |
&pcie1_wake_default | |
&pcie1_ep_default>; | |
}; | |
&pcie1_msi { | |
status = "ok"; | |
}; | |
&tlmm { | |
pcie1_ep_default: pcie1_ep_default { | |
mux { | |
pins = "gpio1"; | |
function = "gpio"; | |
}; | |
config { | |
pins = "gpio1"; | |
drive-strength = <16>; | |
output-high; | |
bias-disable; | |
}; | |
}; | |
pcie1_clkreq_sleep: pcie1_clkreq_sleep { | |
mux { | |
pins = "gpio83"; | |
function = "gpio"; | |
}; | |
config { | |
pins = "gpio83"; | |
drive-strength = <2>; | |
bias-pull-up; | |
}; | |
}; | |
}; | |
&pcie2_rp { | |
/delete-node/ wil6210_pci; | |
nvme: nvme { | |
reg = <0 0 0 0 0>; | |
qcom,iommu-group = <&nvme_pci_iommu_group>; | |
#address-cells = <1>; | |
#size-cells = <1>; | |
nvme_pci_iommu_group: nvme_pci_iommu_group { | |
qcom,iommu-dma-addr-pool = <0x60000000 0xa0000000>; | |
qcom,iommu-dma = "atomic"; | |
}; | |
}; | |
}; | |
&pcie2 { | |
status = "ok"; | |
qcom,boot-option = <0x0>; | |
qcom,core-preset = <0x77777777>; | |
qcom,target-link-speed = <2>; | |
}; | |
&spkr_1_sd_n_sleep { | |
mux { | |
pins = "gpio130"; | |
function = "gpio"; | |
}; | |
config { | |
pins = "gpio130"; | |
drive-strength = <2>; /* 2 mA */ | |
bias-pull-down; | |
input-enable; | |
}; | |
}; | |
&spkr_1_sd_n_active { | |
mux { | |
pins = "gpio130"; | |
function = "gpio"; | |
}; | |
config { | |
pins = "gpio130"; | |
drive-strength = <16>; /* 16 mA */ | |
bias-disable; | |
output-high; | |
}; | |
}; | |
&dai_mi2s2 { | |
compatible = "qcom,msm-dai-q6-mi2s"; | |
qcom,msm-dai-q6-mi2s-dev-id = <2>; | |
qcom,msm-mi2s-rx-lines = <1>; | |
qcom,msm-mi2s-tx-lines = <3>; | |
}; | |
&dai_mi2s3 { | |
compatible = "qcom,msm-dai-q6-mi2s"; | |
qcom,msm-dai-q6-mi2s-dev-id = <3>; | |
qcom,msm-mi2s-rx-lines = <15>; | |
qcom,msm-mi2s-tx-lines = <0>; | |
}; | |
&qupv3_se6_4uart { | |
status = "ok"; | |
}; | |
&q6core { | |
cdc_tert_mi2s_gpios: msm_cdc_pinctrl_tert { | |
compatible = "qcom,msm-cdc-pinctrl"; | |
pinctrl-names = "aud_active", "aud_sleep"; | |
pinctrl-0 = <&tert_mi2s_sck_active &tert_mi2s_ws_active | |
&tert_mi2s_sd0_active>; | |
pinctrl-1 = <&tert_mi2s_sck_sleep &tert_mi2s_ws_sleep | |
&tert_mi2s_sd0_sleep>; | |
}; | |
}; | |
&kona_snd { | |
qcom,tert-mi2s-gpios = <&cdc_tert_mi2s_gpios>; | |
}; | |
&qupv3_se1_i2c { | |
status = "ok"; | |
qcom,clk-freq-out = <1000000>; | |
#address-cells = <1>; | |
#size-cells = <0>; | |
nq@28 { | |
compatible = "qcom,nq-nci"; | |
reg = <0x28>; | |
qcom,nq-irq = <&tlmm 111 0x00>; | |
qcom,nq-ven = <&tlmm 6 0x00>; | |
qcom,nq-firm = <&tlmm 110 0x00>; | |
qcom,nq-clkreq = <&tlmm 7 0x00>; | |
interrupt-parent = <&tlmm>; | |
interrupts = <111 0>; | |
interrupt-names = "nfc_irq"; | |
pinctrl-names = "nfc_active", "nfc_suspend"; | |
pinctrl-0 = <&nfc_int_active &nfc_enable_active | |
&nfc_clk_req_active>; | |
pinctrl-1 = <&nfc_int_suspend &nfc_enable_suspend | |
&nfc_clk_req_suspend>; | |
}; | |
}; | |
&ufsphy_mem { | |
compatible = "qcom,ufs-phy-qmp-v4"; | |
vdda-phy-supply = <&pm8150_l5>; | |
vdda-phy-always-on; | |
vdda-pll-supply = <&pm8150_l9>; | |
vdda-phy-max-microamp = <89900>; | |
vdda-pll-max-microamp = <18800>; | |
status = "ok"; | |
}; | |
&ufshc_mem { | |
vdd-hba-supply = <&ufs_phy_gdsc>; | |
vdd-hba-fixed-regulator; | |
vcc-supply = <&pm8150_l17>; | |
vcc-voltage-level = <2504000 2950000>; | |
vcc-low-voltage-sup; | |
vccq-supply = <&pm8150_l6>; | |
vccq2-supply = <&pm8150_s4>; | |
vcc-max-microamp = <800000>; | |
vccq-max-microamp = <800000>; | |
vccq2-max-microamp = <800000>; | |
qcom,vddp-ref-clk-supply = <&pm8150_l6>; | |
qcom,vddp-ref-clk-max-microamp = <100>; | |
qcom,vccq-parent-supply = <&pm8150a_s8>; | |
qcom,vccq-parent-max-microamp = <210000>; | |
status = "ok"; | |
}; | |
&soc { | |
gpio_keys { | |
compatible = "gpio-keys"; | |
label = "gpio-keys"; | |
pinctrl-names = "default"; | |
pinctrl-0 = <&key_vol_up_default>; | |
vol_up { | |
label = "volume_up"; | |
gpios = <&pm8150_gpios 6 GPIO_ACTIVE_LOW>; | |
linux,input-type = <1>; | |
linux,code = <KEY_VOLUMEUP>; | |
gpio-key,wakeup; | |
debounce-interval = <15>; | |
linux,can-disable; | |
}; | |
}; | |
qcom,qbt_handler { | |
compatible = "qcom,qbt-handler"; | |
qcom,ipc-gpio = <&tlmm 23 0>; | |
pinctrl-names = "default"; | |
pinctrl-0 = <&key_home_default>; | |
qcom,finger-detect-gpio = <&pm8150_gpios 1 0>; | |
}; | |
}; | |
&qupv3_se13_i2c { | |
#address-cells = <1>; | |
#size-cells = <0>; | |
status = "ok"; | |
qcom,i2c-touch-active = "st,fts"; | |
st_fts@49 { | |
compatible = "st,fts"; | |
reg = <0x49>; | |
interrupt-parent = <&tlmm>; | |
interrupts = <39 0x2008>; | |
vdd-supply = <&pm8150a_l1>; | |
avdd-supply = <&pm8150_l13>; | |
pinctrl-names = "pmx_ts_active", "pmx_ts_suspend"; | |
pinctrl-0 = <&ts_active>; | |
pinctrl-1 = <&ts_int_suspend &ts_reset_suspend>; | |
st,irq-gpio = <&tlmm 39 0x2008>; | |
st,reset-gpio = <&tlmm 38 0x00>; | |
st,regulator_dvdd = "vdd"; | |
st,regulator_avdd = "avdd"; | |
st,x-flip = <1>; | |
st,y-flip = <1>; | |
panel = <&dsi_sw43404_amoled_cmd &dsi_sw43404_amoled_video | |
&dsi_sw43404_amoled_fhd_plus_cmd>; | |
}; | |
}; | |
&vendor { | |
bluetooth: bt_qca6390 { | |
compatible = "qca,qca6390"; | |
pinctrl-names = "default"; | |
pinctrl-0 = <&bt_en_sleep>; | |
qca,bt-reset-gpio = <&tlmm 21 0>; /* BT_EN */ | |
qca,wl-reset-gpio = <&tlmm 20 0>; /* WL_EN */ | |
qca,bt-sw-ctrl-gpio = <&tlmm 124 0>; /* SW_CTRL */ | |
qca,bt-vdd-aon-supply = <&pm8150_s6>; | |
qca,bt-vdd-dig-supply = <&pm8009_s2>; | |
qca,bt-vdd-rfa1-supply = <&pm8150_s5>; | |
qca,bt-vdd-rfa2-supply = <&pm8150a_s8>; | |
qca,bt-vdd-asd-supply = <&pm8150_l16>; | |
qca,bt-vdd-aon-voltage-level = <950000 950000>; | |
qca,bt-vdd-dig-voltage-level = <950000 952000>; | |
qca,bt-vdd-rfa1-voltage-level = <1900000 1900000>; | |
qca,bt-vdd-rfa2-voltage-level = <1350000 1350000>; | |
qca,bt-vdd-asd-voltage-level = <3024000 3304000>; | |
qca,bt-vdd-asd-current-level = <10000>; | |
}; | |
kona_mtp_batterydata: qcom,battery-data { | |
qcom,batt-id-range-pct = <15>; | |
#include "fg-gen4-batterydata-alium-3600mah.dtsi" | |
#include "fg-gen4-batterydata-ascent-3450mah.dtsi" | |
}; | |
extcon_usb1: extcon_usb1 { | |
compatible = "linux,extcon-usb-gpio"; | |
vbus-gpio = <&pm8150_gpios 10 GPIO_ACTIVE_HIGH>; | |
id-gpio = <&tlmm 91 GPIO_ACTIVE_HIGH>; | |
vbus-out-gpio = <&pm8150_gpios 9 GPIO_ACTIVE_HIGH>; | |
pinctrl-names = "default"; | |
pinctrl-0 = <&usb2_vbus_det_default | |
&usb2_id_det_default | |
&usb2_vbus_boost_default>; | |
}; | |
}; | |
&vreg_hap_boost { | |
status = "ok"; | |
}; | |
&pm8150b_haptics { | |
vdd-supply = <&vreg_hap_boost>; | |
}; | |
&pm8150b_vadc { | |
#address-cells = <1>; | |
#size-cells = <0>; | |
vph_pwr@83 { | |
reg = <ADC_VPH_PWR>; | |
label = "vph_pwr"; | |
qcom,pre-scaling = <1 3>; | |
}; | |
conn_therm@4f { | |
reg = <ADC_AMUX_THM3_PU2>; | |
label = "conn_therm"; | |
qcom,ratiometric; | |
qcom,hw-settle-time = <200>; | |
qcom,pre-scaling = <1 1>; | |
}; | |
chg_sbux@99 { | |
reg = <ADC_SBUx>; | |
label = "chg_sbux"; | |
qcom,pre-scaling = <1 3>; | |
}; | |
mid_chg_div6@1e { | |
reg = <ADC_MID_CHG_DIV6>; | |
label = "chg_mid"; | |
qcom,pre-scaling = <1 6>; | |
}; | |
usb_in_i_uv@7 { | |
reg = <ADC_USB_IN_I>; | |
label = "usb_in_i_uv"; | |
qcom,pre-scaling = <1 1>; | |
}; | |
usb_in_v_div_16@8 { | |
reg = <ADC_USB_IN_V_16>; | |
label = "usb_in_v_div_16"; | |
qcom,pre-scaling = <1 16>; | |
}; | |
}; | |
&pm8150b_charger { | |
status = "ok"; | |
qcom,sec-charger-config = <1>; | |
qcom,auto-recharge-soc = <98>; | |
io-channels = <&pm8150b_vadc ADC_MID_CHG_DIV6>, | |
<&pm8150b_vadc ADC_USB_IN_I>, | |
<&pm8150b_vadc ADC_SBUx>, | |
<&pm8150b_vadc ADC_VPH_PWR>, | |
<&pm8150b_vadc ADC_CHG_TEMP>; | |
io-channel-names = "mid_voltage", | |
"usb_in_current", | |
"sbux_res", | |
"vph_voltage", | |
"chg_temp"; | |
qcom,battery-data = <&kona_mtp_batterydata>; | |
qcom,step-charging-enable; | |
qcom,sw-jeita-enable; | |
qcom,wd-bark-time-secs = <16>; | |
qcom,suspend-input-on-debug-batt; | |
qcom,fcc-stepping-enable; | |
qcom,smb-internal-pull-kohm = <0>; | |
}; | |
&pm8150b_fg { | |
status = "ok"; | |
qcom,battery-data = <&kona_mtp_batterydata>; | |
qcom,hold-soc-while-full; | |
qcom,linearize-soc; | |
qcom,five-pin-battery; | |
qcom,cl-wt-enable; | |
qcom,soc-scale-mode-en; | |
qcom,force-calib-level = <130>; | |
/* ESR fast calibration */ | |
qcom,fg-esr-timer-chg-fast = <0 7>; | |
qcom,fg-esr-timer-dischg-fast = <0 7>; | |
qcom,fg-esr-timer-chg-slow = <0 96>; | |
qcom,fg-esr-timer-dischg-slow = <0 96>; | |
qcom,fg-esr-cal-soc-thresh = <26 230>; | |
qcom,fg-esr-cal-temp-thresh = <10 40>; | |
}; | |
&qupv3_se15_i2c { | |
#address-cells = <1>; | |
#size-cells = <0>; | |
#include "smb1390.dtsi" | |
redriver: redriver@1c { | |
compatible = "onnn,redriver"; | |
reg = <0x1c>; | |
extcon = <&pm8150b_pdphy>, <&pm8150b_pdphy>; | |
eq = /bits/ 8 < | |
/* Parameters for USB */ | |
0x4 0x4 0x4 0x4 | |
/* Parameters for DP */ | |
0x6 0x4 0x4 0x6>; | |
flat-gain = /bits/ 8 < | |
/* Parameters for USB */ | |
0x3 0x1 0x1 0x3 | |
/* Parameters for DP */ | |
0x2 0x1 0x1 0x2>; | |
output-comp = /bits/ 8 < | |
/* Parameters for USB */ | |
0x3 0x3 0x3 0x3 | |
/* Parameters for DP */ | |
0x3 0x3 0x3 0x3>; | |
loss-match = /bits/ 8 < | |
/* Parameters for USB */ | |
0x1 0x3 0x3 0x1 | |
/* Parameters for DP */ | |
0x3 0x3 0x3 0x3>; | |
}; | |
fsa4480: fsa4480@43 { | |
status = "disabled"; | |
}; | |
halo,hl6111r@25 { | |
compatible = "halo,hl6111r"; | |
reg = <0x25>; | |
status = "ok"; | |
}; | |
}; | |
&smb1390 { | |
pinctrl-names = "default"; | |
pinctrl-0 = <&smb_stat_default>; | |
status = "ok"; | |
}; | |
&smb1390_charger { | |
io-channels = <&pm8150b_vadc ADC_AMUX_THM2>; | |
io-channel-names = "cp_die_temp"; | |
qcom,parallel-output-mode = <2>; | |
qcom,min-ilim-ua = <750000>; | |
status = "ok"; | |
}; | |
&smb1390_slave { | |
status = "ok"; | |
}; | |
&smb1390_slave_charger { | |
status = "ok"; | |
}; | |
&pm8150_vadc { | |
#address-cells = <1>; | |
#size-cells = <0>; | |
vph_pwr@83 { | |
reg = <ADC_VPH_PWR>; | |
label = "vph_pwr"; | |
qcom,pre-scaling = <1 3>; | |
}; | |
vcoin@85 { | |
reg = <ADC_VCOIN>; | |
label = "vcoin"; | |
qcom,pre-scaling = <1 3>; | |
}; | |
xo_therm@4c { | |
reg = <ADC_XO_THERM_PU2>; | |
label = "xo_therm"; | |
qcom,ratiometric; | |
qcom,hw-settle-time = <200>; | |
qcom,pre-scaling = <1 1>; | |
}; | |
skin_therm@4d { | |
reg = <ADC_AMUX_THM1_PU2>; | |
label = "skin_therm"; | |
qcom,ratiometric; | |
qcom,hw-settle-time = <200>; | |
qcom,pre-scaling = <1 1>; | |
}; | |
pa_therm1@4e { | |
reg = <ADC_AMUX_THM2_PU2>; | |
label = "pa_therm1"; | |
qcom,ratiometric; | |
qcom,hw-settle-time = <200>; | |
qcom,pre-scaling = <1 1>; | |
}; | |
}; | |
&pm8150l_vadc { | |
#address-cells = <1>; | |
#size-cells = <0>; | |
vph_pwr@83 { | |
reg = <ADC_VPH_PWR>; | |
label = "vph_pwr"; | |
qcom,pre-scaling = <1 3>; | |
}; | |
camera_flash_therm@4d { | |
reg = <ADC_AMUX_THM1_PU2>; | |
label = "camera_flash_therm"; | |
qcom,ratiometric; | |
qcom,hw-settle-time = <200>; | |
qcom,pre-scaling = <1 1>; | |
}; | |
skin_msm_therm@4e { | |
reg = <ADC_AMUX_THM2_PU2>; | |
label = "skin_msm_therm"; | |
qcom,ratiometric; | |
qcom,hw-settle-time = <200>; | |
qcom,pre-scaling = <1 1>; | |
}; | |
pa_therm2@4f { | |
reg = <ADC_AMUX_THM3_PU2>; | |
label = "pa_therm2"; | |
qcom,ratiometric; | |
qcom,hw-settle-time = <200>; | |
qcom,pre-scaling = <1 1>; | |
}; | |
}; | |
&pm8150b_adc_tm { | |
#address-cells = <1>; | |
#size-cells = <0>; | |
io-channels = <&pm8150b_vadc ADC_AMUX_THM3_PU2>; | |
conn_therm@4f { | |
reg = <ADC_AMUX_THM3_PU2>; | |
qcom,ratiometric; | |
qcom,hw-settle-time = <200>; | |
}; | |
}; | |
&pm8150_adc_tm { | |
#address-cells = <1>; | |
#size-cells = <0>; | |
io-channels = <&pm8150_vadc ADC_XO_THERM_PU2>, | |
<&pm8150_vadc ADC_AMUX_THM1_PU2>, | |
<&pm8150_vadc ADC_AMUX_THM2_PU2>; | |
xo_therm@4c { | |
reg = <ADC_XO_THERM_PU2>; | |
qcom,ratiometric; | |
qcom,hw-settle-time = <200>; | |
}; | |
skin_therm@4d { | |
reg = <ADC_AMUX_THM1_PU2>; | |
qcom,ratiometric; | |
qcom,hw-settle-time = <200>; | |
}; | |
pa_therm1@4e { | |
reg = <ADC_AMUX_THM2_PU2>; | |
qcom,ratiometric; | |
qcom,hw-settle-time = <200>; | |
}; | |
}; | |
&pm8150l_adc_tm { | |
#address-cells = <1>; | |
#size-cells = <0>; | |
camera_flash_therm@4d { | |
reg = <ADC_AMUX_THM1_PU2>; | |
qcom,ratiometric; | |
qcom,hw-settle-time = <200>; | |
}; | |
skin_msm_therm@4e { | |
reg = <ADC_AMUX_THM2_PU2>; | |
qcom,ratiometric; | |
qcom,hw-settle-time = <200>; | |
}; | |
pa_therm2@4f { | |
reg = <ADC_AMUX_THM3_PU2>; | |
qcom,ratiometric; | |
qcom,hw-settle-time = <200>; | |
}; | |
}; | |
&spmi_debug_bus { | |
status = "ok"; | |
}; | |
&dsi_sw43404_amoled_cmd { | |
qcom,panel-supply-entries = <&dsi_panel_pwr_supply>; | |
qcom,mdss-dsi-bl-pmic-control-type = "bl_ctrl_dcs"; | |
qcom,mdss-dsi-bl-min-level = <1>; | |
qcom,mdss-dsi-bl-max-level = <1023>; | |
qcom,mdss-brightness-max-level = <255>; | |
qcom,platform-te-gpio = <&tlmm 66 0>; | |
qcom,platform-reset-gpio = <&tlmm 75 0>; | |
qcom,mdss-dsi-panel-test-pin = <&tlmm 46 0>; | |
}; | |
&dsi_sw43404_amoled_video { | |
qcom,panel-supply-entries = <&dsi_panel_pwr_supply>; | |
qcom,mdss-dsi-bl-pmic-control-type = "bl_ctrl_dcs"; | |
qcom,mdss-dsi-bl-min-level = <1>; | |
qcom,mdss-dsi-bl-max-level = <1023>; | |
qcom,mdss-brightness-max-level = <255>; | |
qcom,platform-reset-gpio = <&tlmm 75 0>; | |
qcom,mdss-dsi-panel-test-pin = <&tlmm 46 0>; | |
}; | |
&dsi_sw43404_amoled_fhd_plus_cmd { | |
qcom,panel-supply-entries = <&dsi_panel_pwr_supply>; | |
qcom,mdss-dsi-bl-pmic-control-type = "bl_ctrl_dcs"; | |
qcom,mdss-dsi-bl-min-level = <1>; | |
qcom,mdss-dsi-bl-max-level = <1023>; | |
qcom,mdss-brightness-max-level = <255>; | |
qcom,platform-te-gpio = <&tlmm 66 0>; | |
qcom,platform-reset-gpio = <&tlmm 75 0>; | |
qcom,mdss-dsi-panel-test-pin = <&tlmm 46 0>; | |
}; | |
&dsi_sim_cmd { | |
qcom,panel-supply-entries = <&dsi_panel_pwr_supply>; | |
qcom,mdss-dsi-bl-pmic-control-type = "bl_ctrl_dcs"; | |
qcom,platform-reset-gpio = <&tlmm 75 0>; | |
}; | |
&dsi_sim_vid { | |
qcom,panel-supply-entries = <&dsi_panel_pwr_supply>; | |
qcom,mdss-dsi-bl-pmic-control-type = "bl_ctrl_dcs"; | |
qcom,platform-reset-gpio = <&tlmm 75 0>; | |
}; | |
&dsi_sim_dsc_375_cmd { | |
qcom,panel-supply-entries = <&dsi_panel_pwr_supply>; | |
qcom,mdss-dsi-bl-pmic-control-type = "bl_ctrl_dcs"; | |
qcom,platform-reset-gpio = <&tlmm 75 0>; | |
}; | |
&dsi_sim_dsc_10b_cmd { | |
qcom,panel-supply-entries = <&dsi_panel_pwr_supply>; | |
qcom,mdss-dsi-bl-pmic-control-type = "bl_ctrl_dcs"; | |
qcom,platform-reset-gpio = <&tlmm 75 0>; | |
}; | |
&dsi_dual_sim_cmd { | |
qcom,panel-supply-entries = <&dsi_panel_pwr_supply>; | |
qcom,mdss-dsi-bl-pmic-control-type = "bl_ctrl_dcs"; | |
qcom,platform-reset-gpio = <&tlmm 75 0>; | |
}; | |
&dsi_dual_sim_vid { | |
qcom,panel-supply-entries = <&dsi_panel_pwr_supply>; | |
qcom,mdss-dsi-bl-pmic-control-type = "bl_ctrl_dcs"; | |
qcom,platform-reset-gpio = <&tlmm 75 0>; | |
}; | |
&dsi_dual_sim_dsc_375_cmd { | |
qcom,panel-supply-entries = <&dsi_panel_pwr_supply>; | |
qcom,mdss-dsi-bl-pmic-control-type = "bl_ctrl_dcs"; | |
qcom,platform-reset-gpio = <&tlmm 75 0>; | |
}; | |
&dsi_sim_sec_hd_cmd { | |
qcom,panel-supply-entries = <&dsi_panel_pwr_supply>; | |
qcom,panel-sec-supply-entries = <&dsi_panel_pwr_supply>; | |
qcom,mdss-dsi-bl-pmic-control-type = "bl_ctrl_dcs"; | |
qcom,mdss-dsi-sec-bl-pmic-control-type = "bl_ctrl_dcs"; | |
qcom,mdss-dsi-bl-min-level = <1>; | |
qcom,mdss-dsi-bl-max-level = <1023>; | |
qcom,platform-reset-gpio = <&tlmm 75 0>; | |
qcom,platform-sec-reset-gpio = <&tlmm 128 0>; | |
}; | |
&dsi_ext_bridge_4k30p { | |
qcom,dsi-ctrl-num = <0>; | |
qcom,dsi-phy-num = <0>; | |
qcom,dsi-select-clocks = "mux_byte_clk0", "mux_pixel_clk0"; | |
qcom,mdss-dsi-ext-bridge-hpd; | |
qcom,mdss-dsi-ext-bridge-custom-topology; | |
}; | |
&sde_dsi { | |
qcom,dsi-default-panel = <&dsi_ext_bridge_4k30p>; | |
boot-panel-param = "disabled"; | |
ports { | |
#address-cells = <1>; | |
#size-cells = <0>; | |
port@0 { | |
reg = <0>; | |
ext_dsi_out: endpoint { | |
remote-endpoint = <<9611_in>; | |
}; | |
}; | |
}; | |
}; | |
&thermal_zones { | |
conn-therm-usr { | |
polling-delay-passive = <0>; | |
polling-delay = <0>; | |
thermal-governor = "user_space"; | |
thermal-sensors = <&pm8150b_adc_tm ADC_AMUX_THM3_PU2>; | |
wake-capable-sensor; | |
trips { | |
active-config0 { | |
temperature = <125000>; | |
hysteresis = <1000>; | |
type = "passive"; | |
}; | |
}; | |
}; | |
xo-therm-usr { | |
polling-delay-passive = <0>; | |
polling-delay = <0>; | |
thermal-governor = "user_space"; | |
thermal-sensors = <&pm8150_adc_tm ADC_XO_THERM_PU2>; | |
wake-capable-sensor; | |
trips { | |
active-config0 { | |
temperature = <125000>; | |
hysteresis = <1000>; | |
type = "passive"; | |
}; | |
}; | |
}; | |
skin-therm-usr { | |
polling-delay-passive = <0>; | |
polling-delay = <0>; | |
thermal-governor = "user_space"; | |
thermal-sensors = <&pm8150_adc_tm ADC_AMUX_THM1_PU2>; | |
wake-capable-sensor; | |
trips { | |
active-config0 { | |
temperature = <125000>; | |
hysteresis = <1000>; | |
type = "passive"; | |
}; | |
}; | |
}; | |
mmw-pa1-usr { | |
polling-delay-passive = <0>; | |
polling-delay = <0>; | |
thermal-governor = "user_space"; | |
thermal-sensors = <&pm8150_adc_tm ADC_AMUX_THM2_PU2>; | |
wake-capable-sensor; | |
trips { | |
active-config0 { | |
temperature = <125000>; | |
hysteresis = <1000>; | |
type = "passive"; | |
}; | |
}; | |
}; | |
camera-therm-usr { | |
polling-delay-passive = <0>; | |
polling-delay = <0>; | |
thermal-governor = "user_space"; | |
thermal-sensors = <&pm8150l_adc_tm ADC_AMUX_THM1_PU2>; | |
wake-capable-sensor; | |
trips { | |
active-config0 { | |
temperature = <125000>; | |
hysteresis = <1000>; | |
type = "passive"; | |
}; | |
}; | |
}; | |
skin-msm-therm-usr { | |
polling-delay-passive = <0>; | |
polling-delay = <0>; | |
thermal-governor = "user_space"; | |
thermal-sensors = <&pm8150l_adc_tm ADC_AMUX_THM2_PU2>; | |
wake-capable-sensor; | |
trips { | |
active-config0 { | |
temperature = <125000>; | |
hysteresis = <1000>; | |
type = "passive"; | |
}; | |
}; | |
}; | |
mmw-pa2-usr { | |
polling-delay-passive = <0>; | |
polling-delay = <0>; | |
thermal-governor = "user_space"; | |
thermal-sensors = <&pm8150l_adc_tm ADC_AMUX_THM3_PU2>; | |
wake-capable-sensor; | |
trips { | |
active-config0 { | |
temperature = <125000>; | |
hysteresis = <1000>; | |
type = "passive"; | |
}; | |
}; | |
}; | |
}; | |
&sdhc_2 { | |
vdd-supply = <&pm8150a_l9>; | |
qcom,vdd-voltage-level = <2950000 2960000>; | |
qcom,vdd-current-level = <200 800000>; | |
vdd-io-supply = <&pm8150a_l6>; | |
qcom,vdd-io-voltage-level = <1808000 2960000>; | |
qcom,vdd-io-current-level = <200 22000>; | |
pinctrl-names = "active", "sleep"; | |
pinctrl-0 = <&sdc2_clk_on &sdc2_cmd_on &sdc2_data_on &storage_cd>; | |
pinctrl-1 = <&sdc2_clk_off &sdc2_cmd_off &sdc2_data_off &storage_cd>; | |
cd-gpios = <&tlmm 77 GPIO_ACTIVE_LOW>; | |
status = "ok"; | |
}; | |
&usb1 { | |
dwc1: dwc3@a800000 { | |
dr_mode = "host"; | |
}; | |
}; | |
&wil6210 { | |
status = "ok"; | |
}; | |
&q6core { | |
}; | |
&sde_dp { | |
qcom,dp-aux-switch = <&redriver>; | |
qcom,aux-en-gpio = <&tlmm 69 0>; | |
qcom,aux-sel-gpio = <&tlmm 71 0>; | |
}; | |
&qupv3_se5_i2c { | |
status = "okay"; | |
qcom,clk-freq-out = <400000>; | |
lt9611: lt,lt9611@2b { | |
compatible = "lt,lt9611uxc"; | |
reg = <0x2b>; | |
interrupt-parent = <&tlmm>; | |
interrupts = <63 0>; | |
interrupt-names = "lt_irq"; | |
lt,irq-gpio = <&tlmm 63 0x0>; | |
lt,reset-gpio = <&pm8150l_gpios 5 0>; | |
instance_id = <0>; | |
pinctrl-names = "default"; | |
pinctrl-0 = <<9611_pins <9611_rst_default>; | |
lt,preferred-mode = "3840x2160"; | |
lt,audio-support; | |
lt,ext-disp = <&ext_disp>; | |
lt,customize-modes { | |
lt,customize-mode-id@0 { | |
lt,mode-h-active = <1920>; | |
lt,mode-h-front-porch = <88>; | |
lt,mode-h-pulse-width = <44>; | |
lt,mode-h-back-porch = <148>; | |
lt,mode-h-active-high; | |
lt,mode-v-active = <1080>; | |
lt,mode-v-front-porch = <4>; | |
lt,mode-v-pulse-width = <5>; | |
lt,mode-v-back-porch = <36>; | |
lt,mode-v-active-high; | |
lt,mode-refresh-rate = <60>; | |
lt,mode-clock-in-khz = <148500>; | |
}; | |
lt,customize-mode-id@1 { | |
lt,mode-h-active = <3840>; | |
lt,mode-h-front-porch = <176>; | |
lt,mode-h-pulse-width = <88>; | |
lt,mode-h-back-porch = <296>; | |
lt,mode-h-active-high; | |
lt,mode-v-active = <2160>; | |
lt,mode-v-front-porch = <8>; | |
lt,mode-v-pulse-width = <10>; | |
lt,mode-v-back-porch = <72>; | |
lt,mode-v-active-high; | |
lt,mode-refresh-rate = <30>; | |
lt,mode-clock-in-khz = <297000>; | |
}; | |
lt,customize-mode-id@2 { | |
lt,mode-h-active = <1280>; | |
lt,mode-h-front-porch = <110>; | |
lt,mode-h-pulse-width = <40>; | |
lt,mode-h-back-porch = <220>; | |
lt,mode-h-active-high; | |
lt,mode-v-active = <720>; | |
lt,mode-v-front-porch = <5>; | |
lt,mode-v-pulse-width = <5>; | |
lt,mode-v-back-porch = <20>; | |
lt,mode-v-active-high; | |
lt,mode-refresh-rate = <60>; | |
lt,mode-clock-in-khz = <74250>; | |
}; | |
lt,customize-mode-id@3 { | |
lt,mode-h-active = <720>; | |
lt,mode-h-front-porch = <16>; | |
lt,mode-h-pulse-width = <62>; | |
lt,mode-h-back-porch = <60>; | |
lt,mode-v-active = <480>; | |
lt,mode-v-front-porch = <9>; | |
lt,mode-v-pulse-width = <6>; | |
lt,mode-v-back-porch = <30>; | |
lt,mode-refresh-rate = <60>; | |
lt,mode-clock-in-khz = <27000>; | |
}; | |
}; | |
ports { | |
#address-cells = <1>; | |
#size-cells = <0>; | |
port@0 { | |
reg = <0>; | |
lt9611_in: endpoint { | |
remote-endpoint = <&ext_dsi_out>; | |
}; | |
}; | |
}; | |
}; | |
}; | |
&pm8150a_l11 { | |
qcom,init-voltage = <3304000>; | |
regulator-always-on; | |
}; | |
&pm8150l_gpios { | |
lt9611_rst { | |
lt9611_rst_default: lt9611_rst_default { | |
pins = "gpio5"; | |
function = "normal"; | |
output-enable; | |
bias-pull-down; | |
power-source = <0>; | |
}; | |
}; | |
}; | |
<9611_pins { | |
mux { | |
pins = "gpio63"; | |
function = "gpio"; | |
}; | |
config { | |
pins = "gpio63"; | |
drive-strength = <8>; | |
bias-disable = <0>; | |
}; | |
}; | |
&soc { | |
clk40M: can_clock { | |
compatible = "fixed-clock"; | |
#clock-cells = <0>; | |
clock-frequency = <40000000>; | |
}; | |
}; | |
&qupv3_se0_spi { | |
status = "okay"; | |
can@0 { | |
compatible = "microchip,mcp2517fd"; | |
reg = <0>; | |
clocks = <&clk40M>; | |
interrupt-parent = <&tlmm>; | |
interrupts = <15 0>; | |
interrupt-names = "can_irq"; | |
spi-max-frequency = <10000000>; | |
gpio-controller; | |
status = "okay"; | |
}; | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment