1 # SPDX-License-Identifier: GPL-2.0
4 $id: http://devicetree.org/schemas/input/touchscreen/chipone,icn8318.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: ChipOne ICN8318 Touchscreen Controller Device Tree Bindings
10 - Dmitry Torokhov <dmitry.torokhov@gmail.com>
13 - $ref: touchscreen.yaml#
17 const: chipone,icn8318
28 unevaluatedProperties: false
40 #include <dt-bindings/gpio/gpio.h>
41 #include <dt-bindings/interrupt-controller/arm-gic.h>
48 compatible = "chipone,icn8318";
50 interrupt-parent = <&pio>;
51 interrupts = <9 IRQ_TYPE_EDGE_FALLING>; /* EINT9 (PG9) */
52 pinctrl-names = "default";
53 pinctrl-0 = <&ts_wake_pin_p66>;
54 wake-gpios = <&pio 1 3 GPIO_ACTIVE_HIGH>; /* PB3 */
55 touchscreen-size-x = <800>;
56 touchscreen-size-y = <480>;
57 touchscreen-inverted-x;
58 touchscreen-swapped-x-y;