xref: /freebsd/sys/contrib/device-tree/Bindings/input/touchscreen/pixcir_i2c_ts.txt (revision 6be3386466ab79a84b48429ae66244f21526d3df)
1* Pixcir I2C touchscreen controllers
2
3Required properties:
4- compatible: must be "pixcir,pixcir_ts" or "pixcir,pixcir_tangoc"
5- reg: I2C address of the chip
6- interrupts: interrupt to which the chip is connected
7- attb-gpio: GPIO connected to the ATTB line of the chip
8- touchscreen-size-x: horizontal resolution of touchscreen (in pixels)
9- touchscreen-size-y: vertical resolution of touchscreen (in pixels)
10
11Optional properties:
12- reset-gpios: GPIO connected to the RESET line of the chip
13- enable-gpios: GPIO connected to the ENABLE line of the chip
14- wake-gpios: GPIO connected to the WAKE line of the chip
15
16Example:
17
18	i2c@00000000 {
19		/* ... */
20
21		pixcir_ts@5c {
22			compatible = "pixcir,pixcir_ts";
23			reg = <0x5c>;
24			interrupts = <2 0>;
25			attb-gpio = <&gpf 2 0 2>;
26			touchscreen-size-x = <800>;
27			touchscreen-size-y = <600>;
28		};
29
30		/* ... */
31	};
32