diff options
author | Wills Wang <wills.wang@live.com> | 2016-05-22 11:59:50 +0800 |
---|---|---|
committer | Daniel Schwierzeck <daniel.schwierzeck@gmail.com> | 2016-05-26 01:34:14 +0200 |
commit | 42a3f3e6ebbac4d93892d2b870502743d7308988 (patch) | |
tree | 8281d7f9e766b1608d962cfec02e84da8f0ca0de /arch/mips/mach-ath79/include | |
parent | 1ad3a6fb5b9eb8444281c3975de6c6b7e1549c53 (diff) | |
download | u-boot-42a3f3e6ebbac4d93892d2b870502743d7308988.tar.gz |
mips: ath79: ar933x: Fix ethernet PHY mismatch
We need reset the Ethernet Switch analog part before operation,
or the build-in Ethernet PHY don't work.
Signed-off-by: Wills Wang <wills.wang@live.com>
Acked-by: Marek Vasut <marex@denx.de>
Diffstat (limited to 'arch/mips/mach-ath79/include')
-rw-r--r-- | arch/mips/mach-ath79/include/mach/ar71xx_regs.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/mips/mach-ath79/include/mach/ar71xx_regs.h b/arch/mips/mach-ath79/include/mach/ar71xx_regs.h index a8e51cb4cf..dabcad0d22 100644 --- a/arch/mips/mach-ath79/include/mach/ar71xx_regs.h +++ b/arch/mips/mach-ath79/include/mach/ar71xx_regs.h @@ -660,6 +660,7 @@ #define AR933X_RESET_GE1_MDIO BIT(23) #define AR933X_RESET_GE0_MDIO BIT(22) +#define AR933X_RESET_ETH_SWITCH_ANALOG BIT(14) #define AR933X_RESET_GE1_MAC BIT(13) #define AR933X_RESET_WMAC BIT(11) #define AR933X_RESET_GE0_MAC BIT(9) |