1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2%YAML 1.2 3--- 4$id: http://devicetree.org/schemas/input/ti,tps65217-pwrbutton.yaml# 5$schema: http://devicetree.org/meta-schemas/core.yaml# 6 7title: Texas Instruments TPS65217 and TPS65218 Power Button 8 9maintainers: 10 - Eduard Bostina <egbostina@gmail.com> 11 12description: 13 This module is part of the TPS65217/TPS65218 PMIC. It provides a simple 14 power button event via an interrupt. 15 16properties: 17 compatible: 18 enum: 19 - ti,tps65217-pwrbutton 20 - ti,tps65218-pwrbutton 21 22 interrupts: 23 maxItems: 1 24 25required: 26 - compatible 27 - interrupts 28 29additionalProperties: false 30 31examples: 32 - | 33 #include <dt-bindings/interrupt-controller/irq.h> 34 pmic { 35 #address-cells = <1>; 36 #size-cells = <0>; 37 38 power-button { 39 compatible = "ti,tps65218-pwrbutton"; 40 interrupts = <3 IRQ_TYPE_EDGE_BOTH>; 41 }; 42 }; 43