gpio-xgene.txt 664 B

12345678910111213141516171819202122
  1. APM X-Gene SoC GPIO controller bindings
  2. This is a gpio controller that is part of the flash controller.
  3. This gpio controller controls a total of 48 gpios.
  4. Required properties:
  5. - compatible: "apm,xgene-gpio" for X-Gene GPIO controller
  6. - reg: Physical base address and size of the controller's registers
  7. - #gpio-cells: Should be two.
  8. - first cell is the pin number
  9. - second cell is used to specify the gpio polarity:
  10. 0 = active high
  11. 1 = active low
  12. - gpio-controller: Marks the device node as a GPIO controller.
  13. Example:
  14. gpio0: gpio0@1701c000 {
  15. compatible = "apm,xgene-gpio";
  16. reg = <0x0 0x1701c000 0x0 0x40>;
  17. gpio-controller;
  18. #gpio-cells = <2>;
  19. };