Abilis TB10x GPIO controller

Schema identifier ($id): "http://devicetree.org/schemas/gpio/abilis,tb10x-gpio.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Christian Ruppert <christian.ruppert@abilis.com>"

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "abilis,tb10x-gpio"

reg — required here #

Maximum number of items (maxItems): 1

gpio-controller — required here #

true — No constraints added by this property rule.

#gpio-cells — required here #

Exact value (const): 2

gpio-ranges — not listed as required here #

true — No constraints added by this property rule.

gpio-ranges-group-names — not listed as required here #

true — No constraints added by this property rule.

interrupt-controller — not listed as required here #

true — No constraints added by this property rule.

#interrupt-cells — not listed as required here #

Exact value (const): 1

Interrupts are triggered on both edges

interrupts — not listed as required here #

Maximum number of items (maxItems): 1

abilis,ngpio — required here #

Number of GPIO pins this driver controls

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Required in this object (required): "compatible", "reg", "gpio-controller", "#gpio-cells", "abilis,ngpio"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

gpio@ff140000 {
    compatible = "abilis,tb10x-gpio";
    interrupt-controller;
    #interrupt-cells = <1>;
    interrupts = <27 2>;
    reg = <0xff140000 0x1000>;
    gpio-controller;
    #gpio-cells = <2>;
    abilis,ngpio = <3>;
    gpio-ranges = <&iomux 0 0 0>;
    gpio-ranges-group-names = "gpioa_pins";
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Edit this page