aboutsummaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorTim Harvey <tharvey@gateworks.com>2021-09-29 15:04:18 -0700
committerStefano Babic <sbabic@denx.de>2021-10-07 16:53:50 +0200
commit54347344ce47005848333f953f401cd0c6f691f3 (patch)
tree98185287f62cc986168cee9cb2013f53eb14219b /board
parent4ecaeb6c0ffc6fd2c7577eafd3efc176b9364818 (diff)
downloadu-boot-54347344ce47005848333f953f401cd0c6f691f3.zip
u-boot-54347344ce47005848333f953f401cd0c6f691f3.tar.gz
u-boot-54347344ce47005848333f953f401cd0c6f691f3.tar.bz2
imx: ventana: remove phy gpio reset from dt
We configure network phy configuration for internal delay, LED config, and clock config. If we leave the phy reset gpio defined in dt the kernel may issue a reset to the phy and break these configs. While some may be handled by a kernel phy driver, others may not (typically LED config). Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Diffstat (limited to 'board')
-rw-r--r--board/gateworks/gw_ventana/gw_ventana.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/board/gateworks/gw_ventana/gw_ventana.c b/board/gateworks/gw_ventana/gw_ventana.c
index 7962982..1646806 100644
--- a/board/gateworks/gw_ventana/gw_ventana.c
+++ b/board/gateworks/gw_ventana/gw_ventana.c
@@ -1048,6 +1048,14 @@ int ft_board_setup(void *blob, struct bd_info *bd)
#endif
/*
+ * remove reset gpio control as we configure the PHY registers
+ * for internal delay, LED config, and clock config in the bootloader
+ */
+ i = fdt_node_offset_by_compatible(blob, -1, "fsl,imx6q-fec");
+ if (i)
+ fdt_delprop(blob, i, "phy-reset-gpios");
+
+ /*
* Peripheral Config:
* remove nodes by alias path if EEPROM config tells us the
* peripheral is not loaded on the board.