summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--arch/arm/boot/dts/exynos4412-odroidu3.dts22
-rw-r--r--arch/arm/boot/dts/exynos4412-odroidx.dts19
2 files changed, 41 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>;
+ };
+};
diff --git a/arch/arm/boot/dts/exynos4412-odroidx.dts b/arch/arm/boot/dts/exynos4412-odroidx.dts
index cb1cfe7239c4..e5796d33168e 100644
--- a/arch/arm/boot/dts/exynos4412-odroidx.dts
+++ b/arch/arm/boot/dts/exynos4412-odroidx.dts
@@ -69,6 +69,15 @@
enable-active-high;
regulator-always-on;
};
+
+ usb_extcon: odroid-usbotg {
+ compatible = "extcon-odroid-usbotg";
+ vbus-det-gpio = <&gpx1 6 0>;
+ };
+
+ hsotg@12480000 {
+ extcon = <&usb_extcon>;
+ };
};
&ehci {
@@ -82,4 +91,14 @@
samsung,pins = "gpx2-2";
samsung,pin-pud = <0>;
};
+
+ otg_id: otg_id {
+ samsung,pins = "gpx3-1";
+ samsung,pin-pud = <3>;
+ };
+
+ vbus_det: vbus_det {
+ samsung,pins = "gpx1-6";
+ samsung,pin-pud = <0>;
+ };
};