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 const: eeti,exc3000 18 reg: 19 const: 0x2a 20 interrupts: 21 maxItems: 1 22 touchscreen-size-x: true 23 touchscreen-size-y: true 24 touchscreen-inverted-x: true 25 touchscreen-inverted-y: true 26 touchscreen-swapped-x-y: true 27 28required: 29 - compatible 30 - reg 31 - interrupts 32 - touchscreen-size-x 33 - touchscreen-size-y 34 35additionalProperties: false 36 37examples: 38 - | 39 #include "dt-bindings/interrupt-controller/irq.h" 40 i2c { 41 #address-cells = <1>; 42 #size-cells = <0>; 43 touchscreen@2a { 44 compatible = "eeti,exc3000"; 45 reg = <0x2a>; 46 interrupt-parent = <&gpio1>; 47 interrupts = <9 IRQ_TYPE_LEVEL_LOW>; 48 touchscreen-size-x = <4096>; 49 touchscreen-size-y = <4096>; 50 touchscreen-inverted-x; 51 touchscreen-swapped-x-y; 52 }; 53 }; 54