diff options
Diffstat (limited to 'overlays/apalis-imx8_resistive-touch_overlay.dts')
-rw-r--r-- | overlays/apalis-imx8_resistive-touch_overlay.dts | 22 |
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"; +}; |