0001 Cavium ThunderX/OCTEON-TX GPIO controller bindings
0002
0003 Required Properties:
0004 - reg: The controller bus address.
0005 - gpio-controller: Marks the device node as a GPIO controller.
0006 - #gpio-cells: Must be 2.
0007 - First cell is the GPIO pin number relative to the controller.
0008 - Second cell is a standard generic flag bitfield as described in gpio.txt.
0009
0010 Optional Properties:
0011 - compatible: "cavium,thunder-8890-gpio", unused as PCI driver binding is used.
0012 - interrupt-controller: Marks the device node as an interrupt controller.
0013 - #interrupt-cells: Must be present and have value of 2 if
0014 "interrupt-controller" is present.
0015 - First cell is the GPIO pin number relative to the controller.
0016 - Second cell is triggering flags as defined in interrupts.txt.
0017
0018 Example:
0019
0020 gpio_6_0: gpio@6,0 {
0021 compatible = "cavium,thunder-8890-gpio";
0022 reg = <0x3000 0 0 0 0>; /* DEVFN = 0x30 (6:0) */
0023 gpio-controller;
0024 #gpio-cells = <2>;
0025 interrupt-controller;
0026 #interrupt-cells = <2>;
0027 };