1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2%YAML 1.2 3--- 4$id: http://devicetree.org/schemas/input/fsl,scu-key.yaml# 5$schema: http://devicetree.org/meta-schemas/core.yaml# 6 7title: i.MX SCU Client Device Node - SCU Key Based on SCU Message Protocol 8 9maintainers: 10 - Dong Aisheng <aisheng.dong@nxp.com> 11 12description: i.MX SCU Client Device Node 13 Client nodes are maintained as children of the relevant IMX-SCU device node. 14 15allOf: 16 - $ref: input.yaml# 17 18properties: 19 compatible: 20 items: 21 - enum: 22 - fsl,imx8qm-sc-key 23 - fsl,imx8qxp-sc-key 24 - const: fsl,imx-sc-key 25 26 linux,keycodes: 27 maxItems: 1 28 29 wakeup-source: true 30 31required: 32 - compatible 33 - linux,keycodes 34 35additionalProperties: false 36 37examples: 38 - | 39 #include <dt-bindings/input/input.h> 40 41 keys { 42 compatible = "fsl,imx8qxp-sc-key", "fsl,imx-sc-key"; 43 linux,keycodes = <KEY_POWER>; 44 }; 45