arm64: dts: msm8996: Use dwc3-qcom glue driver for USB

Move from dwc3-of-simple to dwc3-qcom glue driver to
support peripheral mode which requires qscratch wrapper
programming on VBUS event.

Fixes: a4333c3a6b ("usb: dwc3: Add Qualcomm DWC3 glue driver")
Signed-off-by: Manu Gautam <mgautam@codeaurora.org>
Tested-by: Vivek Gautam <vivek.gautam@codeaurora.org>
Signed-off-by: Andy Gross <andy.gross@linaro.org>
This commit is contained in:
Manu Gautam 2018-05-31 16:17:10 +05:30 committed by Andy Gross
parent 818046ebe2
commit 1504b91c81
2 changed files with 10 additions and 6 deletions

View file

@ -385,8 +385,9 @@ phy@7412000 {
status = "okay";
};
usb@6a00000 {
usb@6af8800 {
status = "okay";
extcon = <&usb3_id>;
dwc3@6a00000 {
extcon = <&usb3_id>;
@ -401,8 +402,9 @@ usb3_id: usb3-id {
pinctrl-0 = <&usb3_vbus_det_gpio>;
};
usb@7600000 {
usb@76f8800 {
status = "okay";
extcon = <&usb2_id>;
dwc3@7600000 {
extcon = <&usb2_id>;

View file

@ -893,8 +893,9 @@ hsusb_phy2: phy@7412000 {
status = "disabled";
};
usb2: usb@7600000 {
compatible = "qcom,dwc3";
usb2: usb@76f8800 {
compatible = "qcom,msm8996-dwc3", "qcom,dwc3";
reg = <0x76f8800 0x400>;
#address-cells = <1>;
#size-cells = <1>;
ranges;
@ -921,8 +922,9 @@ dwc3@7600000 {
};
};
usb3: usb@6a00000 {
compatible = "qcom,dwc3";
usb3: usb@6af8800 {
compatible = "qcom,msm8996-dwc3", "qcom,dwc3";
reg = <0x6af8800 0x400>;
#address-cells = <1>;
#size-cells = <1>;
ranges;