Freescale Layerscape PCIe Endpoint(EP) controller
Schema identifier ($id): "http://devicetree.org/schemas/pci/fsl,layerscape-pcie-ep.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Frank Li <Frank.Li@nxp.com>"
This PCIe EP controller is based on the Synopsys DesignWare PCIe IP. This controller derives its clocks from the Reset Configuration Word (RCW) which is used to describe the PLL settings at the time of chip-reset. Also as per the available Reference Manuals, there is no specific 'version' register available in the Freescale PCIe controller register set, which can allow determining the underlying DesignWare PCIe controller version information.
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "fsl,ls2088a-pcie-ep", "fsl,ls1088a-pcie-ep", "fsl,ls1046a-pcie-ep", "fsl,ls1028a-pcie-ep", "fsl,lx2160ar2-pcie-ep"
reg — required here #
Maximum number of items (maxItems): 2
reg-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"regs"
Item 2
Exact value (
const):"addr_space"
fsl,pcie-scfg — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
A phandle to the SCFG device node. The second entry is the physical PCIe controller index starting from '0'. This is used to get SCFG PEXN registers.
big-endian — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/flag
If the PEX_LUT and PF register block is in big-endian, specify this property.
dma-coherent — not listed as required here #
true — No constraints added by this property rule.
interrupts — not listed as required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 2
interrupt-names — not listed as required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 2
Required in this object (required): "compatible", "reg", "reg-names"
All of these rules must match (allOf) #
Rule 1 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereAllowed values (
enum):"fsl,ls1028a-pcie-ep","fsl,ls1046a-pcie-ep","fsl,ls1088a-pcie-ep"When the condition matches (
then) #Properties and child nodes (
properties)
interrupt-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"pme"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/interrupt-controller/arm-gic.h>
soc {
#address-cells = <2>;
#size-cells = <2>;
pcie_ep1: pcie-ep@3400000 {
compatible = "fsl,ls1028a-pcie-ep";
reg = <0x00 0x03400000 0x0 0x00100000
0x80 0x00000000 0x8 0x00000000>;
reg-names = "regs", "addr_space";
interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>; /* PME interrupt */
interrupt-names = "pme";
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)