gpio-74x164.txt 602 B

12345678910111213141516171819202122
  1. * Generic 8-bits shift register GPIO driver
  2. Required properties:
  3. - compatible : Should be "fairchild,74hc595"
  4. - reg : chip select number
  5. - gpio-controller : Marks the device node as a gpio controller.
  6. - #gpio-cells : Should be two. The first cell is the pin number and
  7. the second cell is used to specify the gpio polarity:
  8. 0 = active high
  9. 1 = active low
  10. - registers-number: Number of daisy-chained shift registers
  11. Example:
  12. gpio5: gpio5@0 {
  13. compatible = "fairchild,74hc595";
  14. reg = <0>;
  15. gpio-controller;
  16. #gpio-cells = <2>;
  17. registers-number = <4>;
  18. spi-max-frequency = <100000>;
  19. };