Message ID | 1438721612-7529-2-git-send-email-anthoine.bourgeois@gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/arch/arm/boot/dts/omap3-devkit8000.dts b/arch/arm/boot/dts/omap3-devkit8000.dts index 2af54cb..07b0f5a 100644 --- a/arch/arm/boot/dts/omap3-devkit8000.dts +++ b/arch/arm/boot/dts/omap3-devkit8000.dts @@ -7,6 +7,8 @@ */ /dts-v1/; +#include <dt-bindings/input/input.h> + #include "omap34xx.dtsi" / { model = "TimLL OMAP3 Devkit8000"; @@ -55,6 +57,17 @@ "MAINMIC", "Main Mic", "Main Mic", "Mic Bias 1"; }; + + gpio_keys { + compatible = "gpio-keys"; + + user { + label = "user"; + gpios = <&gpio1 26 GPIO_ACTIVE_HIGH>; + linux,code = <BTN_EXTRA>; + gpio-key,wakeup; + }; + }; }; &i2c1 {