The pins used for VBUSEN and OC in host mode are also used for the 2nd
CAN interface. When the USB0 interface is used in device mode, the
pins can still be used for the CAN interface if they are not claimed
by the USB PHY driver. Thus move the pinctrl reference to the
reg_usbotg which will only claim them for host mode.
>;
};
- pinctrl_reg_usbotg: usbotggrp-2 {
+ pinctrl_reg_usbotg: reg-usbotggrp-1 {
pinctrl-single,pins = <
0x100 (PIN_OUTPUT | MUX_MODE7) /* mmc0_clk.gpio2_30 USBOTG_VBUSEN */
+ 0x104 (PIN_INPUT_PULLUP | MUX_MODE7) /* mmc0_cmd.gpio2_31 #USBOTG_OC */
>;
};
0x21c (PIN_INPUT_PULLUP | MUX_MODE7) /* usb0_drvvbus.gpio0_18 #USBH_OC */
>;
};
-
- pinctrl_usbotg: usbotggrp-1 {
- pinctrl-single,pins = <
- 0x104 (PIN_INPUT_PULLUP | MUX_MODE7) /* mmc0_cmd.gpio2_31 #USBOTG_OC */
- >;
- };
};
&cppi41dma {
};
&usb0_phy {
- pinctrl-names = "default";
- pinctrl-0 = <&pinctrl_usbotg>;
vcc-supply = <®_usbotg>;
status = "okay";
};