1*5def4c47SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-2-Clause) 2*5def4c47SEmmanuel Vadot%YAML 1.2 3*5def4c47SEmmanuel Vadot--- 4*5def4c47SEmmanuel Vadot$id: http://devicetree.org/schemas/input/ariel-pwrbutton.yaml# 5*5def4c47SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6*5def4c47SEmmanuel Vadot 7*5def4c47SEmmanuel Vadottitle: Dell Wyse 3020 a.k.a. "Ariel" Power Button 8*5def4c47SEmmanuel Vadot 9*5def4c47SEmmanuel Vadotmaintainers: 10*5def4c47SEmmanuel Vadot - Lubomir Rintel <lkundrak@v3.sk> 11*5def4c47SEmmanuel Vadot 12*5def4c47SEmmanuel Vadotdescription: | 13*5def4c47SEmmanuel Vadot The ENE Embedded Controller on the Ariel board has an interface to the 14*5def4c47SEmmanuel Vadot SPI bus that is capable of sending keyboard and mouse data. A single 15*5def4c47SEmmanuel Vadot power button is attached to it. This binding describes this 16*5def4c47SEmmanuel Vadot configuration. 17*5def4c47SEmmanuel Vadot 18*5def4c47SEmmanuel VadotallOf: 19*5def4c47SEmmanuel Vadot - $ref: input.yaml# 20*5def4c47SEmmanuel Vadot 21*5def4c47SEmmanuel Vadotproperties: 22*5def4c47SEmmanuel Vadot compatible: 23*5def4c47SEmmanuel Vadot items: 24*5def4c47SEmmanuel Vadot - const: dell,wyse-ariel-ec-input 25*5def4c47SEmmanuel Vadot - const: ene,kb3930-input 26*5def4c47SEmmanuel Vadot 27*5def4c47SEmmanuel Vadot reg: 28*5def4c47SEmmanuel Vadot maxItems: 1 29*5def4c47SEmmanuel Vadot 30*5def4c47SEmmanuel Vadot interrupts: 31*5def4c47SEmmanuel Vadot maxItems: 1 32*5def4c47SEmmanuel Vadot 33*5def4c47SEmmanuel Vadot spi-max-frequency: true 34*5def4c47SEmmanuel Vadot 35*5def4c47SEmmanuel Vadotrequired: 36*5def4c47SEmmanuel Vadot - compatible 37*5def4c47SEmmanuel Vadot - reg 38*5def4c47SEmmanuel Vadot - interrupts 39*5def4c47SEmmanuel Vadot 40*5def4c47SEmmanuel VadotadditionalProperties: false 41*5def4c47SEmmanuel Vadot 42*5def4c47SEmmanuel Vadotexamples: 43*5def4c47SEmmanuel Vadot - | 44*5def4c47SEmmanuel Vadot #include <dt-bindings/interrupt-controller/irq.h> 45*5def4c47SEmmanuel Vadot 46*5def4c47SEmmanuel Vadot spi { 47*5def4c47SEmmanuel Vadot #address-cells = <1>; 48*5def4c47SEmmanuel Vadot #size-cells = <0>; 49*5def4c47SEmmanuel Vadot 50*5def4c47SEmmanuel Vadot power-button@0 { 51*5def4c47SEmmanuel Vadot compatible = "dell,wyse-ariel-ec-input", "ene,kb3930-input"; 52*5def4c47SEmmanuel Vadot reg = <0>; 53*5def4c47SEmmanuel Vadot interrupt-parent = <&gpio>; 54*5def4c47SEmmanuel Vadot interrupts = <60 IRQ_TYPE_EDGE_RISING>; 55*5def4c47SEmmanuel Vadot spi-max-frequency = <33000000>; 56*5def4c47SEmmanuel Vadot }; 57*5def4c47SEmmanuel Vadot }; 58