gpio-zynq.txt 847 B

1234567891011121314151617181920212223242526
  1. Xilinx Zynq GPIO controller Device Tree Bindings
  2. -------------------------------------------
  3. Required properties:
  4. - #gpio-cells : Should be two
  5. - First cell is the GPIO line number
  6. - Second cell is used to specify optional
  7. parameters (unused)
  8. - compatible : Should be "xlnx,zynq-gpio-1.0"
  9. - clocks : Clock specifier (see clock bindings for details)
  10. - gpio-controller : Marks the device node as a GPIO controller.
  11. - interrupts : Interrupt specifier (see interrupt bindings for
  12. details)
  13. - interrupt-parent : Must be core interrupt controller
  14. - reg : Address and length of the register set for the device
  15. Example:
  16. gpio@e000a000 {
  17. #gpio-cells = <2>;
  18. compatible = "xlnx,zynq-gpio-1.0";
  19. clocks = <&clkc 42>;
  20. gpio-controller;
  21. interrupt-parent = <&intc>;
  22. interrupts = <0 20 4>;
  23. reg = <0xe000a000 0x1000>;
  24. };