diff options
author | Maxime Ripard <maxime.ripard@free-electrons.com> | 2013-01-31 05:00:23 -0500 |
---|---|---|
committer | Shawn Guo <shawn.guo@linaro.org> | 2013-01-31 09:31:11 -0500 |
commit | a640cf64ff68bd92292c47a77c5fb4530385a8cb (patch) | |
tree | 922ab57dd57686177bd839420b131fd07963fee8 /arch/arm/boot/dts/imx28-cfa10049.dts | |
parent | 1fe42740450e0ac5a63125ed1fdb618a422f85f8 (diff) |
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 @@ | |||
45 | reg = <0>; | 45 | reg = <0>; |
46 | fsl,pinmux-ids = < | 46 | fsl,pinmux-ids = < |
47 | 0x2133 /* MX28_PAD_SSP2_D3__GPIO_2_19 */ | 47 | 0x2133 /* MX28_PAD_SSP2_D3__GPIO_2_19 */ |
48 | 0x31a3 /* MX28_PAD_SAIF_SDATA0__GPIO_3_26 */ | ||
48 | 0x31e3 /* MX28_PAD_LCD_RESET__GPIO_3_30 */ | 49 | 0x31e3 /* MX28_PAD_LCD_RESET__GPIO_3_30 */ |
49 | >; | 50 | >; |
50 | fsl,drive-strength = <0>; | 51 | fsl,drive-strength = <0>; |
@@ -276,6 +277,19 @@ | |||
276 | }; | 277 | }; |
277 | }; | 278 | }; |
278 | 279 | ||
280 | gpio_keys { | ||
281 | compatible = "gpio-keys"; | ||
282 | #address-cells = <1>; | ||
283 | #size-cells = <0>; | ||
284 | |||
285 | rotary_button { | ||
286 | label = "rotary_button"; | ||
287 | gpios = <&gpio3 26 1>; | ||
288 | debounce-interval = <10>; | ||
289 | linux,code = <28>; | ||
290 | }; | ||
291 | }; | ||
292 | |||
279 | backlight { | 293 | backlight { |
280 | compatible = "pwm-backlight"; | 294 | compatible = "pwm-backlight"; |
281 | pwms = <&pwm 3 5000000>; | 295 | pwms = <&pwm 3 5000000>; |