Commit 921f9a6c authored by Nicolas Ferre's avatar Nicolas Ferre Committed by Alexandre Belloni

ARM: at91/dt: at91sam9x5dm: add QT1070 touch button controller

The display module for at91sam9x5-ek has a few touch buttons, add support
for those.
Signed-off-by: default avatarNicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: default avatarAlexandre Belloni <alexandre.belloni@free-electrons.com>
parent 8cf59387
...@@ -12,6 +12,18 @@ ...@@ -12,6 +12,18 @@
/ { / {
ahb { ahb {
apb { apb {
i2c0: i2c@f8010000 {
qt1070: keyboard@1b {
compatible = "qt1070";
reg = <0x1b>;
interrupt-parent = <&pioA>;
interrupts = <7 0x0>;
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_qt1070_irq>;
wakeup-source;
};
};
hlcdc: hlcdc@f8038000 { hlcdc: hlcdc@f8038000 {
hlcdc-display-controller { hlcdc-display-controller {
pinctrl-names = "default"; pinctrl-names = "default";
...@@ -31,6 +43,15 @@ adc0: adc@f804c000 { ...@@ -31,6 +43,15 @@ adc0: adc@f804c000 {
atmel,adc-ts-pressure-threshold = <10000>; atmel,adc-ts-pressure-threshold = <10000>;
status = "okay"; status = "okay";
}; };
pinctrl@fffff400 {
board {
pinctrl_qt1070_irq: qt1070_irq {
atmel,pins =
<AT91_PIOA 7 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP_DEGLITCH>;
};
};
};
}; };
}; };
......
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