summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/imx28-apf28dev.dts
diff options
context:
space:
mode:
authorSébastien Szymanski <sebastien.szymanski@armadeus.com>2014-01-14 15:21:27 +0100
committerShawn Guo <shawn.guo@linaro.org>2014-02-09 21:33:45 +0800
commit625df5bd5ef4e533c1c4da47d1acd13b369dcc02 (patch)
tree9e9c4a8074d30f4e2722f86a33ed66530101eeb8 /arch/arm/boot/dts/imx28-apf28dev.dts
parent72d86d2605363048714039536acee64ab446ffa2 (diff)
ARM: dts: imx28-apf28dev: add user button
Signed-off-by: Sébastien Szymanski <sebastien.szymanski@armadeus.com> Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Diffstat (limited to 'arch/arm/boot/dts/imx28-apf28dev.dts')
-rw-r--r--arch/arm/boot/dts/imx28-apf28dev.dts11
1 files changed, 11 insertions, 0 deletions
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 = <MXS_DRIVE_4mA>;
fsl,voltage = <MXS_VOLTAGE_HIGH>;
@@ -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>;
+ };
+ };
};