summaryrefslogtreecommitdiff
path: root/target/linux/ifxmips/files/include
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2007-12-24 21:17:56 +0000
committerJohn Crispin <john@openwrt.org>2007-12-24 21:17:56 +0000
commit01e9b18190bd0248930f86ea0f56d73c6b7740bc (patch)
treef86990e34de91c41e91d180b4645e4a47abf53bf /target/linux/ifxmips/files/include
parent8161d42238d31b7f4845e363ab8788eb1af9465f (diff)
downloadmtk-20170518-01e9b18190bd0248930f86ea0f56d73c6b7740bc.zip
mtk-20170518-01e9b18190bd0248930f86ea0f56d73c6b7740bc.tar.gz
mtk-20170518-01e9b18190bd0248930f86ea0f56d73c6b7740bc.tar.bz2
several fixes to ifxmips, getting ready for dsl driver merge
SVN-Revision: 9895
Diffstat (limited to 'target/linux/ifxmips/files/include')
-rw-r--r--target/linux/ifxmips/files/include/asm-mips/ifxmips/ifxmips.h12
1 files changed, 9 insertions, 3 deletions
diff --git a/target/linux/ifxmips/files/include/asm-mips/ifxmips/ifxmips.h b/target/linux/ifxmips/files/include/asm-mips/ifxmips/ifxmips.h
index 18e521b..21d72a2 100644
--- a/target/linux/ifxmips/files/include/asm-mips/ifxmips/ifxmips.h
+++ b/target/linux/ifxmips/files/include/asm-mips/ifxmips/ifxmips.h
@@ -107,7 +107,7 @@
#define IFXMIPS_RCU_RST_REQ_DFE (1 << 7)
#define IFXMIPS_RCU_RST_REQ_AFE (1 << 11)
-
+#define IFXMIPS_RCU_RST_REQ_ARC_JTAG (1 << 20)
/*------------ MCD */
@@ -189,10 +189,10 @@
#define ETHERNET_PACKET_DMA_BUFFER_SIZE 0x600
-#define IFXMIPS_PPE32_MEM_MAP (IFXMIPS_PPE32_BASE_ADDR + 0x10000 )
+#define IFXMIPS_PPE32_MEM_MAP ((u32*)(IFXMIPS_PPE32_BASE_ADDR + 0x10000))
+#define IFXMIPS_PPE32_SRST ((u32*)(IFXMIPS_PPE32_BASE_ADDR + 0x10080))
#define MII_MODE 1
-
#define REV_MII_MODE 2
/* mdio access */
@@ -420,4 +420,10 @@
#define MEI_XMEM_BAR15 ((u32*)(IFXMIPS_MEI_BASE_ADDR + 0x0090))
#define MEI_XMEM_BAR16 ((u32*)(IFXMIPS_MEI_BASE_ADDR + 0x0094))
+
+/*------------ FUSE */
+
+#define IFXMIPS_FUSE_BASE_ADDR (KSEG1 + 0x1F107354)
+
+
#endif