Toshiba Visconti ARM SoCs GPIO controller

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

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

Maintainers (maintainers): "Nobuhiro Iwamatsu <nobuhiro1.iwamatsu@toshiba.co.jp>"

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Exact value (const): "toshiba,gpio-tmpv7708"

reg — required here #

Maximum number of items (maxItems): 1

#gpio-cells — required here #

Exact value (const): 2

gpio-ranges — required here #

true — No constraints added by this property rule.

gpio-controller — required here #

true — No constraints added by this property rule.

interrupt-controller — required here #

true — No constraints added by this property rule.

#interrupt-cells — required here #

Exact value (const): 2

interrupts — not listed as required here #

interrupt mapping one per GPIO.

Minimum number of items (minItems): 16

Maximum number of items (maxItems): 16

Required in this object (required): "compatible", "reg", "#gpio-cells", "gpio-ranges", "gpio-controller", "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>
#include <dt-bindings/interrupt-controller/arm-gic.h>

soc {
    #address-cells = <2>;
    #size-cells = <2>;

    gpio: gpio@28020000 {
        compatible = "toshiba,gpio-tmpv7708";
        reg = <0 0x28020000 0 0x1000>;
        #gpio-cells = <0x2>;
        gpio-ranges = <&pmux 0 0 32>;
        gpio-controller;
        interrupt-controller;
        #interrupt-cells = <2>;
        interrupt-parent = <&gic>;
    };
};

Source notes #

Annotations retained from the schema source

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

Edit this page