diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2011-11-12 12:09:59 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2011-11-12 12:09:59 +0000 |
commit | aff0c84ffa792021147df3ba67dcf3eebed368bd (patch) | |
tree | 3985f7cf89caaace9c74d83757766c048d5b0c65 /target/linux/ar71xx/files/arch/mips | |
parent | b144249108a73211c35d249db034e3f1adf04a4c (diff) | |
download | master-31e0f0ae-aff0c84ffa792021147df3ba67dcf3eebed368bd.tar.gz master-31e0f0ae-aff0c84ffa792021147df3ba67dcf3eebed368bd.tar.bz2 master-31e0f0ae-aff0c84ffa792021147df3ba67dcf3eebed368bd.zip |
ar71xx: register both MDIO bus on the DB120 board
SVN-Revision: 28986
Diffstat (limited to 'target/linux/ar71xx/files/arch/mips')
-rw-r--r-- | target/linux/ar71xx/files/arch/mips/ar71xx/mach-db120.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/target/linux/ar71xx/files/arch/mips/ar71xx/mach-db120.c b/target/linux/ar71xx/files/arch/mips/ar71xx/mach-db120.c index 815efb6260..b176fc027e 100644 --- a/target/linux/ar71xx/files/arch/mips/ar71xx/mach-db120.c +++ b/target/linux/ar71xx/files/arch/mips/ar71xx/mach-db120.c @@ -127,6 +127,9 @@ static void __init db120_setup(void) ARRAY_SIZE(db120_gpio_keys), db120_gpio_keys); + ar71xx_add_device_mdio(0, 0x0); + ar71xx_add_device_mdio(1, 0x0); + /* GMAC0 is connected to an AR8327 switch */ ar71xx_init_mac(ar71xx_eth0_data.mac_addr, art + DB120_MAC0_OFFSET, 0); ar71xx_eth0_data.phy_if_mode = PHY_INTERFACE_MODE_RGMII; |