summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorDominik Sliwa <dominik.sliwa@toradex.com>2018-03-22 14:26:02 +0100
committerMarcel Ziswiler <marcel.ziswiler@toradex.com>2018-03-28 18:37:46 +0200
commit1509814218d286e4906a4844ef048badb6688117 (patch)
tree2e5f126610c992f8fc1f982338cf6d68a8fceff5 /arch
parent22a2065b9a3fa6ad458e3100b66c4acaa05f2466 (diff)
apalis-tk1: add atmel mxt-ts to device-trees
Signed-off-by: Dominik Sliwa <dominik.sliwa@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/boot/dts/tegra124-apalis-eval.dts10
-rw-r--r--arch/arm/boot/dts/tegra124-apalis-v1.2-eval.dts10
2 files changed, 20 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/tegra124-apalis-eval.dts b/arch/arm/boot/dts/tegra124-apalis-eval.dts
index 722104fe655e..8b39ca0ad7bd 100644
--- a/arch/arm/boot/dts/tegra124-apalis-eval.dts
+++ b/arch/arm/boot/dts/tegra124-apalis-eval.dts
@@ -91,6 +91,16 @@
compatible = "st,m41t0";
reg = <0x68>;
};
+
+ /* Atmel MXT touchscreen on 10.1" capacitive display */
+ mxt-ts@4a {
+ compatible = "atmel,maxtouch";
+ reg = <0x4a>;
+ reset-gpio = <&gpio TEGRA_GPIO(DD, 6) GPIO_ACTIVE_HIGH>;
+ interrupt-parent =<&gpio>;
+ interrupts = <TEGRA_GPIO(DD, 5) IRQ_TYPE_EDGE_FALLING>;
+ status = "okay";
+ };
};
/* PWR_I2C: power I2C to audio codec, PMIC and temperature sensor */
diff --git a/arch/arm/boot/dts/tegra124-apalis-v1.2-eval.dts b/arch/arm/boot/dts/tegra124-apalis-v1.2-eval.dts
index a5d2bd304738..10456e380a9c 100644
--- a/arch/arm/boot/dts/tegra124-apalis-v1.2-eval.dts
+++ b/arch/arm/boot/dts/tegra124-apalis-v1.2-eval.dts
@@ -91,6 +91,16 @@
compatible = "st,m41t0";
reg = <0x68>;
};
+
+ /* Atmel MXT touchscreen on 10.1" capacitive display */
+ mxt-ts@4a {
+ compatible = "atmel,maxtouch";
+ reg = <0x4a>;
+ reset-gpio = <&gpio TEGRA_GPIO(DD, 6) GPIO_ACTIVE_HIGH>;
+ interrupt-parent =<&gpio>;
+ interrupts = <TEGRA_GPIO(DD, 5) IRQ_TYPE_EDGE_FALLING>;
+ status = "okay";
+ };
};
/* PWR_I2C: power I2C to audio codec, PMIC and temperature sensor */