Florian Fainelli | 755ccb9 | 2013-05-15 08:00:25 +0000 | [diff] [blame] | 1 | #ifndef _LINUX_BRCMPHY_H |
| 2 | #define _LINUX_BRCMPHY_H |
| 3 | |
Matt Carlson | 6a443a0 | 2010-02-17 15:17:04 +0000 | [diff] [blame] | 4 | #define PHY_ID_BCM50610 0x0143bd60 |
| 5 | #define PHY_ID_BCM50610M 0x0143bd70 |
Dmitry Baryshkov | 7a938f8 | 2010-06-16 23:02:24 +0000 | [diff] [blame] | 6 | #define PHY_ID_BCM5241 0x0143bc30 |
Matt Carlson | 6a443a0 | 2010-02-17 15:17:04 +0000 | [diff] [blame] | 7 | #define PHY_ID_BCMAC131 0x0143bc70 |
Dmitry Baryshkov | fcb26ec | 2010-06-16 23:02:23 +0000 | [diff] [blame] | 8 | #define PHY_ID_BCM5481 0x0143bca0 |
| 9 | #define PHY_ID_BCM5482 0x0143bcb0 |
| 10 | #define PHY_ID_BCM5411 0x00206070 |
| 11 | #define PHY_ID_BCM5421 0x002060e0 |
| 12 | #define PHY_ID_BCM5464 0x002060b0 |
| 13 | #define PHY_ID_BCM5461 0x002060c0 |
Matt Carlson | 6a443a0 | 2010-02-17 15:17:04 +0000 | [diff] [blame] | 14 | #define PHY_ID_BCM57780 0x03625d90 |
| 15 | |
| 16 | #define PHY_BCM_OUI_MASK 0xfffffc00 |
| 17 | #define PHY_BCM_OUI_1 0x00206000 |
| 18 | #define PHY_BCM_OUI_2 0x0143bc00 |
| 19 | #define PHY_BCM_OUI_3 0x03625c00 |
| 20 | |
| 21 | |
Matt Carlson | 8649f13 | 2009-11-02 14:30:00 +0000 | [diff] [blame] | 22 | #define PHY_BCM_FLAGS_MODE_COPPER 0x00000001 |
| 23 | #define PHY_BCM_FLAGS_MODE_1000BX 0x00000002 |
| 24 | #define PHY_BCM_FLAGS_INTF_SGMII 0x00000010 |
| 25 | #define PHY_BCM_FLAGS_INTF_XAUI 0x00000020 |
| 26 | #define PHY_BRCM_WIRESPEED_ENABLE 0x00000100 |
| 27 | #define PHY_BRCM_AUTO_PWRDWN_ENABLE 0x00000200 |
Matt Carlson | 32e5a8d | 2009-11-02 14:31:39 +0000 | [diff] [blame] | 28 | #define PHY_BRCM_RX_REFCLK_UNUSED 0x00000400 |
Matt Carlson | 8649f13 | 2009-11-02 14:30:00 +0000 | [diff] [blame] | 29 | #define PHY_BRCM_STD_IBND_DISABLE 0x00000800 |
| 30 | #define PHY_BRCM_EXT_IBND_RX_ENABLE 0x00001000 |
| 31 | #define PHY_BRCM_EXT_IBND_TX_ENABLE 0x00002000 |
Matt Carlson | 63a14ce | 2009-11-02 14:30:40 +0000 | [diff] [blame] | 32 | #define PHY_BRCM_CLEAR_RGMII_MODE 0x00004000 |
Matt Carlson | 52fae08 | 2009-11-02 14:32:38 +0000 | [diff] [blame] | 33 | #define PHY_BRCM_DIS_TXCRXC_NOENRGY 0x00008000 |
Matt Carlson | 8649f13 | 2009-11-02 14:30:00 +0000 | [diff] [blame] | 34 | #define PHY_BCM_FLAGS_VALID 0x80000000 |
Florian Fainelli | 755ccb9 | 2013-05-15 08:00:25 +0000 | [diff] [blame] | 35 | |
| 36 | #endif /* _LINUX_BRCMPHY_H */ |