diff options
author | Konrad Dybcio <konrad.dybcio@somainline.org> | 2021-07-29 00:25:34 +0200 |
---|---|---|
committer | Bjorn Andersson <bjorn.andersson@linaro.org> | 2021-08-04 15:07:04 -0500 |
commit | 2c616239f255a66e5989e8fa5cdaefc25eec3d00 (patch) | |
tree | 0bc98b6de1e32b64c5b73b88e8175bc77b2e3950 /arch/arm64/boot/dts/qcom/sdm630-sony-xperia-nile.dtsi | |
parent | 158f80a68148d7febdbcc3586d2d17e455453563 (diff) | |
download | linux-2c616239f255a66e5989e8fa5cdaefc25eec3d00.tar.bz2 |
arm64: dts: qcom: sdm630-nile: Add USB
Enable and configure DWC3 and QUSB2 PHY to enable USB
functionality on Nile and Ganges boards.
Signed-off-by: Konrad Dybcio <konrad.dybcio@somainline.org>
Link: https://lore.kernel.org/r/20210728222542.54269-32-konrad.dybcio@somainline.org
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Diffstat (limited to 'arch/arm64/boot/dts/qcom/sdm630-sony-xperia-nile.dtsi')
-rw-r--r-- | arch/arm64/boot/dts/qcom/sdm630-sony-xperia-nile.dtsi | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/qcom/sdm630-sony-xperia-nile.dtsi b/arch/arm64/boot/dts/qcom/sdm630-sony-xperia-nile.dtsi index fa7bef49b332..77ee75809e6e 100644 --- a/arch/arm64/boot/dts/qcom/sdm630-sony-xperia-nile.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm630-sony-xperia-nile.dtsi @@ -148,6 +148,15 @@ no-map; }; }; + + /* + * Until we hook up type-c detection, we + * have to stick with this. But it works. + */ + extcon_usb: extcon-usb { + compatible = "linux,extcon-usb-gpio"; + id-gpio = <&tlmm 58 GPIO_ACTIVE_HIGH>; + }; }; &blsp_i2c1 { @@ -182,6 +191,14 @@ /* HCI Bluetooth */ }; +&qusb2phy { + status = "okay"; + + vdd-supply = <&vreg_l1b_0p925>; + vdda-pll-supply = <&vreg_l10a_1p8>; + vdda-phy-dpdm-supply = <&vreg_l7b_3p125>; +}; + &rpm_requests { pm660l-regulators { compatible = "qcom,rpm-pm660l-regulators"; @@ -535,3 +552,12 @@ drive-strength = <2>; }; }; + +&usb3 { + status = "okay"; +}; + +&usb3_dwc3 { + dr_mode = "peripheral"; + extcon = <&extcon_usb>; +}; |