faraday,ftgpio010.txt 832 B

123456789101112131415161718192021222324252627
  1. Faraday Technology FTGPIO010 GPIO Controller
  2. Required properties:
  3. - compatible : Should be one of
  4. "cortina,gemini-gpio", "faraday,ftgpio010"
  5. "moxa,moxart-gpio", "faraday,ftgpio010"
  6. "faraday,ftgpio010"
  7. - reg : Should contain registers location and length
  8. - interrupts : Should contain the interrupt line for the GPIO block
  9. - gpio-controller : marks this as a GPIO controller
  10. - #gpio-cells : Should be 2, see gpio/gpio.txt
  11. - interrupt-controller : marks this as an interrupt controller
  12. - #interrupt-cells : a standard two-cell interrupt flag, see
  13. interrupt-controller/interrupts.txt
  14. Example:
  15. gpio@4d000000 {
  16. compatible = "cortina,gemini-gpio", "faraday,ftgpio010";
  17. reg = <0x4d000000 0x100>;
  18. interrupts = <22 IRQ_TYPE_LEVEL_HIGH>;
  19. gpio-controller;
  20. #gpio-cells = <2>;
  21. interrupt-controller;
  22. #interrupt-cells = <2>;
  23. };