ZynqMP Mode Pin GPIO controller

Schema identifier ($id): "http://devicetree.org/schemas/gpio/xlnx,zynqmp-gpio-modepin.yaml#"

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

PS_MODE is 4-bits boot mode pins sampled on POR deassertion. Mode Pin GPIO controller with configurable from numbers of pins (from 0 to 3 per PS_MODE). Every pin can be configured as input/output.

Maintainers (maintainers): "Radhey Shyam Pandey <radhey.shyam.pandey@amd.com>"

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "xlnx,zynqmp-gpio-modepin"

gpio-controller — required here #

true — No constraints added by this property rule.

#gpio-cells — required here #

Exact value (const): 2

label — not listed as required here #

true — No constraints added by this property rule.

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) #

zynqmp-firmware {
    gpio {
        compatible = "xlnx,zynqmp-gpio-modepin";
        gpio-controller;
        #gpio-cells = <2>;
        label = "modepin";
    };
};

Source notes #

Annotations retained from the schema source

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

Edit this page