1Device tree bindings for Atmel capacitive touch device, typically
2an Atmel touch sensor connected to AtmegaXX MCU running firmware
3based on Qtouch library.
4
5The node for this device must be a child of a I2C controller node, as the
6device communicates via I2C.
7
8Required properties:
9
10	compatible:	Must be "atmel,captouch".
11	reg:		The I2C slave address of the device.
12	interrupts:	Property describing the interrupt line the device
13			is connected to. The device only has one interrupt
14			source.
15	linux,keycodes:	Specifies an array of numeric keycode values to
16			be used for reporting button presses. The array can
17			contain up to 8 entries.
18
19Optional properties:
20
21	autorepeat:	Enables the Linux input system's autorepeat
22			feature on the input device.
23
24Example:
25
26	atmel-captouch@51 {
27		compatible = "atmel,captouch";
28		reg = <0x51>;
29		interrupt-parent = <&tlmm>;
30		interrupts = <67 IRQ_TYPE_EDGE_FALLING>;
31		linux,keycodes = <BTN_0>, <BTN_1>,
32			<BTN_2>, <BTN_3>,
33			<BTN_4>, <BTN_5>,
34			<BTN_6>, <BTN_7>;
35		autorepeat;
36	};
37