summaryrefslogtreecommitdiffstats
path: root/dts/Bindings/input/e3x0-button.txt
blob: 907b195f2eaabca7a7500caac8478c0e8fdef846 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
National Instruments Ettus Research USRP E3x0 button driver

This module is part of the NI Ettus Research USRP E3x0 SDR.

This module provides a simple power button event via two interrupts.

Required properties:
- compatible: should be one of the following
  - "ettus,e3x0-button": For devices such as the NI Ettus Research USRP E3x0
- interrupts: should be one of the following
  - <0 30 1>, <0 31 1>: For devices such as the NI Ettus Research USRP E3x0
- interrupt-names: should be one of the following
  - "press", "release": For devices such as the NI Ettus Research USRP E3x0

Note: Interrupt numbers might vary depending on the FPGA configuration.

Example:
	button {
		compatible = "ettus,e3x0-button";
		interrupt-parent = <&intc>;
		interrupts = <0 30 1>, <0 31 1>;
		interrupt-names = "press", "release";
	}