[RFC 03/19] ARM: dts: exynos5422-odroidxu3: add odroid-usbotg extcon support
From: Robert Baldyga
Date: Wed Mar 18 2015 - 10:10:31 EST
Add extcon device detecting USB cable type.
Signed-off-by: Robert Baldyga <r.baldyga@xxxxxxxxxxx>
---
arch/arm/boot/dts/exynos5422-odroidxu3.dts | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
diff --git a/arch/arm/boot/dts/exynos5422-odroidxu3.dts b/arch/arm/boot/dts/exynos5422-odroidxu3.dts
index a519c86..80057d6 100644
--- a/arch/arm/boot/dts/exynos5422-odroidxu3.dts
+++ b/arch/arm/boot/dts/exynos5422-odroidxu3.dts
@@ -278,6 +278,14 @@
rtc@101E0000 {
status = "okay";
};
+
+ usb_extcon: odroid-usbotg {
+ compatible = "extcon-odroid-usbotg";
+ pinctrl-names = "default";
+ pinctrl-0 = <&otg_id &vbus_det>;
+ otg-id-gpio = <&gpx1 1 0>;
+ vbus-det-gpio = <&gpx3 4 0>;
+ };
};
&hdmi {
@@ -369,3 +377,15 @@
shunt-resistor = <10000>;
};
};
+
+&pinctrl_0 {
+ otg_id: otg-id {
+ samsung,pins = "gpx1-1";
+ samsung,pin-pud = <0>;
+ };
+
+ vbus_det: vbus-det {
+ samsung,pins = "gpx3-4";
+ samsung,pin-pud = <0>;
+ };
+};
--
1.9.1
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/