diff options
author | Oleksandr Suvorov <oleksandr.suvorov@toradex.com> | 2019-09-17 14:53:01 +0300 |
---|---|---|
committer | Marcel Ziswiler <marcel.ziswiler@toradex.com> | 2020-02-12 11:06:03 +0100 |
commit | a10fe657dfa7c059ae1e4717e4296d3586c93798 (patch) | |
tree | 02ac26e9868b6e804db6b53eff57bf3ec231f47f /arch/arm64/boot/dts/freescale/fsl-imx8qxp-colibri-lvds-single-eval-v3.dts | |
parent | 964f69e00a4d81f9279e61d7b82966c63e7a78ed (diff) |
ARM64: dts: colibri-imx8x: Add Atmel touchscreen
Add a setup for Atmel touchscreen controller to fully support
Toradex Capacitive Touch Display 7" Parallel and Capacitive Touch
Display 10.1" LVDS.
Related-to: #42580
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Diffstat (limited to 'arch/arm64/boot/dts/freescale/fsl-imx8qxp-colibri-lvds-single-eval-v3.dts')
-rw-r--r-- | arch/arm64/boot/dts/freescale/fsl-imx8qxp-colibri-lvds-single-eval-v3.dts | 33 |
1 files changed, 22 insertions, 11 deletions
diff --git a/arch/arm64/boot/dts/freescale/fsl-imx8qxp-colibri-lvds-single-eval-v3.dts b/arch/arm64/boot/dts/freescale/fsl-imx8qxp-colibri-lvds-single-eval-v3.dts index 274547cf9dc4..c2f0f36979b9 100644 --- a/arch/arm64/boot/dts/freescale/fsl-imx8qxp-colibri-lvds-single-eval-v3.dts +++ b/arch/arm64/boot/dts/freescale/fsl-imx8qxp-colibri-lvds-single-eval-v3.dts @@ -30,6 +30,18 @@ status = "disabled"; }; +/* + * Atmel maxtouch controller + * To enable it, you should disable pwm0 (PWM_B) and pwm1 (PWM_C) + */ +&atmel_mxt_ts { + pinctrl-0 = <&pinctrl_pwm_b &pinctrl_pwm_c>; + interrupt-parent = <&gpio0>; + interrupts = <21 IRQ_TYPE_EDGE_FALLING>; /* SODIMM 28 */ + reset-gpios = <&gpio0 22 GPIO_ACTIVE_HIGH>; /* SODIMM 30 */ + status = "okay"; +}; + &backlight { brightness-levels = <0 45 63 88 119 158 203 255>; default-brightness-level = <4>; @@ -155,17 +167,6 @@ &i2c1 { status = "okay"; - - atmel_mxt_ts: atmel_mxt_ts@4a { - compatible = "atmel,maxtouch"; - pinctrl-names = "default"; - pinctrl-0 = <&pinctrl_touch>; - reg = <0x4a>; - interrupt-parent = <&gpio3>; - interrupts = <21 IRQ_TYPE_EDGE_FALLING>; /* SODIMM 98 */ - reset-gpios = <&gpio4 4 GPIO_ACTIVE_HIGH>; /* SODIMM 133 */ - status = "okay"; - }; }; &pixel_combiner { @@ -207,3 +208,13 @@ &prg9 { status = "okay"; }; + +/* Colibri PWM_B */ +&pwm0 { + status = "disabled"; +}; + +/* Colibri PWM_C */ +&pwm1 { + status = "disabled"; +}; |