diff options
author | Sascha Hauer | 2014-10-10 09:48:05 +0200 |
---|---|---|
committer | David S. Miller | 2014-10-10 15:35:13 -0400 |
commit | 1fadee0c364572f2b2e098b34001fbaa82ee2e00 (patch) | |
tree | 809996015492996af409f7458fd7ecf4419365ca /include/linux/micrel_phy.h | |
parent | 5af7fb6e3e92c2797ee30d66138cf6aa6b29240d (diff) |
net/phy: micrel: Add clock support for KSZ8021/KSZ8031
The KSZ8021 and KSZ8031 support RMII reference input clocks of 25MHz
and 50MHz. Both PHYs differ in the default frequency they expect
after reset. If this differs from the actual input clock, then
register 0x1f bit 7 must be changed.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/micrel_phy.h')
-rw-r--r-- | include/linux/micrel_phy.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/micrel_phy.h b/include/linux/micrel_phy.h index 2e5b194b9b19..53d33dee70e1 100644 --- a/include/linux/micrel_phy.h +++ b/include/linux/micrel_phy.h @@ -37,6 +37,7 @@ /* struct phy_device dev_flags definitions */ #define MICREL_PHY_50MHZ_CLK 0x00000001 +#define MICREL_PHY_25MHZ_CLK 0x00000002 #define MICREL_KSZ9021_EXTREG_CTRL 0xB #define MICREL_KSZ9021_EXTREG_DATA_WRITE 0xC |