aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolas Ferre <nicolas.ferre@atmel.com>2015-03-25 12:31:09 -0400
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>2015-08-07 11:33:54 -0400
commit921f9a6ca5982efb2a300d45078617ad88f448a4 (patch)
treef6a0d0bd06145f2eff1ef617d554f1e50a1394c0
parent8cf5938713e11cb0a47737c6fa550f444f7ea8b4 (diff)
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: Nicolas Ferre <nicolas.ferre@atmel.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
-rw-r--r--arch/arm/boot/dts/at91sam9x5dm.dtsi21
1 files changed, 21 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/at91sam9x5dm.dtsi b/arch/arm/boot/dts/at91sam9x5dm.dtsi
index 3e6b4a042186..34c089fe0bc0 100644
--- a/arch/arm/boot/dts/at91sam9x5dm.dtsi
+++ b/arch/arm/boot/dts/at91sam9x5dm.dtsi
@@ -12,6 +12,18 @@
12/ { 12/ {
13 ahb { 13 ahb {
14 apb { 14 apb {
15 i2c0: i2c@f8010000 {
16 qt1070: keyboard@1b {
17 compatible = "qt1070";
18 reg = <0x1b>;
19 interrupt-parent = <&pioA>;
20 interrupts = <7 0x0>;
21 pinctrl-names = "default";
22 pinctrl-0 = <&pinctrl_qt1070_irq>;
23 wakeup-source;
24 };
25 };
26
15 hlcdc: hlcdc@f8038000 { 27 hlcdc: hlcdc@f8038000 {
16 hlcdc-display-controller { 28 hlcdc-display-controller {
17 pinctrl-names = "default"; 29 pinctrl-names = "default";
@@ -31,6 +43,15 @@
31 atmel,adc-ts-pressure-threshold = <10000>; 43 atmel,adc-ts-pressure-threshold = <10000>;
32 status = "okay"; 44 status = "okay";
33 }; 45 };
46
47 pinctrl@fffff400 {
48 board {
49 pinctrl_qt1070_irq: qt1070_irq {
50 atmel,pins =
51 <AT91_PIOA 7 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP_DEGLITCH>;
52 };
53 };
54 };
34 }; 55 };
35 }; 56 };
36 57