PCI Host Bridge Nodes

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

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

Common properties for PCI host bridge nodes. PCI host bridges implement the PCI bus binding plus additional properties for mapping host resources into PCI space.

Maintainers (maintainers): "Rob Herring <robh@kernel.org>"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): pci-bus-common.yaml#

Rule 2 #

Shared schema rule ($ref): pci-iommu.yaml#

Properties and child nodes (properties) #

linux,pci-domain — not listed as required here #

If present this property assigns a fixed PCI domain number to a host bridge, otherwise an unstable (across boots) unique number will be assigned. It is required to either not set this property at all or set it for all host bridges in the system, otherwise potentially conflicting domain numbers may be assigned to root buses behind different host bridges. The domain number for each host bridge in the system must be unique.

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

msi-map — not listed as required here #

Maps a Requester ID (AKA RID) to an MSI controller and associated msi-specifier data. Each PCI device under a root complex is uniquely identified by its Requester ID. A Requester ID is a triplet of a Bus number, Device number, and Function number. For the purpose of this document, when treated as a numeric value, a RID is formatted such that:

  * Bits [15:8] are the Bus number.
  * Bits [7:3] are the Device number.
  * Bits [2:0] are the Function number.
  * Any other bits required for padding must be zero.

MSIs may be distinguished in part through the use of sideband data accompanying writes. In the case of PCI devices, this sideband data may be derived from the Requester ID. A mechanism is required to associate a device with both the MSI controllers it can address, and the sideband data that will be associated with its writes to those controllers. Any RID r in the interval [rid-base, rid-base + length) is associated with the listed msi-controller, with the msi-specifier (r - rid-base + msi-base).

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

Array item rules (items) #

Array item rules (items)

Item 1

The RID base matched by the entry

Item 2

phandle to msi-controller node

Item 3

(optional) The msi-specifier produced for the first RID matched by the entry. Currently, msi-specifier is 0 or 1 cells.

Item 4

The length of consecutive RIDs following the RID base

msi-map-mask — not listed as required here #

A mask to be applied to each Requester ID prior to being mapped to an msi-specifier per the msi-map property.

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

vendor-id — not listed as required here #

The PCI vendor ID

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

device-id — not listed as required here #

The PCI device ID

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Requirements triggered by another property (dependentRequired): { msi-map-mask: "msi-map" }

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: (GPL2.0-only OR BSD-2-Clause)

Line 2: Copyright 2018 Linaro Ltd.

Line 3: Copyright 2024 Arm Ltd.

Edit this page