gpio-etraxfs.txt 587 B

1234567891011121314151617181920212223
  1. Axis ETRAX FS General I/O controller bindings
  2. Required properties:
  3. - compatible: one of:
  4. - "axis,etraxfs-gio"
  5. - "axis,artpec3-gio"
  6. - reg: Physical base address and length of the controller's registers.
  7. - #gpio-cells: Should be 3
  8. - The first cell is the gpio offset number.
  9. - The second cell is reserved and is currently unused.
  10. - The third cell is the port number (hex).
  11. - gpio-controller: Marks the device node as a GPIO controller.
  12. Example:
  13. gio: gpio@b001a000 {
  14. compatible = "axis,etraxfs-gio";
  15. reg = <0xb001a000 0x1000>;
  16. gpio-controller;
  17. #gpio-cells = <3>;
  18. };