[PATCH u-boot-net v3 07/14] net: introduce helpers to get PHY interface mode from a device/ofnode