aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/imx28-cfa10049.dts
diff options
context:
space:
mode:
authorMaxime Ripard <maxime.ripard@free-electrons.com>2013-01-31 11:00:23 +0100
committerShawn Guo <shawn.guo@linaro.org>2013-01-31 22:31:11 +0800
commita640cf64ff68bd92292c47a77c5fb4530385a8cb (patch)
tree922ab57dd57686177bd839420b131fd07963fee8 /arch/arm/boot/dts/imx28-cfa10049.dts
parent1fe42740450e0ac5a63125ed1fdb618a422f85f8 (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.dts14
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 cabc33a770c..5db3789b26b 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>;