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>
This commit is contained in:
Maxime Ripard 2013-01-31 11:00:23 +01:00 committed by Shawn Guo
parent 1fe4274045
commit a640cf64ff
1 changed files with 14 additions and 0 deletions

View File

@ -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>;