diff options
author | Maxime Ripard <maxime.ripard@free-electrons.com> | 2013-01-31 11:00:23 +0100 |
---|---|---|
committer | Shawn Guo <shawn.guo@linaro.org> | 2013-01-31 15:31:11 +0100 |
commit | a640cf64ff68bd92292c47a77c5fb4530385a8cb (patch) | |
tree | 922ab57dd57686177bd839420b131fd07963fee8 /arch/arm/boot/dts/imx28-cfa10049.dts | |
parent | ARM: dts: mxs: Add the LCD to the 10049 board (diff) | |
download | linux-a640cf64ff68bd92292c47a77c5fb4530385a8cb.tar.xz linux-a640cf64ff68bd92292c47a77c5fb4530385a8cb.zip |
ARM: mxs: dts: Add gpio-keys for the rotary to the CFA-10049
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Diffstat (limited to 'arch/arm/boot/dts/imx28-cfa10049.dts')
-rw-r--r-- | arch/arm/boot/dts/imx28-cfa10049.dts | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/imx28-cfa10049.dts b/arch/arm/boot/dts/imx28-cfa10049.dts index cabc33a770ca..5db3789b26be 100644 --- a/arch/arm/boot/dts/imx28-cfa10049.dts +++ b/arch/arm/boot/dts/imx28-cfa10049.dts @@ -45,6 +45,7 @@ reg = <0>; fsl,pinmux-ids = < 0x2133 /* MX28_PAD_SSP2_D3__GPIO_2_19 */ + 0x31a3 /* MX28_PAD_SAIF_SDATA0__GPIO_3_26 */ 0x31e3 /* MX28_PAD_LCD_RESET__GPIO_3_30 */ >; fsl,drive-strength = <0>; @@ -276,6 +277,19 @@ }; }; + gpio_keys { + compatible = "gpio-keys"; + #address-cells = <1>; + #size-cells = <0>; + + rotary_button { + label = "rotary_button"; + gpios = <&gpio3 26 1>; + debounce-interval = <10>; + linux,code = <28>; + }; + }; + backlight { compatible = "pwm-backlight"; pwms = <&pwm 3 5000000>; |