1f73b1548SDavid DaneyCavium ThunderX/OCTEON-TX GPIO controller bindings 2f73b1548SDavid Daney 3f73b1548SDavid DaneyRequired Properties: 4f73b1548SDavid Daney- reg: The controller bus address. 5f73b1548SDavid Daney- gpio-controller: Marks the device node as a GPIO controller. 6f73b1548SDavid Daney- #gpio-cells: Must be 2. 7f73b1548SDavid Daney - First cell is the GPIO pin number relative to the controller. 8f73b1548SDavid Daney - Second cell is a standard generic flag bitfield as described in gpio.txt. 9f73b1548SDavid Daney 10f73b1548SDavid DaneyOptional Properties: 11f73b1548SDavid Daney- compatible: "cavium,thunder-8890-gpio", unused as PCI driver binding is used. 12f73b1548SDavid Daney- interrupt-controller: Marks the device node as an interrupt controller. 13f73b1548SDavid Daney- #interrupt-cells: Must be present and have value of 2 if 14f73b1548SDavid Daney "interrupt-controller" is present. 15f73b1548SDavid Daney - First cell is the GPIO pin number relative to the controller. 16f73b1548SDavid Daney - Second cell is triggering flags as defined in interrupts.txt. 17f73b1548SDavid Daney 18f73b1548SDavid DaneyExample: 19f73b1548SDavid Daney 20f73b1548SDavid Daneygpio_6_0: gpio@6,0 { 21f73b1548SDavid Daney compatible = "cavium,thunder-8890-gpio"; 22f73b1548SDavid Daney reg = <0x3000 0 0 0 0>; /* DEVFN = 0x30 (6:0) */ 23f73b1548SDavid Daney gpio-controller; 24f73b1548SDavid Daney #gpio-cells = <2>; 25f73b1548SDavid Daney interrupt-controller; 26f73b1548SDavid Daney #interrupt-cells = <2>; 27f73b1548SDavid Daney}; 28