Add support for the Motorcomm YT8521/YT8531 PHYs. Since these PHYs may
authorkettenis <kettenis@openbsd.org>
Sat, 8 Jul 2023 08:18:30 +0000 (08:18 +0000)
committerkettenis <kettenis@openbsd.org>
Sat, 8 Jul 2023 08:18:30 +0000 (08:18 +0000)
commit2b94700ca7c110378f0b36a4144e242a9b5025c2
treee408a7749e1455583620552fd2fd8365771b7c14
parent0a6aab58a9ecdd9d26650fde0b817a724ac8dbc6
Add support for the Motorcomm YT8521/YT8531 PHYs.  Since these PHYs may
need various board-dependent tweaks, pass the device tree node down
to the PHY driver such that we can look at various properties to make
the necessary tweaks.  Enable ytphy(4) on riscv64.

ok jsing@, patrick@
sys/arch/riscv64/conf/GENERIC
sys/arch/riscv64/conf/RAMDISK
sys/dev/fdt/if_dwqe_fdt.c
sys/dev/mii/miidevs
sys/dev/mii/miivar.h
sys/dev/mii/ytphy.c