summaryrefslogtreecommitdiff
path: root/include/fsl_mdio.h
diff options
context:
space:
mode:
authorTom Rini <trini@ti.com>2014-09-09 20:01:59 -0400
committerTom Rini <trini@ti.com>2014-09-09 20:01:59 -0400
commit8c9c74e4c69b43cd50a1f04b34cfc141ed21654c (patch)
tree180763abe35a9465d2dc4d46202ac604e7b7baac /include/fsl_mdio.h
parent0b703dbcee7103f07804d0a4328d1593355c4324 (diff)
parentb4ecc8c6f8c85d25f72933af23531728069a5b0f (diff)
downloadu-boot-imx-8c9c74e4c69b43cd50a1f04b34cfc141ed21654c.zip
u-boot-imx-8c9c74e4c69b43cd50a1f04b34cfc141ed21654c.tar.gz
u-boot-imx-8c9c74e4c69b43cd50a1f04b34cfc141ed21654c.tar.bz2
Merge branch 'master' of git://git.denx.de/u-boot-fsl-qoriq
Diffstat (limited to 'include/fsl_mdio.h')
-rw-r--r--include/fsl_mdio.h13
1 files changed, 12 insertions, 1 deletions
diff --git a/include/fsl_mdio.h b/include/fsl_mdio.h
index b58713d..2137282 100644
--- a/include/fsl_mdio.h
+++ b/include/fsl_mdio.h
@@ -10,7 +10,18 @@
#include <net.h>
#include <miiphy.h>
-#include <asm/fsl_enet.h>
+
+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