2
0
forked from Ivasoft/openwrt

ar71xx: add ethernet initialization for the AR933X SoCs

SVN-Revision: 27063
This commit is contained in:
Gabor Juhos
2011-05-31 22:53:37 +00:00
parent e0a0f3796a
commit e8a0aaf9a2
2 changed files with 64 additions and 0 deletions

View File

@@ -669,6 +669,11 @@ void ar71xx_ddr_flush(u32 reg);
#define AR724X_RESET_USB_PHY BIT(4)
#define AR724X_RESET_USBSUS_OVERRIDE BIT(3)
#define AR933X_RESET_GE1_MDIO BIT(23)
#define AR933X_RESET_GE0_MDIO BIT(22)
#define AR933X_RESET_GE1_MAC BIT(13)
#define AR933X_RESET_GE0_MAC BIT(9)
#define REV_ID_MAJOR_MASK 0xfff0
#define REV_ID_MAJOR_AR71XX 0x00a0
#define REV_ID_MAJOR_AR913X 0x00b0