Faraday Technology FTGPIO010 GPIO Controller
Schema identifier ($id): "http://devicetree.org/schemas/gpio/faraday,ftgpio010.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Linus Walleij <linusw@kernel.org>"
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Array item rules (
items)Item 1
Exact value (
const):"cortina,gemini-gpio"Item 2
Exact value (
const):"faraday,ftgpio010"
Rule 2
Array item rules (
items)Item 1
Exact value (
const):"moxa,moxart-gpio"Item 2
Exact value (
const):"faraday,ftgpio010"
Rule 3
Exact value (
const):"faraday,ftgpio010"
reg — required here #
Maximum number of items (maxItems): 1
resets — not listed as required here #
Maximum number of items (maxItems): 1
clocks — not listed as required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Maximum number of items (maxItems): 1
Should contain the interrupt line for the GPIO block
gpio-controller — not listed as required here #
true — No constraints added by this property rule.
#gpio-cells — required here #
Exact value (const): 2
interrupt-controller — required here #
true — No constraints added by this property rule.
#interrupt-cells — required here #
Exact value (const): 2
Required in this object (required): "compatible", "reg", "interrupts", "#gpio-cells", "interrupt-controller", "#interrupt-cells"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/interrupt-controller/irq.h>
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>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)