diff options
author | John Crispin <blogic@openwrt.org> | 2012-12-15 02:00:13 +0000 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2012-12-15 02:00:13 +0000 |
commit | cf52d3d0c8b06d37e6c6122e2ac39bfdf9e76293 (patch) | |
tree | d969e80c047a1f82e1bba3a6f133fa1dbde80363 /package/platform/lantiq/ltq-ptm/src/ifxmips_ptm_fw_regs_danube.h | |
parent | 1e83d38b96c040da0cb44ae25e191734dbde6d87 (diff) | |
download | master-187ad058-cf52d3d0c8b06d37e6c6122e2ac39bfdf9e76293.tar.gz master-187ad058-cf52d3d0c8b06d37e6c6122e2ac39bfdf9e76293.tar.bz2 master-187ad058-cf52d3d0c8b06d37e6c6122e2ac39bfdf9e76293.zip |
[lantiq] add ltq-ptm
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34690 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/platform/lantiq/ltq-ptm/src/ifxmips_ptm_fw_regs_danube.h')
-rw-r--r-- | package/platform/lantiq/ltq-ptm/src/ifxmips_ptm_fw_regs_danube.h | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/package/platform/lantiq/ltq-ptm/src/ifxmips_ptm_fw_regs_danube.h b/package/platform/lantiq/ltq-ptm/src/ifxmips_ptm_fw_regs_danube.h new file mode 100644 index 0000000000..d8685f3da7 --- /dev/null +++ b/package/platform/lantiq/ltq-ptm/src/ifxmips_ptm_fw_regs_danube.h @@ -0,0 +1,48 @@ +/****************************************************************************** +** +** FILE NAME : ifxmips_ptm_fw_regs_danube.h +** PROJECT : UEIP +** MODULES : PTM +** +** DATE : 7 Jul 2009 +** AUTHOR : Xu Liang +** DESCRIPTION : PTM driver header file (firmware register for Danube) +** COPYRIGHT : Copyright (c) 2006 +** Infineon Technologies AG +** Am Campeon 1-12, 85579 Neubiberg, Germany +** +** This program is free software; you can redistribute it and/or modify +** it under the terms of the GNU General Public License as published by +** the Free Software Foundation; either version 2 of the License, or +** (at your option) any later version. +** +** HISTORY +** $Date $Author $Comment +** 07 JUL 2009 Xu Liang Init Version +*******************************************************************************/ + + + +#ifndef IFXMIPS_PTM_FW_REGS_DANUBE_H +#define IFXMIPS_PTM_FW_REGS_DANUBE_H + + + +/* + * Host-PPE Communication Data Address Mapping + */ +#define FW_VER_ID ((volatile struct fw_ver_id *) SB_BUFFER(0x2001)) +#define CFG_WAN_WRDES_DELAY SB_BUFFER(0x2404) +#define CFG_WRX_DMACH_ON SB_BUFFER(0x2405) +#define CFG_WTX_DMACH_ON SB_BUFFER(0x2406) +#define CFG_WRX_LOOK_BITTH SB_BUFFER(0x2407) +#define CFG_ETH_EFMTC_CRC ((volatile struct eth_efmtc_crc_cfg *) SB_BUFFER(0x2408)) +#define WAN_MIB_TABLE ((volatile struct wan_mib_table*) SB_BUFFER(0x2440)) +#define WRX_PORT_CONFIG(i) ((volatile struct wrx_port_cfg_status*) SB_BUFFER(0x2500 + (i) * 20)) +#define WRX_DMA_CHANNEL_CONFIG(i) ((volatile struct wrx_dma_channel_config*) SB_BUFFER(0x2640 + (i) * 7)) +#define WTX_PORT_CONFIG(i) ((volatile struct wtx_port_cfg*) SB_BUFFER(0x2710 + (i) * 31)) +#define WTX_DMA_CHANNEL_CONFIG(i) ((volatile struct wtx_dma_channel_config*) SB_BUFFER(0x2711 + (i) * 31)) + + + +#endif // IFXMIPS_PTM_FW_REGS_DANUBE_H |