···11+Axis ETRAX FS General I/O controller bindings22+33+Required properties:44+55+- compatible:66+ - "axis,etraxfs-gio"77+- reg: Physical base address and length of the controller's registers.88+- #gpio-cells: Should be 399+ - The first cell is the gpio offset number.1010+ - The second cell is reserved and is currently unused.1111+ - The third cell is the port number (hex).1212+- gpio-controller: Marks the device node as a GPIO controller.1313+1414+Example:1515+1616+ gio: gpio@b001a000 {1717+ compatible = "axis,etraxfs-gio";1818+ reg = <0xb001a000 0x1000>;1919+ gpio-controller;2020+ #gpio-cells = <3>;2121+ };
+8
drivers/gpio/Kconfig
···167167 depends on ARCH_EP93XX168168 select GPIO_GENERIC169169170170+config GPIO_ETRAXFS171171+ bool "Axis ETRAX FS General I/O"172172+ depends on CRIS || COMPILE_TEST173173+ depends on OF174174+ select GPIO_GENERIC175175+ help176176+ Say yes here to support the GPIO controller on Axis ETRAX FS SoCs.177177+170178config GPIO_F7188X171179 tristate "F71869, F71869A, F71882FG and F71889F GPIO support"172180 depends on X86