summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/omap4-panda-es.dts
diff options
context:
space:
mode:
authorPeter Robinson <pbrobinson@gmail.com>2018-07-04 11:37:38 +0300
committerTony Lindgren <tony@atomide.com>2018-07-09 13:45:15 +0300
commitab9a13665e7c25b31cbe4f6ea8acf2deaad5cacd (patch)
tree044f68e1d6f65fd03f2482fca958b90200567d93 /arch/arm/boot/dts/omap4-panda-es.dts
parent8008b6f3ac155ff9351841ac00253cd41119d1d8 (diff)
downloadlinux-ab9a13665e7c25b31cbe4f6ea8acf2deaad5cacd.tar.xz
ARM: dts: pandaboard: add gpio user button
The PandaBoard has a user button connected to GPIO. On the ES this is connected to GPIO 113, on all the other Panda editons this is GPIO 121. Signed-off-by: Peter Robinson <pbrobinson@gmail.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/boot/dts/omap4-panda-es.dts')
-rw-r--r--arch/arm/boot/dts/omap4-panda-es.dts12
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/omap4-panda-es.dts b/arch/arm/boot/dts/omap4-panda-es.dts
index 940fe4f7c5f6..984f642639fa 100644
--- a/arch/arm/boot/dts/omap4-panda-es.dts
+++ b/arch/arm/boot/dts/omap4-panda-es.dts
@@ -46,6 +46,12 @@
OMAP4_IOPAD(0x0f6, PIN_OUTPUT | MUX_MODE3) /* gpio_110 */
>;
};
+
+ button_pins: pinmux_button_pins {
+ pinctrl-single,pins = <
+ OMAP4_IOPAD(0x11b, PIN_INPUT_PULLUP | MUX_MODE3) /* gpio_113 */
+ >;
+ };
};
&led_wkgpio_pins {
@@ -68,6 +74,12 @@
};
};
+&gpio_keys {
+ buttonS2 {
+ gpios = <&gpio4 17 GPIO_ACTIVE_LOW>; /* gpio_113 */
+ };
+};
+
&gpio1 {
ti,no-reset-on-init;
};