summaryrefslogtreecommitdiff
path: root/arch/arm/include/asm
diff options
context:
space:
mode:
authorHao Zhang <hzhang@ti.com>2014-10-22 17:18:22 +0300
committerTom Rini <trini@ti.com>2014-10-23 11:27:28 -0400
commit95f74dad912563181e4701dc4bc163c49c2bd3b3 (patch)
tree4cb5de57252cd195d3047858a1e34667052cd2bc /arch/arm/include/asm
parenta43febde4452f254621c0c95d452c89ad498e959 (diff)
downloadu-boot-imx-95f74dad912563181e4701dc4bc163c49c2bd3b3.zip
u-boot-imx-95f74dad912563181e4701dc4bc163c49c2bd3b3.tar.gz
u-boot-imx-95f74dad912563181e4701dc4bc163c49c2bd3b3.tar.bz2
soc: keystone_serdes: enhance to use cmu/comlane/lane specific configurations
Enhance the driver to use cmu/comlane/lane specific configurations instead of 1 big array of configuration. Signed-off-by: Hao Zhang <hzhang@ti.com> Signed-off-by: Ivan Khoronzhuk <ivan.khoronzhuk@ti.com>
Diffstat (limited to 'arch/arm/include/asm')
-rw-r--r--arch/arm/include/asm/arch-keystone/hardware-k2hk.h3
-rw-r--r--arch/arm/include/asm/arch-keystone/hardware.h3
2 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-keystone/hardware-k2hk.h b/arch/arm/include/asm/arch-keystone/hardware-k2hk.h
index 706b21d..28de3f5 100644
--- a/arch/arm/include/asm/arch-keystone/hardware-k2hk.h
+++ b/arch/arm/include/asm/arch-keystone/hardware-k2hk.h
@@ -79,6 +79,9 @@
#define KS2_DDR3B_EMIF_DATA_BASE 0x60000000
#define KS2_DDR3B_DDRPHYC 0x02328000
+/* SGMII SerDes */
+#define KS2_LANES_PER_SGMII_SERDES 4
+
/* Number of DSP cores */
#define KS2_NUM_DSPS 8
diff --git a/arch/arm/include/asm/arch-keystone/hardware.h b/arch/arm/include/asm/arch-keystone/hardware.h
index 0441b29..6e2e939 100644
--- a/arch/arm/include/asm/arch-keystone/hardware.h
+++ b/arch/arm/include/asm/arch-keystone/hardware.h
@@ -177,6 +177,9 @@ typedef volatile unsigned int *dv_reg_p;
#define KS2_MAC_ID_BASE_ADDR (KS2_DEVICE_STATE_CTRL_BASE + 0x110)
+/* SGMII SerDes */
+#define KS2_SGMII_SERDES_BASE 0x0232a000
+
#ifdef CONFIG_SOC_K2HK
#include <asm/arch/hardware-k2hk.h>
#endif