gpio-74xx-mmio.txt 1.0 KB

12345678910111213141516171819202122232425262728293031
  1. * 74XX MMIO GPIO driver
  2. Required properties:
  3. - compatible: Should contain one of the following:
  4. "ti,741g125": for 741G125 (1-bit Input),
  5. "ti,741g174": for 741G74 (1-bit Output),
  6. "ti,742g125": for 742G125 (2-bit Input),
  7. "ti,7474" : for 7474 (2-bit Output),
  8. "ti,74125" : for 74125 (4-bit Input),
  9. "ti,74175" : for 74175 (4-bit Output),
  10. "ti,74365" : for 74365 (6-bit Input),
  11. "ti,74174" : for 74174 (6-bit Output),
  12. "ti,74244" : for 74244 (8-bit Input),
  13. "ti,74273" : for 74273 (8-bit Output),
  14. "ti,741624" : for 741624 (16-bit Input),
  15. "ti,7416374": for 7416374 (16-bit Output).
  16. - reg: Physical base address and length where IC resides.
  17. - gpio-controller: Marks the device node as a gpio controller.
  18. - #gpio-cells: Should be two. The first cell is the pin number and
  19. the second cell is used to specify the GPIO polarity:
  20. 0 = Active High,
  21. 1 = Active Low.
  22. Example:
  23. ctrl: gpio@30008004 {
  24. compatible = "ti,74174";
  25. reg = <0x30008004 0x1>;
  26. gpio-controller;
  27. #gpio-cells = <2>;
  28. };