simple-bus nodes
Schema identifier ($id): "http://devicetree.org/schemas/simple-bus.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Common simple-bus binding
Maintainers (maintainers): "Rob Herring <robh@kernel.org>"
Properties and child nodes (properties) #
$nodename — not listed as required here #
String pattern (pattern): "^([a-z][a-z0-9\\-]+-bus|bus|localbus|soc|axi|ahb|apb)(@.+)?$"
compatible — required here #
Rule for matching array elements (contains) #
Exact value (
const):"simple-bus"
ranges — required here #
true — No constraints added by this property rule.
dma-ranges — not listed as required here #
true — No constraints added by this property rule.
#address-cells — required here #
#size-cells — required here #
nonposted-mmio — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/flag
If present, specifies that direct children of this bus should use non-posted memory accesses (i.e. a non-posted mapping mode) for MMIO ranges.
Properties matching a name pattern (patternProperties) #
@([0-9a-f],)?(0|[1-9a-f][0-9a-f]*)$ — name matches this regular expression #
Value type (type): "object"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
true
Allowed by this rule.
Properties and child nodes (properties) #
reg — not listed as required here
Array item rules (items)
Minimum number of items (
minItems):2Maximum number of items (
maxItems):4
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 1024
ranges — not listed as required here
Exactly one of these rules must match (oneOf)
Rule 1
Array item rules (
items)Minimum number of items (
minItems):3Maximum number of items (
maxItems):7Minimum number of items (
minItems):1Maximum number of items (
maxItems):1024
Rule 2
Shared schema rule (
$ref):types.yaml#/definitions/flag
At least one of these rules must match (anyOf) #
Rule 1
Rule 2
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
Anything else must be a property or have empty 'ranges'. An empty 'ranges' is only appropriate if the child node is another 'simple-bus' or similar.
Condition (
if) #Value type (
type):"object"When the condition matches (
then) #Properties and child nodes (
properties) #
ranges— required hereValue type (
type):"boolean"
Required in this object (required): "compatible", "#address-cells", "#size-cells", "ranges"
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: BSD-2-Clause
Line 2: Copyright 2018 Linaro Ltd.
Line 3: Copyright 2021 Arm Ltd.
Line 35: All other properties should be child nodes with unit-address and 'reg'