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>
This commit is contained in:
Sébastien Szymanski 2014-01-14 15:21:27 +01:00 committed by Shawn Guo
parent 72d86d2605
commit 625df5bd5e
1 changed files with 11 additions and 0 deletions

View File

@ -48,6 +48,7 @@ MX28_PAD_LCD_D19__GPIO_1_19
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 @@ backlight {
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>;
};
};
};