Staging
v0.8.1
https://github.com/torvalds/linux
Raw File
Tip revision: 9ebcfadb0610322ac537dd7aa5d9cbc2b2894c68 authored by Linus Torvalds on 28 June 2020, 22:00:24 UTC
Linux 5.8-rc3
Tip revision: 9ebcfad
faraday,ftgpio010.txt
Faraday Technology FTGPIO010 GPIO Controller

Required properties:

- compatible : Should be one of
  "cortina,gemini-gpio", "faraday,ftgpio010"
  "moxa,moxart-gpio", "faraday,ftgpio010"
  "faraday,ftgpio010"
- reg : Should contain registers location and length
- interrupts : Should contain the interrupt line for the GPIO block
- gpio-controller : marks this as a GPIO controller
- #gpio-cells : Should be 2, see gpio/gpio.txt
- interrupt-controller : marks this as an interrupt controller
- #interrupt-cells : a standard two-cell interrupt flag, see
  interrupt-controller/interrupts.txt

Example:

gpio@4d000000 {
	compatible = "cortina,gemini-gpio", "faraday,ftgpio010";
	reg = <0x4d000000 0x100>;
	interrupts = <22 IRQ_TYPE_LEVEL_HIGH>;
	gpio-controller;
	#gpio-cells = <2>;
	interrupt-controller;
	#interrupt-cells = <2>;
};
back to top