[ARM] 4980/1: [AT91] emQbit ECB_AT91 board support

Support for the emQbit ECB_AT91 board.
  <http://wiki.emqbit.com/free-ecb-at91>

Original patch from Nelson Castillo.

Signed-off-by: Andrew Victor <[email protected]>
Signed-off-by: Russell King <[email protected]>
This commit is contained in:
Andrew Victor 2008-04-15 21:10:11 +01:00 • committed by Russell King
commit 2f036ac63e
5 changed files with 1505 additions and 2 deletions

View file

@ -1043,7 +1043,9 @@ static int __init at91ether_setup(unsigned long phy_type, unsigned short phy_add
} else if (machine_is_csb337()) {
/* mix link activity status into LED2 link state */
write_phy(phy_address, MII_LEDCTRL_REG, 0x0d22);
}
} else if (machine_is_ecbat91())
write_phy(phy_address, MII_LEDCTRL_REG, 0x156A);
disable_mdi();
spin_unlock_irq(&lp->lock);