xref: /freebsd/sys/contrib/device-tree/Bindings/input/e3x0-button.txt (revision 2e3f49888ec8851bafb22011533217487764fdb0)
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- interrupts: should be one of the following
11  - <0 30 1>, <0 31 1>: For devices such as the NI Ettus Research USRP E3x0
12- interrupt-names: should be one of the following
13  - "press", "release": For devices such as the NI Ettus Research USRP E3x0
14
15Note: Interrupt numbers might vary depending on the FPGA configuration.
16
17Example:
18	button {
19		compatible = "ettus,e3x0-button";
20		interrupt-parent = <&intc>;
21		interrupts = <0 30 1>, <0 31 1>;
22		interrupt-names = "press", "release";
23	}
24