TI AM65 PCI Endpoint
Schema identifier ($id): "http://devicetree.org/schemas/pci/ti,am65-pci-ep.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):pci-ep.yaml#
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "ti,am654-pcie-ep"
reg — required here #
Maximum number of items (maxItems): 4
reg-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"app"
Item 2
Exact value (
const):"dbics"
Item 3
Exact value (
const):"addr_space"
Item 4
Exact value (
const):"atu"
power-domains — required here #
Maximum number of items (maxItems): 1
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.
interrupts — not listed as required here #
Minimum number of items (minItems): 1
dma-coherent — required here #
true — No constraints added by this property rule.
Required in this object (required): "compatible", "reg", "reg-names", "max-link-speed", "power-domains", "ti,syscon-pcie-mode", "dma-coherent"
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/soc/ti,sci_pm_domain.h>
pcie0_ep: pcie-ep@5500000 {
compatible = "ti,am654-pcie-ep";
reg = <0x5500000 0x1000>,
<0x5501000 0x1000>,
<0x10000000 0x8000000>,
<0x5506000 0x1000>;
reg-names = "app", "dbics", "addr_space", "atu";
power-domains = <&k3_pds 120 TI_SCI_PD_EXCLUSIVE>;
ti,syscon-pcie-mode = <&scm_conf 0x4060>;
max-link-speed = <2>;
dma-coherent;
interrupts = <GIC_SPI 340 IRQ_TYPE_EDGE_RISING>;
};
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/