162306a36Sopenharmony_ciDevice tree bindings for Atmel capacitive touch device, typically 262306a36Sopenharmony_cian Atmel touch sensor connected to AtmegaXX MCU running firmware 362306a36Sopenharmony_cibased on Qtouch library. 462306a36Sopenharmony_ci 562306a36Sopenharmony_ciThe node for this device must be a child of a I2C controller node, as the 662306a36Sopenharmony_cidevice communicates via I2C. 762306a36Sopenharmony_ci 862306a36Sopenharmony_ciRequired properties: 962306a36Sopenharmony_ci 1062306a36Sopenharmony_ci compatible: Must be "atmel,captouch". 1162306a36Sopenharmony_ci reg: The I2C slave address of the device. 1262306a36Sopenharmony_ci interrupts: Property describing the interrupt line the device 1362306a36Sopenharmony_ci is connected to. The device only has one interrupt 1462306a36Sopenharmony_ci source. 1562306a36Sopenharmony_ci linux,keycodes: Specifies an array of numeric keycode values to 1662306a36Sopenharmony_ci be used for reporting button presses. The array can 1762306a36Sopenharmony_ci contain up to 8 entries. 1862306a36Sopenharmony_ci 1962306a36Sopenharmony_ciOptional properties: 2062306a36Sopenharmony_ci 2162306a36Sopenharmony_ci autorepeat: Enables the Linux input system's autorepeat 2262306a36Sopenharmony_ci feature on the input device. 2362306a36Sopenharmony_ci 2462306a36Sopenharmony_ciExample: 2562306a36Sopenharmony_ci 2662306a36Sopenharmony_ci atmel-captouch@51 { 2762306a36Sopenharmony_ci compatible = "atmel,captouch"; 2862306a36Sopenharmony_ci reg = <0x51>; 2962306a36Sopenharmony_ci interrupt-parent = <&tlmm>; 3062306a36Sopenharmony_ci interrupts = <67 IRQ_TYPE_EDGE_FALLING>; 3162306a36Sopenharmony_ci linux,keycodes = <BTN_0>, <BTN_1>, 3262306a36Sopenharmony_ci <BTN_2>, <BTN_3>, 3362306a36Sopenharmony_ci <BTN_4>, <BTN_5>, 3462306a36Sopenharmony_ci <BTN_6>, <BTN_7>; 3562306a36Sopenharmony_ci autorepeat; 3662306a36Sopenharmony_ci }; 37