xref: /openbmc/linux/Documentation/devicetree/bindings/input/e3x0-button.txt (revision 3eb66e91a25497065c5322b1268cbc3953642227)
1*846a7fc8SMoritz FischerNational Instruments Ettus Research USRP E3x0 button driver
2*846a7fc8SMoritz Fischer
3*846a7fc8SMoritz FischerThis module is part of the NI Ettus Research USRP E3x0 SDR.
4*846a7fc8SMoritz Fischer
5*846a7fc8SMoritz FischerThis module provides a simple power button event via two interrupts.
6*846a7fc8SMoritz Fischer
7*846a7fc8SMoritz FischerRequired properties:
8*846a7fc8SMoritz Fischer- compatible: should be one of the following
9*846a7fc8SMoritz Fischer  - "ettus,e3x0-button": For devices such as the NI Ettus Research USRP E3x0
10*846a7fc8SMoritz Fischer- interrupts: should be one of the following
11*846a7fc8SMoritz Fischer  - <0 30 1>, <0 31 1>: For devices such as the NI Ettus Research USRP E3x0
12*846a7fc8SMoritz Fischer- interrupt-names: should be one of the following
13*846a7fc8SMoritz Fischer  - "press", "release": For devices such as the NI Ettus Research USRP E3x0
14*846a7fc8SMoritz Fischer
15*846a7fc8SMoritz FischerNote: Interrupt numbers might vary depending on the FPGA configuration.
16*846a7fc8SMoritz Fischer
17*846a7fc8SMoritz FischerExample:
18*846a7fc8SMoritz Fischer	button {
19*846a7fc8SMoritz Fischer		compatible = "ettus,e3x0-button";
20*846a7fc8SMoritz Fischer		interrupt-parent = <&intc>;
21*846a7fc8SMoritz Fischer		interrupts = <0 30 1>, <0 31 1>;
22*846a7fc8SMoritz Fischer		interrupt-names = "press", "release";
23*846a7fc8SMoritz Fischer	}
24