diff options
author | Igor Opaniuk <igor.opaniuk@toradex.com> | 2020-05-26 13:23:43 +0300 |
---|---|---|
committer | Igor Opaniuk <igor.opaniuk@toradex.com> | 2020-05-26 14:37:06 +0300 |
commit | fc95c1137968488a172c45dc66813fd3e79286e8 (patch) | |
tree | 6736f7d3ac676bc261cd497458cec925f794fba9 /overlays/colibri-imx7-aster_atmel-mxt_overlay.dts |
overlays: add initial overlays
Naming format:
<machine>_<function>_overlay.dts
Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
Diffstat (limited to 'overlays/colibri-imx7-aster_atmel-mxt_overlay.dts')
-rw-r--r-- | overlays/colibri-imx7-aster_atmel-mxt_overlay.dts | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/overlays/colibri-imx7-aster_atmel-mxt_overlay.dts b/overlays/colibri-imx7-aster_atmel-mxt_overlay.dts new file mode 100644 index 0000000..0fef20c --- /dev/null +++ b/overlays/colibri-imx7-aster_atmel-mxt_overlay.dts @@ -0,0 +1,34 @@ +// Atmel touchscreen for the 7inch capacitive display orderable at Toradex. Use this devicetree on the Aster board. + +/dts-v1/; +/plugin/; +/ { + compatible = "toradex,colibri-imx7d-emmc"; + fragment@0 { + target = <&i2c4>; + __overlay__ { + atmel_mxt_ts: atmel_mxt_ts@4a { + compatible = "atmel,maxtouch"; + reg = <0x4a>; + interrupt-parent = <&gpio2>; + interrupts = <15 2>; + reset-gpios = <&gpio2 28 0>; + status = "okay"; + }; + }; + }; + + fragment@1 { + target = <&pwm2>; + __overlay__ { + status = "disabled"; + }; + }; + + fragment@2 { + target = <&pwm3>; + __overlay__ { + status = "disabled"; + }; + }; +}; |