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