18c2ecf20Sopenharmony_ciSynopsys GPIO via CREG (Control REGisters) driver 28c2ecf20Sopenharmony_ci 38c2ecf20Sopenharmony_ciRequired properties: 48c2ecf20Sopenharmony_ci- compatible : "snps,creg-gpio-hsdk" or "snps,creg-gpio-axs10x". 58c2ecf20Sopenharmony_ci- reg : Exactly one register range with length 0x4. 68c2ecf20Sopenharmony_ci- #gpio-cells : Since the generic GPIO binding is used, the 78c2ecf20Sopenharmony_ci amount of cells must be specified as 2. The first cell is the 88c2ecf20Sopenharmony_ci pin number, the second cell is used to specify optional parameters: 98c2ecf20Sopenharmony_ci See "gpio-specifier" in .../devicetree/bindings/gpio/gpio.txt. 108c2ecf20Sopenharmony_ci- gpio-controller : Marks the device node as a GPIO controller. 118c2ecf20Sopenharmony_ci- ngpios: Number of GPIO pins. 128c2ecf20Sopenharmony_ci 138c2ecf20Sopenharmony_ciExample: 148c2ecf20Sopenharmony_ci 158c2ecf20Sopenharmony_cigpio: gpio@f00014b0 { 168c2ecf20Sopenharmony_ci compatible = "snps,creg-gpio-hsdk"; 178c2ecf20Sopenharmony_ci reg = <0xf00014b0 0x4>; 188c2ecf20Sopenharmony_ci gpio-controller; 198c2ecf20Sopenharmony_ci #gpio-cells = <2>; 208c2ecf20Sopenharmony_ci ngpios = <2>; 218c2ecf20Sopenharmony_ci}; 22