USB 3.0 support for Rockchip RK3328

Andreas Tobler andreast-list at fgznet.ch
Wed Aug 14 20:59:14 UTC 2019


On 14.08.19 15:04, Denis Polygalov wrote:
> After application of this patch:
> https://patchwork.kernel.org/patch/10853381/
> and recompiling kernel I got this in dmesg:
> 
> # dmesg | egrep 'usb|dwc|USB'
> dwc0: <Rockchip Gigabit Ethernet Controller> mem 0xff540000-0xff54ffff
> irq 43 on ofwbus0
> miibus0: <MII bus> on dwc0
> dwc0: Ethernet address: 82:d6:05:ce:da:87
> dwcotg0: <DWC OTG 2.0 integrated USB controller> mem
> 0xff580000-0xff5bffff irq 45 on ofwbus0
> usbus0 on dwcotg0
> usbus1 on ohci0
> usbus0: 480Mbps High Speed USB v2.0
> usbus1: 12Mbps Full Speed USB v1.0
> ugen1.1: <Generic OHCI root HUB> at usbus1
> uhub0 on usbus1
> uhub0: <Generic OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus1
> ugen0.1: <DWCOTG OTG Root HUB> at usbus0
> uhub1 on usbus0
> uhub1: <DWCOTG OTG Root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus0
> Root mount waiting for: usbus1 usbus0
> dwc0: link state changed to DOWN
> dwc0: link state changed to UP
> 
> but no response to connection of any USB device.
> Also I noticed that 'gpioctl -f /dev/gpioc4 26 1'
> make sense only for ROCKPro64 which is not what I have:
> 
>    # ls /dev/gp*
> /dev/gpioc0     /dev/gpioc1     /dev/gpioc2     /dev/gpioc3
> 
> Is there some similar magic command to turn on USB parts on ROCK64?

With the latest u-boot-rock64 from ports:

gpioctl -f /dev/gpioc0 2 0

Andreas



More information about the freebsd-arm mailing list