18c2ecf20Sopenharmony_ciFaraday Technology FTGPIO010 GPIO Controller 28c2ecf20Sopenharmony_ci 38c2ecf20Sopenharmony_ciRequired properties: 48c2ecf20Sopenharmony_ci 58c2ecf20Sopenharmony_ci- compatible : Should be one of 68c2ecf20Sopenharmony_ci "cortina,gemini-gpio", "faraday,ftgpio010" 78c2ecf20Sopenharmony_ci "moxa,moxart-gpio", "faraday,ftgpio010" 88c2ecf20Sopenharmony_ci "faraday,ftgpio010" 98c2ecf20Sopenharmony_ci- reg : Should contain registers location and length 108c2ecf20Sopenharmony_ci- interrupts : Should contain the interrupt line for the GPIO block 118c2ecf20Sopenharmony_ci- gpio-controller : marks this as a GPIO controller 128c2ecf20Sopenharmony_ci- #gpio-cells : Should be 2, see gpio/gpio.txt 138c2ecf20Sopenharmony_ci- interrupt-controller : marks this as an interrupt controller 148c2ecf20Sopenharmony_ci- #interrupt-cells : a standard two-cell interrupt flag, see 158c2ecf20Sopenharmony_ci interrupt-controller/interrupts.txt 168c2ecf20Sopenharmony_ci 178c2ecf20Sopenharmony_ciExample: 188c2ecf20Sopenharmony_ci 198c2ecf20Sopenharmony_cigpio@4d000000 { 208c2ecf20Sopenharmony_ci compatible = "cortina,gemini-gpio", "faraday,ftgpio010"; 218c2ecf20Sopenharmony_ci reg = <0x4d000000 0x100>; 228c2ecf20Sopenharmony_ci interrupts = <22 IRQ_TYPE_LEVEL_HIGH>; 238c2ecf20Sopenharmony_ci gpio-controller; 248c2ecf20Sopenharmony_ci #gpio-cells = <2>; 258c2ecf20Sopenharmony_ci interrupt-controller; 268c2ecf20Sopenharmony_ci #interrupt-cells = <2>; 278c2ecf20Sopenharmony_ci}; 28