summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/exynos4412-odroidu3.dts
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/boot/dts/exynos4412-odroidu3.dts')
-rw-r--r--arch/arm/boot/dts/exynos4412-odroidu3.dts22
1 files changed, 22 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/exynos4412-odroidu3.dts b/arch/arm/boot/dts/exynos4412-odroidu3.dts
index 2111ed815fab..9c4b75298620 100644
--- a/arch/arm/boot/dts/exynos4412-odroidu3.dts
+++ b/arch/arm/boot/dts/exynos4412-odroidu3.dts
@@ -37,6 +37,16 @@
pwms = <&pwm 0 10000 0>;
status = "okay";
};
+
+ usb_extcon: odroid-usbotg {
+ compatible = "extcon-odroid-usbotg";
+ otg-id-gpio = <&gpx3 1 0>;
+ vbus-det-gpio = <&gpx1 6 0>;
+ };
+
+ hsotg@12480000 {
+ extcon = <&usb_extcon>;
+ };
};
&pwm {
@@ -74,3 +84,15 @@
"Speakers", "SPKL",
"Speakers", "SPKR";
};
+
+&pinctrl_1 {
+ otg_id: otg_id {
+ samsung,pins = "gpx3-1";
+ samsung,pin-pud = <3>;
+ };
+
+ vbus_det: vbus_det {
+ samsung,pins = "gpx1-6";
+ samsung,pin-pud = <0>;
+ };
+};