寄存器
请查看
寄存器访问类型
,了解 Access 列缩写的含义。
Base Address: 0x4011A000
Name |
Address offset |
Access |
Description |
|---|---|---|---|
000h |
R/W |
ID Register 0 -3. |
|
004h |
R/W |
ID Register 4-5. |
|
008h |
R/W |
Multicast Register 0-3 |
|
00Ch |
R/W |
Multicast Register 4-7 |
|
010h |
R/W |
16-bit counter of Rx Ok packets. |
|
012h |
R/W |
16-bit counter of Tx DMA Ok packets. |
|
014h |
R/W |
16-bit packet counter of Rx errors including CRC error packets (should be larger than 8 bytes) and missed packets. |
|
016h |
R/W |
16-bit packet counter of Tx errors including Tx abort, carrier lost and out of window collision. |
|
018h |
R/W |
16-bit counter of Frame Alignment Error packets (MII mode only) |
|
01Ah |
R/W |
16-bit counter of missed packets resulting from Rx FIFO full. |
|
01Ch |
R/W |
16-bit counter of those Tx Ok packets with more than 1, and less than 16 collisions happened before Tx Ok. |
|
01Eh |
R/W |
16-bit counter of those Tx Ok packets with only 1 collision happened before Tx Ok. |
|
020h |
R/W |
16-bit counter of all Rx Ok packets with broadcast destination ID. |
|
022h |
R/W |
16-bit counter of all Rx Ok packets with physical address matched destination ID. |
|
024h |
R/W |
16-bit counter of Tx abort packets. |
|
026h |
R/W |
16-bit counter of all Rx Ok packets with multicast destination ID. |
|
028h |
R/W |
16-bit counter of miss packet due to rdu in rx multiple ring mode. Rolls over automatically. Write to clear. gmac only. |
|
02Ah |
R/W |
16-bit counter of Tx Underrun packets. Rolls over automatically. Write to clear. gmac only. |
|
034h |
R |
Tx/Rx Status Register |
|
038h |
R/W |
Command Register |
|
03Ch |
R/W |
||
03Eh |
R |
||
040h |
R/W |
Transmit (Tx) Configuration Register |
|
044h |
R/W |
Receive (Rx) Configuration Register |
|
048h |
R/W |
CPU tag control register. |
|
04Ch |
R/W |
Configuration register |
|
050h |
R/W |
CPUTAG1 control register |
|
058h |
R/W |
Media Status Register |
|
05Ch |
R/W |
MII Access Register |
|
060h |
R/W |
SWINT Register |
|
064h |
R/W |
Vlan tag register |
|
070h |
R/W |
Led control register |
|
080h |
R/W |
Memory bist |
|
084h |
R/W |
Packet generator register. |
|
088h |
R/W |
||
08Ch |
R/W |
||
090h |
R/W |
||
094h |
R/W |
||
098h |
R |
||
09Ch |
R/W |
||
0B0h |
R/W |
||
0B4h |
R/W |
||
0B8h |
R/W |
||
0BCh |
R/W |
||
0C0h |
R/W |
||
0C4h |
R/W |
||
0C8h |
R/W |
||
0D0h |
R/W |
||
0D4h |
R/W |
||
0D8h |
R/W |
||
0DCh |
R/W |
Interrupt routing register |
|
0E0h |
R/W |
Reset and Power Down Operation Control Register |
|
0E4h |
R/W |
Clock Control Register |
|
0F0h |
R/W |
Interrupt Mask Register |
|
0F4h |
R/W |
Interrupt Status Register |
|
1300h |
R/W |
Tx First Descriptor Pointer (FDP) for 1st priority queue. 32 bits |
|
1304h |
R |
Tx Current Descriptor Offset (CDO) for 1st priority queue.16 bits |
|
1310h |
R/W |
Tx First Descriptor Pointer (FDP) for 2nd priority queue. 32 bits |
|
1314h |
R |
Tx Current Descriptor Offset (CDO) for 2nd priority queue.16 bits |
|
1320h |
R/W |
Tx First Descriptor Pointer (FDP) for 3rd priority queue. 32 bits |
|
1324h |
R |
Tx Current Descriptor Offset (CDO) for 3rd priority queue.16 bits |
|
1330h |
R/W |
Tx First Descriptor Pointer (FDP) for 4th priority queue. 32 bits |
|
1334h |
R |
Tx Current Descriptor Offset (CDO) for 4th priority queue.16 bits |
|
1340h |
R/W |
Tx First Descriptor Pointer (FDP) for 5th priority queue. 32 bits |
|
1344h |
R |
Tx Current Descriptor Offset (CDO) for 5th priority queue.16 bits |
|
1370h |
R/W |
Rx ring mapping for 1st queue. |
|
1374h |
R/W |
Rx ring mapping for 1st queue. |
|
1378h |
R/W |
Rx ring mapping for 1st queue. |
|
137Ch |
R/W |
Rx ring mapping for 1st queue. |
|
1380h |
R/W |
Rx ring mapping for 1st queue. |
|
1384h |
R/W |
Rx ring mapping for 1st queue. |
|
1390h |
R/W |
Rx First Descriptor Pointer (FDP) for 2nd priority queue. 32 bits |
|
1394h |
R/W |
Rx Ring Size2 (number of Descriptors) |
|
1396h |
R |
Rx Current Descriptor Offset (CDO) for 2nd priority queue. 16 bits |
|
1398h |
R/W |
This is the descriptor which the CPU has finished processing for 2nd priority queue and returned to IO. CPU needs to update this. |
|
139Ch |
R/W |
This is the descriptor which the Ethernet module has filled up to for 2st priority queue. Compare with CPU_Des_Num to determine whether to assert flow control. |
|
13A0h |
R/W |
Rx First Descriptor Pointer (FDP) for 2nd priority queue. 32 bits |
|
13A4h |
R/W |
Rx Ring Size2 (number of Descriptors) |
|
13A6h |
R |
Rx Current Descriptor Offset (CDO) for 2nd priority queue. 16 bits |
|
13A8h |
R/W |
This is the descriptor which the CPU has finished processing for 2nd priority queue and returned to IO. CPU needs to update this. |
|
13ACh |
R/W |
This is the descriptor which the Ethernet module has filled up to for 2st priority queue. Compare with CPU_Des_Num to determine whether to assert flow control. |
|
13B0h |
R/W |
Rx First Descriptor Pointer (FDP) for 2nd priority queue. 32 bits |
|
13B4h |
R/W |
Rx Ring Size2 (number of Descriptors) |
|
13B6h |
R |
Rx Current Descriptor Offset (CDO) for 2nd priority queue. 16 bits |
|
13B8h |
R/W |
This is the descriptor which the CPU has finished processing for 2nd priority queue and returned to IO. CPU needs to update this. |
|
13BCh |
R/W |
This is the descriptor which the Ethernet module has filled up to for 2st priority queue. Compare with CPU_Des_Num to determine whether to assert flow control. |
|
13C0h |
R/W |
Rx First Descriptor Pointer (FDP) for 2nd priority queue. 32 bits |
|
13C4h |
R/W |
Rx Ring Size2 (number of Descriptors) |
|
13C6h |
R |
Rx Current Descriptor Offset (CDO) for 2nd priority queue. 16 bits |
|
13C8h |
R/W |
This is the descriptor which the CPU has finished processing for 2nd priority queue and returned to IO. CPU needs to update this. |
|
13CCh |
R/W |
This is the descriptor which the Ethernet module has filled up to for 2st priority queue. Compare with CPU_Des_Num to determine whether to assert flow control. |
|
13D0h |
R/W |
Rx First Descriptor Pointer (FDP) for 2nd priority queue. 32 bits |
|
13D4h |
R/W |
Rx Ring Size2 (number of Descriptors) |
|
13D6h |
R |
Rx Current Descriptor Offset (CDO) for 2nd priority queue. 16 bits |
|
13D8h |
R/W |
This is the descriptor which the CPU has finished processing for 2nd priority queue and returned to IO. CPU needs to update this. |
|
13DCh |
R/W |
This is the descriptor which the Ethernet module has filled up to for 2st priority queue. Compare with CPU_Des_Num to determine whether to assert flow control. |
|
13F0h |
R/W |
Rx First Descriptor Pointer (FDP) for 1th priority queue. 32 bits |
|
13F4h |
R/W |
Rx Ring Size1 (number of Descriptors) |
|
13F6h |
R |
Rx Current Descriptor Offset (CDO) for 1th priority queue. 16 bits |
|
13FCh |
R/W |
Sram mapping start address |
|
1400h |
R/W |
Probe signal select |
|
1404h |
R |
For debug./ |
|
142Ch |
R/W |
Bit[3:0] is the Rx_Pse_Des_Thres_off[11:8]. Bit [21:16] set txc delay and rxc delay sel. |
|
1430h |
R/W |
This is the descriptor which the CPU has finished processing and returned to IO for 1st priority queue. CPU needs to update this. |
|
1434h |
R/W |
ETHER_IO_CMD |
|
1438h |
R/W |
ETHER_IO_CMD1 |
|
143Ch |
R/W |
WOL_REG |
REG_IDR0
Size: 32
Address offset: 000h
Read/write access: R/W
ID Register 0 -3.
Bit |
Symbol |
Access |
INI |
Description |
|---|---|---|---|---|
31:24 |
IDR0 |
R/W |
0 |
The ID register0-5 are only permitted to write by 4-byte access. Read access can be byte, word, or double word access. |
23:16 |
IDR1 |
R/W |
0 |
|
15:8 |
IDR2 |
R/W |
0 |
|
7:0 |
IDR3 |
R/W |
0 |
REG_IDR4
Size: 32
Address offset: 004h
Read/write access: R/W
ID Register 4-5.
Bit |
Symbol |
Access |
INI |
Description |
|---|---|---|---|---|
31:24 |
IDR4 |
R/W |
0 |
|
23:16 |
IDR5 |
R/W |
0 |
|
15:0 |
RSVD |
R |
- |
Reserved |
REG_MAR0
Size: 32
Address offset: 008h
Read/write access: R/W
Multicast Register 0-3
Bit |
Symbol |
Access |
INI |
Description |
|---|---|---|---|---|
31:24 |
MAR0 |
R/W |
0 |
Multicast Register 0, The MAR register0-7 are only permitted to write by 4-byte access. Read access can be byte, word, or double word access. Driver is responsible for initializing these registers. The MAR7-0 define 64 bits which is a bit wise index of the multicast function of multicast addresses. The hash function of multicast address is the upper 6 MSB's of the CRC32 of the address (destination). The index then is the numerical representation of those 6 bits in hex format. |
23:16 |
MAR1 |
R/W |
0 |
Multicast Register 1 |
15:8 |
MAR2 |
R/W |
0 |
Multicast Register 2 |
7:0 |
MAR3 |
R/W |
0 |
Multicast Register 3 |
REG_MAR4
Size: 32
Address offset: 00Ch
Read/write access: R/W
Multicast Register 4-7
Bit |
Symbol |
Access |
INI |
Description |
|---|---|---|---|---|
31:24 |
MAR4 |
R/W |
0 |
Multicast Register 4 |
23:16 |
MAR5 |
R/W |
0 |
Multicast Register 5 |
15:8 |
MAR6 |
R/W |
0 |
|
7:0 |
MAR7 |
R/W |
0 |
Multicast Register 7 |
REG_RXOKCNT
Size: 16
Address offset: 010h
Read/write access: R/W
16-bit counter of Rx Ok packets.
Bit |
Symbol |
Access |
INI |
Description |
|---|---|---|---|---|
15:0 |
RXOK |
R/W |
0 |
16-bit counter of Rx Ok packets. Rolls over automatically. Write to clear. |
REG_TXOKCNT
Size: 16
Address offset: 012h
Read/write access: R/W
16-bit counter of Tx DMA Ok packets.
Bit |
Symbol |
Access |
INI |
Description |
|---|---|---|---|---|
15:0 |
TXOK |
R/W |
0 |
16-bit counter of Tx Ok packets. Rolls over automatically. Write to clear. |
REG_RXERR
Size: 16
Address offset: 014h
Read/write access: R/W
16-bit packet counter of Rx errors including CRC error packets (should be larger than 8 bytes) and
missed packets.
Bit |
Symbol |
Access |
INI |
Description |
|---|---|---|---|---|
15:0 |
RXERR |
R/W |
0 |
16-bit counter of RxErr packets. Rolls over automatically. Write to clear. The source of RxErr are GMAC meets the following condition when rx fifo is not full.:
2. RCR.accepterr = 0, but the ingress pkt is a CRC error pkt. |
REG_TXERR
Size: 16
Address offset: 016h
Read/write access: R/W
16-bit packet counter of Tx errors including Tx abort, carrier lost and out of window collision.
Bit |
Symbol |
Access |
INI |
Description |
|---|---|---|---|---|
15:0 |
TXERR |
R/W |
0 |
16-bit counter of TxErr packets. Rolls over automatically. Write to clear. The source of TxErr are txunder, txabt(in half-duplex mode) or txlinkerr. |
REG_FAE
Size: 16
Address offset: 018h
Read/write access: R/W
16-bit counter of Frame Alignment Error packets (MII mode only)
Bit |
Symbol |
Access |
INI |
Description |
|---|---|---|---|---|
15:0 |
FAE |
R/W |
0 |
16-bit counter of FAE (Frame Alignment Error) packets. Rolls over automatically. Write to clear. RCR.AER should be high. When FAE occurs in 10/100mode, the following thins happens:
Data length does not include alignment error nibble. |
REG_MISSPKT
Size: 16
Address offset: 01Ah
Read/write access: R/W
16-bit counter of missed packets resulting from Rx FIFO full.
Bit |
Symbol |
Access |
INI |
Description |
|---|---|---|---|---|
15:0 |
MISSPKT |
R/W |
0 |
16-bit counter of Missed packets. Rolls over automatically. Write to clear. |
REG_TXMCOL
Size: 16
Address offset: 01Ch
Read/write access: R/W
16-bit counter of those Tx Ok packets with more than 1, and less than 16 collisions happened before
Tx Ok.
Bit |
Symbol |
Access |
INI |
Description |
|---|---|---|---|---|
15:0 |
TXMCOL |
R/W |
0 |
16-bit counter of TxCol packets. Rolls over automatically. Write to clear. This keeps track of those packets with less than 16 collisions (or the configured retry count) before Tx Ok |
REG_TX1COL
Size: 16
Address offset: 01Eh
Read/write access: R/W
16-bit counter of those Tx Ok packets with only 1 collision happened before Tx Ok.
Bit |
Symbol |
Access |
INI |
Description |
|---|---|---|---|---|
15:0 |
TX1COL |
R/W |
0 |
16-bit counter of TxCol packets. Rolls over automatically. Write to clear. This only record which have entered just one collision before Tx OK |
REG_RXOKBRD
Size: 16
Address offset: 020h
Read/write access: R/W
16-bit counter of all Rx Ok packets with broadcast destination ID.
Bit |
Symbol |
Access |
INI |
Description |
|---|---|---|---|---|
15:0 |
RXOKBRD |
R/W |
0 |
16-bit counter of Rx Ok packets with broadcast destination address.. Rolls over automatically. Write to clear. |
REG_RXOKPHY
Size: 16
Address offset: 022h
Read/write access: R/W
16-bit counter of all Rx Ok packets with physical address matched destination ID.
Bit |
Symbol |
Access |
INI |
Description |
|---|---|---|---|---|
15:0 |
RXOKPHY |
R/W |
0 |
16-bit counter of Rx Ok packets with physical address matching destination address. Rolls over automatically. Write to clear. |
REG_TXABT
Size: 16
Address offset: 024h
Read/write access: R/W
16-bit counter of Tx abort packets.
Bit |
Symbol |
Access |
INI |
Description |
|---|---|---|---|---|
15:0 |
TXABT |
R/W |
0 |
16-bit counter of Tx aborted packets. Rolls over automatically. Write to clear. This accounts for over collision, underrun, LNK failure conditions. |
REG_RXOKMU1
Size: 16
Address offset: 026h
Read/write access: R/W
16-bit counter of all Rx Ok packets with multicast destination ID.
Bit |
Symbol |
Access |
INI |
Description |
|---|---|---|---|---|
15:0 |
RXOKMUL |
R/W |
0 |
16-bit counter of Rx Ok packets with multicast destination address. Rolls over automatically. Write to clear. |
REG_MISSPKT_RDU
Size: 16
Address offset: 028h
Read/write access: R/W
16-bit counter of miss packet due to rdu in rx multiple ring mode. Rolls over automatically. Write
to clear. gmac only.
Bit |
Symbol |
Access |
INI |
Description |
|---|---|---|---|---|
15:0 |
RDU_MISSPKTC |
R/W |
0 |
16-bit counter of miss packets due to rx descriptor is unavailable. Rolls over automatically. Write to clear. Gmac only. |
REG_TXUNDERC
Size: 16
Address offset: 02Ah
Read/write access: R/W
16-bit counter of Tx Underrun packets. Rolls over automatically. Write to clear. gmac only.
Bit |
Symbol |
Access |
INI |
Description |
|---|---|---|---|---|
15:0 |
TXUNDERC |
R/W |
0 |
16-bit counter of Tx Underrun packets. Rolls over automatically. Write to clear. Gmac only. |
REG_TRSR
Size: 32
Address offset: 034h
Read/write access: R
Tx/Rx Status Register
Bit |
Symbol |
Access |
INI |
Description |
|---|---|---|---|---|
31:4 |
RSVD |
R |
- |
Reserved |
3 |
TOK |
R |
Transmit OK: Set to 1 indicates that the transmission of a packet was completed successfully and no transmit underrun occurs. |
|
2 |
TXUNDER |
R |
Transmit FIFO Underrun: Set to 1 if the Tx FIFO was exhausted during the transmission of a packet. |
|
1 |
RXFIFOEMPTY |
R |
Rx Fifo is Empty. |
|
0 |
RBU |
R |
Rx buff is un-available, rx full |
REG_CR
Size: 32
Address offset: 038h
Read/write access: R/W
Command Register
Bit |
Symbol |
Access |
INI |
Description |
|---|---|---|---|---|
31:6 |
RSVD |
R |
- |
Reserved |
5 |
TDSC_DEBUG |
R/W |
0 |
Tx descriptor debug |
4 |
DIS_LSO_ERR |
R/W |
0 |
Disable LSO error |
3 |
RXJUMBO |
R/W |
0 |
When rxjumbo sets to 1, the minium rx descriptor ring size is 16. |
2 |
RXVLAN |
R/W |
0 |
Receive VLAN de-tagging enable.1: Enable. 0: Disable.
|
1 |
RXCHKSUM |
R/W |
0 |
Receive checksum offload enable. 1: Enable. 0: Disable. |
0 |
RST |
R/W |
0 |
Reset: Setting to 1 forces the Ethernet module to a software reset state which disables the transmitter and receiver, reinitializes the FIFOs, triggers interrupt Swint for RISC to reset the system buffer pointer to the initial value Tx/Rx FDP. The values of IDR0-5 and MAR0-7 will have no changes. This bit is 1 during the reset operation, and is cleared to 0 by the Ethernet Module when the reset operation is complete. |
REG_ISR
Size: 16
Address offset: 03Ch
Read/write access: R/W
Bit |
Symbol |
Access |
INI |
Description |
|---|---|---|---|---|
15 |
ISR_RDU6 |
R/W |
Rx Descriptor Unavailable for RING6: When set, indicates Rx descriptor is unavailable. Write 1 to clear. |
|
14 |
ISR_RDU5 |
R/W |
Rx Descriptor Unavailable for RING5: When set, indicates Rx descriptor is unavailable. Write 1 to clear. |
|
13 |
ISR_RDU4 |
R/W |
Rx Descriptor Unavailable for RING4: When set, indicates Rx descriptor is unavailable. Write 1 to clear. |
|
12 |
ISR_RDU3 |
R/W |
Rx Descriptor Unavailable for RING3: When set, indicates Rx descriptor is unavailable. Write 1 to clear. |
|
11 |
ISR_RDU2 |
R/W |
Rx Descriptor Unavailable for RING2: When set, indicates Rx descriptor is unavailable. Write 1 to clear. |
|
10 |
ISR_SWINT |
R/W |
Software Interrupt pending: When set to 1 indicates a software interrupt was forced. Write 1 to clear. |
|
9 |
ISR_TDU |
R/W |
Tx Descriptor Unavailable: When set, indicates Tx descriptor is unavailable. Write 1 to clear. |
|
8 |
ISR_LINKCHG |
R/W |
Link Change: Write 1 to clear. |
|
7 |
ISR_TER |
R/W |
Transmit (Tx) Error: Indicates that a packet transmission was aborted, due to excessive collisions, according to the TXRR's setting. Write 1 to clear. |
|
6 |
ISR_TOK_TI |
R/W |
Transmit Interrupt: Indicates that the DMA of the last descriptor of TxIntMitigation number of Tx packet has completed and the last descriptor has been closed. Write 1 to clear. |
|
5 |
ISR_RDU1 |
R/W |
Rx Descriptor Unavailable for RING1: When set, indicates Rx descriptor is unavailable. Write 1 to clear. |
|
4 |
ISR_RER_OVF |
R/W |
Rx FIFO Overflow, caused by RBO/RDU, poor system bus (Lexra bus) performance, or overloaded Lexra bus traffic. Write 1 to clear. |
|
3 |
RSVD |
R |
- |
Reserved |
2 |
ISR_RER_RUNT |
R/W |
Rx error caused by runt error characterized by the frame length in bytes being less than 64 bytes. Write 1 to clear. |
|
1 |
ISR_CNT_WRAP |
R/W |
Tx/rx counter wrap interrupt. |
|
0 |
ISR_ROK |
R/W |
Receive (Rx) OK: This interrupt is set either when RxIntMitigation packet is met or RxPktTimer expires. Write 1 to clear. |
REG_IMR
Size: 16
Address offset: 03Eh
Read/write access: R
Bit |
Symbol |
Access |
INI |
Description |
|---|---|---|---|---|
15:0 |
RSVD |
R |
- |
Reserved |
REG_TCR
Size: 32
Address offset: 040h
Read/write access: R/W
Transmit (Tx) Configuration Register
Bit |
Symbol |
Access |
INI |
Description |
|---|---|---|---|---|
31:13 |
RSVD |
R |
- |
Reserved |
12:10 |
IFG2_0 |
R/W |
0x0 |
InterFrameGap Time: This field allows the user to adjust the interframe gap time longer than the standard: 9.6 us for 10Mbps, 960 ns for 100Mbps. The time can be programmed from 9.6 us to 14.4 us (10Mbps) and 960ns to 1440ns (100Mbps). The formula for the inter frame gap is: IFG[2:0] IFGx1000MHz (nS) IFGx100MHz (nS) IFGx10MHz (uS) 0 1 1 96 960 9.6 1 0 0 96 +8 * 1 960 +8 * 10 9.6 +8 * 0.1 1 0 1 96 + 16 * 1 960 + 16 * 10 9.6 + 16 * 0.1 1 1 0 96 + 24 * 1 960 + 24 * 10 9.6 + 24 * 0.1 1 1 1 96 + 32 * 1 960 + 32 * 10 9.6 + 32 * 0.1 0 0 0 96 + 40 * 1 960 + 40 * 10 9.6 + 40 * 0.1 0 0 1 96 + 48 * 1 960 + 48 * 10 9.6 + 48 * 0.1 0 1 0 96 + 96 * 1 960 + 96 * 01 9.6 + 96 * 0.1 |
9:8 |
LBK |
R/W |
0x0 |
The loopback function must be independent of the link state.
Lbk methld: no SW requirement.
Lbk method: 1. rx fet descriptor.
In this mode(lbk_mode), the recommended value of RC_REG(0x44) is 0xf. |
7:0 |
RSVD |
R |
- |
Reserved |
REG_RCR
Size: 32
Address offset: 044h
Read/write access: R/W
Receive (Rx) Configuration Register
Bit |
Symbol |
Access |
INI |
Description |
|---|---|---|---|---|
31:8 |
RSVD |
R |
- |
Reserved |
7 |
HOMEPNA |
R/W |
1'b0 |
Home PNA mode |
6 |
AFLOW |
R/W |
1'b0 |
Accept flow control : When set to 1, flow control packet will also be received & DMA to rx buffer for debug. Default is 0. |
5 |
AER |
R/W |
1'b0 |
Accept Error Packet: When set to 1, all packets with CRC error, alignment error, and/or collided fragments will be accepted. Rxerrc keeps, Rxokc +1, Rx status dsc.CRC =1, Rx status dsc.RCDF =0. When set to 0, all packets with CRC error, alignment error, and/or collided fragments will be rejected. Rxerrc +1, Rxokc keeps, Rx status dsc.CRC =0, Rx status dsc.RCDF =1. |
4 |
AR |
R/W |
1'b0 |
Accept Runt: This bit allows the receiver to accept packets that are smaller than 64 bytes. The packet must be at least 8 bytes long to be accepted as a runt. Set to 1 to accept runt packets. |
3 |
AB |
R/W |
1'b0 |
Set to 1 to accept broadcast packets, 0 to reject. |
2 |
AM |
R/W |
1'b0 |
Set to 1 to accept multicast packets, 0 to reject. RC_REG.AB and AM should be enabled simulatanously. |
1 |
APM |
R/W |
1'b0 |
Set to 1 to accept physical match packets, 0 to reject. |
0 |
AAP |
R/W |
1'b0 |
Set to 1 to accept all packets with physical destination address, 0 to reject. |
REG_CPUTAG
Size: 32
Address offset: 048h
Read/write access: R/W
CPU tag control register.
Bit |
Symbol |
Access |
INI |
Description |
|---|---|---|---|---|
31 |
CTEN_RX |
R/W |
0 |
Enable parsing ingress packet with cputag format. |
30:27 |
CT_TSIZE |
R/W |
0 |
Cputag size in egress pkt. CTT_size: 4'h0: 0 Byte
|
26:25 |
CT_RSIZE_3_2 |
R/W |
0 |
After rl8681 (including), this field is only for ingress pkt. CTR_size: 4'h0: 0 Byte
Or Apollo cputag with PTP timestamp, set CT_RSIZE to h2. |
24 |
CT_DSLRN |
R/W |
1 |
In rtl8370s, Setting of Disable Learning field in tx cputag. Setting of Disable Learning field in RTL8368 or DSLRN field in RTL8307h tx cputag when short_dsc_format = 0. |
23 |
CT_NORMK |
R/W |
0 |
Setting of NORMK field in RTL8307h tx cputag when short_dsc_format = 0. |
22 |
CT_ASPRI |
R/W |
1 |
In RTL8307h, setting ASPRI field in tx cputag when short_dsc_format = 0. In RTL8370S, setting priority select field in tx cputag when short_dsc_format =0.. |
21:18 |
CT_SWITCH |
R/W |
0 |
Support cputag format of switch
|
17:16 |
CT_RSIZE_1_0 |
R/W |
0 |
|
15:8 |
CTPM |
R/W |
0 |
CPU tag protocol mask.
|
7:0 |
CTPV |
R/W |
0 |
CPU tag protocol value.
|
REG_CONFIG
Size: 32
Address offset: 04Ch
Read/write access: R/W
Configuration register
Bit |
Symbol |
Access |
INI |
Description |
|---|---|---|---|---|
31:30 |
RSVD |
R |
- |
Reserved |
29:28 |
RFF_SIZE_SEL |
R/W |
2'b10 |
Set gmac_rxfifo size.
|
27 |
R_TSO_ID_SEL |
R/W |
1'b0 |
|
26 |
R_MDSLV_OUTEDGE |
R/W |
0 |
This bit works only in phy_mode
|
25 |
EN_INT_ROUTE |
R/W |
0 |
|
24 |
EN_INT_SPLIT |
R/W |
0 |
When, en_int_route = 0,
When en_int_route = 1, this field is 1. |
23:0 |
RSVD |
R |
- |
Reserved |
REG_CPUTAG1
Size: 32
Address offset: 050h
Read/write access: R/W
CPUTAG1 control register
Bit |
Symbol |
Access |
INI |
Description |
|---|---|---|---|---|
31:7 |
RSVD |
R |
- |
Reserved |
6:4 |
SPA_DSL |
R/W |
0 |
|
3 |
RSVD |
R |
- |
Reserved |
2:0 |
SPA_PON |
R/W |
0 |
The ingress cputag.SPA=PON field. Used in Apollo cputag. |
REG_MSR
Size: 32
Address offset: 058h
Read/write access: R/W
Media Status Register
Bit |
Symbol |
Access |
INI |
Description |
|---|---|---|---|---|
31 |
FORCE_TRXFCE |
R/W |
1'b0 |
Force Tx/RX Flow Control: 1 = enabled Flow control in the absence of NWAY. 0 = disables Flow control in the absence of NWAY. Version effect: rl6166(ECO) and after. |
30 |
RXFCE |
R/W |
1'b0 |
RX Flow control Enable: The flow control is enabled in full-duplex mode only. Packets are dropped if buffer is exhausted. Default is 0. 1 = Rx Flow Control Enabled. 0 = Rx Flow Control Disabled. |
29 |
TXFCE |
R/W |
1'b0 |
Tx Flow Control Enable: 1 = tx flow control enabled. 0 = tx flow control disabled. ACCEPT ERROR MUST NOT BE ENABLED |
28:27 |
SPEED |
R |
{SPEED_1000, SPEED_10}
|
|
26 |
LINKB |
R |
Inverse of Link status. 0 = Link OK. 1 = Link Fail. |
|
25 |
TXPF |
R |
Tx Pause frame: 1 = Ethernet module has sent a pause packet. 0 = the Ethernet module has sent a timer done packet. |
|
24 |
RXPF |
R |
Pause Flag: 1 = Ethernet module is in backoff state because a pause packet received. 0 = pause state is clear. |
|
23 |
SEL_RGMII |
R/W |
0 |
Gmac_sel_rgmii |
22 |
FULLDUPREG |
R |
0 |
Indicates Full duplex mode from mdio results. |
21 |
NWCOMPLETE |
R |
0 |
Nway complete |
20 |
SEL_MII |
R |
0 |
Indicates in mii mode. |
19 |
FORCEDFULLDUP |
R/W |
0 |
Force gmac operates at full duplex mode. This bit is Write only in RLE0315. This bit is R/W in RLE0390 (原RL6166).
Not means gmac is in half duplex mode. |
18 |
FORCELINK |
R/W |
0 |
Force gmac in link ok mode. This bit is Write only in RLE0315. This bit is R/W in RLE0390 (RL6166).
|
17:16 |
FORCE_SPD |
R/W |
2'b11 |
Force gmac in 10/100/GIGA mode.
These bits are Write only in RLE0390 (RL6166). The current speed status of gmac can be checked in MSR_reg.{speed1000, speed_10}. In force mode, SW can set gmac operates in , FD and Link ok(for example) and SW can not set gmac operates in , HD and Link ok. When FORCEDFULLDUP is b0, the duplex status is from MDIO auto-polling, therefore, it is not controlled by SW. |
15 |
GMAC_SEL_PHYIF_0 |
R |
1 |
|
14 |
RSVD |
R |
- |
Reserved |
13 |
GMAC_PHY_MODE |
R/W |
0 |
|
12 |
RGMII_RX_DECODE_STS |
R/W |
0 |
|
11 |
RGMII_TX_ENCODE_STS |
R/W |
0 |
This field is valid only in phy mode.
|
10 |
FORCE_SPD_MODE |
R/W |
0 |
|
9:8 |
EEE_ABY |
R |
0 |
Indicates eee ability of PCS. Eee_aby[0]: eee ability in 100M Eee_aby[1]: eee ability in giga mode. |
7 |
REG_RMII2MII_EN |
R/W |
1'b1 |
This function is only valid in MII mode. (default 0: for AmebaI//AmebaPro/AmebaPro2) |
6 |
GMAC_MD_MST |
R |
1 |
|
5:2 |
RSVD |
R |
- |
Reserved |
1 |
REFCLK_PHASE |
R/W |
0 |
|
0 |
REFCLK_ON |
R/W |
1 |
|
REG_MIIAR
Size: 32
Address offset: 05Ch
Read/write access: R/W
MII Access Register
Bit |
Symbol |
Access |
INI |
Description |
|---|---|---|---|---|
31 |
FLAG |
R/W |
0 |
Flag bit, used to identify access to MII register:
Read write turn around time I s about 64 us. |
30:26 |
PHYADDRESS |
R/W |
1 |
Defines the Phy address for the MII. |
25 |
MDIO_BUSY |
R |
MDIO is busy |
|
24 |
RSVD |
R |
- |
Reserved |
23 |
EN_EEEP_AUTO_WRITE |
R/W |
0 |
HW auto writes PCS.page4.reg20 and reg27 to adjust analog parameters based on eeep_lpi state. SW should change page to page4 then set MIIA_REG.en_eeep_auto_write. HW will write eeep_abig_on/off and eeep_ldvbias_on/off (in EEEP_CR6_REG and EEEP_CR7_REG) to PCS.page4.reg20 and reg27, respectively, based on eeep_lpi state. If SW wants to access another page of PCS, SW should disable MIIA_REG.en_eeep_auto_write. |
22 |
DISABLE_AUTO_POLLING |
R/W |
0 |
Disable auto polling feature of mdio operation.
|
21 |
POLLING_EEE_REG |
R/W |
0 |
Polling PCS EEE advertisement register (7.60). In rl6166(原rle0315) and before: this bit is not supported. In rle0390: In in-direct method, gmac had to access PCS register by multiples R/W of reg13 and 14. It is OK for PCS to be aborted in the middle of indirect method. In rle0371: HW will complete current indirect access to PCS then stop in-direct method. Please refer to EEE_CR1_reg. |
20:16 |
REGADDR4_0 |
R/W |
0 |
Defines 5-bit MII register address. |
15:0 |
DATA15_0 |
R/W |
0 |
Defines 16 bit MII resgister data. |
REG_SWINT
Size: 32
Address offset: 060h
Read/write access: R/W
SWINT Register
Bit |
Symbol |
Access |
INI |
Description |
|---|---|---|---|---|
31:25 |
RSVD |
R |
- |
Reserved |
24 |
SWINT |
R/W |
Write 1 will force ISR register bit 10 set to 1 |
|
23:0 |
RSVD |
R |
- |
Reserved |
REG_VLAN_REG
Size: 32
Address offset: 064h
Read/write access: R/W
Vlan tag register
Bit |
Symbol |
Access |
INI |
Description |
|---|---|---|---|---|
31:16 |
STAG_PID |
R/W |
0x88a8 |
Set the s-tag protocol identifier. This field is valid only when COM_REG.TDSC_VLAN_TYPE is high. |
15 |
TDSC_VLAN_TYPE |
R/W |
0 |
|
14:0 |
RSVD |
R |
- |
Reserved |
REG_LED_CTRL
Size: 32
Address offset: 070h
Read/write access: R/W
Led control register
Bit |
Symbol |
Access |
INI |
Description |
|---|---|---|---|---|
31:20 |
RSVD |
R |
- |
Reserved |
19 |
EEE_EN_LED |
R/W |
0 |
Enable/disable lpi led. |
18 |
CUSTOM_LED |
R/W |
0 |
Custom led mode. 1: using custom led matrix table. 0: using Non-custom led table. |
17:16 |
LEDSEL |
R/W |
0 |
Non custom led select. Following EEE spec, combine the Link signal and LPI signal in the same LED pin. While entering LPI state, LED will blink with 2784ms cycle, of which the first 2349ms LED light is turned off, after 435ms is turned on. NO EEE in RL6166. |
15:12 |
LEDSEL3 |
R/W |
0 |
Custom led3 select. |
11:8 |
LEDSEL2 |
R/W |
0 |
Custom led2 select. |
7:4 |
LEDSEL1 |
R/W |
0 |
Custom led1 select. |
3:0 |
LEDSEL0 |
R/W |
0 |
Custom led0 select. |
REG_BIST
Size: 32
Address offset: 080h
Read/write access: R/W
Memory bist
Bit |
Symbol |
Access |
INI |
Description |
|---|---|---|---|---|
31:15 |
RSVD |
R |
- |
Reserved |
14 |
CSR_RFF_TMCK |
R/W |
1'b0 |
Set TMCK for RXFIFO |
13 |
CSR_RFF_NAP |
R/W |
1'b0 |
Set NAP for RXFIFO |
12 |
CSR_RFF_DVSE |
R/W |
1'b0 |
Set DVSE for RXFIFO |
11:8 |
CSR_RFF_DVS |
R/W |
4'b0000 |
Set DVS for RXFIFO |
7 |
RSVD |
R |
- |
Reserved |
6 |
CSR_TFF_TMCK |
R/W |
1'b0 |
Set TMCK for TXFIFO |
5 |
CSR_TFF_NAP |
R/W |
1'b0 |
Set NAP for TXFIFO |
4 |
CSR_TFF_DVSE |
R/W |
1'b0 |
Set DVSE for TXFIFO |
3:0 |
CSR_TFF_DVS |
R/W |
4'b0000 |
Set DVS for TXFIFO |
REG_PGLBK
Size: 32
Address offset: 084h
Read/write access: R/W
Packet generator register.
Bit |
Symbol |
Access |
INI |
Description |
|---|---|---|---|---|
31:16 |
RSVD |
R |
- |
Reserved |
15 |
EN_PGLBK |
R/W |
0 |
Enable packet generator mode |
14 |
PGLBK_DATA_PAT_SEL |
R/W |
0 |
|
13 |
PGLBK_DONE |
R |
0 |
Packet generator in wire lbk mode status. 1: done |
12 |
PGLBK_FAIL |
R |
0 |
Packet generator in wire lbk mode status. 1: fail |
11 |
PBLBK_PKT_LENGTH_SEL |
R/W |
0 |
|
10:9 |
PGLBK_PKT_NUM_SEL |
R/W |
0 |
|
8 |
R_DISABLE_TXCRC |
R/W |
0 |
|
7:0 |
PGLBK_DATA_PAT |
R/W |
0 |
Pattern inside tx packet when pglbk_data_pat_sel is high. For RLE0516, only pglbk_data_pat[3:0] are used. |
REG_EEE_CR1
Size: 32
Address offset: 088h
Read/write access: R/W
Bit |
Symbol |
Access |
INI |
Description |
|---|---|---|---|---|
31 |
EN_FRC_EEE |
R/W |
0 |
Enable EEE force mode
|
30 |
FRC_EEE_GIGA |
R/W |
0 |
If EN_FRC_EEE=1, FRC_EEE_Giga:
|
29 |
FRC_EEE |
R/W |
0 |
If EN_FRC_EEE=1, FRC_EEE_100
|
28 |
EN_EEE |
R/W |
0 |
Set same as PHY setting, for LED. |
27 |
EN_EEE_TX |
R/W |
0 |
Enable MAC TX EEE ability
|
26 |
EN_EEE_RX |
R/W |
0 |
Enable MAC RX EEE ability
|
25:24 |
RSVD |
R |
- |
Reserved |
23 |
EEE_OUTQ_LOWQ_OVER |
R/W |
0 |
SW has many packets to be tranmitted, then set this bit to tell HW leave lpi state in condition2. |
22:20 |
RSVD |
R |
- |
Reserved |
19 |
EEE_STS |
R |
0 |
Indicate EEE status, both TX and RX.
|
18 |
EEE_TX_STS |
R |
0 |
Indicate EEE TX status
|
17 |
EEE_RX_STS |
R |
0 |
Indicate Port 0 EEE RX status
|
16 |
EEE_PAUSEFLAG |
R |
0 |
Set indication for LPI request due to RX pause on frame.
|
15 |
RSVD |
R |
- |
Reserved |
14 |
EEE_WAKE_SET1 |
R/W |
0 |
Enable LPI TX high priority pkt Wakeup decision maker for EEE.
|
13 |
EEE_WAKE_SET0 |
R/W |
0 |
Enable LPI TX transmit wakeup decision maker for EEE.
|
12 |
EEE_REQ_SET2 |
R/W |
0 |
Enable LPI TX request RX pause on frame decision maker for EEE.
|
11 |
EEE_REQ_SET1 |
R/W |
0 |
Enable LPI TX request queue empty decision maker for EEE.
|
10 |
EEE_REQ_SET0 |
R/W |
0 |
Enable LPI TX request Rate decision maker for EEE.
|
9 |
EEE_RXTIMER_EN |
R/W |
0 |
Enable RX meter to count RX LPI status time |
8 |
EEE_TXTIMER_EN |
R/W |
0 |
Enable TX meter to count TX LPI status time |
7:6 |
EEE_TIMER_UNIT_GIGA_1 |
R/W |
0 |
Set the unit for timer T_wakeup, T_tx_rate, and T_pause in EEE function.
|
5:4 |
EEE_TIMER_UNIT_GIGA_2 |
R/W |
0 |
Set the unit for timer T_tx_delay in EEE function.
|
3:2 |
EEE_TIMER_UNIT_100_1 |
R/W |
0 |
Set the unit for timer T_wakeup, T_tx_rate, and T_pause in EEE function.
|
1:0 |
EEE_TIMER_UNIT_100_2 |
R/W |
0 |
Set the unit for timer T_tx_delay in EEE function.
|
REG_EEE_CR2
Size: 32
Address offset: 08Ch
Read/write access: R/W
Bit |
Symbol |
Access |
INI |
Description |
|---|---|---|---|---|
31:24 |
EEE_TIMER_TW_GIGA |
R/W |
0x10 |
Timer value in EEE function for T_wakeup. Value from 0~256. Unit: EEE_Timer_Unit_Giga_1. Default value is 16 us. |
23:16 |
EEE_TIMER_TR_GIGA |
R/W |
0x0a |
Timer value in EEE function for T_tx_rate. Unit: EEE_Timer_Unit_Giga_1. Default value is 10 us. |
15:8 |
EEE_TIMER_TD_GIGA |
R/W |
0xc4 |
Timer value in EEE function for QoS based LPI decision maker T_tx_delay. Unit: EEE_Timer_Unit_Giga_2*4. Default value is 200 ms. |
7:0 |
EEE_TIMER_TP_GIGA |
R/W |
0x0a |
Timer value in EEE function for TX decision maker T_pause. Unit: EEE_Timer_Unit_Giga_1. Default value is 10 us. |
REG_EEE_CR3
Size: 32
Address offset: 090h
Read/write access: R/W
Bit |
Symbol |
Access |
INI |
Description |
|---|---|---|---|---|
31:24 |
EEE_TIMER_TW_100 |
R/W |
0x1e |
Timer value in EEE function for T_wakeup. Value from 0~256. Unit: EEE_Timer_Unit_100_1 Default value is 30 us. |
23:16 |
EEE_TIMER_TR_100 |
R/W |
0x0a |
Timer value in EEE function for T_tx_rate. Unit: EEE_Timer_Unit_100_1. Default value is 10 us. |
15:8 |
EEE_TIMER_TD_100 |
R/W |
0xf4 |
Timer value in EEE function for QoS based LPI decision maker T_tx_delay. Unit: EEE_Timer_Unit_100_2*4. Default value is 1s. |
7:0 |
EEE_TIMER_TP_100 |
R/W |
0x0a |
Timer value in EEE function for TX decision maker T_pause. Unit: EEE_Timer_Unit_100_1. Default value is 10 us. |
REG_EEE_CR4
Size: 32
Address offset: 094h
Read/write access: R/W
Bit |
Symbol |
Access |
INI |
Description |
|---|---|---|---|---|
31:16 |
EEE_TX_THR_GIGA |
R/W |
0x0271 |
Set the TX threshold in EEE function. Unit is Byte. EEE_TX_THR=Round [(T_tx_rate×Rate) / 8 ]. If you set T_tx_rate=10us, Rate=1000Mbps, so set EEE_TX_THR = 0x4E2 (1250bytes). Default value is 0x271(~half rate). |
15:0 |
EEE_TX_THR_100 |
R/W |
0x003e |
Set the TX threshold in EEE function. Unit is Byte. EEE_TX_THR=Round [(T_tx_rate×Rate) / 8 ]. If you set T_tx_rate=10us, Rate=100Mbps, so set EEE_TX_THR = 0x7D (125bytes). Default value is 0x3E (~half rate). |
REG_EEE_LPI_TMO_REG
Size: 32
Address offset: 098h
Read/write access: R
Bit |
Symbol |
Access |
INI |
Description |
|---|---|---|---|---|
31:22 |
RSVD |
R |
- |
Reserved |
21:0 |
EEE_RXLPI_TIME |
R |
0x0 |
RX in LPI time. (unit: 1us) (accumulation)Valid as (PORT_MASK[0]==1&&RXTimer_EN==1) |
REG_EEE_LPI_TM1_REG
Size: 32
Address offset: 09Ch
Read/write access: R/W
Bit |
Symbol |
Access |
INI |
Description |
|---|---|---|---|---|
31:24 |
RSVD |
R |
- |
Reserved |
23 |
EEE_STOP_TXC |
R/W |
0 |
This bit works in rgmii_1000 and rgmii_100 modes only.
|
22 |
EEE_TRXCTL_LEVEL |
R/W |
0 |
The gmac_rgmii_txe and gmac_rgmii_rxdv level when gmac is in lpi.
|
21:0 |
EEE_TXLPI_TIME |
R |
0x0 |
TX in LPI time. (unit: 1us ) (accumulation)Valid as (PORT_MASK[0]==1&&TXTimer_EN==1) |
REG_EEEP_CR1
Size: 32
Address offset: 0B0h
Read/write access: R/W
Bit |
Symbol |
Access |
INI |
Description |
|---|---|---|---|---|
31 |
EN_EEEP |
R/W |
0x0 |
Enable EEEP function 0b0: Disable EEEP function. 0b1: Enable EEEP function. |
30 |
CFG_EN_EEEP_RX |
R/W |
0x0 |
|
29 |
CFG_EN_EEEP_TX |
R/W |
0x0 |
|
28 |
CFG_EN_EEEP_GIGA |
R/W |
0x0 |
|
27 |
CFG_EN_EEEP |
R/W |
0x0 |
|
26 |
CFG_EEEP_DEFER_TXLPI |
R/W |
0x0 |
??? |
25 |
RSVD |
R |
- |
Reserved |
24 |
PHY_MST_MODE |
R/W |
0x0 |
When PMA is in master clock role, the EEEP_RX can work. SW needs to configure PCS reg9.bit12(Master-slave manual config enable) and reg9.bit11(Master-slave config value). Then setting EEEP_CR1_REG.PHY_MST_MODE. |
23 |
RSVD |
R |
- |
Reserved |
22:16 |
EEEP_DBGO_SEL |
R/W |
0x0 |
Eeep module debug signals selection. |
15:0 |
RSVD |
R |
- |
Reserved |
REG_EEEP_CR2
Size: 32
Address offset: 0B4h
Read/write access: R/W
Bit |
Symbol |
Access |
INI |
Description |
|---|---|---|---|---|
31:8 |
RSVD |
R |
- |
Reserved |
7:0 |
EEEP_SLEEP_STEP |
R/W |
0x1 |
Value from 1 to 255, indicate the rx sleep step in EEEP function. Value 0 is the same as 1. EEPROM and register configurable.//??? |
REG_EEEP_CR3
Size: 32
Address offset: 0B8h
Read/write access: R/W
Bit |
Symbol |
Access |
INI |
Description |
|---|---|---|---|---|
31:16 |
EEEP_TX_THR |
R/W |
0xF0 |
Set the TX threshold in EEEP function. Unit: Byte; EEEP_TX_THR=Round [(T_rx_rate×Rate) / 8 ]. If you set T_rx_rate=192us,Rate=10Mbps, so set EEEP_TX_THR= 0xF0 (240 bytes). EEPROM and register configurable.//HYH??? |
15:0 |
EEEP_RX_THR |
R/W |
0xF0 |
Set the RX threshold in EEEP function. Unit: Byte; EEEP_RX_THR=Round [(T_rx_rate×Rate) / 8 ]. If you set T_rx_rate=192us,Rate=10Mbps, so set EEEP_TX_THR= 0xF0 (240 bytes). EEPROM and register configurable. //HYH??? |
REG_EEEP_CR4
Size: 32
Address offset: 0BCh
Read/write access: R/W
Bit |
Symbol |
Access |
INI |
Description |
|---|---|---|---|---|
31:24 |
EEEP_TIMER_RX_RATE |
R/W |
0xC |
Timer value in EEEP function for T_rx_rate. Unit: microsecond. Default value is 192 us. EEPROM and register configurable. |
23:16 |
EEEP_TIMER_RX_WAKE |
R/W |
0x2 |
Timer value in EEEP function for T_rx_wake. Unit: microsecond. Default value is 32 us. EEPROM and register configurable. |
15:8 |
EEEP_TIMER_TX_WAIT |
R/W |
0x1 |
Timer value in EEEP function for T_tx_wait. Unit: microsecond. Default value is 16 us. EEPROM and register configurable. |
7:0 |
EEEP_TIMER_PAUSE |
R/W |
0x1 |
Timer value in EEEP function for T_pause_on. Unit:refer to EEEP_Timer_Unit. Default value is 16 us. EEPROM and register configurable. |
REG_EEEP_CR5
Size: 32
Address offset: 0C0h
Read/write access: R/W
Bit |
Symbol |
Access |
INI |
Description |
|---|---|---|---|---|
31:24 |
RSVD |
R |
- |
Reserved |
23:16 |
EEEP_TX_RATE |
R/W |
0x0 |
|
15:10 |
RSVD |
R |
- |
Reserved |
9:8 |
EEEP_TIMER_UNIT |
R/W |
0x1 |
Set the unit for timer in EEEP function.
EEPROM and register configurable. |
7:0 |
EEEP_TIMER_RX_SLEEP |
R/W |
0xC |
Value of Timer in EEEP function for T_rx_sleep. Unit: microsecond. Default value is 192 us. EEPROM and register configurable. |
REG_EEEP_CR6
Size: 32
Address offset: 0C4h
Read/write access: R/W
Bit |
Symbol |
Access |
INI |
Description |
|---|---|---|---|---|
31:16 |
EEEP_ABIG_ON |
R/W |
0xb80a |
|
15:0 |
EEEP_ABIG_OFF |
R/W |
0x800a |
REG_EEEP_CR7
Size: 32
Address offset: 0C8h
Read/write access: R/W
Bit |
Symbol |
Access |
INI |
Description |
|---|---|---|---|---|
31:16 |
EEEP_LDVBIAS_ON |
R/W |
0x7550 |
|
15:0 |
EEEP_LDVBIAS_OFF |
R/W |
0x0550 |
REG_IMR0_REG
Size: 32
Address offset: 0D0h
Read/write access: R/W
Bit |
Symbol |
Access |
INI |
Description |
|---|---|---|---|---|
31:29 |
RSVD |
R |
- |
Reserved |
28 |
IMR0_TDU5 |
R/W |
0 |
|
27 |
IMR0_TDU4 |
R/W |
0 |
|
26 |
IMR0_TDU3 |
R/W |
0 |
|
25 |
IMR0_TDU2 |
R/W |
0 |
|
24 |
IMR0_TDU1 |
R |
0 |
This bit is IMR.tdu |
23:21 |
RSVD |
R |
- |
Reserved |
20 |
IMR0_TOK5 |
R/W |
0 |
|
19 |
IMR0_TOK4 |
R/W |
0 |
|
18 |
IMR0_TOK3 |
R/W |
0 |
|
17 |
IMR0_TOK2 |
R/W |
0 |
|
16 |
IMR0_TOK1 |
R |
0 |
This bit is IMR.tok |
15:6 |
RSVD |
R |
- |
Reserved |
5 |
IMR0_ROK6 |
R/W |
0 |
|
4 |
IMR0_ROK5 |
R/W |
0 |
|
3 |
IMR0_ROK4 |
R/W |
0 |
|
2 |
IMR0_ROK3 |
R/W |
0 |
|
1 |
IMR0_ROK2 |
R/W |
0 |
|
0 |
IMR0_ROK1 |
R |
0 |
This bit is IMR.rok |
REG_IMR1_REG
Size: 32
Address offset: 0D4h
Read/write access: R/W
Bit |
Symbol |
Access |
INI |
Description |
|---|---|---|---|---|
31:29 |
RSVD |
R |
- |
Reserved |
28 |
IMR1_TDU5 |
R/W |
0 |
|
27 |
IMR1_TDU4 |
R/W |
0 |
|
26 |
IMR1_TDU3 |
R/W |
0 |
|
25 |
IMR1_TDU2 |
R/W |
0 |
|
24 |
IMR1_TDU1 |
R/W |
0 |
|
23:21 |
RSVD |
R |
- |
Reserved |
20 |
IMR1_TOK5 |
R/W |
0 |
|
19 |
IMR1_TOK4 |
R/W |
0 |
|
18 |
IMR1_TOK3 |
R/W |
0 |
|
17 |
IMR1_TOK2 |
R/W |
0 |
|
16 |
IMR1_TOK1 |
R/W |
0 |
|
15:14 |
RSVD |
R |
- |
Reserved |
13 |
IMR1_RDU6 |
R/W |
0 |
|
12 |
IMR1_RDU5 |
R/W |
0 |
|
11 |
IMR1_RDU4 |
R/W |
0 |
|
10 |
IMR1_RDU3 |
R/W |
0 |
|
9 |
IMR1_RDU2 |
R/W |
0 |
|
8 |
IMR1_RDU1 |
R/W |
0 |
|
7:6 |
RSVD |
R |
- |
Reserved |
5 |
IMR1_ROK6 |
R/W |
0 |
|
4 |
IMR1_ROK5 |
R/W |
0 |
|
3 |
IMR1_ROK4 |
R/W |
0 |
|
2 |
IMR1_ROK3 |
R/W |
0 |
|
1 |
IMR1_ROK2 |
R/W |
0 |
|
0 |
IMR1_ROK1 |
R/W |
0 |
REG_ISR1_REG
Size: 32
Address offset: 0D8h
Read/write access: R/W
Bit |
Symbol |
Access |
INI |
Description |
|---|---|---|---|---|
31:29 |
RSVD |
R |
- |
Reserved |
28 |
ISR_TDU5 |
R/W |
0 |
Tx Descriptor Ring5 Unavailable: When set, indicates Tx descriptor Ring5 is unavailable. Write 1 to clear. |
27 |
ISR_TDU4 |
R/W |
0 |
Tx Descriptor Ring4 Unavailable: When set, indicates Tx descriptor Ring5 is unavailable. Write 1 to clear. |
26 |
ISR_TDU3 |
R/W |
0 |
Tx Descriptor Ring3 Unavailable: When set, indicates Tx descriptor Ring5 is unavailable. Write 1 to clear. |
25 |
ISR_TDU2 |
R/W |
0 |
Tx Descriptor Ring2 Unavailable: When set, indicates Tx descriptor Ring5 is unavailable. Write 1 to clear. |
24 |
ISR_TDU1 |
R |
0 |
This bit is ISR.tdu |
23:21 |
RSVD |
R |
- |
Reserved |
20 |
ISR_TOK5 |
R/W |
0 |
Transmit Interrupt: Indicates that the DMA of the last Ring5 descriptor of TxIntMitigation number of Tx packet has completed and the last descriptor has been closed. Write 1 to clear. |
19 |
ISR_TOK4 |
R/W |
0 |
Transmit Interrupt: Indicates that the DMA of the last Ring4 descriptor of TxIntMitigation number of Tx packet has completed and the last descriptor has been closed. Write 1 to clear. |
18 |
ISR_TOK3 |
R/W |
0 |
Transmit Interrupt: Indicates that the DMA of the last Ring3 descriptor of TxIntMitigation number of Tx packet has completed and the last descriptor has been closed. Write 1 to clear. |
17 |
ISR_TOK2 |
R/W |
0 |
Transmit Interrupt: Indicates that the DMA of the last Ring2 descriptor of TxIntMitigation number of Tx packet has completed and the last descriptor has been closed. Write 1 to clear. |
16 |
ISR_TOK1 |
R |
0 |
This bit is ISR.tok |
15:6 |
RSVD |
R |
- |
Reserved |
5 |
ISR_ROK6 |
R/W |
0 |
Receive (Rx) OK: This interrupt is set either when RxIntMitigation packet is met or RxPktTimer expires in Ring6. Write 1 to clear. |
4 |
ISR_ROK5 |
R/W |
0 |
Receive (Rx) OK: This interrupt is set either when RxIntMitigation packet is met or RxPktTimer expires in Ring5. Write 1 to clear. |
3 |
ISR_ROK4 |
R/W |
0 |
Receive (Rx) OK: This interrupt is set either when RxIntMitigation packet is met or RxPktTimer expires in Ring4. Write 1 to clear. |
2 |
ISR_ROK3 |
R/W |
0 |
Receive (Rx) OK: This interrupt is set either when RxIntMitigation packet is met or RxPktTimer expires in Ring3. Write 1 to clear. |
1 |
ISR_ROK2 |
R/W |
0 |
Receive (Rx) OK: This interrupt is set either when RxIntMitigation packet is met or RxPktTimer expires in Ring2. Write 1 to clear. |
0 |
ISR_ROK1 |
R |
0 |
This bit is ISR.rok |
REG_INT_R_REG
Size: 32
Address offset: 0DCh
Read/write access: R/W
Interrupt routing register
Bit |
Symbol |
Access |
INI |
Description |
|---|---|---|---|---|
31:25 |
RSVD |
R |
- |
Reserved |
24 |
TR5_INT_ROUTING |
R/W |
0 |
|
23 |
RSVD |
R |
- |
Reserved |
22 |
TR4_INT_ROUTING |
R/W |
0 |
|
21 |
RSVD |
R |
- |
Reserved |
20 |
TR3_INT_ROUTING |
R/W |
0 |
|
19 |
RSVD |
R |
- |
Reserved |
18 |
TR2_INT_ROUTING |
R/W |
0 |
|
17 |
RSVD |
R |
- |
Reserved |
16 |
TR1_INT_ROUTING |
R/W |
0 |
|
15:11 |
RSVD |
R |
- |
Reserved |
10 |
RR6_INT_ROUTING |
R/W |
0 |
|
9 |
RSVD |
R |
- |
Reserved |
8 |
RR5_INT_ROUTING |
R/W |
0 |
|
7 |
RSVD |
R |
- |
Reserved |
6 |
RR4_INT_ROUTING |
R/W |
0 |
|
5 |
RSVD |
R |
- |
Reserved |
4 |
RR3_INT_ROUTING |
R/W |
0 |
|
3 |
RSVD |
R |
- |
Reserved |
2 |
RR2_INT_ROUTING |
R/W |
0 |
|
1 |
RSVD |
R |
- |
Reserved |
0 |
RR1_INT_ROUTING |
R/W |
0 |
REG_RST_PWR_DOWN_OPERATION_CTRL_REG
Size: 32
Address offset: 0E0h
Read/write access: R/W
Reset and Power Down Operation Control Register
Bit |
Symbol |
Access |
INI |
Description |
|---|---|---|---|---|
31:4 |
RSVD |
R |
- |
Reserved |
3 |
AUTORXCLKDIS |
R/W |
0 |
|
2 |
AUTOTXCLKDIS |
R/W |
0 |
|
1 |
AUTOISOU |
R/W |
0 |
Auto Isolate Update |
0 |
AUTOLSU |
R/W |
0 |
Auto Link Status Update |
REG_CLK_CTRL_REG
Size: 32
Address offset: 0E4h
Read/write access: R/W
Clock Control Register
Bit |
Symbol |
Access |
INI |
Description |
|---|---|---|---|---|
31:8 |
RSVD |
R |
- |
Reserved |
7 |
REV_00E4_7 |
R/W |
0 |
Reserved bit |
6 |
REV_00E4_6 |
R/W |
0 |
Reserved bit |
5 |
REV_00E4_5 |
R/W |
0 |
Reserved bit |
4 |
REV_00E4_4 |
R/W |
1 |
Reserved bit |
3 |
REV_00E4_3 |
R/W |
1 |
Reserved bit |
2 |
DMA_DATA_SWAP |
R/W |
1 |
|
1 |
RXCLK_EN |
R/W |
1 |
|
0 |
TXCLK_EN |
R/W |
1 |
|
REG_INTERUPT_MASK_REG
Size: 32
Address offset: 0F0h
Read/write access: R/W
Interrupt Mask Register
Bit |
Symbol |
Access |
INI |
Description |
|---|---|---|---|---|
31:6 |
RSVD |
R |
- |
Reserved |
5 |
LX_MST_TO_INTEN |
R/W |
0 |
Interrupt enable of lexra master timeout |
4 |
LX_SLV_TO_INTEN |
R/W |
0 |
Interrupt enable of lexra slave timeout |
3 |
ISON |
R/W |
0 |
Isolate Notify |
2 |
PWRDWNN |
R/W |
0 |
Power Down Notify |
1 |
LPBKN |
R/W |
0 |
Loopback Notify |
0 |
RSTN |
R/W |
0 |
Reset Notify |
REG_INTERUPT_STATUS_REG
Size: 32
Address offset: 0F4h
Read/write access: R/W
Interrupt Status Register
Bit |
Symbol |
Access |
INI |
Description |
|---|---|---|---|---|
31:6 |
RSVD |
R |
- |
Reserved |
5 |
LX_MST_TO_INT |
R/W |
0 |
Interrupt status of lexra master timeout |
4 |
LX_SLV_TO_INT |
R/W |
0 |
Interrupt status of lexra slave timeout |
3 |
ISONS |
R/W |
0 |
Isolate Notify When set, indicate Isolate is detected. Write 1 to clear. |
2 |
PWRDWNNS |
R/W |
0 |
Power Down Notify When set, indicate Isolate is detected. Write 1 to clear. |
1 |
LPBKNS |
R/W |
0 |
Loopback Notify When set, indicate Isolate is detected. Write 1 to clear. |
0 |
RSTNS |
R/W |
0 |
Reset Notify When set, indicate Isolate is detected. Write 1 to clear. |
REG_TXFDP1
Size: 32
Address offset: 1300h
Read/write access: R/W
Tx First Descriptor Pointer (FDP) for 1st priority queue. 32 bits
Bit |
Symbol |
Access |
INI |
Description |
|---|---|---|---|---|
31:2 |
TXFDP1 |
R/W |
0 |
Tx 1st priority Descriptor Pointer to the Tx Ring |
1:0 |
RSVD |
R |
- |
Reserved |
REG_TXCDO1
Size: 32
Address offset: 1304h
Read/write access: R
Tx Current Descriptor Offset (CDO) for 1st priority queue.16 bits
Bit |
Symbol |
Access |
INI |
Description |
|---|---|---|---|---|
31:12 |
RSVD |
R |
- |
Reserved |
11:0 |
TXCDO1 |
R |
Tx 1st priority Current Descriptor Offset: FDP+CDO = current descriptor pointer. CDO increments by 16 bytes each time. |
REG_TXFDP2
Size: 32
Address offset: 1310h
Read/write access: R/W
Tx First Descriptor Pointer (FDP) for 2nd priority queue. 32 bits
Bit |
Symbol |
Access |
INI |
Description |
|---|---|---|---|---|
31:2 |
TXFDP2 |
R/W |
0 |
Tx 2st priority Descriptor Pointer to the Tx Ring |
1:0 |
RSVD |
R |
- |
Reserved |
REG_TXCDO2
Size: 32
Address offset: 1314h
Read/write access: R
Tx Current Descriptor Offset (CDO) for 2nd priority queue.16 bits
Bit |
Symbol |
Access |
INI |
Description |
|---|---|---|---|---|
31:12 |
RSVD |
R |
- |
Reserved |
11:0 |
TXCDO2 |
R |
Tx 2st priority Current Descriptor Offset: FDP+CDO = current descriptor pointer. CDO increments by 16 bytes each time. |
REG_TXFDP3
Size: 32
Address offset: 1320h
Read/write access: R/W
Tx First Descriptor Pointer (FDP) for 3rd priority queue. 32 bits
Bit |
Symbol |
Access |
INI |
Description |
|---|---|---|---|---|
31:2 |
TXFDP3 |
R/W |
0 |
Tx 3st priority Descriptor Pointer to the Tx Ring |
1:0 |
RSVD |
R |
- |
Reserved |
REG_TXCDO3
Size: 32
Address offset: 1324h
Read/write access: R
Tx Current Descriptor Offset (CDO) for 3rd priority queue.16 bits
Bit |
Symbol |
Access |
INI |
Description |
|---|---|---|---|---|
31:12 |
RSVD |
R |
- |
Reserved |
11:0 |
TXCDO3 |
R |
Tx 3st priority Current Descriptor Offset: FDP+CDO = current descriptor pointer. CDO increments by 16 bytes each time. |
REG_TXFDP4
Size: 32
Address offset: 1330h
Read/write access: R/W
Tx First Descriptor Pointer (FDP) for 4th priority queue. 32 bits
Bit |
Symbol |
Access |
INI |
Description |
|---|---|---|---|---|
31:2 |
TXFDP4 |
R/W |
0 |
Tx 4st priority Descriptor Pointer to the Tx Ring |
1:0 |
RSVD |
R |
- |
Reserved |
REG_TXCDO4
Size: 32
Address offset: 1334h
Read/write access: R
Tx Current Descriptor Offset (CDO) for 4th priority queue.16 bits
Bit |
Symbol |
Access |
INI |
Description |
|---|---|---|---|---|
31:12 |
RSVD |
R |
- |
Reserved |
11:0 |
TXCDO4 |
R |
Tx 4st priority Current Descriptor Offset: FDP+CDO = current descriptor pointer. CDO increments by 16 bytes each time. |
REG_TXFDP5
Size: 32
Address offset: 1340h
Read/write access: R/W
Tx First Descriptor Pointer (FDP) for 5th priority queue. 32 bits
Bit |
Symbol |
Access |
INI |
Description |
|---|---|---|---|---|
31:2 |
TXFDP5 |
R/W |
0 |
Tx 5st priority Descriptor Pointer to the Tx Ring |
1:0 |
RSVD |
R |
- |
Reserved |
REG_TXCDO5
Size: 32
Address offset: 1344h
Read/write access: R
Tx Current Descriptor Offset (CDO) for 5th priority queue.16 bits
Bit |
Symbol |
Access |
INI |
Description |
|---|---|---|---|---|
31:12 |
RSVD |
R |
- |
Reserved |
11:0 |
TXCDO5 |
R |
Tx 5st priority Current Descriptor Offset: FDP+CDO = current descriptor pointer. CDO increments by 16 bytes each time. |
REG_RRING_MAP1
Size: 32
Address offset: 1370h
Read/write access: R/W
Rx ring mapping for 1st queue.
Bit |
Symbol |
Access |
INI |
Description |
|---|---|---|---|---|
31 |
RSVD |
R |
- |
Reserved |
30:28 |
EXT1_PRI7_ROUTE |
R/W |
0 |
Cputag.priority = 7 route select. {0,1,7} ring1, {2} ring2, {3} ring3,… |
27 |
RSVD |
R |
- |
Reserved |
26:24 |
EXT1_PRI6_ROUTE |
R/W |
0 |
Cputag.priority = 6 route select. {0,1,7} ring1, {2} ring2, {3} ring3,… |
23 |
RSVD |
R |
- |
Reserved |
22:20 |
EXT1_PRI5_ROUTE |
R/W |
0 |
Cputag.priority = 5 route select. {0,1,7} ring1, {2} ring2, {3} ring3,… |
19 |
RSVD |
R |
- |
Reserved |
18:16 |
EXT1_PRI4_ROUTE |
R/W |
0 |
Cputag.priority = 4 route select. {0,1,7} ring1, {2} ring2, {3} ring3,… |
15 |
RSVD |
R |
- |
Reserved |
14:12 |
EXT1_PRI3_ROUTE |
R/W |
0 |
Cputag.priority = 3 route select. {0,1,7} ring1, {2} ring2, {3} ring3,… |
11 |
RSVD |
R |
- |
Reserved |
10:8 |
EXT1_PRI2_ROUTE |
R/W |
0 |
Cputag.priority = 2 route select. {0,1,7} ring1, {2} ring2, {3} ring3,… |
7 |
RSVD |
R |
- |
Reserved |
6:4 |
EXT1_PRI1_ROUTE |
R/W |
0 |
Cputag.priority = 1 route select. {0,1,7} ring1, {2} ring2, {3} ring3,… |
3 |
RSVD |
R |
- |
Reserved |
2:0 |
EXT1_PRI0_ROUTE |
R/W |
0 |
Cputag.priority = 0 route select. {0,1,7} ring1, {2} ring2, {3} ring3,… |
REG_RRING_MAP2
Size: 32
Address offset: 1374h
Read/write access: R/W
Rx ring mapping for 1st queue.
Bit |
Symbol |
Access |
INI |
Description |
|---|---|---|---|---|
31 |
RSVD |
R |
- |
Reserved |
30:28 |
EXT2_PRI7_ROUTE |
R/W |
0 |
Cputag.priority = 7 route select. {0,1,7} ring1, {2} ring2, {3} ring3,… |
27 |
RSVD |
R |
- |
Reserved |
26:24 |
EXT2_PRI6_ROUTE |
R/W |
0 |
Cputag.priority = 6 route select. {0,1,7} ring1, {2} ring2, {3} ring3,… |
23 |
RSVD |
R |
- |
Reserved |
22:20 |
EXT2_PRI5_ROUTE |
R/W |
0 |
Cputag.priority = 5 route select. {0,1,7} ring1, {2} ring2, {3} ring3,… |
19 |
RSVD |
R |
- |
Reserved |
18:16 |
EXT2_PRI4_ROUTE |
R/W |
0 |
Cputag.priority = 4 route select. {0,1,7} ring1, {2} ring2, {3} ring3,… |
15 |
RSVD |
R |
- |
Reserved |
14:12 |
EXT2_PRI3_ROUTE |
R/W |
0 |
Cputag.priority = 3 route select. {0,1,7} ring1, {2} ring2, {3} ring3,… |
11 |
RSVD |
R |
- |
Reserved |
10:8 |
EXT2_PRI2_ROUTE |
R/W |
0 |
Cputag.priority = 2 route select. {0,1,7} ring1, {2} ring2, {3} ring3,… |
7 |
RSVD |
R |
- |
Reserved |
6:4 |
EXT2_PRI1_ROUTE |
R/W |
0 |
Cputag.priority = 1 route select. {0,1,7} ring1, {2} ring2, {3} ring3,… |
3 |
RSVD |
R |
- |
Reserved |
2:0 |
EXT2_PRI0_ROUTE |
R/W |
0 |
Cputag.priority = 0 route select. {0,1,7} ring1, {2} ring2, {3} ring3,… |
REG_RRING_MAP3
Size: 32
Address offset: 1378h
Read/write access: R/W
Rx ring mapping for 1st queue.
Bit |
Symbol |
Access |
INI |
Description |
|---|---|---|---|---|
31 |
RSVD |
R |
- |
Reserved |
30:28 |
EXT3_PRI7_ROUTE |
R/W |
0 |
Cputag.priority = 7 route select. {0,1,7} ring1, {2} ring2, {3} ring3,… |
27 |
RSVD |
R |
- |
Reserved |
26:24 |
EXT3_PRI6_ROUTE |
R/W |
0 |
Cputag.priority = 6 route select. {0,1,7} ring1, {2} ring2, {3} ring3,… |
23 |
RSVD |
R |
- |
Reserved |
22:20 |
EXT3_PRI5_ROUTE |
R/W |
0 |
Cputag.priority = 5 route select. {0,1,7} ring1, {2} ring2, {3} ring3,… |
19 |
RSVD |
R |
- |
Reserved |
18:16 |
EXT3_PRI4_ROUTE |
R/W |
0 |
Cputag.priority = 4 route select. {0,1,7} ring1, {2} ring2, {3} ring3,… |
15 |
RSVD |
R |
- |
Reserved |
14:12 |
EXT3_PRI3_ROUTE |
R/W |
0 |
Cputag.priority = 3 route select. {0,1,7} ring1, {2} ring2, {3} ring3,… |
11 |
RSVD |
R |
- |
Reserved |
10:8 |
EXT3_PRI2_ROUTE |
R/W |
0 |
Cputag.priority = 2 route select. {0,1,7} ring1, {2} ring2, {3} ring3,… |
7 |
RSVD |
R |
- |
Reserved |
6:4 |
EXT3_PRI1_ROUTE |
R/W |
0 |
Cputag.priority = 1 route select. {0,1,7} ring1, {2} ring2, {3} ring3,… |
3 |
RSVD |
R |
- |
Reserved |
2:0 |
EXT3_PRI0_ROUTE |
R/W |
0 |
Cputag.priority = 0 route select. {0,1,7} ring1, {2} ring2, {3} ring3,… |
REG_RRING_MAP4
Size: 32
Address offset: 137Ch
Read/write access: R/W
Rx ring mapping for 1st queue.
Bit |
Symbol |
Access |
INI |
Description |
|---|---|---|---|---|
31 |
RSVD |
R |
- |
Reserved |
30:28 |
EXT4_PRI7_ROUTE |
R/W |
0 |
Cputag.priority = 7 route select. {0,1,7} ring1, {2} ring2, {3} ring3,… |
27 |
RSVD |
R |
- |
Reserved |
26:24 |
EXT4_PRI6_ROUTE |
R/W |
0 |
Cputag.priority = 6 route select. {0,1,7} ring1, {2} ring2, {3} ring3,… |
23 |
RSVD |
R |
- |
Reserved |
22:20 |
EXT4_PRI5_ROUTE |
R/W |
0 |
Cputag.priority = 5 route select. {0,1,7} ring1, {2} ring2, {3} ring3,… |
19 |
RSVD |
R |
- |
Reserved |
18:16 |
EXT4_PRI4_ROUTE |
R/W |
0 |
Cputag.priority = 4 route select. {0,1,7} ring1, {2} ring2, {3} ring3,… |
15 |
RSVD |
R |
- |
Reserved |
14:12 |
EXT4_PRI3_ROUTE |
R/W |
0 |
Cputag.priority = 3 route select. {0,1,7} ring1, {2} ring2, {3} ring3,… |
11 |
RSVD |
R |
- |
Reserved |
10:8 |
EXT4_PRI2_ROUTE |
R/W |
0 |
Cputag.priority = 2 route select. {0,1,7} ring1, {2} ring2, {3} ring3,… |
7 |
RSVD |
R |
- |
Reserved |
6:4 |
EXT4_PRI1_ROUTE |
R/W |
0 |
Cputag.priority = 1 route select. {0,1,7} ring1, {2} ring2, {3} ring3,… |
3 |
RSVD |
R |
- |
Reserved |
2:0 |
EXT4_PRI0_ROUTE |
R/W |
0 |
Cputag.priority = 0 route select. {0,1,7} ring1, {2} ring2, {3} ring3,… |
REG_RRING_MAP5
Size: 32
Address offset: 1380h
Read/write access: R/W
Rx ring mapping for 1st queue.
Bit |
Symbol |
Access |
INI |
Description |
|---|---|---|---|---|
31 |
RSVD |
R |
- |
Reserved |
30:28 |
EXT5_PRI7_ROUTE |
R/W |
0 |
Cputag.priority = 7 route select. {0,1,7} ring1, {2} ring2, {3} ring3,… |
27 |
RSVD |
R |
- |
Reserved |
26:24 |
EXT5_PRI6_ROUTE |
R/W |
0 |
Cputag.priority = 6 route select. {0,1,7} ring1, {2} ring2, {3} ring3,… |
23 |
RSVD |
R |
- |
Reserved |
22:20 |
EXT5_PRI5_ROUTE |
R/W |
0 |
Cputag.priority = 5 route select. {0,1,7} ring1, {2} ring2, {3} ring3,… |
19 |
RSVD |
R |
- |
Reserved |
18:16 |
EXT5_PRI4_ROUTE |
R/W |
0 |
Cputag.priority = 4 route select. {0,1,7} ring1, {2} ring2, {3} ring3,… |
15 |
RSVD |
R |
- |
Reserved |
14:12 |
EXT5_PRI3_ROUTE |
R/W |
0 |
Cputag.priority = 3 route select. {0,1,7} ring1, {2} ring2, {3} ring3,… |
11 |
RSVD |
R |
- |
Reserved |
10:8 |
EXT5_PRI2_ROUTE |
R/W |
0 |
Cputag.priority = 2 route select. {0,1,7} ring1, {2} ring2, {3} ring3,… |
7 |
RSVD |
R |
- |
Reserved |
6:4 |
EXT5_PRI1_ROUTE |
R/W |
0 |
Cputag.priority = 1 route select. {0,1,7} ring1, {2} ring2, {3} ring3,… |
3 |
RSVD |
R |
- |
Reserved |
2:0 |
EXT5_PRI0_ROUTE |
R/W |
0 |
Cputag.priority = 0 route select. {0,1,7} ring1, {2} ring2, {3} ring3,… |
REG_RRING_MAP6
Size: 32
Address offset: 1384h
Read/write access: R/W
Rx ring mapping for 1st queue.
Bit |
Symbol |
Access |
INI |
Description |
|---|---|---|---|---|
31 |
RSVD |
R |
- |
Reserved |
30:28 |
EXT6_PRI7_ROUTE |
R/W |
0 |
Cputag.priority = 7 route select. {0,1,7} ring1, {2} ring2, {3} ring3,… |
27 |
RSVD |
R |
- |
Reserved |
26:24 |
EXT6_PRI6_ROUTE |
R/W |
0 |
Cputag.priority = 6 route select. {0,1,7} ring1, {2} ring2, {3} ring3,… |
23 |
RSVD |
R |
- |
Reserved |
22:20 |
EXT6_PRI5_ROUTE |
R/W |
0 |
Cputag.priority = 5 route select. {0,1,7} ring1, {2} ring2, {3} ring3,… |
19 |
RSVD |
R |
- |
Reserved |
18:16 |
EXT6_PRI4_ROUTE |
R/W |
0 |
Cputag.priority = 4 route select. {0,1,7} ring1, {2} ring2, {3} ring3,… |
15 |
RSVD |
R |
- |
Reserved |
14:12 |
EXT6_PRI3_ROUTE |
R/W |
0 |
Cputag.priority = 3 route select. {0,1,7} ring1, {2} ring2, {3} ring3,… |
11 |
RSVD |
R |
- |
Reserved |
10:8 |
EXT6_PRI2_ROUTE |
R/W |
0 |
Cputag.priority = 2 route select. {0,1,7} ring1, {2} ring2, {3} ring3,… |
7 |
RSVD |
R |
- |
Reserved |
6:4 |
EXT6_PRI1_ROUTE |
R/W |
0 |
Cputag.priority = 1 route select. {0,1,7} ring1, {2} ring2, {3} ring3,… |
3 |
RSVD |
R |
- |
Reserved |
2:0 |
EXT6_PRI0_ROUTE |
R/W |
0 |
Cputag.priority = 0 route select. {0,1,7} ring1, {2} ring2, {3} ring3,… |
REG_RXFDP2
Size: 32
Address offset: 1390h
Read/write access: R/W
Rx First Descriptor Pointer (FDP) for 2nd priority queue. 32 bits
Bit |
Symbol |
Access |
INI |
Description |
|---|---|---|---|---|
31:2 |
RXFDP2 |
R/W |
0 |
Rx queue Descriptor Pointer to the Rx Ring |
1:0 |
RSVD |
R |
- |
Reserved |
REG_RXRINGSIZE2
Size: 16
Address offset: 1394h
Read/write access: R/W
Rx Ring Size2 (number of Descriptors)
Bit |
Symbol |
Access |
INI |
Description |
|---|---|---|---|---|
15:12 |
RSVD |
R |
- |
Reserved |
11:0 |
RXRINGSIZE2 |
R/W |
0 |
The total number of descriptors in the Rx descriptor rings of queue. Act as bit mask, eg. RxRingSize [11:0]: 0000_0000_1111: 16 descriptors 0000_0001_1111: 32 descriptors 0000_0011_1111: 64 descriptors 0000_0111_1111: 128 descriptors 0000_1111_1111: 256 descriptors 0001_1111_1111: 512 descriptors 0011_1111_1111: 1024 descriptors 0111_1111_1111: 2048 descriptors 1111_1111_1111: 4096 descriptors Any other value in this register yields undefined results. |
REG_RXCDO2
Size: 16
Address offset: 1396h
Read/write access: R
Rx Current Descriptor Offset (CDO) for 2nd priority queue. 16 bits
Bit |
Symbol |
Access |
INI |
Description |
|---|---|---|---|---|
15:12 |
RSVD |
R |
- |
Reserved |
11:0 |
RXCDO2 |
R |
0 |
Rx Current Descriptor Offset of queue: RxFDP+RxCDO = current descriptor pointer. CDO increments by 16 each time (each increment is one byte) |
REG_RX_CPU_DESN2
Size: 32
Address offset: 1398h
Read/write access: R/W
This is the descriptor which the CPU has finished processing for 2nd priority queue and returned to
IO. CPU needs to update this.
Bit |
Symbol |
Access |
INI |
Description |
|---|---|---|---|---|
31:12 |
RSVD |
R |
- |
Reserved |
11:0 |
ETHRNTRXCPU_DES_NUM2 |
R/W |
0 |
Indicate the number of descriptor of queue, which has been finished Rx process and returned to IO by CPU. After ending Rx process, CPU needs to update this field. |
REG_RX_DES_THRES2
Size: 32
Address offset: 139Ch
Read/write access: R/W
This is the descriptor which the Ethernet module has filled up to for 2st priority queue. Compare
with CPU_Des_Num to determine whether to assert flow control.
Bit |
Symbol |
Access |
INI |
Description |
|---|---|---|---|---|
31:28 |
RSVD |
R |
- |
Reserved |
27:16 |
RX_PSE_DES_THRES_ON2 |
R/W |
0 |
Specifies the difference between EthrnetRxCPU_Des_Num2 and the descriptor of queue currently in use by Ethernet Module in which flow control will be assert. |
15:12 |
RSVD |
R |
- |
Reserved |
11:0 |
RX_PSE_DES_THRES_OFF2 |
R/W |
0 |
Specifies the difference between EthrnetRxCPU_Des_Num2 and the descriptor of queue currently in use by Ethernet Module in which flow control will be de-assert. Rx_Pse_Des_Thress_off_ should be less than (EthrntRxCPU_DES_NUM_ - X). X is the maximum rx descriptors will be used for single ingress packet. |
REG_RXFDP3
Size: 32
Address offset: 13A0h
Read/write access: R/W
Rx First Descriptor Pointer (FDP) for 2nd priority queue. 32 bits
Bit |
Symbol |
Access |
INI |
Description |
|---|---|---|---|---|
31:2 |
RXFDP3 |
R/W |
0 |
Rx queue Descriptor Pointer to the Rx Ring |
1:0 |
RSVD |
R |
- |
Reserved |
REG_RXRINGSIZE3
Size: 16
Address offset: 13A4h
Read/write access: R/W
Rx Ring Size2 (number of Descriptors)
Bit |
Symbol |
Access |
INI |
Description |
|---|---|---|---|---|
15:12 |
RSVD |
R |
- |
Reserved |
11:0 |
RXRINGSIZE3 |
R/W |
0 |
The total number of descriptors in the Rx descriptor rings of queue. Act as bit mask, eg. RxRingSize [11:0]: 0000_0000_1111: 16 descriptors 0000_0001_1111: 32 descriptors 0000_0011_1111: 64 descriptors 0000_0111_1111: 128 descriptors 0000_1111_1111: 256 descriptors 0001_1111_1111: 512 descriptors 0011_1111_1111: 1024 descriptors 0111_1111_1111: 2048 descriptors 1111_1111_1111: 4096 descriptors Any other value in this register yields undefined results. |
REG_RXCDO3
Size: 16
Address offset: 13A6h
Read/write access: R
Rx Current Descriptor Offset (CDO) for 2nd priority queue. 16 bits
Bit |
Symbol |
Access |
INI |
Description |
|---|---|---|---|---|
15:12 |
RSVD |
R |
- |
Reserved |
11:0 |
RXCDO3 |
R |
0 |
Rx Current Descriptor Offset of queue: RxFDP+RxCDO = current descriptor pointer. CDO increments by 16 each time (each increment is one byte) |
REG_RX_CPU_DESN3
Size: 32
Address offset: 13A8h
Read/write access: R/W
This is the descriptor which the CPU has finished processing for 2nd priority queue and returned to
IO. CPU needs to update this.
Bit |
Symbol |
Access |
INI |
Description |
|---|---|---|---|---|
31:12 |
RSVD |
R |
- |
Reserved |
11:0 |
ETHRNTRXCPU_DES_NUM3 |
R/W |
0 |
Indicate the number of descriptor of queue, which has been finished Rx process and returned to IO by CPU. After ending Rx process, CPU needs to update this field. |
REG_RX_DES_THRES3
Size: 32
Address offset: 13ACh
Read/write access: R/W
This is the descriptor which the Ethernet module has filled up to for 2st priority queue. Compare
with CPU_Des_Num to determine whether to assert flow control.
Bit |
Symbol |
Access |
INI |
Description |
|---|---|---|---|---|
31:28 |
RSVD |
R |
- |
Reserved |
27:16 |
RX_PSE_DES_THRES_ON3 |
R/W |
0 |
Specifies the difference between EthrnetRxCPU_Des_Num2 and the descriptor of queue currently in use by Ethernet Module in which flow control will be assert. |
15:12 |
RSVD |
R |
- |
Reserved |
11:0 |
RX_PSE_DES_THRES_OFF3 |
R/W |
0 |
Specifies the difference between EthrnetRxCPU_Des_Num2 and the descriptor of queue currently in use by Ethernet Module in which flow control will be de-assert. Rx_Pse_Des_Thress_off_ should be less than (EthrntRxCPU_DES_NUM_ - X). X is the maximum rx descriptors will be used for single ingress packet. |
REG_RXFDP4
Size: 32
Address offset: 13B0h
Read/write access: R/W
Rx First Descriptor Pointer (FDP) for 2nd priority queue. 32 bits
Bit |
Symbol |
Access |
INI |
Description |
|---|---|---|---|---|
31:2 |
RXFDP4 |
R/W |
0 |
Rx queue Descriptor Pointer to the Rx Ring |
1:0 |
RSVD |
R |
- |
Reserved |
REG_RXRINGSIZE4
Size: 16
Address offset: 13B4h
Read/write access: R/W
Rx Ring Size2 (number of Descriptors)
Bit |
Symbol |
Access |
INI |
Description |
|---|---|---|---|---|
15:12 |
RSVD |
R |
- |
Reserved |
11:0 |
RXRINGSIZE4 |
R/W |
0 |
The total number of descriptors in the Rx descriptor rings of queue. Act as bit mask, eg. RxRingSize [11:0]: 0000_0000_1111: 16 descriptors 0000_0001_1111: 32 descriptors 0000_0011_1111: 64 descriptors 0000_0111_1111: 128 descriptors 0000_1111_1111: 256 descriptors 0001_1111_1111: 512 descriptors 0011_1111_1111: 1024 descriptors 0111_1111_1111: 2048 descriptors 1111_1111_1111: 4096 descriptors Any other value in this register yields undefined results. |
REG_RXCDO4
Size: 16
Address offset: 13B6h
Read/write access: R
Rx Current Descriptor Offset (CDO) for 2nd priority queue. 16 bits
Bit |
Symbol |
Access |
INI |
Description |
|---|---|---|---|---|
15:12 |
RSVD |
R |
- |
Reserved |
11:0 |
RXCDO4 |
R |
0 |
Rx Current Descriptor Offset of queue: RxFDP+RxCDO = current descriptor pointer. CDO increments by 16 each time (each increment is one byte) |
REG_RX_CPU_DESN4
Size: 32
Address offset: 13B8h
Read/write access: R/W
This is the descriptor which the CPU has finished processing for 2nd priority queue and returned to
IO. CPU needs to update this.
Bit |
Symbol |
Access |
INI |
Description |
|---|---|---|---|---|
31:12 |
RSVD |
R |
- |
Reserved |
11:0 |
ETHRNTRXCPU_DES_NUM4 |
R/W |
0 |
Indicate the number of descriptor of queue, which has been finished Rx process and returned to IO by CPU. After ending Rx process, CPU needs to update this field. |
REG_RX_DES_THRES4
Size: 32
Address offset: 13BCh
Read/write access: R/W
This is the descriptor which the Ethernet module has filled up to for 2st priority queue. Compare
with CPU_Des_Num to determine whether to assert flow control.
Bit |
Symbol |
Access |
INI |
Description |
|---|---|---|---|---|
31:28 |
RSVD |
R |
- |
Reserved |
27:16 |
RX_PSE_DES_THRES_ON4 |
R/W |
0 |
Specifies the difference between EthrnetRxCPU_Des_Num2 and the descriptor of queue currently in use by Ethernet Module in which flow control will be assert. |
15:12 |
RSVD |
R |
- |
Reserved |
11:0 |
RX_PSE_DES_THRES_OFF4 |
R/W |
0 |
Specifies the difference between EthrnetRxCPU_Des_Num2 and the descriptor of queue currently in use by Ethernet Module in which flow control will be de-assert. Rx_Pse_Des_Thress_off_ should be less than (EthrntRxCPU_DES_NUM_ - X). X is the maximum rx descriptors will be used for single ingress packet. |
REG_RXFDP5
Size: 32
Address offset: 13C0h
Read/write access: R/W
Rx First Descriptor Pointer (FDP) for 2nd priority queue. 32 bits
Bit |
Symbol |
Access |
INI |
Description |
|---|---|---|---|---|
31:2 |
RXFDP5 |
R/W |
0 |
Rx queue Descriptor Pointer to the Rx Ring |
1:0 |
RSVD |
R |
- |
Reserved |
REG_RXRINGSIZE5
Size: 16
Address offset: 13C4h
Read/write access: R/W
Rx Ring Size2 (number of Descriptors)
Bit |
Symbol |
Access |
INI |
Description |
|---|---|---|---|---|
15:12 |
RSVD |
R |
- |
Reserved |
11:0 |
RXRINGSIZE5 |
R/W |
0 |
The total number of descriptors in the Rx descriptor rings of queue. Act as bit mask, eg. RxRingSize [11:0]: 0000_0000_1111: 16 descriptors 0000_0001_1111: 32 descriptors 0000_0011_1111: 64 descriptors 0000_0111_1111: 128 descriptors 0000_1111_1111: 256 descriptors 0001_1111_1111: 512 descriptors 0011_1111_1111: 1024 descriptors 0111_1111_1111: 2048 descriptors 1111_1111_1111: 4096 descriptors Any other value in this register yields undefined results. |
REG_RXCDO5
Size: 16
Address offset: 13C6h
Read/write access: R
Rx Current Descriptor Offset (CDO) for 2nd priority queue. 16 bits
Bit |
Symbol |
Access |
INI |
Description |
|---|---|---|---|---|
15:12 |
RSVD |
R |
- |
Reserved |
11:0 |
RXCDO5 |
R |
0 |
Rx Current Descriptor Offset of queue: RxFDP+RxCDO = current descriptor pointer. CDO increments by 16 each time (each increment is one byte) |
REG_RX_CPU_DESN5
Size: 32
Address offset: 13C8h
Read/write access: R/W
This is the descriptor which the CPU has finished processing for 2nd priority queue and returned to
IO. CPU needs to update this.
Bit |
Symbol |
Access |
INI |
Description |
|---|---|---|---|---|
31:12 |
RSVD |
R |
- |
Reserved |
11:0 |
ETHRNTRXCPU_DES_NUM5 |
R/W |
0 |
Indicate the number of descriptor of queue, which has been finished Rx process and returned to IO by CPU. After ending Rx process, CPU needs to update this field. |
REG_RX_DES_THRES5
Size: 32
Address offset: 13CCh
Read/write access: R/W
This is the descriptor which the Ethernet module has filled up to for 2st priority queue. Compare
with CPU_Des_Num to determine whether to assert flow control.
Bit |
Symbol |
Access |
INI |
Description |
|---|---|---|---|---|
31:28 |
RSVD |
R |
- |
Reserved |
27:16 |
RX_PSE_DES_THRES_ON5 |
R/W |
0 |
Specifies the difference between EthrnetRxCPU_Des_Num2 and the descriptor of queue currently in use by Ethernet Module in which flow control will be assert. |
15:12 |
RSVD |
R |
- |
Reserved |
11:0 |
RX_PSE_DES_THRES_OFF5 |
R/W |
0 |
Specifies the difference between EthrnetRxCPU_Des_Num2 and the descriptor of queue currently in use by Ethernet Module in which flow control will be de-assert. Rx_Pse_Des_Thress_off_ should be less than (EthrntRxCPU_DES_NUM_ - X). X is the maximum rx descriptors will be used for single ingress packet. |
REG_RXFDP6
Size: 32
Address offset: 13D0h
Read/write access: R/W
Rx First Descriptor Pointer (FDP) for 2nd priority queue. 32 bits
Bit |
Symbol |
Access |
INI |
Description |
|---|---|---|---|---|
31:2 |
RXFDP6 |
R/W |
0 |
Rx queue Descriptor Pointer to the Rx Ring |
1:0 |
RSVD |
R |
- |
Reserved |
REG_RXRINGSIZE6
Size: 16
Address offset: 13D4h
Read/write access: R/W
Rx Ring Size2 (number of Descriptors)
Bit |
Symbol |
Access |
INI |
Description |
|---|---|---|---|---|
15:12 |
RSVD |
R |
- |
Reserved |
11:0 |
RXRINGSIZE6 |
R/W |
0 |
The total number of descriptors in the Rx descriptor rings of queue. Act as bit mask, eg. RxRingSize [11:0]: 0000_0000_1111: 16 descriptors 0000_0001_1111: 32 descriptors 0000_0011_1111: 64 descriptors 0000_0111_1111: 128 descriptors 0000_1111_1111: 256 descriptors 0001_1111_1111: 512 descriptors 0011_1111_1111: 1024 descriptors 0111_1111_1111: 2048 descriptors 1111_1111_1111: 4096 descriptors Any other value in this register yields undefined results. |
REG_RXCDO6
Size: 16
Address offset: 13D6h
Read/write access: R
Rx Current Descriptor Offset (CDO) for 2nd priority queue. 16 bits
Bit |
Symbol |
Access |
INI |
Description |
|---|---|---|---|---|
15:12 |
RSVD |
R |
- |
Reserved |
11:0 |
RXCDO6 |
R |
0 |
Rx Current Descriptor Offset of queue: RxFDP+RxCDO = current descriptor pointer. CDO increments by 16 each time (each increment is one byte) |
REG_RX_CPU_DESN6
Size: 32
Address offset: 13D8h
Read/write access: R/W
This is the descriptor which the CPU has finished processing for 2nd priority queue and returned to
IO. CPU needs to update this.
Bit |
Symbol |
Access |
INI |
Description |
|---|---|---|---|---|
31:12 |
RSVD |
R |
- |
Reserved |
11:0 |
ETHRNTRXCPU_DES_NUM6 |
R/W |
0 |
Indicate the number of descriptor of queue, which has been finished Rx process and returned to IO by CPU. After ending Rx process, CPU needs to update this field. |
REG_RX_DES_THRES6
Size: 32
Address offset: 13DCh
Read/write access: R/W
This is the descriptor which the Ethernet module has filled up to for 2st priority queue. Compare
with CPU_Des_Num to determine whether to assert flow control.
Bit |
Symbol |
Access |
INI |
Description |
|---|---|---|---|---|
31:28 |
RSVD |
R |
- |
Reserved |
27:16 |
RX_PSE_DES_THRES_ON6 |
R/W |
0 |
Specifies the difference between EthrnetRxCPU_Des_Num2 and the descriptor of queue currently in use by Ethernet Module in which flow control will be assert. |
15:12 |
RSVD |
R |
- |
Reserved |
11:0 |
RX_PSE_DES_THRES_OFF6 |
R/W |
0 |
Specifies the difference between EthrnetRxCPU_Des_Num2 and the descriptor of queue currently in use by Ethernet Module in which flow control will be de-assert. Rx_Pse_Des_Thress_off_ should be less than (EthrntRxCPU_DES_NUM_ - X). X is the maximum rx descriptors will be used for single ingress packet. |
REG_RX_FDP1
Size: 32
Address offset: 13F0h
Read/write access: R/W
Rx First Descriptor Pointer (FDP) for 1th priority queue. 32 bits
Bit |
Symbol |
Access |
INI |
Description |
|---|---|---|---|---|
31:2 |
RXFDP1 |
R/W |
0 |
Rx 1st queue Descriptor Pointer to the Rx Ring |
1:0 |
RSVD |
R |
- |
Reserved |
REG_RX_RINGSIZE1
Size: 16
Address offset: 13F4h
Read/write access: R/W
Rx Ring Size1 (number of Descriptors)
Bit |
Symbol |
Access |
INI |
Description |
|---|---|---|---|---|
15:8 |
RXRINGSIZE_1_LOW |
R/W |
0 |
This is the total number of descriptors in the Rx descriptor rings of 1st queue. Act as bit mask, eg. RxRingSize [11:0]: 0000_0000_1111: 16 descriptors 0000_0001_1111: 32 descriptors 0000_0011_1111: 64 descriptors 0000_0111_1111: 128 descriptors 0000_1111_1111: 256 descriptors 0001_1111_1111: 512 descriptors 0011_1111_1111: 1024 descriptors 0111_1111_1111: 2048 descriptors 1111_1111_1111: 4096 descriptors Any other value in this register yields undefined results. |
7:4 |
RSVD |
R |
- |
Reserved |
3:0 |
RXRINGSIZE_1_HIGH |
R/W |
0 |
This is the bits11-8 of RxRingSize1. |
REG_RX_CDO1
Size: 16
Address offset: 13F6h
Read/write access: R
Rx Current Descriptor Offset (CDO) for 1th priority queue. 16 bits
Bit |
Symbol |
Access |
INI |
Description |
|---|---|---|---|---|
15:12 |
RSVD |
R |
- |
Reserved |
11:0 |
RXCDO1 |
R |
0 |
Rx Current Descriptor Offset of 1st queue: RxFDP+RxCDO = current descriptor pointer. CDO increments by 16 each time (each increment is one byte). |
REG_SMSA
Size: 32
Address offset: 13FCh
Read/write access: R/W
Sram mapping start address
Bit |
Symbol |
Access |
INI |
Description |
|---|---|---|---|---|
31:0 |
SMSA |
R/W |
0 |
SRAM mapping start address for header mapping to sram |
REG_PROBE_SELEXCT
Size: 32
Address offset: 1400h
Read/write access: R/W
Probe signal select
Bit |
Symbol |
Access |
INI |
Description |
|---|---|---|---|---|
31:4 |
RSVD |
R |
- |
Reserved |
3:0 |
PROBE_SIGNAL_SELECT |
R/W |
0x0 |
For debug port signals use Value = 4: Tx/Rx related signals |
REG_DIAG1
Size: 32
Address offset: 1404h
Read/write access: R
For debug./
Bit |
Symbol |
Access |
INI |
Description |
|---|---|---|---|---|
31:6 |
RSVD |
R |
- |
Reserved |
5:3 |
RXMRING_STATE |
R |
||
2:0 |
LSO_STATS |
R |
Reserved(3bits) |
REG_CONFIG_CLK_AND_RX_PSE_DES_THRES_H
Size: 32
Address offset: 142Ch
Read/write access: R/W
Bit[3:0] is the Rx_Pse_Des_Thres_off[11:8]. Bit [21:16] set txc delay and rxc delay sel.
Bit |
Symbol |
Access |
INI |
Description |
|---|---|---|---|---|
31:28 |
RSVD |
R |
- |
Reserved |
27:24 |
RX_PSE_DES_THRES_OFF_1 |
R/W |
0 |
This is the Rx_Pse_Des_Thres_off1[11:8]. |
23:6 |
RSVD |
R |
- |
Reserved |
5 |
SET_D_TXC |
R/W |
0 |
Add delay to gmii_txc_out. Used in clk. Rgmii_1000: add 2nS delay. Rgmii_100: add 4nS delay. Rgmii_10: add 4nS delay. |
4:0 |
RXC_DLY_SEL |
R/W |
0 |
32-tap delay chain for rxc. This field is valid when CONFIG_CLK_REG.dis_dly_mode is 0. |
REG_ETHRNTRXCPU_DES_NUM1
Size: 32
Address offset: 1430h
Read/write access: R/W
This is the descriptor which the CPU has finished processing and returned to IO for 1st priority
queue. CPU needs to update this.
Bit |
Symbol |
Access |
INI |
Description |
|---|---|---|---|---|
31:24 |
ETHRNTRXCPU_DES_NUM_1_7_0 |
R/W |
0 |
Indicate the number of descriptor of 1st queue, which has been finished Rx process and returned to IO by CPU. After ending Rx process, CPU needs to update this field. |
23:16 |
RX_PSE_DES_THRES_ON_1_7_0 |
R/W |
0 |
Specifies the difference between EthrnetRxCPU_Des_Num1 and the descriptor of 1st queue currently in use by Ethernet Module in which flow control will be assert. |
15:8 |
RX_PSE_DES_THRES_OFF_1_7_0 |
R/W |
0 |
Specifies the difference between EthrnetRxCPU_Des_Num1 and the descriptor of 1st queue currently in use by Ethernet Module in which flow control will be de-assert. Rx_Pse_Des_Thress_off_1 should be less than (EthrntRxCPU_DES_NUM_1 - X). X is the maximum rx descriptors will be used for single ingress packet. |
7:4 |
ETHRNTRXCPU_DES_NUM_1_11_8 |
R/W |
0 |
This is the EthrntRxCPU_Des_Num1[11:8]. |
3:0 |
RX_PSE_DES_THRES_ON_1_11_8 |
R/W |
0 |
This is the Rx_Pse_Des_Thres_on1[11:8]. |
REG_ETHER_IO_CMD
Size: 32
Address offset: 1434h
Read/write access: R/W
ETHER_IO_CMD
Bit |
Symbol |
Access |
INI |
Description |
|---|---|---|---|---|
31 |
MAX_DMA_SEL_0 |
R/W |
0 |
Select the dma burst size on bus(memory controller should assert continuous btrdy).
AmebaI/AmebaPro/AmebaPro2 only support DMA burst length = 16DW |
30 |
SHORTDESFORMAT |
R/W |
0 |
Short descriptor format. Set 1 tx/rx descriptor will use old format - 4x32bit each item, set 0 use new format to support sram mapping AmebaI/AmebaPro/AmebaPro2 only support old format (1b'1) |
29 |
MAX_DMA_SEL_1 |
R/W |
0 |
See Ethernet_IO_CMD.bit31 AmebaI/AmebaPro/AmebaPro2 only support DMA burst length = 16DW |
28 |
EN_EARLY_TX |
R/W |
0 |
Default 0,
Disable early tx by GAMC while tx command descriptor.IPCS, UDPCS or TCPCS are set to high. For multiple tx descriptor application, this field should be 0. For low lxbus throughput environment, this field should be 0. For slow clk_gmac application, this field should be 0. |
27:24 |
TXPKTTIMER |
R/W |
0x0 |
Timer to trigger TxOK interrupt before receipt of TxIntMitigation pkts. 0000 – no timer set 0001 ~ 1111 : the timer interval defining a multiple of TU ex: 0011 = timer interval set to 3 x4 =12TU Once TxOK is asserted the timer mechanism is reinitialized. |
23 |
TXINTMITIGATION_3 |
R/W |
0 |
See Ethernet_IO_CMD.bit18-16 |
22 |
RXPKTTIMER_3 |
R/W |
0 |
See Ethernet_IO_CMD.bit15-13 |
21 |
RXINTMITIGATION_3 |
R/W |
0 |
See Ethernet_IO_CMD.bit10-8 |
20:19 |
TSH |
R/W |
0x0 |
Tx Threshold: Specifies the threshold level in the Tx FIFO to begin the transmission. When the byte count of the data in the Tx FIFO reaches this level, (or the FIFO contains at least one complete packet or the end of a packet) the Ethernet module will transmit this packet.
For poor lxbus bandwidth, tsh should be set b11. In rle0516, this field should be setted 0 or 1 (128B). |
18:16 |
TXINTMITIGATION_2_0 |
R/W |
0x0 |
This sets the number of packets received before TxOK interrupt is triggered. 0000- 1 pkt 0001- 4 pkts 0010- 8 pkts 0011- 12 pkts 0100- 16 pkts 0101- 20 pkts 0110- 24 pkts 0111- 28 pkts ... |
15:13 |
RXPKTTIMER_2_0 |
R/W |
0x0 |
Timer to trigger RxOK interrupt before receipt of RxIntMitigation pkts. 0000 – no timer set 0001 ~ 1111 : the timer interval defining a multiple of TU ex: 011 = timer interval set to 3 x4 =12TU This only applies to packets of size larger than 128 bytes. Once RxOK is asserted the timer mechanism is reinitialized. For ingress pkt which is short than 128B, RxOK interrupt asserts after DMA completes. |
12:11 |
RXFTH |
R/W |
0x0 |
Rx Threshold: Specifies the threshold level in the Rx FIFO to begin the transmission. When the byte count of the data in the Rx FIFO reaches this level, (or the FIFO contains at least one complete packet or the end of a packet) the Ethernet module will transmit this packet.
The rx threshold should be larger than maximum dma burst size. The combination of max_dma_sel and rxfth are listed as followed: Max_dma_sel rxfth B00(64B) b00(1024B), b01 (128B), b10(256B), b11(512B). B01(128B) b00(1024B), b10(256B), b11(512B). B10(256B) b00(1024B), b11(512B), In rle0516: SW should not set rxfth to 0b00 due to the rx fifo size is only 512B. The recommend value of rle0516 is 0b11 for performance concerns. 00 = no rx threshold. The Ethernet Module begins the transfer of data after having received a whole packet in the FIFO. 01 = 32 bytes 10 = 64 bytes 11 = 128 bytes Max_dma_sel rxfth B0(64B) b10(64B), b11(128B). B1(128B) b11(128B). |
10:8 |
RXINTMITIGATION_2_0 |
R/W |
0x0 |
This sets the number of packets received before RxOK interrupt is triggered. 0000- 1 pkt 0001- 4 pkts 0010- 8 pkts 0011- 12pkts 0100- 16 pkts 0101- 20 pkts 0110- 24 pkts 0111- 28 pkts ... |
7:6 |
REG_INT_TIMER_SEL |
R/W |
0x0 |
RXPktTimer, TXPktTimer Unit. (TU) Speed TU
|
5 |
RE |
R/W |
0 |
MII Rx Enable |
4 |
TE |
R/W |
0 |
MII Tx Enable |
3 |
TXFN4TH |
R/W |
0 |
4th Priority DMA-Ethernet Transmit enable. 1: Enable. 0: Disable. |
2 |
TXFN3RD |
R/W |
0 |
3rd Priority DMA-Ethernet Transmit enable. 1: Enable. 0: Disable. |
1 |
TXFN2ND |
R/W |
0 |
2nd Priority DMA-Ethernet Transmit enable. 1: Enable. 0: Disable. |
0 |
TXFN1ST |
R/W |
0 |
1st Priority DMA-Ethernet Transmit enable. 1: Enable. 0: Disable. |
REG_IO_CMD1
Size: 32
Address offset: 1438h
Read/write access: R/W
ETHER_IO_CMD1
Bit |
Symbol |
Access |
INI |
Description |
|---|---|---|---|---|
31 |
CF_ORGCOL_SEL |
R/W |
1 |
|
30:28 |
DSC_FORMAT_EXTRA |
R/W |
3'b011 |
Extra descriptor format. In rle0437, bit28 is is write only. SW should set this field before set IO_CMD.TE or RE to 1. AmebaI/AmebaPro/AmebaPro 2 only support the fixed value 3b'011 |
27 |
EN_PRECISE_DMA |
R/W |
0 |
AmebaI/AmebaPro/AmebaPro2 only support 1b'0 (disable precise DMA transfer) |
26 |
RXOKINT_MSK_128B |
R/W |
1 |
|
25 |
EN_RX_MRING |
R/W |
0 |
Enable rx multiple rings.
0 rx using single ring (ring1 only). SW should set this field before set IO_CMD.TE or RE to 1 AmebaI/AmebaPro/AmebaPro2 only support single rx ring |
24 |
EN_4GB |
R/W |
1 |
SW should set this field before set IO_CMD.TE or RE to 1 AmebaPro2 support 4GB addressing AmebaI/AmebaPro only support 1GB addressing |
23:22 |
RSVD |
R |
- |
Reserved |
21 |
RXRING6 |
R/W |
0 |
Ethernet-DMA Receive Ring6 enable.
If RXRING6 is not used, SW should put one dummy rx command descriptor (own = 0) at RXFDP6_reg. |
20 |
RXRING5 |
R/W |
0 |
Ethernet-DMA Receive Ring5 enable.
If RXRING5 is not used, SW should put one dummy rx command descriptor (own = 0) at RXFDP5_reg. |
19 |
RXRING4 |
R/W |
0 |
Ethernet-DMA Receive Ring4 enable.
If RXRING4 is not used, SW should put one dummy rx command descriptor (own = 0) at RXFDP4_reg. |
18 |
RXRING3 |
R/W |
0 |
Ethernet-DMA Receive Ring3 enable.
If RXRING3 is not used, SW should put one dummy rx command descriptor (own = 0) at RXFDP3_reg. |
17 |
RXRING2 |
R/W |
0 |
Ethernet-DMA Receive Ring2 enable.
If RXRING2 is not used, SW should put one dummy rx command descriptor (own = 0) at RXFDP2_reg. |
16 |
RXRING1 |
R/W |
0 |
Ethernet-DMA Receive Ring1 enable.
If RXRING1 is not used, SW should put one dummy rx command descriptor (own = 0) at RXFDP1_reg. |
15:14 |
TX_HL_PRI_SEL |
R/W |
0 |
Inside high queue, tx ring is round robin. Inside low queue, tx ring is round robin. Strict priority is used for high and low queue selection. b10 and b11: reserved. In RL6266, when tx_hl_pri is 1, txq1_h and txq2_h are 1 and txq3_h, txq4_h and txq5_h are 0. SW should set this field before set IO_CMD.TE to 1. AmebaI/AmebaPro/AmebaPro2 only support the fixed value 2b'00 |
13:9 |
RSVD |
R |
- |
Reserved |
8 |
TXFN5TH |
R/W |
0 |
5th Priority DMA-Ethernet Transmit enable.
After IO_CMD.TE is set high, TxFN5th is writable. |
7:5 |
RSVD |
R |
- |
Reserved |
4 |
TXQ5_H |
R/W |
0 |
This field is only used in eee. |
3 |
TXQ4_H |
R/W |
0 |
This field is only used in eee. |
2 |
TXQ3_H |
R/W |
0 |
This field is only used in eee. |
1 |
TXQ2_H |
R/W |
0 |
This field is only used in eee. |
0 |
TXQ1_H |
R/W |
0 |
This field is only used in eee. |
REG_WOL
Size: 32
Address offset: 143Ch
Read/write access: R/W
WOL_REG
Bit |
Symbol |
Access |
INI |
Description |
|---|---|---|---|---|
31:4 |
RSVD |
R |
- |
Reserved |
3 |
WOL_IMR |
R/W |
0 |
Interrupt mask of wol_pme. |
2 |
WOL_PME |
R |
0 |
HW asserts pme when A.HW entered wol idle state and B.received magic ingress pkt. HW asserts pme to wake up system. Wol_pme indicates:
|
1 |
WOL_STS |
R |
0 |
HW enters wol idle state when
Wol_sts indicates:
|
0 |
WOL_CMD |
R/W |
0 |
Issue wol command by SW |