2
0
forked from Ivasoft/openwrt

ar71xx: fix MDIO access on ar7242 (based on a patch by Jess Zhu)

SVN-Revision: 26777
This commit is contained in:
Felix Fietkau
2011-04-28 19:30:49 +00:00
parent 2336d4b438
commit 36aecb08b8
2 changed files with 63 additions and 25 deletions

View File

@@ -166,6 +166,8 @@ extern enum ar71xx_soc_type ar71xx_soc;
#define AR724X_DDR_DIV_SHIFT 22
#define AR724X_DDR_DIV_MASK 0x3
#define AR7242_PLL_REG_ETH0_INT_CLOCK 0x2c
#define AR91XX_PLL_REG_CPU_CONFIG 0x00
#define AR91XX_PLL_REG_ETH_CONFIG 0x04
#define AR91XX_PLL_REG_ETH0_INT_CLOCK 0x14