ARM PL061 GPIO controller
Schema identifier ($id): "http://devicetree.org/schemas/gpio/pl061-gpio.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Linus Walleij <linusw@kernel.org>", "Rob Herring <robh@kernel.org>"
Automatic schema selection (select) #
Properties and child nodes (
properties) #
compatible— required here #Rule for matching array elements (
contains)Exact value (
const):"arm,pl061"
Properties and child nodes (properties) #
$nodename — not listed as required here #
String pattern (pattern): "^gpio@[0-9a-f]+$"
compatible — required here #
Array item rules (items) #
Item 1
Exact value (
const):"arm,pl061"
Item 2
Exact value (
const):"arm,primecell"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — not listed as required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Maximum number of items (
maxItems):1
Rule 2
Maximum number of items (
maxItems):8
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): 2
clocks — required here #
Maximum number of items (maxItems): 1
clock-names — not listed as required here #
true — No constraints added by this property rule.
#gpio-cells — required here #
Exact value (const): 2
gpio-controller — required here #
true — No constraints added by this property rule.
gpio-line-names — not listed as required here #
true — No constraints added by this property rule.
gpio-ranges — not listed as required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 8
Required in this object (required): "compatible", "reg", "clocks", "#gpio-cells", "gpio-controller"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
Line 13: We need a select here so we don't match all nodes with 'arm,primecell'