162306a36Sopenharmony_ciCavium ThunderX/OCTEON-TX GPIO controller bindings
262306a36Sopenharmony_ci
362306a36Sopenharmony_ciRequired Properties:
462306a36Sopenharmony_ci- reg: The controller bus address.
562306a36Sopenharmony_ci- gpio-controller: Marks the device node as a GPIO controller.
662306a36Sopenharmony_ci- #gpio-cells: Must be 2.
762306a36Sopenharmony_ci  - First cell is the GPIO pin number relative to the controller.
862306a36Sopenharmony_ci  - Second cell is a standard generic flag bitfield as described in gpio.txt.
962306a36Sopenharmony_ci
1062306a36Sopenharmony_ciOptional Properties:
1162306a36Sopenharmony_ci- compatible: "cavium,thunder-8890-gpio", unused as PCI driver binding is used.
1262306a36Sopenharmony_ci- interrupt-controller: Marks the device node as an interrupt controller.
1362306a36Sopenharmony_ci- #interrupt-cells: Must be present and have value of 2 if
1462306a36Sopenharmony_ci                    "interrupt-controller" is present.
1562306a36Sopenharmony_ci  - First cell is the GPIO pin number relative to the controller.
1662306a36Sopenharmony_ci  - Second cell is triggering flags as defined in interrupts.txt.
1762306a36Sopenharmony_ci
1862306a36Sopenharmony_ciExample:
1962306a36Sopenharmony_ci
2062306a36Sopenharmony_cigpio_6_0: gpio@6,0 {
2162306a36Sopenharmony_ci	compatible = "cavium,thunder-8890-gpio";
2262306a36Sopenharmony_ci	reg = <0x3000 0 0 0 0>; /*  DEVFN = 0x30 (6:0) */
2362306a36Sopenharmony_ci	gpio-controller;
2462306a36Sopenharmony_ci	#gpio-cells = <2>;
2562306a36Sopenharmony_ci	interrupt-controller;
2662306a36Sopenharmony_ci	#interrupt-cells = <2>;
2762306a36Sopenharmony_ci};
28