[PATCH v2 5/5] ARM: dts: qcom: msm8974-klte: Add USB node

From: Iskren Chernev
Date: Sat Apr 11 2020 - 14:22:22 EST


From: Daniele Debernardi <drebrez@xxxxxxxxx>

This introduces the usb node which can be used e.g. for USB_ETH

Signed-off-by: Daniele Debernardi <drebrez@xxxxxxxxx>
---
.../boot/dts/qcom-msm8974-samsung-klte.dts | 25 +++++++++++++++++++
1 file changed, 25 insertions(+)

diff --git a/arch/arm/boot/dts/qcom-msm8974-samsung-klte.dts b/arch/arm/boot/dts/qcom-msm8974-samsung-klte.dts
index 42fc18804021..df85d90100d9 100644
--- a/arch/arm/boot/dts/qcom-msm8974-samsung-klte.dts
+++ b/arch/arm/boot/dts/qcom-msm8974-samsung-klte.dts
@@ -272,6 +272,31 @@ sdhci@f9824900 {
pinctrl-names = "default";
pinctrl-0 = <&sdhc1_pin_a>;
};
+
+ usb@f9a55000 {
+ status = "ok";
+
+ phys = <&usb_hs1_phy>;
+ phy-select = <&tcsr 0xb000 0>;
+ /*extcon = <&smbb>, <&usb_id>;*/
+ /*vbus-supply = <&chg_otg>;*/
+
+ hnp-disable;
+ srp-disable;
+ adp-disable;
+
+ ulpi {
+ phy@a {
+ status = "ok";
+
+ v1p8-supply = <&pma8084_l6>;
+ v3p3-supply = <&pma8084_l24>;
+
+ /*extcon = <&smbb>;*/
+ qcom,init-seq = /bits/ 8 <0x1 0x64>;
+ };
+ };
+ };
};

&spmi_bus {
--
2.26.0