ARM Versatile Platform Baseboard PCI interface
Schema identifier ($id): "http://devicetree.org/schemas/pci/versatile.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Rob Herring <robh@kernel.org>"
PCI host controller found on the ARM Versatile PB board's FPGA.
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):/schemas/pci/pci-host-bridge.yaml#
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "arm,versatile-pci"
reg — required here #
Array item rules (items) #
Item 1
Versatile-specific registers
Item 2
Self Config space
Item 3
Config space
ranges — required here #
Maximum number of items (maxItems): 3
#interrupt-cells — required here #
true — No constraints added by this property rule.
interrupt-map — required here #
Maximum number of items (maxItems): 16
interrupt-map-mask — required here #
Array item rules (items) #
Item 1
Exact value (
const):6144
Item 2
Exact value (
const):0
Item 3
Exact value (
const):0
Item 4
Exact value (
const):7
Required in this object (required): "compatible", "reg", "ranges", "#interrupt-cells", "interrupt-map", "interrupt-map-mask"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
pci@10001000 {
compatible = "arm,versatile-pci";
device_type = "pci";
reg = <0x10001000 0x1000>,
<0x41000000 0x10000>,
<0x42000000 0x100000>;
bus-range = <0 0xff>;
#address-cells = <3>;
#size-cells = <2>;
#interrupt-cells = <1>;
ranges =
<0x01000000 0 0x00000000 0x43000000 0 0x00010000>, /* downstream I/O */
<0x02000000 0 0x50000000 0x50000000 0 0x10000000>, /* non-prefetchable memory */
<0x42000000 0 0x60000000 0x60000000 0 0x10000000>; /* prefetchable memory */
interrupt-map-mask = <0x1800 0 0 7>;
interrupt-map = <0x1800 0 0 1 &sic 28>,
<0x1800 0 0 2 &sic 29>,
<0x1800 0 0 3 &sic 30>,
<0x1800 0 0 4 &sic 27>,
<0x1000 0 0 1 &sic 27>,
<0x1000 0 0 2 &sic 28>,
<0x1000 0 0 3 &sic 29>,
<0x1000 0 0 4 &sic 30>,
<0x0800 0 0 1 &sic 30>,
<0x0800 0 0 2 &sic 27>,
<0x0800 0 0 3 &sic 28>,
<0x0800 0 0 4 &sic 29>,
<0x0000 0 0 1 &sic 29>,
<0x0000 0 0 2 &sic 30>,
<0x0000 0 0 3 &sic 27>,
<0x0000 0 0 4 &sic 28>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)