try using a standard phy drivers registered with ofw/fdt first.
authordlg <dlg@openbsd.org>
Mon, 3 Apr 2023 01:57:41 +0000 (01:57 +0000)
committerdlg <dlg@openbsd.org>
Mon, 3 Apr 2023 01:57:41 +0000 (01:57 +0000)
commite2cf5b6596f18ac239f9d69e74c6ede3aa9df5cc
treed9e675ff972be4d4751a2d4d2a079d74a8dfebbd
parente60d52d296ae1265392d54d2e0f5a5deb373bba8
try using a standard phy drivers registered with ofw/fdt first.

this allows ehci to enable rkusbphy(4), which in means the port and
port gets turned onto the port.

tested on a radxa e25 and nanopi r5s without any usb or usb phy
support in the boot loader.

ok kettenis@
sys/dev/fdt/ehci_fdt.c