dm: phy: add missing #ifdef CONFIG_PHY