Common Properties for PCI MFD EP with Peripherals Addressable from BARs

Schema identifier ($id): "http://devicetree.org/schemas/pci/pci-ep-bus.yaml#"

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

Maintainers (maintainers): "A. della Porta <andrea.porta@suse.com>"

Define a generic node representing a PCI endpoint which contains several sub- peripherals. The peripherals can be accessed through one or more BARs. This common schema is intended to be referenced from device tree bindings and does not represent a device tree binding by itself.

Properties and child nodes (properties) #

#address-cells — not listed as required here #

Exact value (const): 3

#size-cells — not listed as required here #

Exact value (const): 2

ranges — not listed as required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 6

Array item rules (items) #

Maximum number of items (maxItems): 8

Array items beyond the listed positions (additionalItems)

true

Allowed by this rule.

Array item rules (items)

Item 1

Maximum value (maximum): 5

Item 2

Exact value (const): 0

Item 3

Exact value (const): 0

Properties matching a name pattern (patternProperties) #

^pci-ep-bus@[0-5]$ — name matches this regular expression #

Value type (type): "object"

One node for each BAR used by peripherals contained in the PCI endpoint. Each node represents a bus on which peripherals are connected. This allows for some segmentation, e.g., one peripheral is accessible through BAR0 and another through BAR1, and you don't want the two peripherals to be able to act on the other BAR. Alternatively, when different peripherals need to share BARs, you can define only one node and use a 'ranges' property to map all the used BARs.

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

true

Allowed by this rule.

Properties and child nodes (properties) #

compatible — required here

Exact value (const): "simple-bus"

Required in this object (required): "compatible"

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

true

Allowed by this rule.

Source notes #

Annotations retained from the schema source

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

Line 32: The BAR number

Edit this page