usb: add devicetree helpers for determining dr_mode and phy_type