Commit 2c616239 authored by Konrad Dybcio's avatar Konrad Dybcio Committed by Bjorn Andersson

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: default avatarKonrad Dybcio <konrad.dybcio@somainline.org>
Link: https://lore.kernel.org/r/20210728222542.54269-32-konrad.dybcio@somainline.orgSigned-off-by: default avatarBjorn Andersson <bjorn.andersson@linaro.org>
parent 158f80a6
...@@ -148,6 +148,15 @@ removed_region@85800000 { ...@@ -148,6 +148,15 @@ removed_region@85800000 {
no-map; 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 { &blsp_i2c1 {
...@@ -182,6 +191,14 @@ &blsp2_uart1 { ...@@ -182,6 +191,14 @@ &blsp2_uart1 {
/* HCI Bluetooth */ /* 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 { &rpm_requests {
pm660l-regulators { pm660l-regulators {
compatible = "qcom,rpm-pm660l-regulators"; compatible = "qcom,rpm-pm660l-regulators";
...@@ -535,3 +552,12 @@ cam_vdig_default: cam-vdig-default { ...@@ -535,3 +552,12 @@ cam_vdig_default: cam-vdig-default {
drive-strength = <2>; drive-strength = <2>;
}; };
}; };
&usb3 {
status = "okay";
};
&usb3_dwc3 {
dr_mode = "peripheral";
extcon = <&extcon_usb>;
};
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