103 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)2%YAML 1.23---4$id: http://devicetree.org/schemas/pci/fsl,layerscape-pcie-ep.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Freescale Layerscape PCIe Endpoint(EP) controller8 9maintainers:10 - Frank Li <Frank.Li@nxp.com>11 12description:13 This PCIe EP controller is based on the Synopsys DesignWare PCIe IP.14 15 This controller derives its clocks from the Reset Configuration Word (RCW)16 which is used to describe the PLL settings at the time of chip-reset.17 18 Also as per the available Reference Manuals, there is no specific 'version'19 register available in the Freescale PCIe controller register set,20 which can allow determining the underlying DesignWare PCIe controller version21 information.22 23properties:24 compatible:25 enum:26 - fsl,ls2088a-pcie-ep27 - fsl,ls1088a-pcie-ep28 - fsl,ls1046a-pcie-ep29 - fsl,ls1028a-pcie-ep30 - fsl,lx2160ar2-pcie-ep31 32 reg:33 maxItems: 234 35 reg-names:36 items:37 - const: regs38 - const: addr_space39 40 fsl,pcie-scfg:41 $ref: /schemas/types.yaml#/definitions/phandle42 description: A phandle to the SCFG device node. The second entry is the43 physical PCIe controller index starting from '0'. This is used to get44 SCFG PEXN registers.45 46 big-endian:47 $ref: /schemas/types.yaml#/definitions/flag48 description: If the PEX_LUT and PF register block is in big-endian, specify49 this property.50 51 dma-coherent: true52 53 interrupts:54 minItems: 155 maxItems: 256 57 interrupt-names:58 minItems: 159 maxItems: 260 61required:62 - compatible63 - reg64 - reg-names65 66allOf:67 - if:68 properties:69 compatible:70 enum:71 - fsl,ls1028a-pcie-ep72 - fsl,ls1046a-pcie-ep73 - fsl,ls1088a-pcie-ep74 then:75 properties:76 interrupt-names:77 items:78 - const: pme79 80unevaluatedProperties: false81 82examples:83 - |84 #include <dt-bindings/interrupt-controller/arm-gic.h>85 86 soc {87 #address-cells = <2>;88 #size-cells = <2>;89 90 pcie_ep1: pcie-ep@3400000 {91 compatible = "fsl,ls1028a-pcie-ep";92 reg = <0x00 0x03400000 0x0 0x0010000093 0x80 0x00000000 0x8 0x00000000>;94 reg-names = "regs", "addr_space";95 interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>; /* PME interrupt */96 interrupt-names = "pme";97 num-ib-windows = <6>;98 num-ob-windows = <8>;99 status = "disabled";100 };101 };102...103