summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMarcel Ziswiler <marcel.ziswiler@toradex.com>2016-09-22 14:19:55 +0200
committerMax Krummenacher <max.krummenacher@toradex.com>2016-09-29 18:58:10 +0200
commit8a496ecceccca66a15b3b6f57260a2b752543f81 (patch)
tree2ba374dc4c9fdca937fcb33ccb3992ef82170c60 /include
parent8a3b92a16eeffab5a17ba4e84ae556d9252397af (diff)
apalis-tk1: add optional pcie evalboard initialisation
Implement optional PCIe EvalBoard initialisation which properly reset the PLX (now Avago) PEX 8605 PCIe switch plus PCIe devices on the Apalis Evaluation carrier board. Please note that you will have to enable the second PCIe port in the dts as well e.g.: diff --git a/arch/arm/dts/tegra124-apalis.dts b/arch/arm/dts/tegra124-apalis.dts index 595aae8..841c676 100644 --- a/arch/arm/dts/tegra124-apalis.dts +++ b/arch/arm/dts/tegra124-apalis.dts @@ -42,6 +42,10 @@ vddio-pex-ctl-supply = <&reg_3v3>; avdd-pll-erefe-supply = <&avdd_1v05>; + pci@1,0 { + status = "okay"; + }; + /* I210 Gigabit Ethernet Controller (on-module) */ pci@2,0 { status = "okay"; While at it also get rid of the DECLARE_GLOBAL_DATA_PTR which is probably a remnant of the Apalis T30 board file where we use it to get the memory size. Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
Diffstat (limited to 'include')
-rw-r--r--include/configs/apalis-tk1.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/configs/apalis-tk1.h b/include/configs/apalis-tk1.h
index 3aaf4ceb8d..d258387cc3 100644
--- a/include/configs/apalis-tk1.h
+++ b/include/configs/apalis-tk1.h
@@ -69,6 +69,7 @@
#define CONFIG_PCI_PNP
#define CONFIG_CMD_PCI
#define CONFIG_CMD_PCI_ENUM
+#undef APALIS_TK1_PCIE_EVALBOARD_INIT
/* PCI networking support */
#define CONFIG_E1000