1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2%YAML 1.2 3--- 4$id: http://devicetree.org/schemas/input/touchscreen/semtech,sx8654.yaml# 5$schema: http://devicetree.org/meta-schemas/core.yaml# 6 7title: Semtech SX8654 I2C Touchscreen Controller 8 9maintainers: 10 - Frank Li <Frank.Li@nxp.com> 11 12properties: 13 compatible: 14 enum: 15 - semtech,sx8650 16 - semtech,sx8654 17 - semtech,sx8655 18 - semtech,sx8656 19 20 reg: 21 maxItems: 1 22 23 interrupts: 24 maxItems: 1 25 26 reset-gpios: 27 maxItems: 1 28 29required: 30 - compatible 31 - reg 32 - interrupts 33 34additionalProperties: false 35 36examples: 37 - | 38 #include <dt-bindings/gpio/gpio.h> 39 #include <dt-bindings/interrupt-controller/irq.h> 40 41 i2c { 42 #address-cells = <1>; 43 #size-cells = <0>; 44 45 touchscreen@48 { 46 compatible = "semtech,sx8654"; 47 reg = <0x48>; 48 interrupt-parent = <&gpio6>; 49 interrupts = <3 IRQ_TYPE_EDGE_FALLING>; 50 reset-gpios = <&gpio4 2 GPIO_ACTIVE_LOW>; 51 }; 52 }; 53