It worked for me with the following change:
--- a/arch/arm/boot/dts/imx7-colibri-eval-v3.dtsi
+++ b/arch/arm/boot/dts/imx7-colibri-eval-v3.dtsi
@@ -123,10 +123,11 @@
/* Atmel maxtouch controller */
atmel_mxt_ts: atmel_mxt_ts@4a {
compatible = "atmel,maxtouch";
+ pinctrl-0 = <&pinctrl_gpiotouch>;
reg = <0x4a>;
- interrupt-parent = <&gpio2>;
- interrupts = <15 IRQ_TYPE_EDGE_FALLING>;
- status = "disabled";
+ interrupt-parent = <&gpio1>;
+ interrupts = <9 IRQ_TYPE_EDGE_FALLING>;
+ status = "okay";
};
touch: touchrevf0710a@10 {
@@ -272,11 +273,11 @@
};
&pwm2 {
- status = "okay";
+ status = "disabled";
};
&pwm3 {
- status = "okay";
+ status = "disabled";
};
&pwm4 {
@@ -334,7 +335,7 @@
pinctrl_gpiotouch: touchgpios {
fsl,pins = <
MX7D_PAD_GPIO1_IO09__GPIO1_IO9 0x74
- MX7D_PAD_GPIO1_IO10__GPIO1_IO10 0x14
+ MX7D_PAD_GPIO1_IO10__GPIO1_IO10 0x74
>;
};
};
Also, for the resolution, use the following U-Boot command:
setenv vidargs video='mxsfb:800x480M-16@60,pixclockpol=1'
saveenv
And of course load the module
modprobe atmel_mxt_ts