162306a36Sopenharmony_ciNXP Layerscape PCIe Gen4 controller
262306a36Sopenharmony_ci
362306a36Sopenharmony_ciThis PCIe controller is based on the Mobiveil PCIe IP and thus inherits all
462306a36Sopenharmony_cithe common properties defined in mobiveil-pcie.txt.
562306a36Sopenharmony_ci
662306a36Sopenharmony_ciRequired properties:
762306a36Sopenharmony_ci- compatible: should contain the platform identifier such as:
862306a36Sopenharmony_ci  "fsl,lx2160a-pcie"
962306a36Sopenharmony_ci- reg: base addresses and lengths of the PCIe controller register blocks.
1062306a36Sopenharmony_ci  "csr_axi_slave": Bridge config registers
1162306a36Sopenharmony_ci  "config_axi_slave": PCIe controller registers
1262306a36Sopenharmony_ci- interrupts: A list of interrupt outputs of the controller. Must contain an
1362306a36Sopenharmony_ci  entry for each entry in the interrupt-names property.
1462306a36Sopenharmony_ci- interrupt-names: It could include the following entries:
1562306a36Sopenharmony_ci  "intr": The interrupt that is asserted for controller interrupts
1662306a36Sopenharmony_ci  "aer": Asserted for aer interrupt when chip support the aer interrupt with
1762306a36Sopenharmony_ci	 none MSI/MSI-X/INTx mode,but there is interrupt line for aer.
1862306a36Sopenharmony_ci  "pme": Asserted for pme interrupt when chip support the pme interrupt with
1962306a36Sopenharmony_ci	 none MSI/MSI-X/INTx mode,but there is interrupt line for pme.
2062306a36Sopenharmony_ci- dma-coherent: Indicates that the hardware IP block can ensure the coherency
2162306a36Sopenharmony_ci  of the data transferred from/to the IP block. This can avoid the software
2262306a36Sopenharmony_ci  cache flush/invalid actions, and improve the performance significantly.
2362306a36Sopenharmony_ci- msi-parent : See the generic MSI binding described in
2462306a36Sopenharmony_ci  Documentation/devicetree/bindings/interrupt-controller/msi.txt.
2562306a36Sopenharmony_ci
2662306a36Sopenharmony_ciExample:
2762306a36Sopenharmony_ci
2862306a36Sopenharmony_ci	pcie@3400000 {
2962306a36Sopenharmony_ci		compatible = "fsl,lx2160a-pcie";
3062306a36Sopenharmony_ci		reg = <0x00 0x03400000 0x0 0x00100000   /* controller registers */
3162306a36Sopenharmony_ci		       0x80 0x00000000 0x0 0x00001000>; /* configuration space */
3262306a36Sopenharmony_ci		reg-names = "csr_axi_slave", "config_axi_slave";
3362306a36Sopenharmony_ci		interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>, /* AER interrupt */
3462306a36Sopenharmony_ci			     <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>, /* PME interrupt */
3562306a36Sopenharmony_ci			     <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>; /* controller interrupt */
3662306a36Sopenharmony_ci		interrupt-names = "aer", "pme", "intr";
3762306a36Sopenharmony_ci		#address-cells = <3>;
3862306a36Sopenharmony_ci		#size-cells = <2>;
3962306a36Sopenharmony_ci		device_type = "pci";
4062306a36Sopenharmony_ci		apio-wins = <8>;
4162306a36Sopenharmony_ci		ppio-wins = <8>;
4262306a36Sopenharmony_ci		dma-coherent;
4362306a36Sopenharmony_ci		bus-range = <0x0 0xff>;
4462306a36Sopenharmony_ci		msi-parent = <&its>;
4562306a36Sopenharmony_ci		ranges = <0x82000000 0x0 0x40000000 0x80 0x40000000 0x0 0x40000000>;
4662306a36Sopenharmony_ci		#interrupt-cells = <1>;
4762306a36Sopenharmony_ci		interrupt-map-mask = <0 0 0 7>;
4862306a36Sopenharmony_ci		interrupt-map = <0000 0 0 1 &gic 0 0 GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>,
4962306a36Sopenharmony_ci				<0000 0 0 2 &gic 0 0 GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>,
5062306a36Sopenharmony_ci				<0000 0 0 3 &gic 0 0 GIC_SPI 111 IRQ_TYPE_LEVEL_HIGH>,
5162306a36Sopenharmony_ci				<0000 0 0 4 &gic 0 0 GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>;
5262306a36Sopenharmony_ci	};
53