129f55cc6SEugeniy PaltsevSynopsys GPIO via CREG (Control REGisters) driver
229f55cc6SEugeniy Paltsev
329f55cc6SEugeniy PaltsevRequired properties:
429f55cc6SEugeniy Paltsev- compatible : "snps,creg-gpio-hsdk" or "snps,creg-gpio-axs10x".
529f55cc6SEugeniy Paltsev- reg : Exactly one register range with length 0x4.
629f55cc6SEugeniy Paltsev- #gpio-cells : Since the generic GPIO binding is used, the
729f55cc6SEugeniy Paltsev  amount of cells must be specified as 2. The first cell is the
829f55cc6SEugeniy Paltsev  pin number, the second cell is used to specify optional parameters:
929f55cc6SEugeniy Paltsev  See "gpio-specifier" in .../devicetree/bindings/gpio/gpio.txt.
1029f55cc6SEugeniy Paltsev- gpio-controller : Marks the device node as a GPIO controller.
1129f55cc6SEugeniy Paltsev- ngpios: Number of GPIO pins.
1229f55cc6SEugeniy Paltsev
1329f55cc6SEugeniy PaltsevExample:
1429f55cc6SEugeniy Paltsev
1529f55cc6SEugeniy Paltsevgpio: gpio@f00014b0 {
1629f55cc6SEugeniy Paltsev	compatible = "snps,creg-gpio-hsdk";
1729f55cc6SEugeniy Paltsev	reg = <0xf00014b0 0x4>;
1829f55cc6SEugeniy Paltsev	gpio-controller;
1929f55cc6SEugeniy Paltsev	#gpio-cells = <2>;
2029f55cc6SEugeniy Paltsev	ngpios = <2>;
2129f55cc6SEugeniy Paltsev};
22