1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/input/mediatek,mt6779-keypad.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Mediatek's Keypad Controller device tree bindings
10 - Fengping Yu <fengping.yu@mediatek.com>
13 - $ref: "/schemas/input/matrix-keymap.yaml#"
16 Mediatek's Keypad controller is used to interface a SoC with a matrix-type
17 keypad device. The keypad controller supports multiple row and column lines.
18 A key can be placed at each intersection of a unique row and a unique column.
19 The keypad controller can sense a key-press and key-release and report the
20 event using a interrupt to the cpu.
25 - const: mediatek,mt6779-keypad
28 - mediatek,mt6873-keypad
29 - const: mediatek,mt6779-keypad
45 description: use any event on keypad as wakeup event
59 additionalProperties: false
63 #include <dt-bindings/input/input.h>
64 #include <dt-bindings/interrupt-controller/arm-gic.h>
71 compatible = "mediatek,mt6779-keypad";
72 reg = <0 0x10010000 0 0x1000>;
73 interrupts = <GIC_SPI 75 IRQ_TYPE_EDGE_FALLING>;