summaryrefslogtreecommitdiffstats
path: root/arch/arm
diff options
context:
space:
mode:
authorStephen Warren <swarren@nvidia.com>2014-09-02 17:57:09 +0200
committerStephen Warren <swarren@nvidia.com>2014-09-03 17:10:58 +0200
commitbf8f0392306869412887bf4a681fea9cb8062fc5 (patch)
tree45723a284935f2debd52853ab7cb6db7deae8f93 /arch/arm
parentARM: tegra: Add device tree nodes for flow controller (diff)
downloadlinux-bf8f0392306869412887bf4a681fea9cb8062fc5.tar.xz
linux-bf8f0392306869412887bf4a681fea9cb8062fc5.zip
ARM: tegra: add touchpad to Venice2 DT
Venice2 contains an Atmel MXT touchpad. Add an I2C node for it to DT. The Linux driver doesn't quite work on this platform yet, but adding the DT node causes no issues, and will allow the device to work once the driver is fixed. Signed-off-by: Stephen Warren <swarren@nvidia.com>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/boot/dts/tegra124-venice2.dts8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/tegra124-venice2.dts b/arch/arm/boot/dts/tegra124-venice2.dts
index 70ad91d1a20b..dcbe5858faf1 100644
--- a/arch/arm/boot/dts/tegra124-venice2.dts
+++ b/arch/arm/boot/dts/tegra124-venice2.dts
@@ -606,6 +606,14 @@
i2c@0,7000c400 {
status = "okay";
clock-frequency = <100000>;
+
+ trackpad@4b {
+ compatible = "atmel,maxtouch";
+ reg = <0x4b>;
+ interrupt-parent = <&gpio>;
+ interrupts = <TEGRA_GPIO(W, 3) IRQ_TYPE_LEVEL_LOW>;
+ linux,gpio-keymap = <0 0 0 BTN_LEFT>;
+ };
};
i2c@0,7000c500 {