提交 a640cf64 编写于 作者: M Maxime Ripard 提交者: Shawn Guo

ARM: mxs: dts: Add gpio-keys for the rotary to the CFA-10049

Signed-off-by: NMaxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: NShawn Guo <shawn.guo@linaro.org>
上级 1fe42740
...@@ -45,6 +45,7 @@ ...@@ -45,6 +45,7 @@
reg = <0>; reg = <0>;
fsl,pinmux-ids = < fsl,pinmux-ids = <
0x2133 /* MX28_PAD_SSP2_D3__GPIO_2_19 */ 0x2133 /* MX28_PAD_SSP2_D3__GPIO_2_19 */
0x31a3 /* MX28_PAD_SAIF_SDATA0__GPIO_3_26 */
0x31e3 /* MX28_PAD_LCD_RESET__GPIO_3_30 */ 0x31e3 /* MX28_PAD_LCD_RESET__GPIO_3_30 */
>; >;
fsl,drive-strength = <0>; fsl,drive-strength = <0>;
...@@ -276,6 +277,19 @@ ...@@ -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 { backlight {
compatible = "pwm-backlight"; compatible = "pwm-backlight";
pwms = <&pwm 3 5000000>; pwms = <&pwm 3 5000000>;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册