提交 54347344 编写于 作者: T Tim Harvey 提交者: Stefano Babic

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: NTim Harvey <tharvey@gateworks.com>
上级 4ecaeb6c
......@@ -1047,6 +1047,14 @@ int ft_board_setup(void *blob, struct bd_info *bd)
ft_board_pci_fixup(blob, 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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册