diff options
author | Arun Parameswaran <arunp@broadcom.com> | 2015-10-06 15:25:49 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-10-08 07:45:52 -0400 |
commit | 8e185d6997bb67068f0ca8f062a50caa2608cf1b (patch) | |
tree | b2d42099f3777dc770023566cfd8d1dc3f1cc761 /include/linux/brcmphy.h | |
parent | a1cba5613edf50c2a213fa90c30aa10500b241b7 (diff) |
net: phy: Broadcom Cygnus internal Etherent PHY driver
Add support for the Broadcom Cygnus SoCs internal PHY's.
The PHYs are 1000M/100M/10M capable with support for 'EEE'
and 'APD' (Auto Power Down).
This driver supports the following Broadcom Cygnus SoCs:
- BCM583XX (BCM58300, BCM58302, BCM58303, BCM58305)
- BCM113XX (BCM11300, BCM11320, BCM11350, BCM11360)
The PHY's on these SoC's require some workarounds for
stable operation, both during configuration time and
during suspend/resume. This driver handles the
application of the workarounds.
Signed-off-by: Arun Parameswaran <arunp@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/brcmphy.h')
-rw-r--r-- | include/linux/brcmphy.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/linux/brcmphy.h b/include/linux/brcmphy.h index 6a53ab91407c..59f4a7304419 100644 --- a/include/linux/brcmphy.h +++ b/include/linux/brcmphy.h | |||
@@ -30,6 +30,8 @@ | |||
30 | #define PHY_ID_BCM7439_2 0xae025080 | 30 | #define PHY_ID_BCM7439_2 0xae025080 |
31 | #define PHY_ID_BCM7445 0x600d8510 | 31 | #define PHY_ID_BCM7445 0x600d8510 |
32 | 32 | ||
33 | #define PHY_ID_BCM_CYGNUS 0xae025200 | ||
34 | |||
33 | #define PHY_BCM_OUI_MASK 0xfffffc00 | 35 | #define PHY_BCM_OUI_MASK 0xfffffc00 |
34 | #define PHY_BCM_OUI_1 0x00206000 | 36 | #define PHY_BCM_OUI_1 0x00206000 |
35 | #define PHY_BCM_OUI_2 0x0143bc00 | 37 | #define PHY_BCM_OUI_2 0x0143bc00 |
@@ -216,4 +218,9 @@ | |||
216 | #define LPI_FEATURE_EN 0x8000 | 218 | #define LPI_FEATURE_EN 0x8000 |
217 | #define LPI_FEATURE_EN_DIG1000X 0x4000 | 219 | #define LPI_FEATURE_EN_DIG1000X 0x4000 |
218 | 220 | ||
221 | /* Core register definitions*/ | ||
222 | #define MII_BRCM_CORE_BASE1E 0x1E | ||
223 | #define MII_BRCM_CORE_EXPB0 0xB0 | ||
224 | #define MII_BRCM_CORE_EXPB1 0xB1 | ||
225 | |||
219 | #endif /* _LINUX_BRCMPHY_H */ | 226 | #endif /* _LINUX_BRCMPHY_H */ |