ARM: dts: imx7d-smegw01: Fix USB host over-current polarity
commit1febf88ef9upstream. Currently, when resetting the USB modem via AT commands, the modem is no longer re-connected. This problem is caused by the incorrect description of the USB_OTG2_OC pad. It should have pull-up enabled, hysteresis enabled and the property 'over-current-active-low' should be passed. With this change, the USB modem can be successfully re-connected after a reset. Cc: stable@vger.kernel.org Fixes:9ac0ae97e3("ARM: dts: imx7d-smegw01: Add support for i.MX7D SMEGW01 board") Signed-off-by: Fabio Estevam <festevam@denx.de> Signed-off-by: Shawn Guo <shawnguo@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
78792d25b6
commit
334ce90fad
@@ -198,6 +198,7 @@
|
|||||||
&usbotg2 {
|
&usbotg2 {
|
||||||
pinctrl-names = "default";
|
pinctrl-names = "default";
|
||||||
pinctrl-0 = <&pinctrl_usbotg2>;
|
pinctrl-0 = <&pinctrl_usbotg2>;
|
||||||
|
over-current-active-low;
|
||||||
dr_mode = "host";
|
dr_mode = "host";
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
@@ -374,7 +375,7 @@
|
|||||||
|
|
||||||
pinctrl_usbotg2: usbotg2grp {
|
pinctrl_usbotg2: usbotg2grp {
|
||||||
fsl,pins = <
|
fsl,pins = <
|
||||||
MX7D_PAD_UART3_RTS_B__USB_OTG2_OC 0x04
|
MX7D_PAD_UART3_RTS_B__USB_OTG2_OC 0x5c
|
||||||
>;
|
>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user