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