mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-24 01:24:30 +07:00
3efa7f1feb
- Fix Tegra OF node reference leak (Nishka Dasgupta) - Add #defines for PCIe Data Link Feature and Physical Layer 16.0 GT/s features (Vidya Sagar) - Disable MSI for Tegra Root Ports since they don't support using MSI for all Root Port events (Vidya Sagar) - Group DesignWare write-protected register writes together (Vidya Sagar) - Move DesignWare capability search interfaces so they can be used by both host and endpoint drivers (Vidya Sagar) - Add DesignWare extended capability search interfaces (Vidya Sagar) - Export dw_pcie_wait_for_link() so drivers can be modules (Vidya Sagar) - Add "snps,enable-cdm-check" DT binding for Configuration Dependent Module (CDM) register checking (Vidya Sagar) - Add DesignWare support for "snps,enable-cdm-check" CDM checking (Vidya Sagar) - Add "supports-clkreq" DT binding for host drivers to decide whether to advertise low power features (Vidya Sagar) - Add DT binding for Tegra194 (Vidya Sagar) - Add DT binding for Tegra194 P2U (PIPE to UPHY) block (Vidya Sagar) - Add support for Tegra194 P2U (PIPE to UPHY) (Vidya Sagar) - Add support for Tegra194 host controller (Vidya Sagar) - Add Tegra support for sideband PERST# and CLKREQ# for C5 (Vidya Sagar) - Add Tegra support for slot regulators for p2972-0000 platform (Vidya Sagar) * lorenzo/pci/tegra: arm64: tegra: Add PCIe slot supply information in p2972-0000 platform arm64: tegra: Add configuration for PCIe C5 sideband signals PCI: tegra: Add support to enable slot regulators PCI: tegra: Add support to configure sideband pins dt-bindings: PCI: tegra: Add PCIe slot supplies regulator entries dt-bindings: PCI: tegra: Add sideband pins configuration entries PCI: tegra: Add Tegra194 PCIe support phy: tegra: Add PCIe PIPE2UPHY support dt-bindings: PHY: P2U: Add Tegra194 P2U block dt-bindings: PCI: tegra: Add device tree support for Tegra194 dt-bindings: Add PCIe supports-clkreq property PCI: dwc: Add support to enable CDM register check dt-bindings: PCI: designware: Add binding for CDM register check PCI: dwc: Export dw_pcie_wait_for_link() API PCI: dwc: Add extended configuration space capability search API PCI: dwc: Move config space capability search API PCI: dwc: Group DBI registers writes requiring unlocking PCI: Disable MSI for Tegra root ports PCI: Add #defines for some of PCIe spec r4.0 features PCI: tegra: Fix OF node reference leak
78 lines
2.8 KiB
Plaintext
78 lines
2.8 KiB
Plaintext
* Synopsys DesignWare PCIe interface
|
|
|
|
Required properties:
|
|
- compatible:
|
|
"snps,dw-pcie" for RC mode;
|
|
"snps,dw-pcie-ep" for EP mode;
|
|
- reg: For designware cores version < 4.80 contains the configuration
|
|
address space. For designware core version >= 4.80, contains
|
|
the configuration and ATU address space
|
|
- reg-names: Must be "config" for the PCIe configuration space and "atu" for
|
|
the ATU address space.
|
|
(The old way of getting the configuration address space from "ranges"
|
|
is deprecated and should be avoided.)
|
|
RC mode:
|
|
- #address-cells: set to <3>
|
|
- #size-cells: set to <2>
|
|
- device_type: set to "pci"
|
|
- ranges: ranges for the PCI memory and I/O regions
|
|
- #interrupt-cells: set to <1>
|
|
- interrupt-map-mask and interrupt-map: standard PCI
|
|
properties to define the mapping of the PCIe interface to interrupt
|
|
numbers.
|
|
EP mode:
|
|
- num-ib-windows: number of inbound address translation windows
|
|
- num-ob-windows: number of outbound address translation windows
|
|
|
|
Optional properties:
|
|
- num-lanes: number of lanes to use (this property should be specified unless
|
|
the link is brought already up in BIOS)
|
|
- reset-gpio: GPIO pin number of power good signal
|
|
- clocks: Must contain an entry for each entry in clock-names.
|
|
See ../clocks/clock-bindings.txt for details.
|
|
- clock-names: Must include the following entries:
|
|
- "pcie"
|
|
- "pcie_bus"
|
|
- snps,enable-cdm-check: This is a boolean property and if present enables
|
|
automatic checking of CDM (Configuration Dependent Module) registers
|
|
for data corruption. CDM registers include standard PCIe configuration
|
|
space registers, Port Logic registers, DMA and iATU (internal Address
|
|
Translation Unit) registers.
|
|
RC mode:
|
|
- num-viewport: number of view ports configured in hardware. If a platform
|
|
does not specify it, the driver assumes 2.
|
|
- bus-range: PCI bus numbers covered (it is recommended for new devicetrees
|
|
to specify this property, to keep backwards compatibility a range of
|
|
0x00-0xff is assumed if not present)
|
|
|
|
EP mode:
|
|
- max-functions: maximum number of functions that can be configured
|
|
|
|
Example configuration:
|
|
|
|
pcie: pcie@dfc00000 {
|
|
compatible = "snps,dw-pcie";
|
|
reg = <0xdfc00000 0x0001000>, /* IP registers */
|
|
<0xd0000000 0x0002000>; /* Configuration space */
|
|
reg-names = "dbi", "config";
|
|
#address-cells = <3>;
|
|
#size-cells = <2>;
|
|
device_type = "pci";
|
|
ranges = <0x81000000 0 0x00000000 0xde000000 0 0x00010000
|
|
0x82000000 0 0xd0400000 0xd0400000 0 0x0d000000>;
|
|
interrupts = <25>, <24>;
|
|
#interrupt-cells = <1>;
|
|
num-lanes = <1>;
|
|
};
|
|
or
|
|
pcie: pcie@dfc00000 {
|
|
compatible = "snps,dw-pcie-ep";
|
|
reg = <0xdfc00000 0x0001000>, /* IP registers 1 */
|
|
<0xdfc01000 0x0001000>, /* IP registers 2 */
|
|
<0xd0000000 0x2000000>; /* Configuration space */
|
|
reg-names = "dbi", "dbi2", "addr_space";
|
|
num-ib-windows = <6>;
|
|
num-ob-windows = <2>;
|
|
num-lanes = <1>;
|
|
};
|