]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ARM: at91/dt: at91sam9x5dm: add QT1070 touch button controller
authorNicolas Ferre <nicolas.ferre@atmel.com>
Wed, 25 Mar 2015 16:31:09 +0000 (17:31 +0100)
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>
Fri, 7 Aug 2015 15:33:54 +0000 (17:33 +0200)
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>
arch/arm/boot/dts/at91sam9x5dm.dtsi

index 3e6b4a04218652c535702e4ab1c7d7520c4e1d56..34c089fe0bc0c9c5fcee2a20610729e33f32f4f3 100644 (file)
 / {
        ahb {
                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-display-controller {
                                        pinctrl-names = "default";
                                atmel,adc-ts-pressure-threshold = <10000>;
                                status = "okay";
                        };
+
+                       pinctrl@fffff400 {
+                               board {
+                                       pinctrl_qt1070_irq: qt1070_irq {
+                                               atmel,pins =
+                                                       <AT91_PIOA 7 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP_DEGLITCH>;
+                                       };
+                               };
+                       };
                };
        };