USB 3.0 support for Rockchip RK3328
Emmanuel Vadot
manu at bidouilliste.com
Thu Aug 15 12:51:16 UTC 2019
On Thu, 15 Aug 2019 21:33:04 +0900
Denis Polygalov <dpolyg at gmail.com> wrote:
>
> >>
> >> 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
> >
>
> Thanks, I noticed that this command actually turn on USB 2.0(!)
> ports on my ROCK64 board. USB 3.0 still does not work.
>
> > That's not it, that's 2.0, not xhci. Make sure you have the 3.0 node in the device tree.
> Yes, I'm agree that was 2.0. But I'm also sure that I have the patches
> applied properly and also I can see entries from these patches in the
> nfsroot/boot/dtb/rockchip/rk3328-rock64.dtb file after compilation.
>
> I also noticed that for ROCKPro64 (RK3399) USB 3.0 node is already
> included into FreeBSD source tree. Here:
> https://github.com/freebsd/freebsd/blob/ea36ac604737d55bb248babf59633f67f770bab5/sys/gnu/dts/arm64/rockchip/rk3399.dtsi#L391
>
> Which means (this is my naive speculation) that this patch:
>
> https://reviews.freebsd.org/D19335
>
> is actually works only for RK3399 (ROCKPro64)
> despite "RK3328" included in it's title.
>
> and using the D19335 + this patch:
> http://lkml.iu.edu/hypermail/linux/kernel/1708.2/01066.html
>
> is not enough to make USB 3.0 work on ROCK64 (RK3328)... :(
That's because the patch isn't enough, it only worked on RK3399
because u-boot enabled the phy and the clocks etc ... thing that isn't
done in the patch.
> Regards,
> Denis.
> _______________________________________________
> freebsd-arm at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-arm
> To unsubscribe, send any mail to "freebsd-arm-unsubscribe at freebsd.org"
--
Emmanuel Vadot <manu at bidouilliste.com> <manu at freebsd.org>
More information about the freebsd-arm
mailing list