From d76220f9b71fdf59f73359951432826d40418eb7 Mon Sep 17 00:00:00 2001 From: Pratham Pratap Date: Tue, 21 Jul 2020 19:19:54 +0530 Subject: [PATCH] ARM: dts: msm: add UCSI connector and USB port on Shima Add UCSI and USB port related information to allow USB role switch framework to discover connection, and provide USB role related configuration. Change-Id: If0394b870f4245c20bfbe922e824ce2e7b8fe62c --- qcom/shima-usb.dtsi | 6 ++++++ qcom/shima.dtsi | 5 +++++ 2 files changed, 11 insertions(+) diff --git a/qcom/shima-usb.dtsi b/qcom/shima-usb.dtsi index 461833a23fef..9f7a28f312cc 100644 --- a/qcom/shima-usb.dtsi +++ b/qcom/shima-usb.dtsi @@ -42,6 +42,7 @@ 0x144 /* GSI_RING_BASE_ADDR_H */ 0x1a4>; /* GSI_IF_STS */ qcom,dwc-usb3-msm-tx-fifo-size = <27696>; + usb-role-switch; extcon = <&eud>; interconnect-names = "usb-ddr", "usb-ipa", "ddr-usb"; @@ -68,6 +69,11 @@ dr_mode = "otg"; }; + port { + usb_port0: endpoint { + remote-endpoint = <&usb_port0_connector>; + }; + }; }; /* Primary USB port related High Speed PHY */ diff --git a/qcom/shima.dtsi b/qcom/shima.dtsi index 9f55f95df385..c2d0502a85de 100644 --- a/qcom/shima.dtsi +++ b/qcom/shima.dtsi @@ -1414,6 +1414,11 @@ qcom,ucsi { compatible = "qcom,ucsi-glink"; + port { + usb_port0_connector: endpoint { + remote-endpoint = <&usb_port0>; + }; + }; }; altmode: qcom,altmode {