Commit 764b5b5e authored by Michal Vokáč's avatar Michal Vokáč Committed by Shawn Guo

ARM: dts: imx6dl-yapp4: Enable the MPR121 touchkey controller on Hydra

Add the touch keyboard present on Hydra board. The controller
is connected only using I2C lines. The interrupt line is not
available hence we use the polling mode.
Signed-off-by: default avatarMichal Vokáč <michal.vokac@ysoft.com>
Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
parent 7e28fc47
......@@ -4,6 +4,7 @@
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/input/input.h>
#include <dt-bindings/pwm/pwm.h>
/ {
......@@ -330,6 +331,18 @@ gpio_oled: gpio@41 {
vcc-supply = <&sw2_reg>;
status = "disabled";
};
touchkeys: keys@5a {
compatible = "fsl,mpr121-touchkey";
reg = <0x5a>;
vdd-supply = <&sw2_reg>;
autorepeat;
linux,keycodes = <KEY_1>, <KEY_2>, <KEY_3>, <KEY_4>, <KEY_5>,
<KEY_6>, <KEY_7>, <KEY_8>, <KEY_9>,
<KEY_BACKSPACE>, <KEY_0>, <KEY_ENTER>;
poll-interval = <50>;
status = "disabled";
};
};
&iomuxc {
......
......@@ -45,6 +45,10 @@ &reg_pcie {
status = "okay";
};
&touchkeys {
status = "okay";
};
&usdhc3 {
status = "okay";
};
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment