PIC32MZ Ethernet: Add support for LAN8740A PHY
This commit is contained in:
parent
b1dcacebe7
commit
312ae5713e
@ -314,6 +314,9 @@ config ETH0_PHY_LAN8720
|
||||
config ETH0_PHY_LAN8740
|
||||
bool "SMSC LAN8740 PHY"
|
||||
|
||||
config ETH0_PHY_LAN8740A
|
||||
bool "SMSC LAN8740A PHY"
|
||||
|
||||
config ETH0_PHY_DM9161
|
||||
bool "Davicom DM9161 PHY"
|
||||
|
||||
|
@ -349,6 +349,11 @@
|
||||
#define MII_PHYID1_LAN8740 0x0007 /* ID1 value for LAN8740 */
|
||||
#define MII_PHYID2_LAN8740 0xc110 /* ID2 value for LAN8740 */
|
||||
|
||||
/* SMSC LAN8740A MII ID1/2 register bits */
|
||||
|
||||
#define MII_PHYID1_LAN8740A 0x0007 /* ID1 value for LAN8740A */
|
||||
#define MII_PHYID2_LAN8740A 0xc111 /* ID2 value for LAN8740A */
|
||||
|
||||
/* Am79c874-specific register bit settings **********************************/
|
||||
/* Am79c874 MII ID1/2 register bits */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user