Commit 17e2ccaf authored by Johan Hovold's avatar Johan Hovold Committed by Bjorn Andersson

arm64: dts: qcom: sc8280xp-crd: enable SDX55 modem

Enable the SDX55 modem connected to PCIe3.
Signed-off-by: default avatarJohan Hovold <johan+linaro@kernel.org>
Signed-off-by: default avatarBjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20221110103558.12690-6-johan+linaro@kernel.org
parent 6a1ec5ec
...@@ -80,6 +80,22 @@ vreg_misc_3p3: regulator-misc-3p3 { ...@@ -80,6 +80,22 @@ vreg_misc_3p3: regulator-misc-3p3 {
regulator-boot-on; regulator-boot-on;
regulator-always-on; regulator-always-on;
}; };
vreg_wwan: regulator-wwan {
compatible = "regulator-fixed";
regulator-name = "VCC3B_WAN";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
gpio = <&pmc8280_2_gpios 1 GPIO_ACTIVE_HIGH>;
enable-active-high;
pinctrl-names = "default";
pinctrl-0 = <&wwan_sw_en>;
regulator-boot-on;
};
}; };
&apps_rsc { &apps_rsc {
...@@ -211,6 +227,25 @@ &pcie2a_phy { ...@@ -211,6 +227,25 @@ &pcie2a_phy {
status = "okay"; status = "okay";
}; };
&pcie3a {
perst-gpios = <&tlmm 151 GPIO_ACTIVE_LOW>;
wake-gpios = <&tlmm 148 GPIO_ACTIVE_LOW>;
vddpe-3v3-supply = <&vreg_wwan>;
pinctrl-names = "default";
pinctrl-0 = <&pcie3a_default>;
status = "okay";
};
&pcie3a_phy {
vdda-phy-supply = <&vreg_l6d>;
vdda-pll-supply = <&vreg_l4d>;
status = "okay";
};
&pmc8280c_lpg { &pmc8280c_lpg {
status = "okay"; status = "okay";
}; };
...@@ -396,6 +431,13 @@ misc_3p3_reg_en: misc-3p3-reg-en-state { ...@@ -396,6 +431,13 @@ misc_3p3_reg_en: misc-3p3-reg-en-state {
}; };
}; };
&pmc8280_2_gpios {
wwan_sw_en: wwan-sw-en-state {
pins = "gpio1";
function = "normal";
};
};
&pmc8280c_gpios { &pmc8280c_gpios {
edp_bl_pwm: edp-bl-pwm-state { edp_bl_pwm: edp-bl-pwm-state {
pins = "gpio8"; pins = "gpio8";
...@@ -456,6 +498,29 @@ wake-n-pins { ...@@ -456,6 +498,29 @@ wake-n-pins {
}; };
}; };
pcie3a_default: pcie3a-default-state {
clkreq-n-pins {
pins = "gpio150";
function = "pcie3a_clkreq";
drive-strength = <2>;
bias-pull-up;
};
perst-n-pins {
pins = "gpio151";
function = "gpio";
drive-strength = <2>;
bias-pull-down;
};
wake-n-pins {
pins = "gpio148";
function = "gpio";
drive-strength = <2>;
bias-pull-up;
};
};
qup0_i2c4_default: qup0-i2c4-default-state { qup0_i2c4_default: qup0-i2c4-default-state {
pins = "gpio171", "gpio172"; pins = "gpio171", "gpio172";
function = "qup4"; function = "qup4";
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment