Skip to content

Commit

Permalink
ARM: at91/dt: sama5d4ek: Add support of QT1070 and Maxtouch
Browse files Browse the repository at this point in the history
As the EK board comes with a PDA 7" screen, add the touch buttons
and touchscreen for it.

Signed-off-by: Patrice Vilchez <patrice.vilchez@atmel.com>
[nicolas.ferre@atmel.com: add commit message]
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
  • Loading branch information
Patrice Vilchez authored and Nicolas Ferre committed Sep 18, 2015
1 parent 4288ac7 commit a21a6c4
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions arch/arm/boot/dts/at91-sama5d4ek.dts
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,25 @@
clocks = <&pck2>;
clock-names = "mclk";
};

qt1070:keyboard@1b {
compatible = "qt1070";
reg = <0x1b>;
interrupt-parent = <&pioE>;
interrupts = <25 0x0>;
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_qt1070_irq>;
wakeup-source;
};

atmel_mxt_ts@4c {
compatible = "atmel,atmel_mxt_ts";
reg = <0x4c>;
interrupt-parent = <&pioE>;
interrupts = <24 0x0>;
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_mxt_ts>;
};
};

macb0: ethernet@f8020000 {
Expand Down Expand Up @@ -204,6 +223,14 @@
atmel,pins =
<AT91_PIOE 13 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP_DEGLITCH>; /* PE13 gpio */
};
pinctrl_qt1070_irq: qt1070_irq {
atmel,pins =
<AT91_PIOE 25 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP_DEGLITCH>;
};
pinctrl_mxt_ts: mxt_irq {
atmel,pins =
<AT91_PIOE 24 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP_DEGLITCH>;
};
};
};
};
Expand Down

0 comments on commit a21a6c4

Please sign in to comment.