apalis-tk1: fix pcie reset for reliable gigabit ethernet operation
authorMarcel Ziswiler <marcel.ziswiler@toradex.com>
Tue, 8 May 2018 15:34:11 +0000 (17:34 +0200)
committerTom Warren <twarren@nvidia.com>
Thu, 10 May 2018 23:34:21 +0000 (16:34 -0700)
commitf1333417e82c3275cb46fe230bcdabd5b5f95922
tree6650255fb331afe138dc83fd7afb352050ce100c
parentde42975141215e7d02e0ab696b3138959bf2042c
apalis-tk1: fix pcie reset for reliable gigabit ethernet operation

It turns out that the current PCIe reset implementation in the PCIe
board init function is not quite working reliably due to PCIe reset
timing violations. Fix this by overriding the
tegra_pcie_board_port_reset() function.

Also allow optionally bringing up the PCIe switch as found on the Apalis
Evaluation board. Note however that the Apalis PCIe port is also left
disabled in the device tree by default.

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: Tom Warren <twarren@nvidia.com>
board/toradex/apalis-tk1/Kconfig
board/toradex/apalis-tk1/apalis-tk1.c