From d00412f4f0c133937efb86cd05315fc6d9b86170 Mon Sep 17 00:00:00 2001 From: Marcel Ziswiler Date: Wed, 11 May 2016 15:50:05 +0200 Subject: apalis_tk1: fix gigabit ethernet initialisation Make sure the Intel i210 gigabit Ethernet controller gets properly enabled by disabling DEV_OFF_N in the initialisation sequence. Signed-off-by: Marcel Ziswiler Acked-by: Max Krummenacher --- board/toradex/apalis_tk1/apalis_tk1.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/board/toradex/apalis_tk1/apalis_tk1.c b/board/toradex/apalis_tk1/apalis_tk1.c index 61b908a6da..c9e9b27964 100644 --- a/board/toradex/apalis_tk1/apalis_tk1.c +++ b/board/toradex/apalis_tk1/apalis_tk1.c @@ -131,6 +131,9 @@ int tegra_pcie_board_init(void) mdelay(100); + /* Make sure controller gets enabled by disabling DEV_OFF_N */ + gpio_set_value(GPIO_PO6, 1); + /* Enable LDO9 and LDO10 for +V3.3_ETH on patched prototypes */ err = as3722_ldo_set_voltage(pmic, 9, 0xff); if (err < 0) { -- cgit v1.2.3