summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/tegra124-platforms/tegra124-apalis-gpio.dtsi
diff options
context:
space:
mode:
authorMarcel Ziswiler <marcel.ziswiler@toradex.com>2017-08-10 15:28:40 +0200
committerMarcel Ziswiler <marcel.ziswiler@toradex.com>2017-09-20 17:45:12 +0200
commit7ad9771527d2b1c884beb22d9df28bae899f8d3d (patch)
tree6f35ab125527b2d21ab2bee26012060e58f435d8 /arch/arm/boot/dts/tegra124-platforms/tegra124-apalis-gpio.dtsi
parent9efd8683fc4b4d626e3116fc62ba2417a0fc5a94 (diff)
apalis-tk1: fix pcie reset for reliable gigabit ethernet operation
It turns out that the current PCIe reset implementation is not quite working reliably due to some Intel i210 errata. Fix this by making sure the i210's +V3.3_ETH rail is properly disabled during its reset sequence. Also further improve on the bringing up the PCIe switch as found on the Apalis Evaluation board. Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> Acked-by: Dominik Sliwa <dominik.sliwa@toradex.com>
Diffstat (limited to 'arch/arm/boot/dts/tegra124-platforms/tegra124-apalis-gpio.dtsi')
-rw-r--r--arch/arm/boot/dts/tegra124-platforms/tegra124-apalis-gpio.dtsi9
1 files changed, 4 insertions, 5 deletions
diff --git a/arch/arm/boot/dts/tegra124-platforms/tegra124-apalis-gpio.dtsi b/arch/arm/boot/dts/tegra124-platforms/tegra124-apalis-gpio.dtsi
index 100e3449c9b0..3dc15c51114b 100644
--- a/arch/arm/boot/dts/tegra124-platforms/tegra124-apalis-gpio.dtsi
+++ b/arch/arm/boot/dts/tegra124-platforms/tegra124-apalis-gpio.dtsi
@@ -36,6 +36,8 @@
>;
gpio-output-low = <
TEGRA_GPIO(C, 0)
+ TEGRA_GPIO(O, 5) /* LAN_WAKE_N */
+ TEGRA_GPIO(O, 6) /* LAN_DEV_OFF_N */
TEGRA_GPIO(Q, 0) /* Shift_CTRL_OE[0] */
TEGRA_GPIO(Q, 1) /* Shift_CTRL_OE[1] */
TEGRA_GPIO(Q, 2) /* Shift_CTRL_OE[2] */
@@ -43,7 +45,9 @@
TEGRA_GPIO(R, 0) /* Shift_CTRL_Dir_In[0] */
TEGRA_GPIO(R, 1) /* Shift_CTRL_Dir_In[1] */
TEGRA_GPIO(R, 2) /* Shift_CTRL_OE[3] */
+ TEGRA_GPIO(S, 2) /* LAN_RESET_N */
TEGRA_GPIO(S, 3) /* Shift_CTRL_Dir_In[2] */
+ TEGRA_GPIO(U, 4) /* RESET_MOCI_CTRL */
TEGRA_GPIO(BB, 3)
TEGRA_GPIO(BB, 6)
>;
@@ -51,14 +55,9 @@
TEGRA_GPIO(N, 2)
TEGRA_GPIO(N, 4)
TEGRA_GPIO(N, 5)
-#if 0
- TEGRA_GPIO(O, 6) /* LAN_DEV_OFF# */
-#endif
TEGRA_GPIO(Q, 5) /* Shift_CTRL_Dir_Out[0] */
TEGRA_GPIO(Q, 6) /* Shift_CTRL_Dir_Out[1] */
TEGRA_GPIO(Q, 7) /* Shift_CTRL_Dir_Out[2] */
- TEGRA_GPIO(S, 2) /* LAN_RESET# */
- TEGRA_GPIO(U, 4)
TEGRA_GPIO(BB, 5)
>;
};