TI AM65 PCI Host
Schema identifier ($id): "http://devicetree.org/schemas/pci/ti,am65-pci-host.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Kishon Vijay Abraham I <kishon@ti.com>"
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 #
Allowed values (enum): "ti,am654-pcie-rc", "ti,keystone-pcie"
reg — required here #
Minimum number of items (minItems): 4
Maximum number of items (maxItems): 6
reg-names — required here #
Minimum number of items (minItems): 4
Array item rules (items) #
Item 1
Exact value (
const):"app"
Item 2
Exact value (
const):"dbics"
Item 3
Exact value (
const):"config"
Item 4
Exact value (
const):"atu"
Item 5
Exact value (
const):"vmap_lp"
Item 6
Exact value (
const):"vmap_hp"
interrupts — not listed as required here #
Maximum number of items (maxItems): 1
power-domains — not listed as required here #
Maximum number of items (maxItems): 1
ti,syscon-pcie-id — required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle-array
Array item rules (items) #
Item 1
Array item rules (
items)Item 1
Phandle to the SYSCON entry
Item 2
pcie_device_id register offset within SYSCON
Phandle to the SYSCON entry required for getting PCIe device/vendor ID
ti,syscon-pcie-mode — required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle-array
Array item rules (items) #
Item 1
Array item rules (
items)Item 1
Phandle to the SYSCON entry
Item 2
pcie_ctrl register offset within SYSCON
Phandle to the SYSCON entry required for configuring PCIe in RC or EP mode.
msi-map — not listed as required here #
true — No constraints added by this property rule.
dma-coherent — not listed as required here #
true — No constraints added by this property rule.
num-viewport — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
phys — not listed as required here #
per-lane PHYs
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 2
phy-names — not listed as required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 2
Array item rules (items) #
String pattern (
pattern):"^pcie-phy[0-1]$"
memory-region — not listed as required here #
Maximum number of items (maxItems): 1
phandle to a restricted DMA pool to be used for all devices behind this controller. The regions should be defined according to reserved-memory/shared-dma-pool.yaml. Note that enforcement via the PVU will only be available to ti,am654-pcie-rc devices.
Required in this object (required): "compatible", "reg", "reg-names", "max-link-speed", "ti,syscon-pcie-id", "ti,syscon-pcie-mode", "ranges"
Condition (if) #
Properties and child nodes (
properties) #
compatible— not listed as required here #
When the condition matches (then) #
Required in this object (
required):"dma-coherent","power-domains","msi-map","num-viewport"
When the condition does not match (else) #
Properties and child nodes (
properties) #
reg— not listed as required here #Maximum number of items (
maxItems):4
reg-names— not listed as required here #Maximum number of items (
maxItems):4
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/phy/phy.h>
#include <dt-bindings/soc/ti,sci_pm_domain.h>
pcie0_rc: pcie@5500000 {
compatible = "ti,am654-pcie-rc";
reg = <0x5500000 0x1000>,
<0x5501000 0x1000>,
<0x10000000 0x2000>,
<0x5506000 0x1000>,
<0x2900000 0x1000>,
<0x2908000 0x1000>;
reg-names = "app", "dbics", "config", "atu", "vmap_lp", "vmap_hp";
power-domains = <&k3_pds 120 TI_SCI_PD_EXCLUSIVE>;
#address-cells = <3>;
#size-cells = <2>;
ranges = <0x81000000 0 0 0x10020000 0 0x00010000>,
<0x82000000 0 0x10030000 0x10030000 0 0x07FD0000>;
ti,syscon-pcie-id = <&scm_conf 0x0210>;
ti,syscon-pcie-mode = <&scm_conf 0x4060>;
bus-range = <0x0 0xff>;
num-viewport = <16>;
max-link-speed = <2>;
dma-coherent;
interrupts = <GIC_SPI 340 IRQ_TYPE_EDGE_RISING>;
msi-map = <0x0 &gic_its 0x0 0x10000>;
device_type = "pci";
num-lanes = <1>;
phys = <&serdes0 PHY_TYPE_PCIE 0>;
phy-names = "pcie-phy0";
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Line 2: Copyright (C) 2021 Texas Instruments Incorporated - http://www.ti.com/