# Not working normally, do not copy-paste
&i2c0 {
status = "okay";
clock-frequency = <100000>;
touchscreen@38 {
compatible = "focaltech,ft6236";
reg = <0x38>;
interrupt-parent = <&porta>;
interrupts = <22 IRQ_TYPE_EDGE_FALLING>;
interrupt-controller; /* Magic word */
touchscreen-size-x = <480>;
touchscreen-size-y = <320>;
status = "okay";
reset-gpios = <&porta 15 GPIO_ACTIVE_LOW>;
};
};
Before adding the magic word, the driver was unable to find IRQ, as in your case.
Now the driver is satisfied, but still cannot process GPIO interrupts The touch screen is generating low level pulses at its INT output, of course.
I am stuck now. It would be nice to see a message from you if your driver starts working.
Also, I do not like GPIOA14, since after assigning the pin as GPIO in u-boot, it somehow reverts back to other function. That is why I switched to GPIOA22.
thanks for your response.I’m using the milkv-duo-buildroot repo instead of duo-buildroot-sdk as the SDK version produces nearly 1G sdcard image and I was unfamiliar with it’s custom build system… Unfortunately the cvi_pinmux application used here Milk-V Duo 引脚复用配置工具 cvi_pinmux is not included in the repo I’m using and I was also unable to download it manually. So I was not able to confirm if the pinmux was in GPIO state or alternate function as this could have been the issue I’m facing. I was unable to progress further. As I’m relatively new to embedded Linux all this complexity with this board and I have switched to another ARM board to continue my experiments.