forked from luck/tmp_suning_uos_patched
ARM: mxs: dts: Add rotary encoder 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:
parent
a640cf64ff
commit
0943b96058
@ -45,6 +45,8 @@ hog_pins_cfa10049_pullup: hog-10049-pullup@0 {
|
||||
reg = <0>;
|
||||
fsl,pinmux-ids = <
|
||||
0x2133 /* MX28_PAD_SSP2_D3__GPIO_2_19 */
|
||||
0x3183 /* MX28_PAD_I2C0_SCL__GPIO_3_24 */
|
||||
0x3193 /* MX28_PAD_I2C0_SDA__GPIO_3_25 */
|
||||
0x31a3 /* MX28_PAD_SAIF_SDATA0__GPIO_3_26 */
|
||||
0x31e3 /* MX28_PAD_LCD_RESET__GPIO_3_30 */
|
||||
>;
|
||||
@ -290,6 +292,13 @@ rotary_button {
|
||||
};
|
||||
};
|
||||
|
||||
rotary {
|
||||
compatible = "rotary-encoder";
|
||||
gpios = <&gpio3 24 1>, <&gpio3 25 1>;
|
||||
linux,axis = <1>; /* REL_Y */
|
||||
rotary-encoder,relative-axis;
|
||||
};
|
||||
|
||||
backlight {
|
||||
compatible = "pwm-backlight";
|
||||
pwms = <&pwm 3 5000000>;
|
||||
|
Loading…
Reference in New Issue
Block a user