18c2ecf20Sopenharmony_ciDevice tree bindings for Atmel capacitive touch device, typically 28c2ecf20Sopenharmony_cian Atmel touch sensor connected to AtmegaXX MCU running firmware 38c2ecf20Sopenharmony_cibased on Qtouch library. 48c2ecf20Sopenharmony_ci 58c2ecf20Sopenharmony_ciThe node for this device must be a child of a I2C controller node, as the 68c2ecf20Sopenharmony_cidevice communicates via I2C. 78c2ecf20Sopenharmony_ci 88c2ecf20Sopenharmony_ciRequired properties: 98c2ecf20Sopenharmony_ci 108c2ecf20Sopenharmony_ci compatible: Must be "atmel,captouch". 118c2ecf20Sopenharmony_ci reg: The I2C slave address of the device. 128c2ecf20Sopenharmony_ci interrupts: Property describing the interrupt line the device 138c2ecf20Sopenharmony_ci is connected to. The device only has one interrupt 148c2ecf20Sopenharmony_ci source. 158c2ecf20Sopenharmony_ci linux,keycodes: Specifies an array of numeric keycode values to 168c2ecf20Sopenharmony_ci be used for reporting button presses. The array can 178c2ecf20Sopenharmony_ci contain up to 8 entries. 188c2ecf20Sopenharmony_ci 198c2ecf20Sopenharmony_ciOptional properties: 208c2ecf20Sopenharmony_ci 218c2ecf20Sopenharmony_ci autorepeat: Enables the Linux input system's autorepeat 228c2ecf20Sopenharmony_ci feature on the input device. 238c2ecf20Sopenharmony_ci 248c2ecf20Sopenharmony_ciExample: 258c2ecf20Sopenharmony_ci 268c2ecf20Sopenharmony_ci atmel-captouch@51 { 278c2ecf20Sopenharmony_ci compatible = "atmel,captouch"; 288c2ecf20Sopenharmony_ci reg = <0x51>; 298c2ecf20Sopenharmony_ci interrupt-parent = <&tlmm>; 308c2ecf20Sopenharmony_ci interrupts = <67 IRQ_TYPE_EDGE_FALLING>; 318c2ecf20Sopenharmony_ci linux,keycodes = <BTN_0>, <BTN_1>, 328c2ecf20Sopenharmony_ci <BTN_2>, <BTN_3>, 338c2ecf20Sopenharmony_ci <BTN_4>, <BTN_5>, 348c2ecf20Sopenharmony_ci <BTN_6>, <BTN_7>; 358c2ecf20Sopenharmony_ci autorepeat; 368c2ecf20Sopenharmony_ci }; 37