1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2%YAML 1.2 3--- 4$id: http://devicetree.org/schemas/input/touchscreen/eeti,exc3000.yaml# 5$schema: http://devicetree.org/meta-schemas/core.yaml# 6 7title: EETI EXC3000 series touchscreen controller 8 9maintainers: 10 - Dmitry Torokhov <dmitry.torokhov@gmail.com> 11 12allOf: 13 - $ref: touchscreen.yaml# 14 15properties: 16 compatible: 17 enum: 18 - eeti,exc3000 19 - eeti,exc80h60 20 - eeti,exc80h84 21 reg: 22 const: 0x2a 23 interrupts: 24 maxItems: 1 25 reset-gpios: 26 maxItems: 1 27 touchscreen-size-x: true 28 touchscreen-size-y: true 29 touchscreen-inverted-x: true 30 touchscreen-inverted-y: true 31 touchscreen-swapped-x-y: true 32 33required: 34 - compatible 35 - reg 36 - interrupts 37 - touchscreen-size-x 38 - touchscreen-size-y 39 40additionalProperties: false 41 42examples: 43 - | 44 #include "dt-bindings/interrupt-controller/irq.h" 45 i2c { 46 #address-cells = <1>; 47 #size-cells = <0>; 48 touchscreen@2a { 49 compatible = "eeti,exc3000"; 50 reg = <0x2a>; 51 interrupt-parent = <&gpio1>; 52 interrupts = <9 IRQ_TYPE_LEVEL_LOW>; 53 touchscreen-size-x = <4096>; 54 touchscreen-size-y = <4096>; 55 touchscreen-inverted-x; 56 touchscreen-swapped-x-y; 57 }; 58 }; 59