X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=include%2Ffsl_mdio.h;h=2137282df3fd97978ec6cda00530dd4487720b55;hb=bb9b2a33d68453200dfcc139877a24524753a0fb;hp=b58713d896f445e435ecd329e63953e2642f4ef4;hpb=74279d37613cb3081ee1680d67b2aed1f934472a;p=karo-tx-uboot.git 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