gpio-twl4030.txt 650 B

123456789101112131415161718192021222324
  1. twl4030 GPIO controller bindings
  2. Required properties:
  3. - compatible:
  4. - "ti,twl4030-gpio" for twl4030 GPIO controller
  5. - #gpio-cells : Should be two.
  6. - first cell is the pin number
  7. - second cell is used to specify optional parameters (unused)
  8. - gpio-controller : Marks the device node as a GPIO controller.
  9. - #interrupt-cells : Should be 2.
  10. - interrupt-controller: Mark the device node as an interrupt controller
  11. The first cell is the GPIO number.
  12. The second cell is not used.
  13. Example:
  14. twl_gpio: gpio {
  15. compatible = "ti,twl4030-gpio";
  16. #gpio-cells = <2>;
  17. gpio-controller;
  18. #interrupt-cells = <2>;
  19. interrupt-controller;
  20. };