X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=include%2Ffsl_mdio.h;h=2137282df3fd97978ec6cda00530dd4487720b55;hb=50b56394307f76afe5ed1fac885e6d792d432c58;hp=b58713d896f445e435ecd329e63953e2642f4ef4;hpb=a891601ce51edbafa1a2750c96a618e4fcbca1c2;p=u-boot diff --git a/include/fsl_mdio.h b/include/fsl_mdio.h index b58713d896..2137282df3 100644 --- a/include/fsl_mdio.h +++ b/include/fsl_mdio.h @@ -10,7 +10,18 @@ #include #include -#include + +struct tsec_mii_mng { + u32 miimcfg; /* MII management configuration reg */ + u32 miimcom; /* MII management command reg */ + u32 miimadd; /* MII management address reg */ + u32 miimcon; /* MII management control reg */ + u32 miimstat; /* MII management status reg */ + u32 miimind; /* MII management indication reg */ + u32 ifstat; /* Interface Status Register */ +}; + +int fdt_fixup_phy_connection(void *blob, int offset, phy_interface_t phyc); /* PHY register offsets */ #define PHY_EXT_PAGE_ACCESS 0x1f