On Mon, Jun 24, 2019 at 09:43:23PM +0800, Icenowy Zheng wrote: > >> +&usb_otg { > >> + dr_mode = "otg"; > >> + status = "okay"; > >> +}; > >> + > >> +&usbphy { > >> + usb0_id_det-gpios = <&pio 5 6 GPIO_ACTIVE_HIGH>; > >> + status = "okay"; > >> +}; > > > >How can it do OTG if there's no controllable VBUS regulator? > > All 5V's are connected together, like Orange Pi Zero. So it's a "it can't"? And the orange pi zero says that it can only do peripheral. Maxime -- Maxime Ripard, Bootlin Embedded Linux and Kernel engineering https://bootlin.com