ramips: fix MDIO/PHY handling