e3x0-button.txt 905 B

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