gpio_nvidia.txt 754 B

1234567891011121314151617181920212223242526
  1. NVIDIA Tegra 2 GPIO controller
  2. Required properties:
  3. - compatible : "nvidia,tegra20-gpio"
  4. - reg : Physical base address and length of the controller's registers.
  5. - interrupts : The interrupt outputs from the controller.
  6. - #gpio-cells : Should be two. The first cell is the pin number and the
  7. second cell is used to specify optional parameters:
  8. - bit 0 specifies polarity (0 for normal, 1 for inverted)
  9. - gpio-controller : Marks the device node as a GPIO controller.
  10. Example:
  11. gpio: gpio@6000d000 {
  12. compatible = "nvidia,tegra20-gpio";
  13. reg = < 0x6000d000 0x1000 >;
  14. interrupts = < 0 32 0x04
  15. 0 33 0x04
  16. 0 34 0x04
  17. 0 35 0x04
  18. 0 55 0x04
  19. 0 87 0x04
  20. 0 89 0x04 >;
  21. #gpio-cells = <2>;
  22. gpio-controller;
  23. };