diff options
author | Konrad Dybcio <konrad.dybcio@somainline.org> | 2021-06-16 14:27:05 +0200 |
---|---|---|
committer | Bjorn Andersson <bjorn.andersson@linaro.org> | 2021-06-18 12:42:25 -0500 |
commit | db92d8cdde33a862fe43b0b7d5a802ad24bfa8b9 (patch) | |
tree | 97008845200750157eb427f2ca323650a9d0d93c /arch/arm64 | |
parent | 13e948a36db782a57a92570bbd60702587624727 (diff) | |
download | linux-stable-db92d8cdde33a862fe43b0b7d5a802ad24bfa8b9.tar.gz linux-stable-db92d8cdde33a862fe43b0b7d5a802ad24bfa8b9.tar.bz2 linux-stable-db92d8cdde33a862fe43b0b7d5a802ad24bfa8b9.zip |
arm64: dts: qcom: sm8250-edo: Enable PCIe
Enable PCIe0 (Wi-Fi) and 2 (SDX55m) interfaces and PHYs and assign relevant
pins and regulators.
Signed-off-by: Konrad Dybcio <konrad.dybcio@somainline.org>
Link: https://lore.kernel.org/r/20210616122708.144770-3-konrad.dybcio@somainline.org
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Diffstat (limited to 'arch/arm64')
-rw-r--r-- | arch/arm64/boot/dts/qcom/sm8250-sony-xperia-edo.dtsi | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/qcom/sm8250-sony-xperia-edo.dtsi b/arch/arm64/boot/dts/qcom/sm8250-sony-xperia-edo.dtsi index 1a08712b88df..36ff9998a4c6 100644 --- a/arch/arm64/boot/dts/qcom/sm8250-sony-xperia-edo.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8250-sony-xperia-edo.dtsi @@ -456,6 +456,30 @@ /* Richwave RTC6226 FM Radio Receiver @ 64 */ }; +&pcie0 { + status = "okay"; +}; + +&pcie0_phy { + status = "okay"; + + vdda-phy-supply = <&vreg_l5a_0p88>; + vdda-pll-supply = <&vreg_l9a_1p2>; +}; + +&pcie2 { + status = "okay"; + + pinctrl-0 = <&pcie2_default_state &mdm2ap_default &ap2mdm_default>; +}; + +&pcie2_phy { + status = "okay"; + + vdda-phy-supply = <&vreg_l5a_0p88>; + vdda-pll-supply = <&vreg_l9a_1p2>; +}; + &pon_pwrkey { status = "okay"; }; @@ -515,6 +539,20 @@ }; }; + mdm2ap_default: mdm2ap-default { + pins = "gpio1", "gpio3"; + function = "gpio"; + drive-strength = <8>; + bias-disable; + }; + + ap2mdm_default: ap2mdm-default { + pins = "gpio56", "gpio57"; + function = "gpio"; + drive-strength = <16>; + bias-disable; + }; + sdc2_card_det_n: sd-card-det-n { pins = "gpio77"; function = "gpio"; |