Skip to content

Commit

Permalink
ARM: mxs: dts: Add rotary encoder 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 a640cf6 commit 0943b96
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 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,8 @@
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 */
>;
Expand Down Expand Up @@ -290,6 +292,13 @@
};
};

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>;
Expand Down

0 comments on commit 0943b96

Please sign in to comment.