1*c66ec88fSEmmanuel VadotSynopsys GPIO via CREG (Control REGisters) driver 2*c66ec88fSEmmanuel Vadot 3*c66ec88fSEmmanuel VadotRequired properties: 4*c66ec88fSEmmanuel Vadot- compatible : "snps,creg-gpio-hsdk" or "snps,creg-gpio-axs10x". 5*c66ec88fSEmmanuel Vadot- reg : Exactly one register range with length 0x4. 6*c66ec88fSEmmanuel Vadot- #gpio-cells : Since the generic GPIO binding is used, the 7*c66ec88fSEmmanuel Vadot amount of cells must be specified as 2. The first cell is the 8*c66ec88fSEmmanuel Vadot pin number, the second cell is used to specify optional parameters: 9*c66ec88fSEmmanuel Vadot See "gpio-specifier" in .../devicetree/bindings/gpio/gpio.txt. 10*c66ec88fSEmmanuel Vadot- gpio-controller : Marks the device node as a GPIO controller. 11*c66ec88fSEmmanuel Vadot- ngpios: Number of GPIO pins. 12*c66ec88fSEmmanuel Vadot 13*c66ec88fSEmmanuel VadotExample: 14*c66ec88fSEmmanuel Vadot 15*c66ec88fSEmmanuel Vadotgpio: gpio@f00014b0 { 16*c66ec88fSEmmanuel Vadot compatible = "snps,creg-gpio-hsdk"; 17*c66ec88fSEmmanuel Vadot reg = <0xf00014b0 0x4>; 18*c66ec88fSEmmanuel Vadot gpio-controller; 19*c66ec88fSEmmanuel Vadot #gpio-cells = <2>; 20*c66ec88fSEmmanuel Vadot ngpios = <2>; 21*c66ec88fSEmmanuel Vadot}; 22