Path: blob/main/sys/contrib/device-tree/Bindings/gpio/gpio-74x164.txt
48375 views
* Generic 8-bits shift register GPIO driver12Required properties:3- compatible: Should contain one of the following:4"fairchild,74hc595"5"nxp,74lvc594"6- reg : chip select number7- gpio-controller : Marks the device node as a gpio controller.8- #gpio-cells : Should be two. The first cell is the pin number and9the second cell is used to specify the gpio polarity:100 = active high111 = active low12- registers-number: Number of daisy-chained shift registers1314Optional properties:15- enable-gpios: GPIO connected to the OE (Output Enable) pin.1617Example:1819gpio5: gpio5@0 {20compatible = "fairchild,74hc595";21reg = <0>;22gpio-controller;23#gpio-cells = <2>;24registers-number = <4>;25spi-max-frequency = <100000>;26};272829