summaryrefslogtreecommitdiffstats
path: root/dts/src/arm/sun8i-a83t-cubietruck-plus.dts
diff options
context:
space:
mode:
Diffstat (limited to 'dts/src/arm/sun8i-a83t-cubietruck-plus.dts')
-rw-r--r--dts/src/arm/sun8i-a83t-cubietruck-plus.dts12
1 files changed, 12 insertions, 0 deletions
diff --git a/dts/src/arm/sun8i-a83t-cubietruck-plus.dts b/dts/src/arm/sun8i-a83t-cubietruck-plus.dts
index fcbec3d..ea299d3 100644
--- a/dts/src/arm/sun8i-a83t-cubietruck-plus.dts
+++ b/dts/src/arm/sun8i-a83t-cubietruck-plus.dts
@@ -420,7 +420,19 @@
};
};
+&usb_otg {
+ dr_mode = "otg";
+ status = "okay";
+};
+
+&usb_power_supply {
+ status = "okay";
+};
+
&usbphy {
+ usb0_id_det-gpios = <&pio 7 11 GPIO_ACTIVE_HIGH>; /* PH11 */
+ usb0_vbus_power-supply = <&usb_power_supply>;
+ usb0_vbus-supply = <&reg_drivevbus>;
usb1_vbus-supply = <&reg_usb1_vbus>;
usb2_vbus-supply = <&reg_usb2_vbus>;
status = "okay";