summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/am572x-idk.dts
diff options
context:
space:
mode:
authorRoger Quadros <rogerq@ti.com>2016-12-12 12:58:04 +0300
committerTony Lindgren <tony@atomide.com>2016-12-27 21:06:00 +0300
commit10d27dfaf6b6ce3bd7598b1e20e58446c5697a50 (patch)
treeb70c253d4f4be34eb5a6c7d807325a366aef7ce6 /arch/arm/boot/dts/am572x-idk.dts
parent820381572fc015baa4f5744f5d4583ec0c0f1b82 (diff)
downloadlinux-10d27dfaf6b6ce3bd7598b1e20e58446c5697a50.tar.xz
ARM: dts: am57xx-idk: Support VBUS detection on USB2 port
VBUS detection is available on the board via the palmas PMIC. Use extcon-palmas driver instead of extcon-gpio-usb driver. Signed-off-by: Roger Quadros <rogerq@ti.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/boot/dts/am572x-idk.dts')
-rw-r--r--arch/arm/boot/dts/am572x-idk.dts10
1 files changed, 5 insertions, 5 deletions
diff --git a/arch/arm/boot/dts/am572x-idk.dts b/arch/arm/boot/dts/am572x-idk.dts
index 27d9149cedba..4ed40be761b2 100644
--- a/arch/arm/boot/dts/am572x-idk.dts
+++ b/arch/arm/boot/dts/am572x-idk.dts
@@ -23,11 +23,6 @@
reg = <0x0 0x80000000 0x0 0x80000000>;
};
- extcon_usb2: extcon_usb2 {
- compatible = "linux,extcon-usb-gpio";
- id-gpio = <&gpio3 16 GPIO_ACTIVE_HIGH>;
- };
-
status-leds {
compatible = "gpio-leds";
cpu0-led {
@@ -76,6 +71,11 @@
extcon = <&extcon_usb2>;
};
+&extcon_usb2 {
+ id-gpio = <&gpio3 16 GPIO_ACTIVE_HIGH>;
+ vbus-gpio = <&gpio3 26 GPIO_ACTIVE_HIGH>;
+};
+
&mmc1 {
status = "okay";
vmmc-supply = <&v3_3d>;