if_dwc_rk_init_clocks() calls clk_set_freq() on its own clk_stmmaceth
field to set the 50MHz of an RMII PHY clocked by the MAC. Nothing sets
that field since the lookup was removed from the glue and moved to the
dwc core, which keeps the clock in the clk_stmmaceth of its softc. The
call therefore dereferences a NULL clock in every device that uses RMII
with clock_in_out set to "output", like the integrated PHY of the
RK3328 (gmac2phy), and the kernel panics at attach.
Use the clock of the core, it is looked up before the glue is
initialized, and remove the unused field.
Fixes: 50059a60edec ("dwc: Rewrite clock and reset functions")
Reported by: llm-postcr