1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 %YAML 1.2 3 --- 4 $id: http://devicetree.org/schemas/gpio/faraday,ftgpio010.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 7 title: Faraday Technology FTGPIO010 GPIO Controller 8 9 maintainers: 10 - Linus Walleij <linus.walleij@linaro.org> 11 12 properties: 13 compatible: 14 oneOf: 15 - items: 16 - const: cortina,gemini-gpio 17 - const: faraday,ftgpio010 18 - items: 19 - const: moxa,moxart-gpio 20 - const: faraday,ftgpio010 21 - const: faraday,ftgpio010 22 23 reg: 24 maxItems: 1 25 26 resets: 27 maxItems: 1 28 29 clocks: 30 maxItems: 1 31 32 interrupts: 33 maxItems: 1 34 description: Should contain the interrupt line for the GPIO block 35 36 gpio-controller: true 37 "#gpio-cells": 38 const: 2 39 40 interrupt-controller: true 41 "#interrupt-cells": 42 const: 2 43 44 required: 45 - compatible 46 - reg 47 - interrupts 48 - "#gpio-cells" 49 - interrupt-controller 50 - "#interrupt-cells" 51 52 additionalProperties: false 53 54 examples: 55 - | 56 #include <dt-bindings/interrupt-controller/irq.h> 57 gpio@4d000000 { 58 compatible = "cortina,gemini-gpio", "faraday,ftgpio010"; 59 reg = <0x4d000000 0x100>; 60 interrupts = <22 IRQ_TYPE_LEVEL_HIGH>; 61 gpio-controller; 62 #gpio-cells = <2>; 63 interrupt-controller; 64 #interrupt-cells = <2>; 65 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.