From: Sébastien Szymanski Date: Tue, 14 Jan 2014 14:21:27 +0000 (+0100) Subject: ARM: dts: imx28-apf28dev: add user button X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=625df5bd5ef4e533c1c4da47d1acd13b369dcc02;p=deliverable%2Flinux.git ARM: dts: imx28-apf28dev: add user button Signed-off-by: Sébastien Szymanski Signed-off-by: Shawn Guo --- diff --git a/arch/arm/boot/dts/imx28-apf28dev.dts b/arch/arm/boot/dts/imx28-apf28dev.dts index 334dea58e17e..221cac4fb2cd 100644 --- a/arch/arm/boot/dts/imx28-apf28dev.dts +++ b/arch/arm/boot/dts/imx28-apf28dev.dts @@ -48,6 +48,7 @@ MX28_PAD_LCD_D20__GPIO_1_20 MX28_PAD_LCD_D21__GPIO_1_21 MX28_PAD_LCD_D22__GPIO_1_22 + MX28_PAD_GPMI_CE1N__GPIO_0_17 >; fsl,drive-strength = ; fsl,voltage = ; @@ -193,4 +194,14 @@ brightness-levels = <0 4 8 16 32 64 128 255>; default-brightness-level = <6>; }; + + gpio-keys { + compatible = "gpio-keys"; + + user-button { + label = "User button"; + gpios = <&gpio0 17 0>; + linux,code = <0x100>; + }; + }; };