| 1 | /****************************************************************************** |
| 2 | ** |
| 3 | ** FILE NAME : ifxmips_ptm_fw_regs_danube.h |
| 4 | ** PROJECT : UEIP |
| 5 | ** MODULES : PTM |
| 6 | ** |
| 7 | ** DATE : 7 Jul 2009 |
| 8 | ** AUTHOR : Xu Liang |
| 9 | ** DESCRIPTION : PTM driver header file (firmware register for Danube) |
| 10 | ** COPYRIGHT : Copyright (c) 2006 |
| 11 | ** Infineon Technologies AG |
| 12 | ** Am Campeon 1-12, 85579 Neubiberg, Germany |
| 13 | ** |
| 14 | ** This program is free software; you can redistribute it and/or modify |
| 15 | ** it under the terms of the GNU General Public License as published by |
| 16 | ** the Free Software Foundation; either version 2 of the License, or |
| 17 | ** (at your option) any later version. |
| 18 | ** |
| 19 | ** HISTORY |
| 20 | ** $Date $Author $Comment |
| 21 | ** 07 JUL 2009 Xu Liang Init Version |
| 22 | *******************************************************************************/ |
| 23 | |
| 24 | |
| 25 | |
| 26 | #ifndef IFXMIPS_PTM_FW_REGS_DANUBE_H |
| 27 | #define IFXMIPS_PTM_FW_REGS_DANUBE_H |
| 28 | |
| 29 | |
| 30 | |
| 31 | /* |
| 32 | * Host-PPE Communication Data Address Mapping |
| 33 | */ |
| 34 | #define FW_VER_ID ((volatile struct fw_ver_id *) SB_BUFFER(0x2001)) |
| 35 | #define CFG_WAN_WRDES_DELAY SB_BUFFER(0x2404) |
| 36 | #define CFG_WRX_DMACH_ON SB_BUFFER(0x2405) |
| 37 | #define CFG_WTX_DMACH_ON SB_BUFFER(0x2406) |
| 38 | #define CFG_WRX_LOOK_BITTH SB_BUFFER(0x2407) |
| 39 | #define CFG_ETH_EFMTC_CRC ((volatile struct eth_efmtc_crc_cfg *) SB_BUFFER(0x2408)) |
| 40 | #define WAN_MIB_TABLE ((volatile struct wan_mib_table*) SB_BUFFER(0x2440)) |
| 41 | #define WRX_PORT_CONFIG(i) ((volatile struct wrx_port_cfg_status*) SB_BUFFER(0x2500 + (i) * 20)) |
| 42 | #define WRX_DMA_CHANNEL_CONFIG(i) ((volatile struct wrx_dma_channel_config*) SB_BUFFER(0x2640 + (i) * 7)) |
| 43 | #define WTX_PORT_CONFIG(i) ((volatile struct wtx_port_cfg*) SB_BUFFER(0x2710 + (i) * 31)) |
| 44 | #define WTX_DMA_CHANNEL_CONFIG(i) ((volatile struct wtx_dma_channel_config*) SB_BUFFER(0x2711 + (i) * 31)) |
| 45 | |
| 46 | |
| 47 | |
| 48 | #endif // IFXMIPS_PTM_FW_REGS_DANUBE_H |
| 49 | |