mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-14 08:51:46 -04:00
arm64: dts: qcom: sm8250-xiaomi-elish: Add qca6390-pmu node
Add qca6390-pmu node, which is used to manage power supply sequence for wifi and bluetooth on sm8250 soc based devices. Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Signed-off-by: Jianhua Lu <lujianhua000@gmail.com> Link: https://lore.kernel.org/r/20241201135716.141691-1-lujianhua000@gmail.com Signed-off-by: Bjorn Andersson <andersson@kernel.org>
This commit is contained in:
committed by
Bjorn Andersson
parent
86348c7587
commit
6e4ec5f694
@@ -97,6 +97,67 @@ key-vol-up {
|
||||
};
|
||||
};
|
||||
|
||||
qca6390-pmu {
|
||||
compatible = "qcom,qca6390-pmu";
|
||||
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&bt_en_state>, <&wlan_en_state>;
|
||||
|
||||
vddaon-supply = <&vreg_s6a_0p95>;
|
||||
vddpmu-supply = <&vreg_s6a_0p95>;
|
||||
vddrfa0p95-supply = <&vreg_s6a_0p95>;
|
||||
vddrfa1p3-supply = <&vreg_s8c_1p35>;
|
||||
vddrfa1p9-supply = <&vreg_s5a_1p9>;
|
||||
vddpcie1p3-supply = <&vreg_s8c_1p35>;
|
||||
vddpcie1p9-supply = <&vreg_s5a_1p9>;
|
||||
vddio-supply = <&vreg_s4a_1p8>;
|
||||
|
||||
wlan-enable-gpios = <&tlmm 20 GPIO_ACTIVE_HIGH>;
|
||||
bt-enable-gpios = <&tlmm 21 GPIO_ACTIVE_HIGH>;
|
||||
|
||||
regulators {
|
||||
vreg_pmu_rfa_cmn: ldo0 {
|
||||
regulator-name = "vreg_pmu_rfa_cmn";
|
||||
};
|
||||
|
||||
vreg_pmu_aon_0p59: ldo1 {
|
||||
regulator-name = "vreg_pmu_aon_0p59";
|
||||
};
|
||||
|
||||
vreg_pmu_wlcx_0p8: ldo2 {
|
||||
regulator-name = "vreg_pmu_wlcx_0p8";
|
||||
};
|
||||
|
||||
vreg_pmu_wlmx_0p85: ldo3 {
|
||||
regulator-name = "vreg_pmu_wlmx_0p85";
|
||||
};
|
||||
|
||||
vreg_pmu_btcmx_0p85: ldo4 {
|
||||
regulator-name = "vreg_pmu_btcmx_0p85";
|
||||
};
|
||||
|
||||
vreg_pmu_rfa_0p8: ldo5 {
|
||||
regulator-name = "vreg_pmu_rfa_0p8";
|
||||
};
|
||||
|
||||
vreg_pmu_rfa_1p2: ldo6 {
|
||||
regulator-name = "vreg_pmu_rfa_1p2";
|
||||
};
|
||||
|
||||
vreg_pmu_rfa_1p7: ldo7 {
|
||||
regulator-name = "vreg_pmu_rfa_1p7";
|
||||
};
|
||||
|
||||
vreg_pmu_pcie_0p9: ldo8 {
|
||||
regulator-name = "vreg_pmu_pcie_0p9";
|
||||
};
|
||||
|
||||
vreg_pmu_pcie_1p8: ldo9 {
|
||||
regulator-name = "vreg_pmu_pcie_1p8";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
vph_pwr: vph-pwr-regulator {
|
||||
compatible = "regulator-fixed";
|
||||
regulator-name = "vph_pwr";
|
||||
@@ -701,6 +762,22 @@ &slpi {
|
||||
|
||||
&tlmm {
|
||||
gpio-reserved-ranges = <40 4>;
|
||||
|
||||
bt_en_state: bt-default-state {
|
||||
pins = "gpio21";
|
||||
function = "gpio";
|
||||
drive-strength = <16>;
|
||||
output-low;
|
||||
bias-pull-up;
|
||||
};
|
||||
|
||||
wlan_en_state: wlan-default-state {
|
||||
pins = "gpio20";
|
||||
function = "gpio";
|
||||
drive-strength = <16>;
|
||||
output-low;
|
||||
bias-pull-up;
|
||||
};
|
||||
};
|
||||
|
||||
&usb_1 {
|
||||
|
||||
Reference in New Issue
Block a user