ARM Cirrus Logic CLPS711X SYSFLG1 MCTRL GPIOs

Schema identifier ($id): "http://devicetree.org/schemas/gpio/cirrus,clps711x-mctrl-gpio.yaml#"

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

Maintainers (maintainers): "Alexander Shiyan <shc_work@mail.ru>"

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): "cirrus,ep7312-mctrl-gpio"

Item 2

Exact value (const): "cirrus,ep7209-mctrl-gpio"

Rule 2

Exact value (const): "cirrus,ep7209-mctrl-gpio"

gpio-controller — required here #

true — No constraints added by this property rule.

#gpio-cells — required here #

Exact value (const): 2

gpio,syscon-dev — not listed as required here #

Phandle and offset of device's specific registers within the syscon state control registers

Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle-array

Array item rules (items) #

Item 1

Array item rules (items)

Item 1

phandle to syscon

Item 2

register offset within state control registers

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

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

false

Not allowed by this rule.

Examples (examples) #

sysgpio: sysgpio {
    compatible = "cirrus,ep7312-mctrl-gpio",
                 "cirrus,ep7209-mctrl-gpio";
    gpio-controller;
    #gpio-cells = <2>;
};

Source notes #

Annotations retained from the schema source

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

Edit this page