arm64: dts: qcom: monaco-evk: Enable the secondary USB controller

Enable the secondary USB controller connected to micro usb port in OTG mode
on Monaco EVK platform.

Signed-off-by: Swati Agarwal <swati.agarwal@oss.qualcomm.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Link: https://lore.kernel.org/r/20260303082157.523847-4-swati.agarwal@oss.qualcomm.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
This commit is contained in:
Swati Agarwal
2026-03-03 13:51:57 +05:30
committed by Bjorn Andersson
parent d2b1f22108
commit 8eb46e0a7a

View File

@@ -27,6 +27,25 @@ chosen {
stdout-path = "serial0:115200n8";
};
connector-2 {
compatible = "gpio-usb-b-connector", "usb-b-connector";
label = "micro-USB";
type = "micro";
id-gpios = <&pmm8620au_0_gpios 9 GPIO_ACTIVE_HIGH>;
vbus-gpios = <&expander6 7 GPIO_ACTIVE_HIGH>;
vbus-supply = <&usb2_vbus>;
pinctrl-0 = <&usb2_id>;
pinctrl-names = "default";
port {
usb2_con_hs_ep: endpoint {
remote-endpoint = <&usb_2_dwc3_hs>;
};
};
};
dmic: audio-codec-0 {
compatible = "dmic-codec";
#sound-dai-cells = <0>;
@@ -38,6 +57,15 @@ max98357a: audio-codec-1 {
#sound-dai-cells = <0>;
};
usb2_vbus: regulator-usb2-vbus {
compatible = "regulator-fixed";
regulator-name = "usb2_vbus";
gpio = <&pmm8650au_1_gpios 7 GPIO_ACTIVE_HIGH>;
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
enable-active-high;
};
sound {
compatible = "qcom,qcs8275-sndcard";
model = "MONACO-EVK";
@@ -493,6 +521,16 @@ &pcieport1 {
wake-gpios = <&tlmm 21 GPIO_ACTIVE_HIGH>;
};
&pmm8620au_0_gpios {
usb2_id: usb2-id-state {
pins = "gpio9";
function = "normal";
input-enable;
bias-pull-up;
power-source = <0>;
};
};
&qupv3_id_0 {
firmware-name = "qcom/qcs8300/qupv3fw.elf";
status = "okay";
@@ -709,3 +747,19 @@ &usb_qmpphy {
status = "okay";
};
&usb_2 {
status = "okay";
};
&usb_2_dwc3_hs {
remote-endpoint = <&usb2_con_hs_ep>;
};
&usb_2_hsphy {
vdda-pll-supply = <&vreg_l7a>;
vdda18-supply = <&vreg_l7c>;
vdda33-supply = <&vreg_l9a>;
status = "okay";
};