summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/omap5-uevm.dts
diff options
context:
space:
mode:
authorH. Nikolaus Schaller <hns@goldelico.com>2016-09-29 07:25:38 +0200
committerTony Lindgren <tony@atomide.com>2016-11-09 23:02:39 +0100
commit2d46c0c607255716758f95eac570c890abc56c45 (patch)
tree93405f9fd8e2eb762ca85e9e049afe9e642a3b4e /arch/arm/boot/dts/omap5-uevm.dts
parentARM: dts: omap5 uevm: add LEDs (diff)
downloadlinux-2d46c0c607255716758f95eac570c890abc56c45.tar.xz
linux-2d46c0c607255716758f95eac570c890abc56c45.zip
ARM: dts: omap5 uevm: add USR1 button
Add USR1 button. Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/boot/dts/omap5-uevm.dts')
-rw-r--r--arch/arm/boot/dts/omap5-uevm.dts25
1 files changed, 25 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/omap5-uevm.dts b/arch/arm/boot/dts/omap5-uevm.dts
index c8ab6275f1d8..2fcdc516da45 100644
--- a/arch/arm/boot/dts/omap5-uevm.dts
+++ b/arch/arm/boot/dts/omap5-uevm.dts
@@ -28,6 +28,25 @@
};
};
+ evm_keys {
+ compatible = "gpio-keys";
+
+ pinctrl-names = "default";
+ pinctrl-0 = <&evm_keys_pins>;
+
+ #address-cells = <7>;
+ #size-cells = <0>;
+
+ btn1 {
+ label = "BTN1";
+ linux,code = <169>;
+ gpios = <&gpio3 19 GPIO_ACTIVE_LOW>; /* gpio3_83 */
+ gpio-key,wakeup;
+ autorepeat;
+ debounce_interval = <50>;
+ };
+ };
+
evm_leds {
compatible = "gpio-leds";
@@ -115,6 +134,12 @@
};
&omap5_pmx_core {
+ evm_keys_pins: pinmux_evm_keys_gpio_pins {
+ pinctrl-single,pins = <
+ OMAP5_IOPAD(0x0b6, PIN_INPUT | MUX_MODE6) /* gpio3_83 */
+ >;
+ };
+
i2c5_pins: pinmux_i2c5_pins {
pinctrl-single,pins = <
OMAP5_IOPAD(0x1c6, PIN_INPUT | MUX_MODE0) /* i2c5_scl */