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-imx6-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-imx6-aster_atmel-mxt_overlay.dts')
-rw-r--r-- | overlays/colibri-imx6-aster_atmel-mxt_overlay.dts | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/overlays/colibri-imx6-aster_atmel-mxt_overlay.dts b/overlays/colibri-imx6-aster_atmel-mxt_overlay.dts new file mode 100644 index 0000000..11fd1ea --- /dev/null +++ b/overlays/colibri-imx6-aster_atmel-mxt_overlay.dts @@ -0,0 +1,40 @@ +// Atmel touchscreen for the 7inch capacitive display orderable at Toradex. Use this devicetree on the Aster board. + +/dts-v1/; +/plugin/; + +/ { + compatible = "toradex,colibri_imx6dl"; + fragment@0 { + target = <&weim>; + __overlay__{ + status = "disabled"; + }; + }; + fragment@1 { + target = <&iomuxc>; + __overlay__ { + pinctrl_atmel_mxt_ts: atmelmxttsgrp { + fsl,pins = < + 0x300 0x6e8 0x000 0x5 0x0 0x1b0b1 + 0x140 0x510 0x000 0x5 0x0 0x1b0b1 + >; + }; + }; + }; + fragment@2 { + target = <&i2c3>; + __overlay__ { + atmel_mxt_ts: atmel_mxt_ts@4a { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_atmel_mxt_ts>; + compatible = "atmel,maxtouch"; + reg = <0x4a>; + interrupt-parent = <&gpio2>; + interrupts = <24 2>; + reset-gpios = <&gpio1 14 0>; + status = "okay"; + }; + }; + }; +}; |