14515b76dSAlexander Shiyan* 74XX MMIO GPIO driver 24515b76dSAlexander Shiyan 34515b76dSAlexander ShiyanRequired properties: 44515b76dSAlexander Shiyan- compatible: Should contain one of the following: 54515b76dSAlexander Shiyan "ti,741g125": for 741G125 (1-bit Input), 64515b76dSAlexander Shiyan "ti,741g174": for 741G74 (1-bit Output), 74515b76dSAlexander Shiyan "ti,742g125": for 742G125 (2-bit Input), 84515b76dSAlexander Shiyan "ti,7474" : for 7474 (2-bit Output), 94515b76dSAlexander Shiyan "ti,74125" : for 74125 (4-bit Input), 104515b76dSAlexander Shiyan "ti,74175" : for 74175 (4-bit Output), 114515b76dSAlexander Shiyan "ti,74365" : for 74365 (6-bit Input), 124515b76dSAlexander Shiyan "ti,74174" : for 74174 (6-bit Output), 134515b76dSAlexander Shiyan "ti,74244" : for 74244 (8-bit Input), 144515b76dSAlexander Shiyan "ti,74273" : for 74273 (8-bit Output), 154515b76dSAlexander Shiyan "ti,741624" : for 741624 (16-bit Input), 164515b76dSAlexander Shiyan "ti,7416374": for 7416374 (16-bit Output). 174515b76dSAlexander Shiyan- reg: Physical base address and length where IC resides. 184515b76dSAlexander Shiyan- gpio-controller: Marks the device node as a gpio controller. 194515b76dSAlexander Shiyan- #gpio-cells: Should be two. The first cell is the pin number and 204515b76dSAlexander Shiyan the second cell is used to specify the GPIO polarity: 214515b76dSAlexander Shiyan 0 = Active High, 224515b76dSAlexander Shiyan 1 = Active Low. 234515b76dSAlexander Shiyan 244515b76dSAlexander ShiyanExample: 254515b76dSAlexander Shiyan ctrl: gpio@30008004 { 264515b76dSAlexander Shiyan compatible = "ti,74174"; 274515b76dSAlexander Shiyan reg = <0x30008004 0x1>; 284515b76dSAlexander Shiyan gpio-controller; 294515b76dSAlexander Shiyan #gpio-cells = <2>; 304515b76dSAlexander Shiyan }; 31