ARM: dts: msm: Enable usb-role-switch for pineapple
Add the required nodes representing the USB connector and its remote endpoints to the UCSI device and USB controller to receive USB cable connection/disconnection events from UCSI on the DWC3 MSM node. Change-Id: I38e4b2f2b01d2a73cfa507eff6d508103602441e Signed-off-by: Ronak Vijay Raheja <quic_rraheja@quicinc.com>
This commit is contained in:
@@ -186,6 +186,25 @@
|
|||||||
usb-repeater = <&pm8550b_eusb2_repeater>;
|
usb-repeater = <&pm8550b_eusb2_repeater>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
&usb0 {
|
||||||
|
usb-role-switch;
|
||||||
|
port {
|
||||||
|
usb_port0: endpoint {
|
||||||
|
remote-endpoint = <&usb_port0_connector>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
&ucsi {
|
||||||
|
connector {
|
||||||
|
port {
|
||||||
|
usb_port0_connector: endpoint {
|
||||||
|
remote-endpoint = <&usb_port0>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
&qupv3_se4_spi {
|
&qupv3_se4_spi {
|
||||||
#address-cells = <1>;
|
#address-cells = <1>;
|
||||||
#size-cells = <0>;
|
#size-cells = <0>;
|
||||||
|
@@ -355,10 +355,6 @@
|
|||||||
0x00 0x59>;
|
0x00 0x59>;
|
||||||
};
|
};
|
||||||
|
|
||||||
&usb0 {
|
|
||||||
usb-role-switch;
|
|
||||||
};
|
|
||||||
|
|
||||||
&qupv3_se6_i2c {
|
&qupv3_se6_i2c {
|
||||||
status = "ok";
|
status = "ok";
|
||||||
|
|
||||||
@@ -405,6 +401,25 @@
|
|||||||
gpios = <&tlmm 29 0>;
|
gpios = <&tlmm 29 0>;
|
||||||
|
|
||||||
ssusb_redriver = <&redriver>;
|
ssusb_redriver = <&redriver>;
|
||||||
|
|
||||||
|
qcom,wcd_usbss = <&wcd_usbss>;
|
||||||
|
|
||||||
|
usb-role-switch;
|
||||||
|
port {
|
||||||
|
usb_port0: endpoint {
|
||||||
|
remote-endpoint = <&usb_port0_connector>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
&ucsi {
|
||||||
|
connector {
|
||||||
|
port {
|
||||||
|
usb_port0_connector: endpoint {
|
||||||
|
remote-endpoint = <&usb_port0>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
®ulator_ocp_notifier {
|
®ulator_ocp_notifier {
|
||||||
|
@@ -80,6 +80,7 @@
|
|||||||
tx-fifo-resize;
|
tx-fifo-resize;
|
||||||
dr_mode = "otg";
|
dr_mode = "otg";
|
||||||
maximum-speed = "super-speed-plus";
|
maximum-speed = "super-speed-plus";
|
||||||
|
usb-role-switch;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user