PCI Device Node Common Properties

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

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

Common properties for PCI device nodes. Based on:

PCI Bus Binding to: IEEE Std 1275-1994 http://www.devicetree.org/open-firmware/bindings/pci/pci2_1.pdf

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

Properties and child nodes (properties) #

compatible — not listed as required here #

Rule for matching array elements (contains) #

String pattern (pattern): "^(pci[0-9a-f]{2,4},[0-9a-f]{1,4}|pciclass,[01][0-9a-f]{3}([0-9a-f]{2})?)$"

reg — required here #

The first entry must be the configuration space. The bus number generally 0/ignored for FDT. See section 4.1.1 in PCI bus binding for further information.

Array items beyond the listed positions (additionalItems) #

true

Allowed by this rule.

Array item rules (items) #

Item 1

Configuration Space for the device

Array item rules (items)

Item 1

Maximum value (maximum): 16776960

Multiple of (multipleOf): 256

Item 2

Exact value (const): 0

Item 3

Exact value (const): 0

Item 4

Exact value (const): 0

Item 5

Exact value (const): 0

interrupts-extended — not listed as required here #

Occasionally PCI devices have interrupts which are not PCI interrupts. In these cases, use "interrupts-extended" so it is not ambiguous.

interrupts — not listed as required here #

Array item rules (items) #

Item 1

Array item rules (items)

Item 1

Allowed values (enum): 1, 2, 3, 4

assigned-addresses — not listed as required here #

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

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

wake-gpios — not listed as required here #

GPIO controlled connection to WAKE# signal

Maximum number of items (maxItems): 1

t-power-on-us — not listed as required here #

Maximum value (maximum): 3100

The minimum amount of time that each component must wait in L1.2.Exit after sampling CLKREQ# asserted before actively driving the interface to ensure no device is ever actively driving into an unpowered component. This value is based on the components and AC coupling capacitors used in the connection linking the two components (PCIe r7.0, sec 5.5.4).

Required in this object (required): "reg"

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.

Line 34: Should be 0xff00

Line 49: INTA, INTB, INTC, INTD

Edit this page