IMX6 Device Tree Interrupt description
Turn from:
Http://zzjlzx.blog.chinaunix.net/uid-9688646-id-5680717.html
Kernel_imx/documentation/devicetree/bindings/input/touchscreen/egalax-ts.txt
594 egalax_ts@04 {
595 compatible = "Eeti, egalax_ts"; --corresponds to the I²C device name in the driver.
596 Reg = < 0x04>; --corresponds to the i²c address.
597 interrupt-parent = <& gpio6>;--> connected to Nandf_ale according to circuit diagram, see Datasheet in GPIO6
598 interrupts = < 8 2>;--> corresponds to the 8th io,2 in GPIO6 for the interrupt type.
599 Wakeup-gpios = < &gpio6 8 0>; The 8th IO in the-->GPIO6 is used as an interrupt control or as a wake-up function, and 0 that is, the low level is wake.
600};
601
The second cell bits[3:0] is used to specify trigger type and level flags:
1 = Low-to-high edge triggered.
2 = High-to-low edge triggered.
4 = Active High level-sensitive.
8 = active Low level-sensitive.