162306a36Sopenharmony_ciSynopsys GPIO via CREG (Control REGisters) driver 262306a36Sopenharmony_ci 362306a36Sopenharmony_ciRequired properties: 462306a36Sopenharmony_ci- compatible : "snps,creg-gpio-hsdk" or "snps,creg-gpio-axs10x". 562306a36Sopenharmony_ci- reg : Exactly one register range with length 0x4. 662306a36Sopenharmony_ci- #gpio-cells : Since the generic GPIO binding is used, the 762306a36Sopenharmony_ci amount of cells must be specified as 2. The first cell is the 862306a36Sopenharmony_ci pin number, the second cell is used to specify optional parameters: 962306a36Sopenharmony_ci See "gpio-specifier" in .../devicetree/bindings/gpio/gpio.txt. 1062306a36Sopenharmony_ci- gpio-controller : Marks the device node as a GPIO controller. 1162306a36Sopenharmony_ci- ngpios: Number of GPIO pins. 1262306a36Sopenharmony_ci 1362306a36Sopenharmony_ciExample: 1462306a36Sopenharmony_ci 1562306a36Sopenharmony_cigpio: gpio@f00014b0 { 1662306a36Sopenharmony_ci compatible = "snps,creg-gpio-hsdk"; 1762306a36Sopenharmony_ci reg = <0xf00014b0 0x4>; 1862306a36Sopenharmony_ci gpio-controller; 1962306a36Sopenharmony_ci #gpio-cells = <2>; 2062306a36Sopenharmony_ci ngpios = <2>; 2162306a36Sopenharmony_ci}; 22