Skip to content

Commit

Permalink
ARM: mxs: dts: Add gpio-keys for the rotary to the CFA-10049
Browse files Browse the repository at this point in the history
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
  • Loading branch information
Maxime Ripard authored and Shawn Guo committed Jan 31, 2013
1 parent 1fe4274 commit a640cf6
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions arch/arm/boot/dts/imx28-cfa10049.dts
Original file line number Diff line number Diff line change
Expand Up @@ -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>;
Expand Down Expand Up @@ -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>;
Expand Down

0 comments on commit a640cf6

Please sign in to comment.