diff options
author | Igor Opaniuk <igor.opaniuk@toradex.com> | 2020-09-07 17:49:32 +0300 |
---|---|---|
committer | Igor Opaniuk <igor.opaniuk@toradex.com> | 2020-09-07 17:53:06 +0300 |
commit | 56d84b94ec4ba6fee6cff61301272678d0f86218 (patch) | |
tree | 8cf3cee3e9c7dd17f346f4af4576b89c73e2ceb8 | |
parent | 363ee8c7c314732c98cd1c0f2aba22cc6e0eb4e1 (diff) |
apalis-imx8x: provide proper phy address
Provide proper value for FEC_MXC_PHYADDR, which fixes broken FEC1.
Now ethernet is functional:
Net: eth0: ethernet@5b040000 [PRIME]
....
Apalis iMX8X # dhcp
BOOTP broadcast 1
BOOTP broadcast 2
DHCP client bound to address 192.168.88.254 (578 ms)
Using ethernet@5b040000 device
TFTP from server 192.168.88.2; our IP address is 192.168.88.254
Filename 'zImage'.
Load address: 0x80280000
Loading: ################################################## 9 MiB
6.5 MiB/s
done
Bytes transferred = 9400832 (8f7200 hex)
Relates-to: ELB-2948
Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
-rw-r--r-- | include/configs/apalis-imx8x.h | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/include/configs/apalis-imx8x.h b/include/configs/apalis-imx8x.h index c9f77e70d0..58653afb46 100644 --- a/include/configs/apalis-imx8x.h +++ b/include/configs/apalis-imx8x.h @@ -170,15 +170,9 @@ /* Networking */ #define CONFIG_FEC_ENET_DEV 0 -#if (CONFIG_FEC_ENET_DEV == 0) #define IMX_FEC_BASE 0x5B040000 -#define CONFIG_FEC_MXC_PHYADDR 0x0 +#define CONFIG_FEC_MXC_PHYADDR 0x4 #define CONFIG_ETHPRIME "eth0" -#elif (CONFIG_FEC_ENET_DEV == 1) -#define IMX_FEC_BASE 0x5B050000 -#define CONFIG_FEC_MXC_PHYADDR 0x1 -#define CONFIG_ETHPRIME "eth1" -#endif #define CONFIG_FEC_XCV_TYPE RGMII #define FEC_QUIRK_ENET_MAC |