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