X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=include%2Fmicrel.h;h=e6d145d4b25eb5424339e4b5c4a1ae432ff7516f;hb=6138d5b6828ee8ebb36aef7302d3c171d87f3157;hp=04c9ecf3bf1f7ec92fcc67f1ff3d5975545a4668;hpb=74279d37613cb3081ee1680d67b2aed1f934472a;p=karo-tx-uboot.git diff --git a/include/micrel.h b/include/micrel.h index 04c9ecf3bf..e6d145d4b2 100644 --- a/include/micrel.h +++ b/include/micrel.h @@ -20,6 +20,10 @@ #define MII_KSZ9031_EXT_RGMII_TX_DATA_SKEW 0x6 #define MII_KSZ9031_EXT_RGMII_CLOCK_SKEW 0x8 +/* Registers */ +#define MMD_ACCESS_CONTROL 0xd +#define MMD_ACCESS_REG_DATA 0xe + struct phy_device; int ksz9021_phy_extended_write(struct phy_device *phydev, int regnum, u16 val); int ksz9021_phy_extended_read(struct phy_device *phydev, int regnum);