xref: /linux/Documentation/devicetree/bindings/input/e3x0-button.txt (revision c0e297dc61f8d4453e07afbea1fa8d0e67cd4a34)
1National Instruments Ettus Research USRP E3x0 button driver
2
3This module is part of the NI Ettus Research USRP E3x0 SDR.
4
5This module provides a simple power button event via two interrupts.
6
7Required properties:
8- compatible: should be one of the following
9  - "ettus,e3x0-button": For devices such as the NI Ettus Research USRP E3x0
10- interrupt-parent:
11  - a phandle to the interrupt controller that it is attached to.
12- interrupts: should be one of the following
13  - <0 30 1>, <0 31 1>: For devices such as the NI Ettus Research USRP E3x0
14- interrupt-names: should be one of the following
15  - "press", "release": For devices such as the NI Ettus Research USRP E3x0
16
17Note: Interrupt numbers might vary depending on the FPGA configuration.
18
19Example:
20	button {
21		compatible = "ettus,e3x0-button";
22		interrupt-parent = <&intc>;
23		interrupts = <0 30 1>, <0 31 1>;
24		interrupt-names = "press", "release";
25	}
26