1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/input/touchscreen/ilitek_ts_i2c.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Ilitek I2C Touchscreen Controller
10 - Dmitry Torokhov <dmitry.torokhov@gmail.com>
13 - $ref: touchscreen.yaml#
43 description: touchscreen can be used as a wakeup source.
45 touchscreen-size-x: true
46 touchscreen-size-y: true
47 touchscreen-inverted-x: true
48 touchscreen-inverted-y: true
49 touchscreen-swapped-x-y: true
51 additionalProperties: false
60 #include <dt-bindings/interrupt-controller/irq.h>
61 #include <dt-bindings/gpio/gpio.h>
67 compatible = "ilitek,ili2520";
70 interrupt-parent = <&gpio1>;
71 interrupts = <7 IRQ_TYPE_LEVEL_LOW>;
72 reset-gpios = <&gpio1 8 GPIO_ACTIVE_LOW>;
73 touchscreen-inverted-y;