diff options
author | Marek BehĂșn <kabel@kernel.org> | 2022-09-13 19:10:28 +0300 |
---|---|---|
committer | Stefan Roese <sr@denx.de> | 2022-09-18 13:41:57 +0300 |
commit | 711b5fd23253bace6bef75630229aa71eeb0ffb9 (patch) | |
tree | 55574eda5edad3f9d70d73d218f21c836af0672c /board | |
parent | 4f2c559b9a2ad86e03dffeef720257ea680707d0 (diff) | |
download | u-boot-711b5fd23253bace6bef75630229aa71eeb0ffb9.tar.xz |
arm: mvebu: turris_omnia: Fix setting switch CONFIG pins on new board design
It seems that waiting only 10 ms after releasing LAN switch from reset
is not enough for the strapping pins to latch the requested values.
P6_MODE[0] is latched to 0 instead of 1.
Increasing the delay to 50 ms fixes this issue.
Signed-off-by: Marek BehĂșn <kabel@kernel.org>
Reviewed-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'board')
-rw-r--r-- | board/CZ.NIC/turris_omnia/turris_omnia.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/board/CZ.NIC/turris_omnia/turris_omnia.c b/board/CZ.NIC/turris_omnia/turris_omnia.c index a7f96e5b77..19c5043fcb 100644 --- a/board/CZ.NIC/turris_omnia/turris_omnia.c +++ b/board/CZ.NIC/turris_omnia/turris_omnia.c @@ -654,7 +654,7 @@ static void initialize_switch(void) ctrl[1] = EXT_CTL_nRES_LAN; err = omnia_mcu_write(CMD_EXT_CONTROL, ctrl, sizeof(ctrl)); - mdelay(10); + mdelay(50); /* Change RGMII pins back to RGMII mode */ |