summaryrefslogtreecommitdiff
path: root/overlays/apalis-imx8_resistive-touch_overlay.dts
diff options
context:
space:
mode:
authorMarcel Ziswiler <marcel.ziswiler@toradex.com>2022-07-12 14:50:05 +0200
committerMarcel Ziswiler <marcel.ziswiler@toradex.com>2022-07-12 14:50:05 +0200
commitd5905ae8af38f9b715f6605f239e53cc04f3e087 (patch)
tree5a9fb054895bf020355ddacd8d78c582cf6419fe /overlays/apalis-imx8_resistive-touch_overlay.dts
parent1c4c2bd1280b16da3fe482ab441696a61c494ebe (diff)
apalis-imx8: resistive-touch: add overlaytoradex_5.4-2.3.x-imx
Add a device tree overlay for resistive touch enablement. Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Diffstat (limited to 'overlays/apalis-imx8_resistive-touch_overlay.dts')
-rw-r--r--overlays/apalis-imx8_resistive-touch_overlay.dts22
1 files changed, 22 insertions, 0 deletions
diff --git a/overlays/apalis-imx8_resistive-touch_overlay.dts b/overlays/apalis-imx8_resistive-touch_overlay.dts
new file mode 100644
index 0000000..b204cb3
--- /dev/null
+++ b/overlays/apalis-imx8_resistive-touch_overlay.dts
@@ -0,0 +1,22 @@
+// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
+/*
+ * Copyright 2022 Toradex
+ */
+
+// Resistive touchscreen enablement.
+
+/dts-v1/;
+/plugin/;
+
+/ {
+ compatible = "toradex,apalis-imx8";
+};
+
+&adc1 {
+ /* remove the pinctrl-adc1 to use the touchscreen */
+ pinctrl-0 = <>;
+};
+
+&touchscreen {
+ status = "okay";
+};