1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/input/pine64,pinephone-keyboard.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Pine64 PinePhone keyboard
10 - Samuel Holland <samuel@sholland.org>
13 A keyboard accessory is available for the Pine64 PinePhone and PinePhone Pro.
14 It connects via I2C, providing a raw scan matrix, a flashing interface, and a
15 subordinate I2C bus for communication with a battery charger IC.
19 const: pine64,pinephone-keyboard
28 description: Supply for the keyboard MCU
33 $ref: /schemas/i2c/i2c-controller.yaml#
40 additionalProperties: false
44 #include <dt-bindings/input/input.h>
45 #include <dt-bindings/interrupt-controller/irq.h>
52 compatible = "pine64,pinephone-keyboard";
54 interrupt-parent = <&r_pio>;
55 interrupts = <0 12 IRQ_TYPE_EDGE_FALLING>; /* PL12 */