summaryrefslogtreecommitdiff
path: root/arch/powerpc/include/asm/fsl_memac.h
diff options
context:
space:
mode:
authorTom Rini <trini@ti.com>2013-05-02 23:54:32 (GMT)
committerTom Rini <trini@ti.com>2013-05-02 23:54:32 (GMT)
commit3fe012854040280d1efd76dbe6c439e3219850ce (patch)
tree59f04271c75eaf36a308bf86af2790974c836a30 /arch/powerpc/include/asm/fsl_memac.h
parente3288e1d152a213e71f99c093a4ef63041fe6997 (diff)
parent9e186857c7f99600808b8ecb2fc0fa2adeddebaa (diff)
downloadu-boot-fsl-qoriq-3fe012854040280d1efd76dbe6c439e3219850ce.tar.xz
Merge branch 'master' of git://git.denx.de/u-boot-mpc85xx
Diffstat (limited to 'arch/powerpc/include/asm/fsl_memac.h')
-rw-r--r--arch/powerpc/include/asm/fsl_memac.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/fsl_memac.h b/arch/powerpc/include/asm/fsl_memac.h
index d6b60e6..69f95d1 100644
--- a/arch/powerpc/include/asm/fsl_memac.h
+++ b/arch/powerpc/include/asm/fsl_memac.h
@@ -222,6 +222,10 @@ struct memac {
/* IF_MODE - Interface Mode Register */
#define IF_MODE_EN_AUTO 0x00008000 /* 1 - Enable automatic speed selection */
+#define IF_MODE_SETSP_100M 0x00000000 /* 00 - 100Mbps RGMII */
+#define IF_MODE_SETSP_10M 0x00002000 /* 01 - 10Mbps RGMII */
+#define IF_MODE_SETSP_1000M 0x00004000 /* 10 - 1000Mbps RGMII */
+#define IF_MODE_SETSP_MASK 0x00006000 /* setsp mask bits */
#define IF_MODE_XGMII 0x00000000 /* 00- XGMII(10) interface mode */
#define IF_MODE_GMII 0x00000002 /* 10- GMII interface mode */
#define IF_MODE_MASK 0x00000003 /* mask for mode interface mode */