From 20779ecf3b4309184d6df254e884698ef0cfd52c Mon Sep 17 00:00:00 2001 From: Manivannan Sadhasivam Date: Mon, 18 Jan 2021 10:40:01 +0530 Subject: [PATCH] ARM: dts: qcom: sdx55-mtp: Enable USB3 and PHY support Enable the support for USB3 controller, QMP PHY and HS PHY on SDX55 MTP. Signed-off-by: Manivannan Sadhasivam Link: https://lore.kernel.org/r/20210118051005.55958-4-manivannan.sadhasivam@linaro.org Signed-off-by: Bjorn Andersson --- arch/arm/boot/dts/qcom-sdx55-mtp.dts | 29 +++++++++++++++++++++++++---- 1 file changed, 25 insertions(+), 4 deletions(-) diff --git a/arch/arm/boot/dts/qcom-sdx55-mtp.dts b/arch/arm/boot/dts/qcom-sdx55-mtp.dts index 96b6a29..7fec5e7 100644 --- a/arch/arm/boot/dts/qcom-sdx55-mtp.dts +++ b/arch/arm/boot/dts/qcom-sdx55-mtp.dts @@ -111,7 +111,7 @@ regulator-max-microvolt = <1960000>; }; - ldo1 { + vreg_l1e_bb_1p2: ldo1 { regulator-min-microvolt = <1200000>; regulator-max-microvolt = <1200000>; regulator-initial-mode = ; @@ -129,13 +129,13 @@ regulator-initial-mode = ; }; - ldo4 { + vreg_l4e_bb_0p875: ldo4 { regulator-min-microvolt = <872000>; regulator-max-microvolt = <872000>; regulator-initial-mode = ; }; - ldo5 { + vreg_l5e_bb_1p7: ldo5 { regulator-min-microvolt = <1704000>; regulator-max-microvolt = <1900000>; regulator-initial-mode = ; @@ -165,7 +165,7 @@ regulator-initial-mode = ; }; - ldo10 { + vreg_l10e_3p1: ldo10 { regulator-min-microvolt = <3088000>; regulator-max-microvolt = <3088000>; regulator-initial-mode = ; @@ -228,3 +228,24 @@ nand-bus-width = <8>; }; }; + +&usb { + status = "okay"; +}; + +&usb_dwc3 { + dr_mode = "peripheral"; +}; + +&usb_hsphy { + status = "okay"; + vdda-pll-supply = <&vreg_l4e_bb_0p875>; + vdda33-supply = <&vreg_l10e_3p1>; + vdda18-supply = <&vreg_l5e_bb_1p7>; +}; + +&usb_qmpphy { + status = "okay"; + vdda-phy-supply = <&vreg_l4e_bb_0p875>; + vdda-pll-supply = <&vreg_l1e_bb_1p2>; +}; -- 2.7.4