1*f126890aSEmmanuel Vadot# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 2*f126890aSEmmanuel Vadot%YAML 1.2 3*f126890aSEmmanuel Vadot--- 4*f126890aSEmmanuel Vadot$id: http://devicetree.org/schemas/input/cypress,cyapa.yaml# 5*f126890aSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6*f126890aSEmmanuel Vadot 7*f126890aSEmmanuel Vadottitle: Cypress All Points Addressable (APA) I2C Touchpad / Trackpad 8*f126890aSEmmanuel Vadot 9*f126890aSEmmanuel Vadotmaintainers: 10*f126890aSEmmanuel Vadot - Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> 11*f126890aSEmmanuel Vadot 12*f126890aSEmmanuel Vadotproperties: 13*f126890aSEmmanuel Vadot compatible: 14*f126890aSEmmanuel Vadot const: cypress,cyapa 15*f126890aSEmmanuel Vadot 16*f126890aSEmmanuel Vadot reg: 17*f126890aSEmmanuel Vadot maxItems: 1 18*f126890aSEmmanuel Vadot 19*f126890aSEmmanuel Vadot interrupts: 20*f126890aSEmmanuel Vadot maxItems: 1 21*f126890aSEmmanuel Vadot 22*f126890aSEmmanuel Vadot wakeup-source: true 23*f126890aSEmmanuel Vadot 24*f126890aSEmmanuel Vadot vcc-supply: 25*f126890aSEmmanuel Vadot description: 3.3V power 26*f126890aSEmmanuel Vadot 27*f126890aSEmmanuel Vadotrequired: 28*f126890aSEmmanuel Vadot - compatible 29*f126890aSEmmanuel Vadot - reg 30*f126890aSEmmanuel Vadot - interrupts 31*f126890aSEmmanuel Vadot 32*f126890aSEmmanuel VadotadditionalProperties: false 33*f126890aSEmmanuel Vadot 34*f126890aSEmmanuel Vadotexamples: 35*f126890aSEmmanuel Vadot - | 36*f126890aSEmmanuel Vadot #include <dt-bindings/interrupt-controller/irq.h> 37*f126890aSEmmanuel Vadot 38*f126890aSEmmanuel Vadot i2c { 39*f126890aSEmmanuel Vadot #address-cells = <1>; 40*f126890aSEmmanuel Vadot #size-cells = <0>; 41*f126890aSEmmanuel Vadot 42*f126890aSEmmanuel Vadot trackpad@67 { 43*f126890aSEmmanuel Vadot reg = <0x67>; 44*f126890aSEmmanuel Vadot compatible = "cypress,cyapa"; 45*f126890aSEmmanuel Vadot interrupts = <2 IRQ_TYPE_EDGE_FALLING>; 46*f126890aSEmmanuel Vadot interrupt-parent = <&gpx1>; 47*f126890aSEmmanuel Vadot wakeup-source; 48*f126890aSEmmanuel Vadot }; 49*f126890aSEmmanuel Vadot }; 50