Commit 94716cdd authored by Jay Agarwal's avatar Jay Agarwal Committed by Stephen Warren

PCI: tegra: Add Tegra 30 PCIe support

Introduce a data structure to parameterize the driver according to SoC
generation, add Tegra30 specific code and update the device tree binding
document for Tegra30 support.
Signed-off-by: default avatarJay Agarwal <jagarwal@nvidia.com>
Signed-off-by: default avatarThierry Reding <treding@nvidia.com>
Acked-by: default avatarBjorn Helgaas <bhelgaas@google.com>
Signed-off-by: default avatarStephen Warren <swarren@nvidia.com>
parent d1523b52
NVIDIA Tegra PCIe controller NVIDIA Tegra PCIe controller
Required properties: Required properties:
- compatible: "nvidia,tegra20-pcie" - compatible: "nvidia,tegra20-pcie" or "nvidia,tegra30-pcie"
- device_type: Must be "pci" - device_type: Must be "pci"
- reg: A list of physical base address and length for each set of controller - reg: A list of physical base address and length for each set of controller
registers. Must contain an entry for each entry in the reg-names property. registers. Must contain an entry for each entry in the reg-names property.
...@@ -16,6 +16,7 @@ Required properties: ...@@ -16,6 +16,7 @@ Required properties:
"msi": The Tegra interrupt that is asserted when an MSI is received "msi": The Tegra interrupt that is asserted when an MSI is received
- pex-clk-supply: Supply voltage for internal reference clock - pex-clk-supply: Supply voltage for internal reference clock
- vdd-supply: Power supply for controller (1.05V) - vdd-supply: Power supply for controller (1.05V)
- avdd-supply: Power supply for controller (1.05V) (not required for Tegra20)
- bus-range: Range of bus numbers associated with this controller - bus-range: Range of bus numbers associated with this controller
- #address-cells: Address representation for root ports (must be 3) - #address-cells: Address representation for root ports (must be 3)
- cell 0 specifies the bus and device numbers of the root port: - cell 0 specifies the bus and device numbers of the root port:
...@@ -48,6 +49,7 @@ Required properties: ...@@ -48,6 +49,7 @@ Required properties:
"afi": The Tegra clock of that name "afi": The Tegra clock of that name
"pcie_xclk": The Tegra clock of that name "pcie_xclk": The Tegra clock of that name
"pll_e": The Tegra clock of that name "pll_e": The Tegra clock of that name
"cml": The Tegra clock of that name (not required for Tegra20)
Root ports are defined as subnodes of the PCIe controller node. Root ports are defined as subnodes of the PCIe controller node.
......
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment