Path: blob/main/sys/contrib/device-tree/Bindings/gpio/faraday,ftgpio010.txt
48375 views
Faraday Technology FTGPIO010 GPIO Controller12Required properties:34- compatible : Should be one of5"cortina,gemini-gpio", "faraday,ftgpio010"6"moxa,moxart-gpio", "faraday,ftgpio010"7"faraday,ftgpio010"8- reg : Should contain registers location and length9- interrupts : Should contain the interrupt line for the GPIO block10- gpio-controller : marks this as a GPIO controller11- #gpio-cells : Should be 2, see gpio/gpio.txt12- interrupt-controller : marks this as an interrupt controller13- #interrupt-cells : a standard two-cell interrupt flag, see14interrupt-controller/interrupts.txt1516Example:1718gpio@4d000000 {19compatible = "cortina,gemini-gpio", "faraday,ftgpio010";20reg = <0x4d000000 0x100>;21interrupts = <22 IRQ_TYPE_LEVEL_HIGH>;22gpio-controller;23#gpio-cells = <2>;24interrupt-controller;25#interrupt-cells = <2>;26};272829