diff options
author | Philippe Schenker <philippe.schenker@toradex.com> | 2020-03-11 11:59:22 +0100 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2020-05-01 13:46:22 +0200 |
commit | 0861aa8fedcaa89655ec3967a041bf2c6500b857 (patch) | |
tree | 6cba1ee178cba0f85d0e03260d123c7ba770e8ad /include/micrel.h | |
parent | 63fc9d79e5c01f4e111325a3e73f9240dfba555b (diff) | |
download | u-boot-0861aa8fedcaa89655ec3967a041bf2c6500b857.tar.gz u-boot-0861aa8fedcaa89655ec3967a041bf2c6500b857.tar.bz2 u-boot-0861aa8fedcaa89655ec3967a041bf2c6500b857.zip |
net: phy: micrel: Use defines for PHY_IDs and MASK
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
Diffstat (limited to 'include/micrel.h')
-rw-r--r-- | include/micrel.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/micrel.h b/include/micrel.h index 3e6b5312d8..1d121c2825 100644 --- a/include/micrel.h +++ b/include/micrel.h @@ -23,6 +23,11 @@ #define MII_KSZ9031_FLP_BURST_TX_LO 0x3 #define MII_KSZ9031_FLP_BURST_TX_HI 0x4 +#define MII_KSZ9x31_SILICON_REV_MASK 0xfffff0 + +#define PHY_ID_KSZ9031 0x00221620 + + /* Registers */ #define MMD_ACCESS_CONTROL 0xd #define MMD_ACCESS_REG_DATA 0xe |