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