summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOleksij Rempel <o.rempel@pengutronix.de>2021-05-18 10:37:07 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2021-05-25 07:49:41 +0200
commit64ed9adbc24bc14586e904cadfea2d6bf11fcac2 (patch)
tree59af43f0cfc02c30999f36da8279f023e2411828
parentf873c7ff24973b7601415d53939f9375dcd1e418 (diff)
downloadbarebox-64ed9adbc24bc14586e904cadfea2d6bf11fcac2.tar.gz
barebox-64ed9adbc24bc14586e904cadfea2d6bf11fcac2.tar.xz
ARM: protonic: vicut1: disable on-die termination to fix PHY bootstrapping
If on-die termination is enabled, the RXC pin of iMX6 will be pulled high. Since we already have an 10K pull-down on board, the RXC level on PHY reset will be ~800mV, which is mostly interpreted as 1. On some reboots we get 0 instead and kernel can't detect the PHY properly. Since the default 0x020e07ac value is 0, it is sufficient to remove this entry from the affected imxcfg files. Since we get stable 0 on pin PHYADDR[2], the PHY address is changed from 4 to 0. Reported-by: Robin van der Gracht <robin@protonic.nl> Fixes: 00adc1e33ef8 ("ARM: add imx6 based Protonic boads") Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de> Link: https://lore.barebox.org/20210518083707.15428-1-o.rempel@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r--arch/arm/boards/protonic-imx6/flash-header-vicut1.imxcfg1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/arm/boards/protonic-imx6/flash-header-vicut1.imxcfg b/arch/arm/boards/protonic-imx6/flash-header-vicut1.imxcfg
index 9926fbf4a2..54f655c4c2 100644
--- a/arch/arm/boards/protonic-imx6/flash-header-vicut1.imxcfg
+++ b/arch/arm/boards/protonic-imx6/flash-header-vicut1.imxcfg
@@ -114,7 +114,6 @@ wm 32 0x020e001c 0x007f007f
/* RGMII config */
wm 32 0x020e0768 0x00080000 /* 1V2 DDR IO */
-wm 32 0x020e0788 0x00000200 /* 60 Ohm ODT */
/* Debug */
wm 32 0x020e023c 0x00000005