MT7620 Ralink
MT7620 Ralink
PROGRAMMING
GUIDE
Integrated 802.11n MAC/BBP and 2.4 GHz RF/FEM Router-on-a-Chip
MT7620 PROGRAMMING GUIDE
Integrated 802.11n MAC/BBP and 2.4 GHz RF/FEM Router-on-a-Chip
MT7620 Overview
The MT7620 SoC includes a high performance 580 MHz MIPS24KEc CPU core and USB host controller/PHY,
which is designed to enable a multitude of high performance, cost-effective IEEE 802.11n applications with a
MediaTek (Ralink) client card.
16-Bit
EJTAG SDR/DDR1/DDR2
To CPU
MIPS 24KEc DRAM interrupt
64 KB I-Cache Controller s
OCP INTC
32 KB D-
_IF
Cache
OCP Bridge Arbiter Timer
(580 MHz)
SPI SPI
NFC NAND
PBUS
RBUS (SYS_CLK)
UART UART
GPIO
GPIO
/LED
PBUS
I2C I2C
Single-Port PCIe 1.1 WLAN Switch
SDHC GDMA
USB 2.0 PHY PHY 11n 2x2 (4FE + 2GE) I2S I2S
There are several masters (MIPS 24KEc, USB , PCI Express) in the MT7620 SoC on a high performance, low
latency Rbus, (Ralink Bus). In addition, the MT7620 SoC supports lower speed peripherals such as UART, GPIO,
and SPI via a low speed peripheral bus (Pbus). The SDRAM/DDR1/DDR2 controller is the only bus slave on the
Rbus. It includes an Advanced Memory Scheduler to arbitrate the requests from bus masters, enhancing the
performance of memory access intensive tasks.
Table of Contents
1. MIPS 24K PROCESSOR 11
1.1 FEATURES 11
1.2 BLOCK DIAGRAM 12
1.3 MEMORY MAP SUMMARY 13
1.4 CLOCK PLAN 14
1.5 CPU CLOCK MUX 15
2. REGISTERS 16
2.1 NOMENCLATURE 16
2.2 SYSTEM CONTROL 17
2.2.1 FEATURES 17
2.2.2 BLOCK DIAGRAM 17
2.2.3 LIST OF REGISTERS 18
2.2.4 REGISTER DESCRIPTIONS (BASE: 0X1000_0000) 19
2.3 TIMER 46
2.3.1 FEATURES 46
2.3.2 BLOCK DIAGRAM 47
2.3.3 LIST OF REGISTERS 48
2.3.4 REGISTER DESCRIPTIONS (BASE: 0X1000_0100) 49
2.4 INTERRUPT CONTROLLER 53
2.4.1 FEATURES 53
2.4.2 BLOCK DIAGRAM 53
2.4.3 LIST OF REGISTERS 54
2.4.4 REGISTER DESCRIPTIONS (BASE: 0X1000_0200) 55
2.5 SYSTEM TICK COUNTER 60
2.5.1 LIST OF REGISTERS 60
2.5.2 REGISTER DESCRIPTIONS (BASE: 0X1000_0D00) 61
2.6 UART 62
2.6.1 FEATURES 62
2.6.2 BLOCK DIAGRAM 62
2.6.3 LIST OF REGISTERS 63
2.6.4 REGISTER DESCRIPTIONS (BASE: 0X1000_0500) 64
2.7 UART LITE 72
2.7.1 FEATURES 72
2.7.2 BLOCK DIAGRAM 72
2.7.3 LIST OF REGISTERS 73
2.7.4 REGISTER DESCRIPTIONS (BASE: 0X1000_0C00) 74
2.8 PROGRAMMABLE I/O 81
2.8.1 FEATURES 81
2.8.2 BLOCK DIAGRAM 81
2.8.3 LIST OF REGISTERS 82
2.8.4 REGISTER DESCRIPTIONS (BASE: 0X1000_0600) 84
2
2.9 I C CONTROLLER 97
2.9.1 FEATURES 97
2.9.2 BLOCK DIAGRAM 97
2.9.3 LIST OF REGISTERS 98
Table of Figures
List of Tables
TABLE 2-1 UART LITE INTERRUPT PRIORITIES ................................................................................................................. 75
TABLE 2-2 PDMA RX FIELD DESCRIPTIONS .................................................................................................................. 191
TABLE 2-3 RULE MASK ............................................................................................................................................. 249
TABLE 2-4 RATE CONTROL ........................................................................................................................................ 249
TABLE 2-5 RULE CONTROL ........................................................................................................................................ 249
TABLE 2-6 TRTCM METER TABLE............................................................................................................................... 251
TABLE 2-7 ADDRESS TABLE WRITE DATA REGISTER: MAC ADDRESS ................................................................................. 277
TABLE 2-8 ADDRESS TABLE WRITE DATA REGISTER: DIP ENTRY ....................................................................................... 277
TABLE 2-9 ADDRESS TABLE WRITE DATA REGISTER: SIP ENTRY ....................................................................................... 277
TABLE 2-10 ADDRESS TABLE READ DATA REGISTER: MAC ENTRY .................................................................................... 279
TABLE 2-11 ADDRESS TABLE READ DATA REGISTER: DIP ENTRY....................................................................................... 280
TABLE 2-12 ADDRESS TABLE READ DATA REGISTER: SIP ENTRY ....................................................................................... 280
TABLE 2-13 VLAN AND ACL WRITE DATA-I REGISTER: VLAN ENTRY ............................................................................... 281
TABLE 2-14 VLAN AND ACL WRITE DATA-I REGISTER: ACL RULE TABLE .......................................................................... 282
TABLE 2-15 VLAN AND ACL WRITE DATA-I REGISTER: ACL RULE MASK .......................................................................... 282
TABLE 2-16 VLAN AND ACL WRITE DATA-I REGISTER: ACL RATE CONTROL ..................................................................... 282
TABLE 2-17 VLAN AND ACL WRITE DATA-I REGISTER: ACL RULE CONTROL ..................................................................... 282
TABLE 2-18 VLAN AND ACL WRITE DATA-I REGISTER: TRTCM METER TABLE ................................................................... 283
TABLE 2-19 VLAN AND ACL WRITE DATA-II REGISTER: VLAN ENTRY .............................................................................. 283
TABLE 2-20 VLAN AND ACL WRITE DATA-II REGISTER: ACL RULE TABLE ......................................................................... 283
TABLE 2-21 VLAN AND ACL WRITE DATA-II REGISTER: ACL RULE MASK ......................................................................... 283
TABLE 2-22 VLAN AND ACL WRITE DATA-II REGISTER: ACL RATE CONTROL .................................................................... 283
TABLE 2-23 VLAN AND ACL WRITE DATA-II REGISTER: ACL RULE CONTROL .................................................................... 283
TABLE 2-24 VLAN AND ACL WRITE DATA-II REGISTER: TRTCM METER TABLE .................................................................. 284
TABLE 2-25 DEBUG CONTROL REGISTER: DEBUG ID AND CONTROL .................................................................................. 289
TABLE 2-26 PCI/PCIE SCENERIO AND RELATIVE CONTROL REGISTER SETTINGS ..................................................................... 356
TABLE 2-27: 0X1398 TX_RATE_LUT_EN = 0 AND MULTI_MAC_ADDRESS = 0 ......................................................... 471
TABLE 2-28: 0X1398 TX_RATE_LUT_EN = 1 AND MULTI_MAC_ADDRESS = 0 ......................................................... 471
TABLE 2-29: 0X1398 TX_RATE_LUT_EN = 1 AND MULTI_MAC_ADDRESS = 1 ......................................................... 472
TABLE 3-1 IV/EIV FORMAT ...................................................................................................................................... 473
TABLE 3-2 WAPI_PN FORMAT ................................................................................................................................. 474
TABLE 3-3 WCID ATTRIBUTE ENTRY FORMAT .............................................................................................................. 475
TABLE 3-4 SHARED KEY MODE ENTRY FORMAT (1DW) ................................................................................................. 475
TABLE 3-5 PAIRWISE KEY TABLE (OFFSET: 0X4000) ....................................................................................................... 477
TABLE 3-6 IV/EIV TABLE (OFFSET: 0X6000) ................................................................................................................ 477
TABLE 3-7 WCID ATTRIBUTE TABLE (OFFSET: 0X6800) ................................................................................................. 477
TABLE 3-8 SHARED KEY TABLE (OFFSET: 0X6C00) ......................................................................................................... 478
TABLE 3-9 SHARED KEY MODE (OFFSET: 0X7000) ........................................................................................................ 478
TABLE 3-10 SHARED KEY MODE EXTENSION (FOR BSS_IDX=8 TO15) (OFFSET: 0X73F0) .................................................... 479
TABLE 3-11 SHARED KEY TABLE EXTENSION (FOR BSS_IDX=8 TO15) (OFFSET: 0X7400) .................................................... 480
TABLE 3-12 WAPI PN TABLE (EXTENSION OF IV/EIV TABLE) (OFFSET: 0X73F0) ............................................................... 480
TABLE 4-1 TX DESCRIPTOR FORMAT FIELD DESCRIPTIONS ............................................................................................... 483
TABLE 4-2 TXWI FRAME FORMAT.............................................................................................................................. 484
TABLE 4-3 TXWI FIELD DESCRIPTIONS ........................................................................................................................ 487
TABLE 4-4 RXWI FIELD DESCRIPTIONS ........................................................................................................................ 493
TABLE 4-5 BRIEF PHY RATE FORMAT AND DEFINITION .................................................................................................. 494
TABLE 4-6 MODULATION AND CODING SCHEME ........................................................................................................... 496
ISPRAM DMA
OCP I/F Instruction EJTAG Off/on chip
i-cache 0/8/16/32/64 KB trace I/F
scratchpad
4-way set associative Trace
RAM
TAP
User-defined Off-chip
CorExtend Debug I/F
block
CorExtend
Fetch Unit
8-entry instruction buffer
512-entry BHT
4-entry RPS OCP
MDU
Interface on-
BIU chip Bus(es)
Execution Unit 4-entry merging
User-defined (RF/ALU/ MMU write buffer,
COP2 block Shift) 16/32/64 JTLB or FMT 10 outstanding
CP2 reads
Non-blocking load/store
unit
8 outstanding misses
DSPRAM
System Co-
DMA OCP
processor
Interface
D-cache Data scratchpad
0/8/16/32/64 KB RAM
Power 4-way set associative
Managment
Fixed / Required
Optional
0000.0000 - 0FFF.FFFF 256 MBytes DDR2 256 MB/ DDR1 256 MB/SDRAM 128 MB
1000.0000 - 1000.00FF 256 Bytes SYSCTL
1000.0100 - 1000.01FF 256 Bytes TIMER
1000.0200 - 1000.02FF 256 Bytes INTCTL
1000.0300 - 1000.03FF 256 Bytes MEM_CTRL (SDR/DDR)
1000.0400 - 1000.04FF 256 Bytes Rbus Matrix CTRL
1000.0500 - 1000.05FF 256 Bytes UART
1000.0600 - 1000.06FF 256 Bytes PIO
1000.0700 - 1000.07FF 256 Bytes <<Reserved>>
1000.0800 - 1000.08FF 256 Bytes NAND Controller
1000.0900 - 1000.09FF 256 Bytes I2C
1000.0A00 - 1000.0AFF 256 Bytes I2S
1000.0B00 - 1000.0BFF 256 Bytes SPI
1000.0C00 - 1000.0CFF 256 Bytes UARTLITE
1000.0D00 - 1000.0DFF 256 Bytes MIPS CNT
1000.2000 - 1000.27FF 2 KBytes PCM (up to 16 channels)
1000.2800 - 1000.2FFF 2 KBytes Generic DMA (up to 64 channels)
1000.3000 - 1000.37FF 2 KBytes <<Reserved>>
1000.3800 - 1000.3FFF 2 KBytes <<Reserved>>
1000.4000 - 100F.FFFF <<Reserved>>
1010.0000 - 1010.FFFF 64 KBytes Frame Engine
1011.0000 - 1011.7FFF 32 KBytes Ethernet Swtich
1011.8000 1011.FFFF 32 KBytes ROM
1012.0000 - 1012.7FFF 32 KBytes USB Device Control
1012.8000 - 1012.FFFF 32 KBytes <<Reserved>>
1013.0000 - 1013.3FFF 16 KBytes SDHC
1013.4000 - 1013.FFFF 48 KBytes <<Reserved>>
1014.0000 - 1017.FFFF 256 KBytes PCI Express
1018.0000 - 101B.FFFF 256 KBytes WLAN BBP/MAC
101C.0000 - 101F.FFFF 256 KBytes USB Host
1020.0000 - 1023.FFFF 256 KBytes <<Reserved>>
1024.0000 - 1027.FFFF 256 KBytes <<Reserved>>
1028.0000 - 1BFF.FFFF <<Reserved>>
1C00.0000 - 1C00.7FFF 32 KB ROM When the system is powered on, a 24 KB internal
boot ROM is mapped.
CLK_SDHC
/12
20/40 MHz
/3
Xtal in 20/40 MHz /4
RF /5 DRAM_CLK
CPU_CLK_AUX0
CPU_CLK_AUX1
480 MHz
BBP PLL
PCM_480
20/40 MHz
/2 PCM_240
20/40 MHz
/3
DRAM_CLK
/4
1 Fractional
CPU_CLK
1 Clock
CPU SYS_CLK
0 Generator
PLL 600 MHz
0
2. Registers
2.1 Nomenclature
The following nomenclature is used for register types:
RO Read Only
WO Write Only
RW Read or Write
RC Read Clear
W1C Write One Clear
- Reserved bit
X Undefined binary value
2.2.1 Features
Provides read-only chip revision registers
Provides a window to access boot-strapping signals
Supports memory remapping configurations
Supports software reset to each platform building block
Provides registers to determine GPIO and other peripheral pin muxing schemes
Provides some power-on-reset only test registers for software programmers
Combines miscellaneous registers (such as clock skew control, status register, memo registers, etc)
Memory Remapping
CPU Rbus Wrapper
Boot Strapping Signals
GPIO Pin Muxing Scheme
Pin Muxing Block
System Control
Registers Per Block S/W Reset
Platform Blocks
Cache Hit/Miss Strobes
Miscellaneous Registers
PCIe, PCM, ...
To/From MIPS
PalmBus Interface
2. If the chip runs the USB function, the OCP frequency cannot be lower than 30 MHz. Then PLL_FREQ
follows this limitation.
BUS_FREQ >= 30 MHz.
3. Example:
PLL_FREQ = 600 MHz.
CPU_FREQ = 600 * (1/5) = 300 MHz. (CPU_FFRAC=1; CPU_FDIV=5)
BUS_FREQ = 300/3 = 100 MHz. (CPU_OCP_RATIO=1:3)
16. CLK_LUT_CFG: CPU and SYS Clock Auto Control (offset: 0x0040)
Bits Type Name Description Initial Value
31 RW SLP_EN Sleep Mode Enable 0x0
Enables sleep mode when MIPS SI_Sleep is
asserted.
0: Disable
1: Enable
Sleep Mode CPU Frequency =
(1/CPU_FDIV)*PLL_FREQ
30 RW STEP_EN Step Jump Enable 0x0
Enables step jump after MIPS exits sleep mode.
The CPU will jump to the normal frequency in
increments defined by STEP_FFRAC.bit[4:0] of
this register.
0: Disable
1: Enable
29:28 - - Reserved 0x0
27:20 RW STEP_CNT Step Counter 0x2
Sets the period of each step jump. When the
counter counts down to zero, the CPU clock
automatically changes to the next step
frequency.
The count period unit is 1 μs.
19:16 RW SLP_OCP_RATIO Sleep Mode CPU and System Bus Frequency 0x4
Ratio
Sets the ratio between the system bus frequency
and the CPU frequency when entering sleep
mode. (SYS:CPU)
Value Ratio (SYS : CPU )
4’d0 1:1
4’d1 1 : 1.5 (Reserved)
4’d2 1:2
4’d3 1 : 2.5 (Reserved)
4’d4 1:3
4’d5 1 : 3.5 (Reserved)
4’d6 1:4
4’d7 1:5
4’d8 1 : 10
Others Reserved
15:5 - - Reserved 0x0
NOTE: For more information on pin sharing schemes, see the datasheet for this chip.
24. PCIPDMA_STAT: Control and Status of PDMA in PCIe Device (offset: 0x0064)
Bits Type Name Description Initial Value
31:4 - - Reserved 0x0
3 RW PCIPDMA_RX_EN PDMA Rx DMA Enable 0x0
In iNIC applications, the external Host can
enable the PDMA of a PCIe Device to start Rx
PDMA (from the point of view of the external
host).
However, the actual PDMA Rx is enabled when
both of following conditions are met.
MIPS (internal CPU) writes 1 to
PCIPDMA_RX_EN.
External Host writes 1 to RX_DMA_EN via
BAR1.
2 RW PCIPDMA_TX_EN PDMA Tx DMA Enable 0x0
In iNIC applications, the external Host can
enable the PDMA of a PCIe Device to start Tx
PDMA (from the point of view of the external
host).
However, the actual PDMA Tx is enabled when
both of following conditions are met.
MIPS (internal CPU) writes 1 to
PCIPDMA_TX_EN.
External Host writes 1 to TX_DMA_EN via
BAR1.
1 RO PCIPDMA_RX_BUSY PCIe PDMA Rx Busy 0x0
Indicates PDMA Rx in the PCIe device is busy.
0: PDMA Rx is idle
1: PDMA Rx is busy
0 RO PCIPDMA_TX_BUSY Indicates PDMA Tx in the PCIe device is busy. 0x0
0: PDMA Tx is idle
1: PDMA Tx is busy
Bits Description
11:10 Output voltage level
Value Description
00 0.7 V
10 0.8 V
01 0.75 V
11 0.85 V
9 Reserved
8:4 Output termination adjustment
Value Description Value Description Value Description
00000 70 01010 52 10101 41
00001 66 01011 51 10110 40
00010 64 01100 50 10111 39
00011 62 01101 49 11000 38.5
00100 61 01110 48 11001 38
00101 59 01111 47 11010 37.5
00110 58 10000 46 11011 37
00111 56 10001 45 11100 36.5
01000 55 10010 44 11101 36
01001 54 10011 43 11110 35.5
10100 42 11111 35
3:2 Output slew-rate control
Value Description
00 1.71 V/ns
01 1.12 V/ns
10 0.78 V/ns
11 0.6 V/ns
1:0 Reserved
2.3 Timer
2.3.1 Features
Independent clock pre-scale for each timer.
Independent interrupts for each timer.
Two general-purpose timers which run at a 40 MHz clock rate. The other two run at a 32 kHz clock rate.
Periodic mode
Free-running mode
Time-out mode
Second timer may be used as a watchdog timer. Watchdog timer resets system on time-out.
Timer Modes
Periodic
In periodic mode, the timer counts down to zero from the load value. An interrupt is generated when the
count is zero. After reaching zero, the load value is reloaded into the timer and the timer counts down
again. A load value of zero disables the timer.
Timeout
In timeout mode, the timer counts down to zero from the load value. An interrupt is generated when the
count is zero. In this mode, the ENABLE bit is reset when the timer reaches zero, stopping the
counter. After reaching zero, the load value is reloaded into the timer. A load value of zero disables the
timer.
Free-running
In free-running mode, the timer counts down to zero from FFFFh. An interrupt is generated when the
count is zero. After reaching zero, FFFFh is reloaded into the timer. This mode is identical to the periodic
mode with a load value of 65535. It is worth noting that if firmware writes to the load value register in
this mode, the timer will still load that value even though that value will be ignored thereafter. Also note
that when the timer is first enabled, it will begin counting down from its current value, not necessarily
FFFFh.
Watchdog
In watchdog mode, the timer counts down to zero from the load value. If the load value is not reloaded or
the timer is not disabled before the count is zero, the chip will be reset. When this occurs, every register
in the chip is reset except the watchdog reset status bit WDRST in the RSTSTAT register in the system
control block; it remains set to alert firmware of the timeout event when it re-executes its bootstrap.
Timer
Timer 0
Test Control
Clock
Reset
Load Value Prescale
Timer 1 Interrupt
Interrupt
Control
Timer 1 Watchdog Timeout
Watchdog
Status Test Control
PalmBus Signals
PalmBus
Counter
Mode Control Interface
2.4.1 Features
Supports a central point for interrupt aggregation for platform related blocks
Separated interrupt enable and disable registers
Supports global disable function
2-level Interrupt priority selection
Each interrupt source can be directed to IRQ#0 or IRQ#1
INT 5
INT 4
INT 3
INT 2
MIPS
Interrupt Controller
IRQ1
Interrupts (high priority)
(from platform blocks) INT 1
Interrupt Interrupt Priority
Masking Selection
INT 0
IRQ0
(low priority)
PalmBus
(to/from MIPS)
PalmBus Interface
37. IRQ0STAT: Interrupt Type 0 Status after Enable Mask (offset: 0x0000)
Bits Type Name Description Initial Value
31:20 - - Reserved -
19 RO UDEV USB device interrupt status after mask 0x0
18 RO UHST USB host interrupt status after mask 0x0
17 RO ESW Ethernet Switch interrupt status after mask 0x0
16 - - Reserved 0x0
15 RO R2P R2P interrupt after mask 0x0
14 RO SDHC SDHC interrupt after mask 0x0
13 - - Reserved 0x0
12 RO UARTLITE UARTLITE interrupt status after mask 0x0
11 RO SPI SPI interrupt status after mask 0x0
10 RO I2S I2S interrupt status after mask 0x0
9 RO PC MIPS performance counter interrupt status 0x0
after mask
8 - - Reserved 0x0
7 RO DMA DMA interrupt status after mask 0x0
6 RO PIO PIO interrupt status after mask 0x0
5 RO UART UART interrupt status after mask 0x0
4 RO PCM PCM interrupt status after mask 0x0
3 RO ILL_ACC Illegal access interrupt status after mask 0x0
2 RO WDTIMER Watchdog timer interrupt status after mask 0x0
1 RO TIMER0 Timer 0 interrupt status after mask 0x0
0 RO SYSCTL System control interrupt status after mask 0x0
NOTE: These bits are set if the corresponding interrupt is asserted from the source and with the following two
conditions.
1. The interrupt is not masked (the bit is not set in the INTDIS register)
2. The interrupt type is set to INT0 (in the INTTYPE register).
NOTE: Writing to these bits is ignored and each bit cannot be simultaneously active in both the IRQ0STAT and
IRQ1STAT registers.
38. IRQ1STAT: Interrupt Type 1 Status after Enable Mask (offset: 0x0004)
Bits Type Name Description Initial Value
31:20 - - Reserved -
19 RO UDEV USB device interrupt status after mask 0x0
18 RO UHST USB host interrupt status after mask 0x0
17 RO ESW Ethernet Switch interrupt status after mask 0x0
16 - - Reserved 0x0
15 RO R2P R2P interrupt after mask 0x0
40. INTRAW: Raw Interrupt Status before Enable Mask (offset: 0x0030)
Bits Type Name Description Initial Value
31:20 - - Reserved 0x0
19 RO UDEV USB device interrupt status before mask 0x0
18 RO UHST USB host interrupt status before mask 0x0
17 RO ESW Ethernet Switch interrupt status before mask 0x0
16 - - Reserved 0x0
15 RO R2P R2P interrupt status before mask 0x0
14 RO SDHC SDHC interrupt status before mask 0x0
13 - - Reserved 0x0
12 RO UARTLITE UARTLITE interrupt status before mask 0x0
11 RO SPI SPI interrupt status before mask 0x0
10 RO I2S I2S interrupt status before mask 0x0
9 RO PC MIPS performance counter interrupt status 0x0
before mask
8 - - Reserved 0x0
7 RO DMA DMA interrupt status before mask 0x0
6 RO PIO PIO interrupt status before mask 0x0
5 RO UART UART interrupt status before mask 0x0
4 RO PCM PCM interrupt status before mask 0x0
3 RO ILL_ACC Illegal access interrupt status before mask 0x0
2 RO WDTIMER Watchdog timer interrupt status before mask 0x0
1 RO TIMER0 Timer 0 interrupt status before mask 0x0
0 RO SYSCTL System control interrupt status before mask 0x0
NOTE: These bits are set if the corresponding interrupt is asserted from the source. The status bit is set if the
interrupt is active, even if it is masked, and regardless of the interrupt type. This provides a single-access
snapshot of all active interrupts for implementation of a polling system.
2.6 UART
2.6.1 Features
16550-compatible register set, except for Divisor Latch register
5-8 data bits
1-2 stop bits (1 or 2 stop bits are supported with 5 data bits)
Even, odd, stick or no parity
All standard baud rates up to 345 600 b/s
16-byte receive buffer
16-byte transmit buffer
Receive buffer threshold interrupt
Transmit buffer threshold interrupt
False start bit detection in asynchronous mode
Internal diagnostic capabilities
Break simulation
Loop-back control for communications link fault isolation
Reset
from System
16550-Compatible UART Control
PalmBus
Interface
PalmBus Signals
RXD from PalmBus
Serializer Transmit FIFO
MODEM
Control Protocol Control Status Interrupts
Interrupt
to Interrupt
Controller
If more than one category of interrupt is asserted, only the highest priority ID is given.
The line and modem status interrupts are cleared by reading the corresponding status register in the UART
block (LSR (0x001C), MSR (0x0020)). The receive buffer full interrupt is cleared when all of the data is read
from the receive buffer. The transmit buffer empty interrupt is cleared when data is written to the TBR register
(0x0004) in the UART block.
SRC Clock Freq. Req. Baud Rate (Bd) DL [15:0] Err Rate (%)
57000 44 -0.32%
115200 22 -1.36%
40 MHz 230400 11 -1.36%
345600 7 3.34%
460800 5 8.51%
2.7.1 Features
2-pin UART
16550-compatible register set, except for Divisor Latch register
5-8 data bits
1-2 stop bits (1 or 2 stop bits are supported with 5 data bits)
Even, odd, stick or no parity
All standard baud rates up to 345600 b/s
16-byte receive buffer
16-byte transmit buffer
Receive buffer threshold interrupt
Transmit buffer threshold interrupt
False start bit detection in asynchronous mode
Internal diagnostic capabilities
Break simulation
Loop-back control for communications link fault isolation
clock
Baud Rate TXD
Transmit FIFO Serializer
reset Generator
from System
Controller
Interrupt
Interrupts Status Protocol Control
to Interrupt
Controller
If more than one category of interrupt is asserted, only the highest priority ID is given.
The line and modem status interrupts are cleared by reading the corresponding status register (LSR (0x001C)).
The receiver buffer full interrupt is cleared when all of the data is read from the receive buffer. The transmitter
buffer empty is cleared when data is written to the TBR register (0x0004).
SRC Clock Freq. Req. Baud Rate (Bd) DL [15:0] Error Rate (%)
57 000 44 -0.32%
115 200 22 -1.36%
40 MHz 230 400 11 -1.36%
345 600 7 3.34%
460 800 5 8.51%
2.8.1 Features
Supports 73 programmable I/Os
Parameterized numbers of independent inputs, outputs, and inputs
Independent polarity controls for each pin
Independently masked edge detect interrupt on any input transition
Programmable I/O pins are shared with MDIO, JTAG, UART-Lite, UART, SPI, PCM, I2C, GE1, and
EPHY_LED.
Reset
PIO Controller from Power
Polarity Data Out
Management
Q Q
Clock
from Power
Management
Q PalmBus Interface
PalmBus Signals
to PalmBus
Controller
73. GPIO23_00_RMASK: PIO Pin Rising Edge Interrupt Mask (offset: 0x0008)
Bits Type Name Description Initial Value
31:24 - - Reserved -
23:0 RW PIORMASK PIO Pin Rising Edge Interrupt Mask 0x0
Masks the PIO interrupt indicating when data
on the corresponding PIO pin transitions from a
0 to a 1, i.e. a rising edge.
0: No mask
1: Mask
NOTE: Edge detection is done after the polarity
is adjusted according to the PIOPOL register.
74. GPIO23_00_MASK: PIO Pin Falling Edge Interrupt Mask (offset: 0x000C)
Bits Type Name Description Initial Value
31:24 - - Reserved -
23:0 RW PIOFMASK PIO Pin Falling Edge Interrupt Mask 0x0
Masks the PIO interrupt indicating when data
on the corresponding PIO pin transitions from a
1 to a 0, i.e. a falling edge.
0: No mask
1: Mask
NOTE: Edge detection is done after the polarity
is adjusted according to the PIOPOL register.
83. GPIO39_24_RMASK: PIO Pin Rising Edge Interrupt Mask (offset: 0x0040)
Bits Type Name Description Initial Value
31:16 - - Reserved -
15:0 RW PIORMASK PIO Pin Rising Edge Interrupt Mask 0x0
Masks the PIO interrupt indicating when data
on the corresponding PIO pin transitions from a
0 to a 1, i.e. a rising edge.
0: No mask
1: Mask
NOTE: Edge detection is done after the polarity
is adjusted according to the PIOPOL register.
84. GPIO39_ 24_FMASK: PIO Pin Falling Edge Interrupt Mask (offset: 0x0044)
Bits Type Name Description Initial Value
31:16 - - Reserved -
15:0 RW PIOFMASK PIO Pin Falling Edge Interrupt Mask 0x0
Masks the PIO interrupt indicating when data
on the corresponding PIO pin transitions from a
1 to a 0, i.e. a falling edge.
0: No mask
1: Mask
NOTE: Edge detection is done after the polarity
is adjusted according to the PIOPOL register.
93. GPIO71_40_RMASK: PIO Pin Rising Edge Interrupt Mask (offset: 0x0068)
Bits Type Name Description Initial Value
31:0 RW PIORMASK PIO Pin Rising Edge Interrupt Mask 0x0
Masks the PIO interrupt indicating when data
on the corresponding PIO pin transitions from a
0 to a 1, i.e. a rising edge.
0: No mask
1: Mask
NOTE: Edge detection is done after the polarity
is adjusted according to the PIOPOL register.
94. GPIO71_40_FMASK: PIO Pin Falling Edge Interrupt Mask (offset: 0x006C)
Bits Type Name Description Initial Value
31:0 RW PIOFMASK PIO Pin Falling Edge Interrupt Mask 0x0
Masks the PIO interrupt indicating when data
on the corresponding PIO pin transitions from a
1 to a 0, i.e. a falling edge.
0: No mask
1: Mask
NOTE: Edge detection is done after the polarity
is adjusted according to the PIOPOL register.
103. GPIO72_RMASK: PIO Pin Rising Edge Interrupt Mask (offset: 0x0090)
Bits Type Name Description Initial Value
31:1 - - Reserved -
0 RW PIORMASK PIO Pin Rising Edge Interrupt Mask 0x0
Masks the PIO interrupt indicating when data
on the corresponding PIO pin transitions from a
0 to a 1, i.e. a rising edge.
0: No mask
1: Mask
NOTE: Edge detection is done after the polarity
is adjusted according to the PIOPOL register.
104. GPIO72_FMASK: PIO Pin Falling Edge Interrupt Mask (offset: 0x0094)
Bits Type Name Description Initial Value
31:1 - - Reserved -
0 RW PIOFMASK PIO Pin Falling Edge Interrupt Mask 0x0
Masks the PIO interrupt indicating when data
on the corresponding PIO pin transitions from a
1 to a 0, i.e. a falling edge.
0: No mask
1: Mask
NOTE: Edge detection is done after the polarity
is adjusted according to the PIOPOL register.
2
2.9 I C Controller
2.9.1 Features
Programmable I C bus clock rate
2
SCLK
L_SCLK
Clock Control
I2C SCLK_OE_N
RST_N
Configuration
CLK Registers
State Machine
PB_I2C_SEL L_SD
PB_WE Data Holding SDOUT
Serdes
Registers
PB_RE SD_OE_N
PalmBus
PB_ADDR
Interface
PB_WDATA
PB_I2C_RDATA Arbiter
PB_I2C_WAIT
2
112. CLKDIV: I C Clock Divisor Register (offset: 0x0004)
Bits Type Name Description Initial Value
31:16 - - Reserved 0x0
2
113. DEVADDR: I C Device Address Register (offset: 0x0008)
Bits Type Name Description Initial Value
31:7 - - Reserved 0x0
2
6:0 RW DEVADDR I C Device Address 0x0
This value is transmitted as the device address,
if DEVADDIS bit in the CONFIG register is not set
to 1.
2
114. ADDR: I C Address Register (offset: 0x000C)
Bits Type Name Description Initial Value
31:8 - - Reserved 0x0
2
7:0 RW ADDR I C Address 0x0
These bits store the 8-bits of address to be sent
to the external I2C slave devices when the
ADDRDIS bit is 0.
2
115. DATAOUT: I C Data Out Register (offset: 0x0010)
Bits Type Name Description Initial Value
31:8 - - Reserved 0x0
2
7:0 RW DATAOU I C Data Out 0x0
These bits store the 8-bits of data to be written
to the external I2C slave devices during a write
transfer.
2
116. DATAIN: I C Data In Register (offset: 0x0014)
Bits Type Name Description Initial Value
31:8 - - Reserved 0x0
2
7:0 RO DATAIN I C Data In 0x0
These bits store the 8-bits of data received from
the external I2C slave devices during a read
transaction. The DATARDY bit in the STATUS
register is set to 1 when data is valid in this
register.
2
117. STATUS: I C Status Register (offset: 0x0018)
Bits Type Name Description Initial Value
31:5 - - Reserved 0x0
4 RO STARTERR Start Overflow Error 0x0
0: Indicates firmware is writing to the STARTXFR
register when the BUSY bit is cleared.
1: Indicates an overflow error occurred. The
STARTXFR register is written and a transfer is
in progress. When this occurs, the write to
the STARTXFR register is ignored.
2
3 RO ACKERR I C Acknowledge Error Detect 0x0
0: Indicates firmware is writing to the STARTXFR
register.
1: Indicates the Host controller did not receive
a proper acknowledge from the I2C slave
device after the transmission of a device
address, address, or data out.
2
2 RO DATARDY I C Data Ready for Read 0x0
This bit indicates that the receive buffer
contains valid data.
0: Indicates firmware is reading the DATAIN
register.
1: Indicates data is received from an I2C slave
device and is transferred from the interface
shift register to the DATAIN register.
2
1 RO SDOEMPTY I C Serial Data Out Register Empty 0x1
This bit indicates that the transmit data buffer
is empty.
0: Indicates the DATAOUT register is being
written to by software.
1: Indicates when transmit data is transferred
from the DATAOUT register to the interface
shift register. Firmware may write to the
DATAOUT register when this bit is 1.
2
118. STARTXFR: I C Transfer Start Register (offset: 0x001C)
Bits Type Name Description Initial Value
31:2 - - Reserved 0x0
1 RW NODATA No Data Transfer 0x0
Initiate transfers without transferring data.
When this register is written with this bit set, an
address-only transaction is initiated. If
DEVADDIS is 0, the device address, direction,
address and stop condition are transmitted to
the I2C slave device.
If DEVADDIS is 1, the address and stop
condition are transmitted to the I2C slave
device. This bit should be written with a 0 for
normal I2C bus accesses.
NOTE: ADDRDIS is ignored if this bit is set for a
transaction.
0 RW RWDIR Read/Write Direction 0x0
When this register is written with this bit set, a
read transaction is initiated; when written with
this bit reset, a write transaction is initiated.
NOTE: This bit is shifted out to the I2C slave
device after the device address; if DEVADDIS is
1, this bit is not shifted out to the device.
2
119. BYTECNT: I C Byte Counter Register (offset: 0x0020)
Bits Type Name Description Initial Value
31:6 - - Reserved 0x0
5:0 RW BYTCNT Byte Count 0x0
Used for sequential reads/writes. The value
written to this register plus one indicates the
number of data bytes to be written to or read
from the external I2C slave device. If its value is
non-zero, multiple sequential read or write
cycles will be issued with a single address
(and/or device address).
2
2.9.4.1 I C Programming Description
Write Operation: (Single)
NOTE:
The bit-width of DEV_ADR is defined in REG(CONFIG) bit[7:5]
The bit-width of SUB_ADR is defined in REG(CONFIG) bit[4:2]
Initialization:
1. Configure the REG(CLKDIV) to decide the clock frequency of I2C.
2. Configure the bit width of DEV_ADDR and SUB_ADDR by configure REG(CONFIG).
Read/Write Operation:
1. Write the DEV_ADDR and SUB_ADDR to REG(DEVADDR) & REG(ADDR).
2. Write the DATAout (REG(DATAOUT)) for write operation.
3. Write the operation cfg by REG(STARTXFR) to kick off the command.
4. Read the BUSY status by REG(STATUS) to monitor if the operation is done.
5. Read back the REG(DATAIN) for read operation.
(N+1) bytes
Burst Write Operation:
1) Write the DEV_ADDR and SUB_ADDR to REG(DEVADDR) & REG(ADDR)
2) Write (N) to REG(BYTECNT).
3) Write the REG(DATAOUT) for write operation.
4) Write the operation cfg by REG(STARTXFR) to kick off the command.
5) Read the SDOEMPTY bit by REG(STATUS) to monitor if the data is sent.
6) Quit when all data is written, otherwise put the new data to the REG(DATAOUT) for write operation.
7) Return to step 4.
(N+1) bytes
Burst Read Operation:
1) Write the DEV_ADDR and SUB_ADDR to REG(DEVADDR) & REG(ADDR)
2) Write (N) to REG(BYTECNT).
3) Write the operation cfg by REG(STARTXFR) to kick off the command.
4) Read the DATARDY bit by REG(STATUS) to monitor if the data is obtained.
5) Read REG(DATAIN) and return to step-4 until all bytes are read.
2.10.1 Features
Supports read/erase/page program NAND flash memory.
Hardware ECC engine. (Hardware generating and software correcting)
Supports NAND flash memory with 512-byte and 2048-byte page size.
Indirect access for special commands.
Configurable write protect register.
Little / bit ending operation.
2.10.3 ECC
The ECC engine uses Hamming code. The Hamming code generates a 24-bit ECC per 512 bytes in order to
perform a 2-bit detection and a 1-bit correction. In our application, hardware performs ECC error detection,
and software performs 1-bit ECC error correction.
The following table shows how the 24-bit ECC was generated from 512-byte data.
1 byte bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 P8* P16
2 byte bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 P8 * P32
P2048
3 byte bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 P8* *
P16 *
4 byte bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 P8
509 byte bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 P8* P16
510 byte bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 P8 * P2048
P32
511 byte bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 P8*
P16
512 byte bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 P8
P2 P2* P2 P2*
P4 P4*
The following table shows how the 24-bit ECC bits are arranged in three bytes. The first and second ECC bytes
contains row parity bits. The third ECC byte contains six column parity bits, plus two row parity bits.
The figure below shows the hardware ECC detection flow chart.
All results = 0 N
Y
No error Error detected :
11 bits data = 1 (correctable error)
1 bit data = 1 (ECC error)
2.11.1 Features
PCM module provides PBUS interface for register configuration and data transfer
Two clock sources are reserved for PCM circuit. (From internal clock generator, INT_PCM_CLK and
EXT_PCM_CLK)
PCM module can drive a clock out (with fraction-N dividor) to an external codec.
Up to 4 channels PCM are available. 4 to 128 slots are configurable.
Each channel supports a-law (8-bit)/u-law (8-bit)/raw-PCM (8-bit and 16-bit) transfer.
Hardware converter of a-law<->raw-16 and u-law <-> raw-16 are implemented in design.
Support long (8 cycle)/short (1 cycle)/configurable (intervals are configurable, use to emulate I S
2
interface) FSYNC.
DATA & FSYNC can be driven and sampled by either rising/falling of clock.
Last bit of DTX can be configured as tri-stated on falling edge.
Beginning of each slot is configurable by 10-bit registers on each channel.
32-byte FIFO are available for each channel
PCM interface can emulate I2S interface (only 16-bit data-width supported ).
MSB/LSB order is configurable.
Supports both a-law/u-law (8-bits) linear PCM(16-bit) and linear PCM(16-bit) a-law/u-law (8-bit)
PCM Control
PBUS LTF
Status Register
a/ulaw a/ulaw
SYS clock domain
PCM IF/I2S
IF
Two clock domains are partitioned in this design. PCM converter (u-law < = > raw-16-bit and A-law < = > raw
16-bit) are implemented in PCM. The threshold of FIFO is configurable. When the threshold is reached, PCM (a)
triggers the DMA interface to notify external DMA engine to transfer data, and (b) triggers an interrupt to the
host.
The interrupt sources include:
The threshold is reached.
FIFO is under-run or over-run.
A fault is detected at the DMA interface.
The A-law and u-law converter is implemented based on the ITU-G.711 A-law and u-law table. In this design,
both A-law/u-law(8-bit) linear PCM (16-bit) and linear PCM (16-bit) A-law/u-law (8-bit) are supported.
The data flow from the PCM controller to codec (Tx-flow) is shown below. After GDMA is configured, software
should configure and enable the PCM channel. The empty FIFO should behave as follows.
When DMA_ENA=1, DMA_REQ is triggered to request a burst transfer. It then re-checks the FIFO
threshold after DMA_END is asserted by GDMA (a burst is completed).
The Interrupt source is asserted to notify HOST. HOST writes the data to Tx-FIFO. After that, HOST
rechecks TFIFO_EMPTY information, and then writes more data if available.
NOTE: When DMA_ENA=1, the burst size of GDMA should be less than the threshold value.
Case 1:
CFG_FSYNC Register: CFG_FSYNC_EN = 0 (PS: fsync is always driven at SLOT_CNT=1)
CH0_CFG Register: TS_START=1
CH1_CFG Register: TS_START=9
PCM_CFG Register: LONG_FSYNC=1’b0, FSYNC_POL=1’b1, DRX_TRI=1’b0, SLOT_MODE=3’b0
Case 2:
CFG_FSYNC Register: CFG_FSYNC_EN = 1, START_LOC=0, interval=16
CH0_CFG Register: TS_START=1
CH1_CFG Register: TS_START=17
PCM_CFG Register: LONG_FSYNC=1’b0, FSYNC_POL=1’b1, DRX_TRI=1’b0, SLOT_MODE=3’b0, RAW16-bits
Case 3:
CFG_FSYNC Register: CFG_FSYNC_EN = 1, START_LOC=0x1A, interval=2
CH0_CFG Register: TS_START=1 (disable)
CH1_CFG Register: TS_START=0x1A
PCM_CFG Register: LONG_FSYNC=1’b0, FSYNC_POL=1’b0 (LOW active), DRX_TRI=1’b0, SLOT_MODE=3’b0,
RAW16-bits
2.12.1 Features
Supports 16 DMA channels
Supports 32 bit address.
Maximum 65535 byte transfer
Programmable DMA burst size (1, 2, 4, 8, 16 double word burst)
Supports memory to memory, memory to peripheral, peripheral to memory, peripheral to peripheral
transfers.
Supports continuous mode.
Supports division of target transfer count into 1 to 256 segments
Support for combining different channels into a chain.
Programmable hardware channel priority.
Interrupts for each channel.
DMA
Interface
Arbiter
Interrupt
Interface Ch0
Interrupt Pbus Interface
Controller (Slave)
Pbus
Mux
Slave
Ch"n"
160. GDMA_SAn: GDMA Channel n Source Address (offset: 0x0000, 0x0010, 0x0020, 0x0030, 0x0040, 0x0050,
0x0060, 0x0070, 0x0080, 0x0090, 0x00A0, 0x00B0, 0x00C0, 0x00D0, 0x00E0, 0x00F0) (n: 0 to 15)
Bits Type Name Description Initial Value
31:0 RW CHANNEL SOURCE Channel Source Address 0x0
ADDRESS This register contains the source address
information.
161. GDMA_DAn: GDMA Channel n Destination Address (offset: 0x0004, 0x0014, 0x0024, 0x0034, 0x0044,
0x0054, 0x0064, 0x0074, 0x0084, 0x0094, 0x00A4, 0x00B4, 0x00C4, 0x00D4, 0x00E4, 0x00F4) (n: 0 to 15)
Bits Type Name Description Initial Value
31:0 RW CHANNEL DESTINATION Channel Destination Address 0x0
ADDRESS This register contains the destination address
information.
162. GDMA_CT0n: GDMA Channel n Control Register 0 (offset: 0x0008, 0x0018, 0x0028, 0x0038, 0x0048,
0x0058, 0x0068, 0x0078, 0x0088, 0x0098, 0x00A8, 0x00B8, 0x00C8, 0x00D8, 0x00E8, 0x00F8) (n: 0 to 15)
Bits Type Name Description Initial Value
31:16 RW Target Transfer Count The number of bytes to be transferred. 0x0
(Byte)
15:8 RO Current Segment Indicates the current segment (0 to 255). 0x0
7 RW Source Address Mode Sets the source address mode 0x0
‘b0: Incremental mode
‘b1: Fix mode
6 RW Destination Address Sets the destination address mode. 0x0
Mode ‘b0: Incremental mode
‘b1: Fix mode
5:3 RW Burst Size Sets the number of double words in each burst 0x0
transaction.
‘b000: 1 DW
‘b001: 2 DWs
‘b010: 4 DWs
‘b011: 8 DWs
‘b100: 16 DWs
Others: Undefined
2 RW Transmit Done Interrupt Enables the transmit done interrupt. This 0x0
Enable interrupt asserts after transfer of each segment
is done.
‘b1: Enable
‘b0: Disable
163. GDMA_CT1n: GDMA Channel n Control Register 1 (offset: 0x000C, 0x001C, 0x002C, 0x003C, 0x004C,
0x005C, 0x006C, 0x007C, 0x008C, 0x009C, 0x00AC, 0x00BC, 0x00CC, 0x00DC, 0x00EC, 0x00FC) (n: 0 to 15)
Bits Type Name Description Initial Value
31:26 - - Reserved 0x0
N
25:22 RW Number of Segment (N) The number of segments=2 , where N is the 0x0
value of this bit. Valid values for this bit range
from N=0 to 8.
N
The segment size=(Target Transfer Count/2 ).
N
If Target Transfer Count is not a multiple of 2 ,
N
the segment size = (Target Transfer Count/2 ) +
1.
21:16 RW Source DMA Request Selects the source DMA request. 0x0
0: DMA_REQ0
1: DMA_REQ1
2: DMA_REQ2
…
n: DMA_REQn
32: The source of the transfer is memory
Others: Undefined
15 - - Reserved 0x0
14 RW Continuous Mode Enable Sets HW to keep the data channel enabled 0x0
when the number of bytes transferred reaches
the Target Transfer Count defined in the
GDMA_CT0n register.
0: HW will clear Channel Enable after the target
transfer count is reached.
1: HW will NOT clear Channel Enable after the
target transfer count is reached.
2.13.1 Features
Supports up to 2 SPI master operations
Programmable clock polarity
Programmable interface clock rate
Programmable bit ordering
Firmware-controlled SPI enable
Programmable payload (address + data) length
Supports 1/2/4 multi-IO SPI flash memory
Supports command/user mode operation
Supports SPI direct access
Extends the addressable range from 24 bits to 32 bits for memory size larger than 128 Mb.
clock
CPU SO/SIO1
CPU Interface SERDES
from PalmBus Interface WP/SIO2
Controller
2.14.1 Features
I2S transmitter/receiver, which can be configured as master or slave.
Supports 16-bit data, sampling rates of 8 kHz, 16 kHz, 22.05 kHz, 44.1 kHz, and 48 kHz
Support stereo audio data transfer.
32-byte FIFO are available for data transmission.
Supports GDMA access
Supports 12 Mhz bit clock from external source (when in slave mode)
RBUS
CPU SDRAM
RBUS
I2S Design CSR RBUS
Async interface
SD
Parallel- RBUS
PBUS GDMA
WS to-serial FIFO Control
converter PBUS
SCLK
2
Figure 2-14 I S Transmitter Block Diagram
2
The I S interface consists of two separate cores, a transmitter and a receiver. Both can operate in either master
or slave mode. The transmitter is only shown here in master or slave mode.
2 2
2.14.3 I S Signal Timing For I S Data Format
Serial data is transmitted in 2’s complement with the MSB first. The transmitter always sends the MSB of the
next word one clock period after the WS changes. Serial data sent by the transmitter may be synchronized
with either the trailing (HIGH-to-LOW) or the leading (LOW-to-HIGH) edge of the clock signal. However, the
serial data must be latched into the receiver on the leading edge of the serial clock signal, and so there are
some restrictions when transmitting data that is synchronized with the leading edge.
2
192. INT_STATUS: I S Interrupt Status (offset: 0x0004)
Bits Type Name Description Initial Value
31:8 R - Reserved 0x0
7 R/ RX_DMA_FAULT Rx DMA Fault Detected Interrupt 0x0
W1C Asserts when a fault is detected in Rx DMA
signals.
6 R/ RX_OVRUN Rx Overrun Interrupt 0x0
W1C Asserts when the Rx FIFO is overrun.
5 R/ RX_UNRUN Rx Underrun Interrupt 0x0
W1C Asserts when the Rx FIFO is underrun.
4 R/ RX_THRES Rx FIFO Below Threshold Interrupt 0x0
W1C Asserts when the Rx FIFO is lower than the
defined threshold.
3 R/ TX_DMA_FAULT Tx DMA Fault Detected Interrupt 0x0
W1C Asserts when a fault is detected in Tx DMA
signals.
2 R/ TX_OVRUN Tx FIFO Overrun Interrupt 0x0
W1C Asserts when the Tx FIFO is overrun.
1 R/ TX_UNRUN Tx FIFO Underrun Interrupt 0x0
W1C Asserts when the Tx FIFO is underrun.
0 R/ TX_THRES Tx FIFO Below Threshold Interrupt 0x0
W1C Asserts when the FIFO is lower than the defined
threshold.
NOTE:
Read Write
0: Interrupt not asserted 1: Clear this bit
1: Interrupt asserted
2
193. INT_EN: I S Interrupt Enable Control Register (offset: 0x0008)
Bits Type Name Description Initial Value
31:9 - - Reserved 0x0
7 RW RX_INT3_EN INT_STATUS[7] Enable 0x0
Enables the Rx DMA Fault Detected Interrupt.
This interrupt asserts when a fault is detected
in Rx DMA signals.
6 RW RX_INT2_EN INT_STATUS[6] Enable 0x0
Enables the Rx Overrun Interrupt. This
interrupt asserts when the Rx FIFO is overrun.
5 RW RX_INT1_EN INT_STATUS[5] Enable 0x0
Enables the Rx Underrun Interrupt. This
interrupt asserts when the Rx FIFO is underrun.
4 RW RX_INT0_EN INT_STATUS[4] Enable 0x0
Enables the Rx FIFO Below Threshold Interrupt.
This interrupt asserts when the Rx FIFO is lower
than the defined threshold.
2
194. FF_STATUS: I S Tx/Rx FIFO Status (offset: 0x000C)
Bits Type Name Description Initial Value
31:8 - - Reserved 0x0
7:4 RO RX_AVCNT Rx FIFO Available Space Count 0x0
Counts the available space for reads in Rx FIFO.
(unit: word)
3:0 RO TX_EPCNT Tx FIFO Available Space Count 0x8
Counts the available space for writes in Tx FIFO.
(unit: word)
2
197. I2S_CFG1: I S Loopback Test Control Register (offset: 0x0018)
Bits Type Name Description Initial Value
31 RW LBK_EN Enables loopback mode. 0x0
0: Normal mode
1: Loopback mode
ASYNC_TXFIFIO Tx Rx ASYNC_RXFIFIO
2.15.1 Features
1 SDRAM/DDR2 (16 b) chip selection
128 MB (SDRAM)/128 MB (DDR1)/256 MB (DDR2) per chip selection
SDRAM transaction overlapping by early active and hidden pre-charge
User SDRAM Init commands
4 banks per SDRAM chip select
SDRAM burst length: 4 (fixed)
DDR2 burst length: 4/8 (programmable)
Wrap-4 transfer
Bank-Raw-Column and Raw-Bank-Column address mapping
SDRAM Controller
PIN
Scheduler
Mux
DDR2 Controller
For DDR Performance, follow the settings provided in these two tables for DDR_CFG0 and DDR_CFG1
according to their DDR sizes. The tables are based on a DDR frequency of 193 MHz.
DDR1: DDR_CFG0/1
DDR WIDTH Total DDR_CFG0 (tRFC/tREFI) DDR_CFG1 MT7620N MT7620A
SIZE Width (DRQFN) (TFBGA)5
64 Mb 16 16 32’h34A1EB59 32’h20262324 V V
128 Mb 16 16 32’h34A1EB59 32’h202A2324 V V
256 Mb 16 16 32’h34A1E5AC 32’h202E2324 V V
512 Mb 16 16 32’h3421E5AC 32’h20322324 V V
1 Gb 16 16 32’h241B05AC 32’h20362334 V
DDR2: DDR_CFG0/1
DDR WIDTH Total DDR_CFG0 (tRFC/tREFI) DDR_CFG1 MT7620N MT7620A
SIZE Width (DRQFN) (TFBGA)
128 Mb 16 16 32’h2499E5AC 32’h222A2323 V V
256 Mb 16 16 32’h2519E2D6 32’h222e2323 V V
512 Mb 16 16 32’h249AA2D6 32’h22322323 V V
1 Gb 16 16 32’h249B22D6 32’h22362323 V
2 Gb 16 16 32’h249CE2D6 32’h223A2323 V
DDR1:DDR_CFG4:32’h00000000
DDR2:DDR_CFG4:32’h0000000A
DRAM_CLK_FREQ is
PLL_CLK (384 MHz or 400 MHz) divided by 3
DDR2:
(SR_TAR_CNT *256 +255) /DRAM_CLK_FREQ
SDR:
(SR_TAR_CNT *256 )/DRAM_CLK_FREQ
2.16.1 Features
8 channel QoS Arbiter
Configurable Bandwidth and Duedate for each agent
QoS classifier can be programmed for RR, BW RR, Fixed Priority and QoS Arb
1 second
8 to 1 Strict priority arbiter
stage arbiter
(based on service priority)
(M ports)
2.17.1 Features
Complies with the USB 2.0 Specifications
Complies with Host Controller Interface (OHCI) Specifications, Version 1.0a.
Supports ping and split transactions
Descriptor and data prefetching.
Complies with Enhanced Host Controller Interface (EHCI) Specifications, Version 1.0, and the Open Host
Controller Interface (OHCI) Specification, Version 1.0a.
USB Host
Controller
Data Ram Desc Ram
Offset 31 00
0 HcRevision
4 HcControl
8 HcCommandStatus
C HcInterruptStatus
10 HcInterruptEnable
14 HcInterruptDisable
18 HcHCCA
1C HcPeriodCurrentED
20 HcControlHeadED
24 HcControlCurrentED
28 HcBulkHeadED
2C HcBulkCurrentED
30 HcDoneHead
34 HcFmInterval
38 HcFmRemaining
3C HcFmNumber
40 HcPeriodicStart
44 HcLSThreshold
48 HcRHDescriptor A
4C HcRhDescriptor B
50 HcRhStatus
54 HcRhPortStatus[1]
… ...
54+4*NDP HcRhPortStatus[NDP]
2.18.1 Features
Supports the USB 2.0 Specification (Revision 1.0a), operates in High-Speed (HS, 480 Mbps)
Supports up to 2 bulk-in and 2 bulk-out endpoints, and including control endpoint 0.
Packet DMA (PDMA) is integrated for efficient data transfer.
Supports bulk-out aggregation features. More than one packet can be aggregated to single bulk transfer.
Supports two Rx descriptor rings and two Tx descriptor rings for QoS service.
OUTFIFO
Asynch
Control HOST_IF OUT EP 1
PBus
OUT EP 2
RBus WRR_SCH
Rx Ring #0
PDMA_RX Asynch Rx UDMA_TXFSM
Rx Ring #1
USB Bus
Tx Ring #0
IN EP 1
Tx Ring #1 PDMA_TX Asynch Tx UDMA_RXFSM
IN EP 2
WRR_SCH
INTFIFO
PDMA_RX_INFO
3 2 2 2 2 1 1
0
1 8 7 4 3 6 5
OUT_EP_
Reserved Reserved RX_BCNT[15:0]
ADDR
3 1 1
0
1 6 5
Reserved TX_LEN[15:0]
PDMA_RX_INFO
3 2 2 2 2 1 1 1
0
1 8 7 4 3 8 6 5
Re
OUT_EP_ ZLP_ se
Reserved Reserved RX_BCNT[15:0]
ADDR EN rv
ed
OUT_EP_ADDR: OUT endpoint address
Tx length Tx length
Tx Pkt (bytes) + Tx Pkt (bytes) +
#1 padding #1 padding
802.11 header and 802.11 header
(1/2/3 (1/2/3
payload and payload
bytes) bytes)
USB_TX_INFO (1 DW)
PDMA_RX_INFO
TX WI (2/4/8 DW)
USB Device core TX WI (2/4/8 DW)
Tx length (UDMA_TX_FSM)
Tx Pkt (bytes) + Tx Pkt Tx length
#2 padding #2 (bytes) +
802.11 header and (1/2/3
802.11 header padding
payload bytes)
and payload (1/2/3
bytes)
USB_TX_INFO (1 DW)
Always 0 (1 DW)
Please note that in both modes, PDMA may transfer more bytes than RX_BCNT. On chip F/W should take the
RX_BCNT in PDMA_RX_INFO as the actual received packet length.
AGG_HDR[31:0]
Payload
Padding
AGG_HDR[31:0]
Payload
Padding
...
AGG_HDR[31:0]
AGG_HDR[31:0] AGG_HDR[31:16] reserved;
AGG_HDR[15:0] payload_length;
NOTE:
Payload 1) Each aggregation frame should add padding
to align with the 4-byte boundary.
Padding 2) The payload_length indicates the length of
payload (padding not included).
Agg Tail = 0x0
2.18.8 Bulk IN
In BULK_IN direction, only legacy mode is supported by USB device core. H/W does nothing but to send the
packets from PDMA to host.
bit 31 bit 0
DWORD0
SDP0[31:0]
DWORD1
DDONE LS0 SDL0[13:0] BURST LS1 SDL1[13:0]
DWORD2
SDL1[31:0]
DWORD3
(TXINFO)
Reserved
EP[3:0] Reserved[23:0]
[3:0]
bit 31 bit 0
DWORD0
SDP0[31:0]
DWORD1
DDONE LS0 SDL0[13:0] BURST LS1 SDL1[13:0]
DWORD2
SDP1[31:0]
DWORD3
(RXINFO)
Reserved
EP[3:0] Reserved[23:16] Received Byte Count [15:0]
[3:0]
0000 H
0800 H
UDMA registers
1000 H
PDMA registers
1400 H
Reserved
1FFF H
NOTE: All PPE features mentioned above require software porting to function.
RBus
RBus
FOE entry CPU port (Port #0)
PDMA Scatter/Gathering
DMA
PPE
(Packet Processing Engine)
CDM TSO /CSO
SoC Peripheral Bus
Rx Checksum /
GDM GDM (w/. PCI supported)
Shaper
P7 P6
Packet Switch
PBus Embedded Switch (2 GE + 4 FE ports)
Fabric
P0
P1
P2
P3
PCI device
P4
P5
5 x RJ45
Software Driver
TX_Driver RX_Driver
(j=0)
(i=0-1)
RX_CRX_IDX(j)
RX_PKT #a
points to non-
RX_PKT #b
TX_CTX_IDX (i) received CPU FSD
RX_PKT #c
points to non- TX_MAX_CNT(i)
RX_MAX_CNT
transmitted CPU TSD TX_PKT #l RX_PKT #d
RX_DRX_IDX (j)
TX_PKT #k
points to non-
TX_PKT #j received DMA FSD
TX_DTX_IDX (i)
TX_PKT #i
points to non- RX_CALC_IDX(j)
transmitted DMA TSD points to non-
TX_CRLS_IDX(i)* allocated FSD
points to non-
released TSD
TX_DMA_EN RX_DMA_EN
TX_DMA_BUSY RX_DMA_BUSY
TX_DONE_INT(i) TX_DMA RX_DMA
RX_DONE_INT(j)
PDMA_DLY_INT
PDMA/Frame Engine
NOTE:
1. TX_CRLS_IDX(i) and RX_CRX_IDX (j) are not Located in PDMA hardware,
they are resident in CPU local memory.
2.
RXQ0: For GE MAC receive
TXQ0: GE MAC low priority queue
TXQ1: GE MAC high priority queue
bit 31 bit 0
DWORD0
SDP0[31:0]
DWORD1
DDONE LS0 SDL0[13:0] BURST LS1 SDL1[13:0]
DWORD2
SDP1[31:0]
DWORD3
(TXINFO)
VIDX
INSV
INSP
UCO
TCO
TSO
ICO
bit 31 bit 0
DWORD0
SDP0[31:0]
DWORD1
DDONE LS0 SDL0[13:0] BURST LS1 SDL1[13:0]
DWORD2
SDP1[31:0]
DWORD3
(TXINFO)
0 UDF[4:0]
0 0 0 0 SP[2:0] CRSN[4:0] PPE_Entry[13:0]
PKT_INFO[5:0]
266. PSE_FQFC_CFG: PSE Free Queue Flow Control Configuration (offset: 0x0100)
Bits Type Name Description Initial Value
31:24 RO FQ_PCNT Free Queue Page Count 0x18
The free buffer page count on the free queue of
the PSE block.
2.20.1 Features
IEEE 802.3 full duplex flow control
5x10/100 Mbps PHY
Supports Spanning Tree port (STP) states
IEEE 802.1w Rapid Spanning Tree
IEEE 802.1s Multiple Spanning Tree with up to 8 spanning tree instances
2 K entries MAC address table indexed by 48-bit MAC address XOR hash
Static entries are accessible through registers.
IVL/SVL support based on IVL and FID from VLAN table
Programmable aging timer – no aging out, 10 to 1 000 000 seconds; default is 300 sec.
QoS
Four priority queues per port and eight priority queues on port 6
Packet classification based on incoming port, IEEE 802.1p or IP ToS/DSCP, and ACL rules
Per port ingress and egress rate limit control stepping in 64 Kbps steps up to 1 Gbps
Per queue MAX-MIN bandwidth control with different schedulers – strict priority (SP), weighted fair
queue (WFQ), and mixed SP/WFQ
User priority remapping and DSCP remarking
16 VLAN ID
Port and protocol-based VLAN
802.1q tag VLAN
Double VLAN tagging (O in O)
Per egress port 1:1 and N:1 VLAN tranlation
Leaky VLAN support
32 ACL Rules from Layer 1 to Layer 4
Rules include port no., DA/SA, Ether Type, VLAN ID, IP Protocol, SIP/DIP, TCP/UDP, SP/DP and user-
defined content
Actions support mirror, redirect, dropping, priority adjustment, and traffic rate policing
Optional per-port enable/disable of ACL function
MAC security – Locking a MAC address to an incoming port
Disable learning or aging
Limit SA learning number
IEEE 802.1x access control protocol
Access policy based on port, MAC address and guest VLAN
Access control based on ACL rules
Drop frames with unknown source MAC or destination MAC address
IGMP/MLD snooping support
Supports IPv4 IGMP v1/v2 and IPv6 MLD v1 hardware snooping
Supports IPv4 IGMP v3 and IPv6 MLD v2 partial snooping – IS_EX(), TO_EX(), TO_IN()
Broadcast/Multicast/Unknown DA storm prevention
CPU
P6 (G1)
5 ports FE PHY
P0 P1 P2 P3 P4 P5
The switch has a 2 K address table built in for packet look-up forwarding. All the entries can be shared and
mixed by L2 MAC address or L3 IP address according to “TYPE” definition. When the entry is regarded as a
MAC address table, it is used to forward packets by L2 DA and learn packets by L2 SA. When the entry is
regarded as a DIP address table, it is used to process IGMP/MLD snooping. To support IGMPv3/MLDv2, a SIP
entry is added to search the Source IP list after DIP look-up.
Stack
Port
RX_CTRL PARSER Look-up Engine TX_CTRL
Translation
Port
Look-up TX_CTRL
RX_CTRL PARSER
Engine
Data E/L VID # SA DA Data E/L VID # SA DA Type + Data SA DA Type + Data SVID# SA DA
VID0 Stack
0 to N-1 VLAN 0 to N-1 VLAN
VLAN Table Type + Data PVID# SVID# SA DA
Data E/L VID # VID # SA DA Data E/L VID# VID# SA DA CVID# SVID# MEMBER VID1 VID0
CVID# SVID# MEMBER
CVID# SVID# MEMBER NOTE:
CVID# SVID# MEMBER 1. etag_ctrl(bit[1]-VID1, bit[0]-VID0) --
NOTE: 00: Untag
SA Learning 10: Tag
1. RX_CTRL pass through VLAN tags on L2 space (at most 2 tags)
MAC Table 01: Swap
2. Incoming frame attributes -
‘Untagged’, ‘priority-tagged’, ‘tagged’ MAC# CVID# PORT 11: Stack
MAC# CVID# PORT 2. Consistent Tag Format attribute
MAC# CVID# PORT
MAC# CVID# PORT
Packet Parser ACL Rule Table Hit Flag Hit Flag ACL Rule Control
Source Port
RX_ 6 4 2 0
CTRL 16-bits c 16-bits N-bits
7 5 3 1
Header Hit
Word Offset
51 50 48 47 40 39 33 32 31 16 15 0
308. PEM3: User Priority Egress Mapping III Register (offset: 0x0050)
Bits Type Name Description Initial Value
31:30 - - Reserved 0x0
29:27 RW TAG_PRI_5 User Priority 5 Tag Priority Tag Value 0x4
26:24 RW QUE_CPU_5 User Priority 5 CPU Queue Selection 0x5
23:22 RW QUE_LAN_5 User Priority 5 LAN Queue Selection 0x2
21:16 RW DSCP_PRI_5 User Priority 5 DSCP Value 0x28
15:14 - - Reserved 0x0
13:11 RW TAG_PRI_4 User Priority 4 Priority Tag Value 0x4
10:8 RW QUE_CPU_4 User Priority 4 CPU Queue Selection 0x4
7:6 RW QUE_LAN_4 User Priority 4 LAN Queue Selection 0x2
5:0 RW DSCP_PRI_4 User Priority 4 DSCP Value 0x20
312. PIM3: DSCP Priority Ingress Mapping III Register (offset: 0x0060)
Bits Type Name Description Initial Value
31:30 - - Reserved 0x0
29:27 RW PRI_DSCP_29 User Priority for DSCP 0b011_101 0x3
26:24 RW PRI_DSCP_28 User Priority for DSCP 0b011_100 0x3
23:21 RW PRI_DSCP_27 User Priority for DSCP 0b011_011 0x3
20:18 RW PRI_DSCP_26 User Priority for DSCP 0b011_010 0x3
17:15 RW PRI_DSCP_25 User Priority for DSCP 0b011_001 0x3
316. PIM7: DSCP Priority Ingress Mapping VII Register (offset: 0x0070)
Bits Type Name Description Initial Value
31:12 - - Reserved 0x0
11:9 RW PRI_DSCP_63 User Priority for DSCP 0b111_111 0x7
8:6 RW PRI_DSCP_62 User Priority for DSCP 0b111_110 0x7
5:3 RW PRI_DSCP_61 User Priority for DSCP 0b111_101 0x7
2:0 RW PRI_DSCP_60 User Priority for DSCP 0b111_100 0x7
325. VAWD1: VLAN and ACL Write Data-I Register (offset: 0x0094)
Table 2-13 VLAN and ACL Write Data-I Register: VLAN Entry
Bits Type Name Description Initial Value
31 RW PORT_STAG Port-based Service TAG 0x0
30 RW IVL_MAC Independent VLAN Learning 0x0
29 RW EG_CON Egress Tag Consistent 0x0
28 RW VTAG_EN Per VLAN Egress Tag Control 0x0
27 RW COPY_PRI Copy User Priority Value from Customer Priority 0x0
Tag for Stack VLAN
26:24 RW USER_PRI Service Tag (STAG) User Priority Value from 0x0
VLAN Table
23:16 RW PORT_MEM VLAN Member Control 0x0
Table 2-14 VLAN and ACL Write Data-I Register: ACL Rule Table
Bits Type Name Description Initial Value
31:16 RW BIT_MASK Comparison Pattern Mask 0x0
0: No mask
1: Mask
15:0 RW CMP_PAT Comparison Pattern 0x0
Table 2-15 VLAN and ACL Write Data-I Register: ACL Rule Mask
Bits Type Name Description Initial Value
31:0 RW ACL_MASK ACL Mask[31:0] 0x0
0: No mask
1: Mask
Table 2-16 VLAN and ACL Write Data-I Register: ACL Rate Control
Bits Type Name Description Initial Value
31 - - Reserved 0x0
30:16 RW RATE Per Flow Ingress Rate Limit Accumulator 0x0
15 RW RATE_EN Per Flow Ingress Rate Enable 0x0
14 RW RATE_BKT Rate Bucket Selection 0x0
13:0 RW RATE_ACCU Per Flow Ingress Rate Limit Control 0x0
NOTE: For more information on this register, see the ACL Rule Control section.
Table 2-17 VLAN and ACL Write Data-I Register: ACL Rule Control
Bits Type Name Description Initial Value
31:30 - - Reserved 0x0
29 RW ACL_MANG Management Frame Attribute 0x0
28 RW INT_EN Interrupt Enable 0x0
27 RW ACL_CNT_EN Enable ACL Hit Count 0x0
26:24 RW CNT_IDX Counter Group Index 0x0
23 RW VLAN_PORT_EN Swap VLAN Member 0x0
22 RW DA_SWAP Multicast MAC Address Swap 0x0
21 RW SA_SWAP Source MAC Address Swap 0x0
20 RW PPP_RM PPPoE Header Removal 0x0
19 RW LKY_VLAN Leaky VLAN 0x0
18:16 RW EG_TAG Egress VLAN Tag Attribute 0x0
15:8 RW PORT Destination Port / VLAN Member 0x0
7 RW PORT_EN Force Destination port 0x0
Table 2-18 VLAN and ACL Write Data-I Register: trTCM Meter Table
Bits Type Name Description Initial Value
31 RW CBS Committed Burst Size 0x0
15:0 RW PBS Peak Burst Rate 0x0
326. VAWD2: VLAN and ACL Write Data-II Register (offset: 0x0098)
Table 2-19 VLAN and ACL Write Data-II Register: VLAN Entry
Bits Type Name Description Initial Value
31:16 RW S_TAG2 Service Tag II 0x0
15:14 - - Reserved 0x0
13:12 RW P6_TAG P6 Egress Tag Control 0x0
11:10 RW P5_TAG P5 Egress Tag Control 0x0
9:8 RW P4_TAG P4 Egress Tag Control 0x0
7:6 RW P3_TAG P3 Egress Tag Control 0x0
5:4 RW P2_TAG P2 Egress Tag Control 0x0
3:2 RW P1_TAG P1 Egress Tag Control 0x0
1:0 RW P0_TAG P0 Egress Tag Control 0x0
Table 2-20 VLAN and ACL Write Data-II Register: ACL Rule Table
Bits Type Name Description Initial Value
31:20 - - Reserved 0x0
19 RW EN ACL Pattern Enable 0x0
18:16 RW OFST_TP Offset Range 0x0
15:8 RW SP Incoming Source Port Bit-map 0x0
7:1 RW WORD_OFST Word Offset 0x0
0 RW CMP_SEL Comparison mode selection 0x0
Table 2-21 VLAN and ACL Write Data-II Register: ACL Rule Mask
Bits Type Name Description Initial Value
31:0 RW ACL_MASK ACL Mask[63:32] 0x0
Table 2-22 VLAN and ACL Write Data-II Register: ACL Rate Control
Bits Type Name Description Initial Value
31:0 - - Reserved 0x0
Table 2-23 VLAN and ACL Write Data-II Register: ACL Rule Control
Table 2-24 VLAN and ACL Write Data-II Register: trTCM Meter Table
Bits Type Name Description Initial Value
31:16 RW CIR Committed Information Rate 0x0
15:0 RW PIR Peak Information Rate 0x0
327. TRTCM: Two Rate Three Color Mark Register (offset: 0x009C)
Bits Type Name Description Initial Value
31 RW TRTCM_EN Two Rate Three Color Marker (trTCM) Enable 0x0
When this bit is enabled, the meter table will be
updated based on Peak Information Rate (PIR)
and Committed Information Rate (CIR). The
color marker will also be enabled when ACL is
hit.
0: Disable
1: Enable
356 0x1038, 0x1138, 0x1238, MMSCR0_Q7Pn Max-Min Scheduler Control Register 0 of 301
0x1338, 0x1438, 0x1538, Queue 7/Port n
0x1638, 0x1738
357 0x103C, 0x113C, 0x123C, MMSCR1_Q7Pn Max-Min Scheduler Control Register 1 of 301
0x133C, 0x143C, 0x153C, Queue 7/Port n
0x163C, 0x173C
358 0x1040, 0x1140, 0x1240, ERLCR_Pn Egress Rate Limit Control Register of Port n 302
0x1340, 0x1440, 0x1540,
0x1640, 0x1740
359 0x1080, 0x1180, 0x1280, IRLCR_Pn Ingress Rate Limit Control Register of Port n 302
0x1380, 0x1480, 0x1580,
0x1680, 0x1780)
360 0x1084, 0x1184, 0x1284, FPC_RXCTRL_Pn Free Page Count at RX_CTRL of Port n 303
0x1384, 0x1484, 0x1584,
0x1684, 0x1784
361 0x1090, 0x1190, 0x1290, EPC_QUE01_Pn Egress Page Count at Queue 0/1 of Port n 303
0x1390, 0x1490, 0x1590,
0x1690, 0x1790
362 0x1094, 0x1194, 0x1294, EPC_QUE23_Pn Egress Page Count at Queue 2/3 of Port n 303
0x1394, 0x1494, 0x1594,
0x1694, 0x1794
363 0x1098, 0x1198, 0x1298, EPC_QUE45_Pn Egress Page Count at Queue 4/5 of Port n 303
0x1398, 0x1498, 0x1598,
0x1698, 0x1798
364 0x109C, 0x119C, 0x129C, EPC_QUE67_Pn Egress Page Count at Queue 6/7 of Port n 304
0x139C, 0x149C, 0x159C,
0x169C, 0x179C
365 0x1F80 GERLCR Global Egress Rate Limit Control Register 304
366 0x1FC0 FPLC Free Page Link Count Register 304
367 0x1FE0 GFCCR0 Global Flow_Control Control Register 0 305
368 0x1FE4 GFCCR1 Global Flow_Control Control Register 1 305
369 0x1FE8 FCBRCR0 Flow Control Block Reservation Control 306
Register for group 0
370 0x1FEC FCBRCR1 Flow Control Block Reservation Control 306
Register for group 1
371 0x1FF0 GIRLCR Global Ingress Rate Limit Control Register 306
372 0x1FF4 GFCCR2 Global Flow_Control Control Register 2 307
342. MMSCR0_Q0Pn: Max-Min Scheduler Control Register 0 of Queue 0/Port n (offset: 0x1000, 0x1100,
0x1200, 0x1300, 0x1400, 0x1500, 0x1600, 0x1700)
Bits Type Name Description Initial Value
31 RW MIN_SP_WRR_Qx_Pn Port n Queue x Minimum Traffic Arbitration 0x0
Scheme
1'b0: Round-Robin (RR)
1'b1: Strict Priority (SP)
30:16 - - Reserved 0x0
15 RW MIN_RATE_EN_Qx_Pn Port n Queue x Minimum Rate Control Enable 0x0
1’b0: Disable queue 0 min. rate limit control.
When disabled, the shaper always lets
packets pass. (infinite rate)
1'b1: Enable queue 0 min. rate limit control.
Final Rate Limit = MAN*10^(EXP)*1 Kbps
where,
EXP: Rate Limit Exponent (defined in bit[11:8]
of this register)
MAN: Rate Limit Mantissa (defined in bit[6:0] of
this register)
14:12 - - Reserved 0x0
11:8 RW MIN_RATE_CTRL_EXP_Qx Exponent part of Port n Queue x Min. Shaper 0x0
_Pn Rate Limit Control
Value range: 0 to 4
‘d0: 1 Kbps
‘d1: 10 Kbps
‘d2: 100 Kbps
‘d3: 1 Mbps
‘d4: 10 Mbps
7 - - Reserved 0x0
6:0 RW MIN_RATE_CTRL_MAN_ Mantissa part of Port n Queue x Min. Shaper 0x0
Qx_Pn Rate Limit Control
Value range: 1 to 100
343. MMSCR1_Q0Pn: Max-Min Scheduler Control Register 1 of Queue 0/Port n (offset: 0x1004, 0x1104,
0x1204, 0x1304, 0x1404, 0x1504, 0x1604, 0x1704)
Bits Type Name Description Initial Value
31 RW MAX_SP_WFQ_Qx_Pn Port n Queue x Maximum Traffic Arbitration 0x0
Scheme
1'b0: Weighted Fair Queuing (WFQ)
1'b1: Strict Priority (SP)
30:28 - - Reserved 0x0
27:24 RW MAX_WEIGHT_Qx_Pn Port n Queue x Weighted Value For Maximum 0x0
WFQ
Weighted value = MAX_WEIGHT_Qx_Pn + 1
344. MMSCR0_Q1Pn: Max-Min Scheduler Control Register 0 of Queue 1/Port n (offset: 0x1008, 0x1108,
0x1208, 0x1308, 0x1408, 0x1508, 0x1608, 0x1708)
Bits Type Name Description Initial Value
31 RW MIN_SP_WRR _Qx_Pn Port n Queue x Min. Traffic Arbitration Scheme 0x0
1'b0: Round-Robin (RR)
1'b1: Strict Priority (SP)
30:16 - - Reserved 0x0
15 RW MIN_RATE_EN _Qx_Pn Port n Queue x Min. Rate Control Enable 0x0
1’b0: Disables queue 1 minimum rate limit
control. When disabled, shaper always lets
the packet pass. (infinite rate)
1'b1: Enable queue 1 minimum rate limit
control.
14:12 - - Reserved 0x0
11:8 RW MIN_RATE_CTRL Exponent part of Port n Queue x Min. Shaper 0x0
_EXP_Qx_Pn Rate Limit Control
Value range: 0 to 4
7 - - Reserved 0x0
6:0 RW MIN_RATE_CTRL Mantissa part of Port n Queue x Min. Shaper 0x00
_MAN_Qx_Pn Rate Limit Control
Value range: 0 to 100
345. MMSCR1_Q1Pn: Max-Min Scheduler Control Register 1 of Queue 1/Port n (offset: 0x100C, 0x110C,
0x120C, 0x130C, 0x140C, 0x150C, 0x160C, 0x170C)
Bits Type Name Description Initial Value
31 RW MAX_SP_WFQ_Qx_Pn Port n Queue x Max. Traffic Arbitration Scheme 0x0
1'b0: Weighted Fair Queuing (WFQ)
1'b1: Strict Priority (SP)
30:28 - - Reserved 0x0
27:24 RW MAX_WEIGHT_Qx_Pn Port n Queue x Weighted Value For Max. WFQ 0x0
Weighted value=
MAX_WEIGHT_Qx_Pn + 1
23:16 - - Reserved 0x0
15 RW MAX_RATE_EN_Qx_Pn Port n Queue x Max. Rate Control Enable 0x0
1’b0: Disable queue 1 max. rate limit control.
When disabled, shaper always lets the
packet pass. (infinite rate)
1'b1: Enable queue 1 max. rate limit control.
14:12 - - Reserved 0x0
11:8 RW MAX_RATE_CTRL_EXP Exponent part of Port n Queue x Max. Shaper 0x0
_Qx_Pn Rate Limit Control
Value range: 0 to 4
7 - - Reserved 0x0
6:0 RW MAX_RATE_CTRL Mantissa part of Port n Queue x Max. Shaper 0x00
_MAN_Qx_Pn Rate Limit Control
Value range: 0 to 100
346. MMSCR0_Q2Pn: Max-Min Scheduler Control Register 0 of Queue 2/Port n (offset: 0x1010, 0x1110,
0x1210, 0x1310, 0x1410, 0x1510, 0x1610, 0x1710)
Bits Type Name Description Initial Value
31 RW MIN_SP_WRR_Qx_Pn Port n Queue x Min. Traffic Arbitration Scheme 0x0
1'b0: Round-Robin (RR)
1'b1: Strict Priority (SP)
30:16 - - Reserved 0x0
15 RW MIN_RATE_EN_Qx_Pn Port n Queue x Min. Rate Control Enable 0x0
1’b0: Disable queue 2 min. rate limit control.
When disabled, shaper always lets the
packet pass. (infinite rate)
1'b1: Enable queue 2 min. rate limit control.
14:12 - - Reserved 0x0
11:8 RW MIN_RATE_CTRL Exponent part of Port n Queue x Min. Shaper 0x0
_EXP_Qx_Pn Rate Limit Control
Value range: 0 to 4
7 - - Reserved 0x0
6:0 RW MIN_RATE_CTRL Mantissa part of Port n Queue x Min. Shaper 0x00
_MAN_Qx_Pn Rate Limit Control
Value range: 0 to 100
347. MMSCR1_Q2Pn: Max-Min Scheduler Control Register 1 of Queue 2/Port n (offset: 0x1014, 0x1114,
0x1214, 0x1314, 0x1414, 0x1514, 0x1614, 0x1714)
Bits Type Name Description Initial Value
31 RW MAX_SP_WFQ_Qx_Pn Port n Queue x Max. Traffic Arbitration Scheme 0x0
1'b0: Weighted Fair Queuing (WFQ)
1'b1: Strict Priority (SP)
30:28 - - Reserved 0x0
27:24 RW MAX_WEIGHT_Qx_Pn Port n Queue x Weighted Value For Max. WFQ 0x0
Weighted value =
MAX_WEIGHT_Qx_Pn + 1
23:16 - - Reserved 0x0
15 RW MAX_RATE_EN_Qx_Pn Port n Queue x Max. Rate Control Enable 0x0
1’b0: Disable queue 2 max. rate limit control.
When disabled, shaper always lets the
packet pass. (infinite rate)
1'b1: Enable queue 2 max. rate limit control.
14:12 - - Reserved 0x0
11:8 RW MAX_RATE_CTRL Exponent part of Port n Queue x Max. Shaper 0x0
_EXP_Qx_Pn Rate Limit Control
Value range: 0 to 4
7 - - Reserved 0x0
6:0 RW MAX_RATE_CTRL Mantissa part of Port n Queue x Max. Shaper 0x00
_MAN_Qx_Pn Rate Limit Control
Value range: 0 to 100
348. MMSCR0_Q3Pn: Max-Min Scheduler Control Register 0 of Queue 3/Port n (offset: 0x1018, 0x1118,
0x1218, 0x1318, 0x1418, 0x1518, 0x1618, 0x1718)
Bits Type Name Description Initial Value
31 RW MIN_SP_WRR_Qx_Pn Port n Queue x Min. Traffic Arbitration Scheme 0x0
1'b0: Round-Robin (RR)
1'b1: Strict Priority (SP)
30:16 - - Reserved 0x0
15 RW MIN_RATE_EN _Qx_Pn Port n Queue x Min. Rate Control Enable 0x0
1’b0: Disable queue 3 min. rate limit control.
When disabled, shaper always lets the
packet pass. (infinite rate)
1'b1: Enable queue 3 min. rate limit control.
14:12 - - Reserved 0x0
11:8 RW MIN_RATE_CTRL Exponent part of Port n Queue x Min. Shaper 0x0
_EXP_Qx_Pn Rate Limit Control
Value range: 0 to 4
7 - - Reserved 0x0
349. MMSCR1_Q3Pn: Max-Min Scheduler Control Register 1 of Queue 3/Port n (offset: 0x101C, 0x111C,
0x121C, 0x131C, 0x141C, 0x151C, 0x161C, 0x171C)
Bits Type Name Description Initial Value
31 RW MAX_SP_WFQ_Qx_Pn Port n Queue x Max. Traffic Arbitration Scheme 0x0
1'b0: Weighted Fair Queuing (WFQ)
1'b1: Strict Priority (SP)
30:28 - - Reserved 0x0
27:24 RW MAX_WEIGHT_Qx_Pn Port n Queue x Weighted Value For Max. WFQ 0x0
Weighted value =
MAX_WEIGHT_Qx_Pn + 1
23:16 - - Reserved 0x0
15 RW MAX_RATE_EN_Qx_Pn Port n Queue x Max. Rate Control Enable 0x0
1’b0: Disable queue 3 max. rate limit control.
When disabled, shaper always lets the
packet pass. (infinite rate)
1'b1: Enable queue 3 max. rate limit control.
14:12 - - Reserved 0x0
11:8 RW MAX_RATE_CTRL Exponent part of Port n Queue x Max. Shaper 0x0
_EXP_Qx_Pn Rate Limit Control
Value range: 0 to 4
7 - - Reserved 0x0
6:0 RW MAX_RATE_CTRL Mantissa part of Port n Queue x Max. Shaper 0x00
_MAN_Qx_Pn Rate Limit Control
Value range: 0 to 100
350. MMSCR0_Q4Pn: Max-Min Scheduler Control Register 0 of Queue 4/Port n (offset: 0x1020, 0x1120,
0x1220, 0x1320, 0x1420, 0x1520, 0x1620, 0x1720)
Bits Type Name Description Initial Value
31 RW MIN_SP_WRR_Qx_Pn Port n Queue x min. traffic arbitration scheme 0x0
1'b0: Round-Robin (RR)
1'b1: Strict Priority (SP)
30:16 - - Reserved 0x0
15 RW MIN_RATE_EN_Qx_Pn Port n Queue x Min. Rate Control Enable 0x0
1’b0: Disable queue 4 min. rate limit control.
When disabled, shaper always lets the
packet pass. (infinite rate)
1'b1: Enable queue 4 min. rate limit control.
14:12 - - Reserved 0x0
351. MMSCR1_Q4Pn: Max-Min Scheduler Control Register 1 of Queue 4/Port n (offset: 0x1024, 0x1124,
0x1224, 0x1324, 0x1424, 0x1524, 0x1624, 0x1724)
Bits Type Name Description Initial Value
31 RW MAX_SP_WFQ_Qx_Pn Port n Queue x Max. Traffic Arbitration Scheme 0x0
1'b0: Weighted Fair Queuing (WFQ)
1'b1: Strict Priority (SP)
30:28 - - Reserved 0x0
27:24 RW MAX_WEIGHT_Qx_Pn Port n Queue x Weighted Value For Max. WFQ 0x0
Weighted value =
MAX_WEIGHT_Qx_Pn + 1
23:16 - - Reserved 0x0
15 RW MAX_RATE_EN_Qx_Pn Port n Queue x Max. Rate Control Enable 0x0
1’b0: Disable queue 4 max. rate limit control.
When disabled, shaper always lets the
packet pass. (infinite rate)
1'b1: Enable queue 4 max. rate limit control.
14:12 - - Reserved 0x0
11:8 RW MAX_RATE_CTRL_EXP Exponent part of Port n Queue x Max. Shaper 0x0
_Qx_Pn Rate Limit Control
Value range: 0 to 4
7 - - Reserved 0x0
6:0 RW MAX_RATE_CTRL_MAN Mantissa part of Port n Queue x Max. Shaper 0x00
_Qx_Pn Rate Limit Control
Value range: 0 to 100
352. MMSCR0_Q5Pn: Max-Min Scheduler Control Register 0 of Queue 5/Port n (offset: 0x1028, 0x1128,
0x1228, 0x1328, 0x1428, 0x1528, 0x1628, 0x1728)
Bits Type Name Description Initial Value
31 RW MIN_SP_WRR_Qx_Pn Port n Queue x Min. Traffic Arbitration Scheme 0x0
1'b0: Round-Robin (RR)
1'b1: Strict Priority (SP)
30:16 - - Reserved 0x0
353. MMSCR1_Q5Pn: Max-Min Scheduler Control Register 1 of Queue 5/Port n (offset: 0x102C, 0x112C,
0x122C, 0x132C, 0x142C, 0x152C, 0x162C, 0x172C)
Bits Type Name Description Initial Value
31 RW MAX_SP_WFQ_Qx_Pn Port n Queue x max. traffic arbitration scheme 0x0
1'b0: Weighted Fair Queuing (WFQ)
1'b1: Strict Priority (SP)
30:28 - - Reserved 0x0
27:24 RW MAX_WEIGHT_Qx_Pn Port n Queue x Weighted Value For Max. WFQ 0x0
Weighted value =
(MAX_WEIGHT_Qx_Pn + 1
23:16 - - Reserved 0x0
15 RW MAX_RATE_EN_Qx_Pn Port n Queue x Max. Rate Control Enable 0x0
1’b0: Disable queue 5 max. rate limit control.
When disabled, shaper always lets the
packet pass. (infinite rate)
1'b1: Enable queue 5 max. rate limit control.
14:12 - - Reserved 0x0
11:8 RW MAX_RATE_CTRL Exponent part of Port n Queue x Max. Shaper 0x0
_EXP_Qx_Pn Rate Limit Control
Value range: 0 to 4
7 - - Reserved 0x0
6:0 RW MAX_RATE_CTRL Mantissa part of Port n Queue x Max. Shaper 0x00
_MAN_Qx_Pn Rate Limit Control
Value range: 0 to 100
354. MMSCR0_Q6Pn: Max-Min Scheduler Control Register 0 of Queue 6/Port n (offset: 0x1030, 0x1130,
0x1230, 0x1330, 0x1430, 0x1530, 0x1630, 0x1730)
Bits Type Name Description Initial Value
355. MMSCR1_Q6Pn: Max-Min Scheduler Control Register 1 of Queue 6/Port n (offset: 0x1034, 0x1134,
0x1234, 0x1334, 0x1434, 0x1534, 0x1634, 0x1734)
Bits Type Name Description Initial Value
31 RW MAX_SP_WFQ_Qx_Pn Port n Queue x Max. Traffic Arbitration Scheme 0x0
1'b0: Weighted Fair Queuing (WFQ)
1'b1: Strict Priority (SP)
30:28 - - Reserved 0x0
27:24 RW MAX_WEIGHT_Qx_Pn Port n Queue x Weighted Value For Max. WFQ 0x0
Weighted value =
MAX_WEIGHT_Qx_Pn + 1
23:16 - - Reserved 0x0
15 RW MAX_RATE_EN_Qx_Pn Port n Queue x Max. Rate Control Enable 0x0
1’b0: Disable queue 6 max. rate limit control.
When disabled, shaper always lets the
packet pass. (infinite rate)
1'b1: Enable queue 6 max. rate limit control.
14:12 - - Reserved 0x0
11:8 RW MAX_RATE_CTRL Exponent part of Port n Queue x Max. Shaper 0x0
_EXP_Qx_Pn Rate Limit Control
Value range: 0 to 4
7 - - Reserved 0x0
6:0 RW MAX_RATE_CTRL Mantissa part of Port n Queue x Max. Shaper 0x00
_MAN_Qx_Pn Rate Limit Control
Value range: 0 to 100
356. MMSCR0_Q7Pn: Max-Min Scheduler Control Register 0 of Queue 7/Port n (offset: 0x1038, 0x1138,
0x1238, 0x1338, 0x1438, 0x1538, 0x1638, 0x1738)
Bits Type Name Description Initial Value
31 RW MIN_SP_WRR_Qx_Pn Port n Queue x Min. Traffic Arbitration Scheme 0x0
1'b0: Round-Robin (RR)
1'b1: Strict Priority (SP)
30:16 - - Reserved 0x0
15 RW MIN_RATE_EN_Qx_Pn Port n Queue x Min. Rate Control Enable 0x0
1’b0: Disable queue 7 min. rate limit control.
When disabled, shaper always lets the
packet pass. (infinite rate)
1'b1: Enable queue 7 min. rate limit control.
14:12 - - Reserved 0x0
11:8 RW MIN_RATE_CTRL_EXP Exponent part of Port n Queue x Min. Shaper 0x0
_Qx_Pn Rate Limit Control
Value range: 0 to 4
7 - - Reserved 0x0
6:0 RW MIN_RATE_CTRL_MAN Mantissa part of Port n Queue x Min. Shaper 0x00
_Qx_Pn Rate Limit Control
Value range: 0 to 100
357. MMSCR1_Q7Pn: Max-Min Scheduler Control Register 1 of Queue 7/Port n (offset: 0x103C, 0x113C,
0x123C, 0x133C, 0x143C, 0x153C, 0x163C, 0x173C)
Bits Type Name Description Initial Value
31 RW MAX_SP_WFQ_Qx_Pn Port n Queue x Max. Traffic Arbitration Scheme 0x0
1'b0: Weighted Fair Queuing (WFQ)
1'b1: Strict Priority (SP)
30:28 - - Reserved 0x0
27:24 RW MAX_WEIGHT_Qx_Pn Port n Queue x Weighted Value For Max. WFQ 0x0
Weighted value is =
MAX_WEIGHT_Qx_Pn + 1
23:16 - - Reserved 0x0
15 RW MAX_RATE_EN_Qx_Pn Port n Queue x Max. Rate Control Enable 0x0
1’b0: Disable queue 7 max. rate limit control.
When disabled, shaper always lets the
packet pass. (infinite rate)
1'b1: Enable queue 7 max. rate limit control.
14:12 - - Reserved 0x0
11:8 RW MAX_RATE_CTRL_EXP Exponent part of Port n Queue x Max. Shaper 0x0
_Qx_Pn Rate Limit Control
Value range: 0 to 4
7 - - Reserved 0x0
6:0 RW MAX_RATE_CTRL Mantissa part of Port n Queue x Max. Shaper 0x00
_MAN_Qx_Pn Rate Limit Control
Value range: 0 to 100
358. ERLCR_Pn: Egress Rate Limit Control Register of Port n (offset: 0x1040, 0x1140, 0x1240, 0x1340, 0x1440,
0x1540, 0x1640, 0x1740)
Bits Type Name Description Initial Value
31:16 - - Reserved -
15 RW EG_RATE_LIMIT_EN _Pn Port n Egress Rate Limit Control Enable 0x0
1’b0: Disable
1'b1: Enable egress rate limit control
Egress port rate limitation = MAN*10^(EXP)*1
kbps
where,
EXP: EGRESS_RATE_LIMIT_EXP (defined in
bit[11:8] of this register)
MAN: EGRESS_RATE_LIMIT_MAN (defined in
bit[6:0] of this register)
14:12 - - Reserved -
11:8 RW EG_RATE_LIMIT_EXP _Pn Exponent part of Port n Egress Rate Limit 0x0
Control
Value range: 0 to 4
‘d0: 1 kbps
‘d1: 10 kbps
‘d2: 100 kbps
‘d3: 1 Mbps
‘d4: 10 Mbps
7 - - Reserved -
6:0 RW EG_RATE_LIMIT_MAN_P Mantissa part of port n Egress Rate Limit 0x00
n Control
Value range: 1 to 100 (7-bit)
359. IRLCR_Pn: Ingress Rate Limit Control Register of Port n (offset: 0x1080, 0x1180, 0x1280, 0x1380, 0x1480,
0x1580, 0x1680, 0x1780)
Bits Type Name Description Initial Value
31:16 - - Reserved -
15 RW IGC_RATE_EN_Pn Port n Ingress Rate Limit Control Enable 0x0
The rate of tokens to be filled into token bucket
used for ingress rate control.
1’b0: Disable
1'b1: Ingress rate limit control enable
Ingress Rate Limit Control = (MAN*10^(EXP))
kbps
where,
EXP: INGRESS_RATE_LIMIT_EXP (defined in
bit[11:8] of this register)
MAN: INGRESS_RATE_LIMIT_MAN (defined in
bit[6:0] of this register)\
14:12 - - Reserved -
360. FPC_RXCTRL_Pn: Free Page Count at RX_CTRL of Port n (offset: 0x1084, 0x1184, 0x1284, 0x1384, 0x1484,
0x1584, 0x1684, 0x1784)
Bits Type Name Description Initial Value
31:3 - - Reserved 0x0
2:0 RO FPC_RXCTRL Free Page Count at RX_CTRL 0x3
Indicates the free page count at RX_CTRL
module.
361. EPC_QUE01_Pn: Egress Page Count at Queue 0/1 of Port n (offset: 0x1090, 0x1190, 0x1290, 0x1390,
0x1490, 0x1590, 0x1690, 0x1790)
Bits Type Name Description Initial Value
31:25 - - Reserved 0x0
24:16 RO EPC_QUE1 Egress Page Count at Queue 1 0x0
Indicates the page count at egress queue 1.
15:9 - - Reserved 0x0
8:0 RO EPC_QUE0 Egress Page Count at Queue 0 0x0
Indicates the page count at egress queue 0.
362. EPC_QUE23_Pn: Egress Page Count at Queue 2/3 of Port n (offset: 0x1094, 0x1194, 0x1294, 0x1394,
0x1494, 0x1594, 0x1694, 0x1794)
Bits Type Name Description Initial Value
31:25 - - Reserved 0x0
24:16 RO EPC_QUE3 Egress Page Count at Queue 3 0x0
Indicates the page count at egress queue 3.
15:9 - - Reserved 0x0
8:0 RO EPC_QUE2 Egress Page Count at Queue 2 0x0
Indicates the page count at egress queue 2.
363. EPC_QUE45_Pn: Egress Page Count at Queue 4/5 of Port n (offset: 0x1098, 0x1198, 0x1298, 0x1398,
0x1498, 0x1598, 0x1698, 0x1798)
Bits Type Name Description Initial Value
364. EPC_QUE67_Pn: Egress Page Count at Queue 6/7 of Port n (offset: 0x109C, 0x119C, 0x129C, 0x139C,
0x149C, 0x159C, 0x169C, 0x179C)
Bits Type Name Description Initial Value
31:25 - - Reserved 0x0
24:16 RO EPC_QUE7 Egress Page Count at Queue 7 0x0
Indicates the page count at egress queue 7.
NOTE: Only the CPU port is supported.
15:9 - - Reserved 0x0
8:0 RO EPC_QUE6 Egress Page Count at Queue 6 0x0
Indicates the page count at egress queue 6.
NOTE: Only the CPU port is supported.
365. GERLCR: Global Egress Rate Limit Control Register (offset: 0x1F80)
Bits Type Name Description Initial Value
31:10 - - Reserved 0x0
9 RW EGC_MFRM_EX Egress Rate Excludes Management Frames 0x0
Management frames will be ignored by the rate
limit.
(Management frame type is set by ARL
registers.)
8 RW EGC_IPG_OP Egress Rate IPG Byte Addition or Subtraction 0x0
Byte count should be added or subtracted on
the rate calculation.
0’b0: IPG byte is excluded
1’b1: IPG byte is included
7:0 RW EGC_IPG_BYTE Egress Rate IPG Byte Count 0x0
Byte count should be added while calculating
the rate limit.
0x04: 4 byte CRC (default)
0x18: 4 byte CRC + 12 byte IPG + 8 byte
Preamble
369. FCBRCR0: Flow Control Block Reservation Control Register for group 0 (offset: 0x1FE8)
Bits Type Name Description Initial Value
31 RW FC_RSV_GRP0_EN Queue Block Reservation Group 0 Enable 0x0
1'b1: Enable
30:24 - - Reserved 0x0
23:16 RW FC_RSV_GRP0_PMAP Flow Control Reservation Group 0 Port Map 0x00
When b31=1,
Port map for queue block reservation group 0
NOTE: Assume 8 ports
15:12 - - Reserved 0x0
11:8 RW FC_RSV_GRP0_BLK Flow Control Reservation Group 0 Block 0x0
_NUM Number
When b31=1,
Block size for queue block reservation group 0
7:0 RW FC_RSV_GRP0_QMAP Flow Control Reservation Block Group 0 Queue 0x00
Map
When b31=1,
Queue map for queue block reservation group 0
370. FCBRCR1: Flow Control Block Reservation Control Register for group 1 (offset: 0x1FEC)
Bits Type Name Description Initial Value
31 RW FC_RSV_GRP1_EN Reserved. (Not implemented) 0x0
30:24 - - Reserved 0x0
23:16 RW FC_RSV_GRP1_PMAP Reserved. (Not implemented) 0x00
15:12 - - Reserved 0x0
11:8 RW FC_RSV_GRP1_BLK Reserved. (Not implemented) 0x0
_NUM
7:0 RW FC_RSV_GRP1_QMAP Reserved. (Not implemented) 0x00
371. GIRLCR: Global Ingress Rate Limit Control Register (offset: 0x1FF0)
Bits Type Name Description Initial Value
31:16 - - Reserved 0x0
15:10 - - Reserved 0x0
373. SSC: STP State Control Register (offset: 0x2000, 0x2100, 0x2200, 0x2300, 0x2400, 0x2500, 0x2600, 0x2700)
Bits Type Name Description Initial Value
31:16 - - Reserved 0x0
15:14 RW FID7_PST (Rapid) Spanning Tree Protocol Port State 0x3
13:12 RW FID6_PST (Rapid) Spanning Tree Protocol Port State 0x3
11:10 RW FID5_PST (Rapid) Spanning Tree Protocol Port State 0x3
9:8 RW FID4_PST (Rapid) Spanning Tree Protocol Port State 0x3
7:6 RW FID3_PST (Rapid) Spanning Tree Protocol Port State 0x3
5:4 RW FID2_PST (Rapid) Spanning Tree Protocol Port State 0x3
3:2 RW FID1_PST (Rapid) Spanning Tree Protocol Port State 0x3
1:0 RW FID0_PST (Rapid) Spanning Tree Protocol Port State 0x3
NOTE: Where applicable,
2’b00: Disable/Discarding
2’b01: Blocking /Listening/Discarding
2’b10: Learning
2’b11: Forwarding
374. PCR: Port Control Register (offset: 0x2004, 0x2104, 0x2204, 0x2304, 0x2404, 0x2504, 0x2604, 0x2704)
Bits Type Name Description Initial Value
31:30 - - Reserved 0x0
29:28 RW EG_TAG Port-Based Egress VLAN Tag Attribution 0x0
2’b00: Untagged
2’b01: Swap
2’b10: Tagged
2’b11: Stack
27 - - Reserved 0x0
26:24 RW PORT_PRI Port-based User Priority 0x0
User priority for the ingress port.
0x0: 0
…
0x7: 7
23:16 RW PORT_MATRIX Port Matrix Member 0xFF
The legacy port VLAN function. Each bit
indicates the permissible egress ports. This
function can work without 802.1Q function or
an optional forwarding port map if the ingress
membership violates or VID is missed on the
VLAN table within 802.1Q function.
NOTE: The final and effective port member
should exclude the received port.
15:13 - - Reserved 0x0
375. PIC: Port IGMP Control Register (offset: 0x2008, 0x2108, 0x2208, 0x2308, 0x2408, 0x2508, 0x2608,
0x2708)
Bits Type Name Description Initial Value
31:19 - - Reserved 0x0
19 RW IGMP_MIR IP Multicast IGMP Table Mismatch to Mirror 0x0
Port
Copies IP multicast frames with an IGMP table
mismatch to the mirror port.
1’b0: Disable
1’b1: Frame copied to Mirror port
NOTE: This control register is valid only if
PSR.IGMP_EN or MLD_EN is set on per port
basis.
18:16 RW IGMP_MIS IP Multicast IGMP Table Mismatch TO_CPU 0x0
Forwarding
Selects how to forward IP multicast frames with
an IGMP table mismatch.
3’b0xx: System default (By MFC.UNM_FFP)
3’b100: System default and CPU port excluded.
3’b101: System default and CPU port included.
3’b110: CPU port only (As long as the ingress
port is not the CPU port. If the ingress port
is the CPU port, then the system default
and CPU port are excluded.)
3’b111: Frame dropped
NOTE: This control register is valid only if
PSR.IGMP_EN or MLD_EN is set on per port
basis.
376. PSC: Port Security Control Register (offset: 0x200C, 0x210C, 0x220C, 0x230C, 0x240C, 0x250C, 0x260C,
0x270C)
Bits Type Name Description Initial Value
31:20 RO SA_LRN_CNT Learned Source Address Number 0x0
19:8 RW MAX_SA_LRN Rx SA Allowable Learning Number 0xFFF
Sets the maximum number of SA learned
addresses when SA_CNT_EN is set.
12’h0: Disable SA learning
12’h1 to 12’hFFE: 1 to 4094 address table
12’hFFF: SA Learning without limitation
7:6 - - Reserved 0x0
5 RW SA_CNT_EN SA Counter Enable 0x0
Enables the learned source MAC Address
counter.
0: Disable
1: Enable
4 RW SA_DIS SA Disable 0x0
Disables source MAC address learning.
0: Enable
1: Disable
3:2 RW SA_LOCK SA Lock Select 0x0
2’b00: Receive without SA authorization.
2’b01: All received frame whose SA look-up is
missing or not a port member in the ARL will
be dropped.
2’b10: All received frames whose SA look-up is
missing or not a port member in the ARL are
forwarded to some Port Matrix Members
(PCR.PORT_MATRIX).
2’b11: All received frames whose SA look-up is
missing or not a port member in the ARL are
forwarded among the Guest VLAN Member.
(VTC.GUEST_MEM)
NOTE: PAE frames should be passed and not
affected by SA Lock.
1 RW TX_PORT_LOCK Tx Port Lock Enable 0x0
1’b0: Transmit authorized.
1’b1: Disable frame transmission.
NOTE: PAE Frames should be passed and not
affected by Port Lock.
0 RW RX_PORT_LOCK Rx Port Lock Enable 0x0
NOTE: PAE frames should be passed and not
affected by Port Lock.
1’b0: Receive authorized.
1’b1: Disable frame receiving.
377. PVC: Port VLAN Control Register (offset: 0x2010, 0x2110, 0x2210, 0x2310, 0x2410, 0x2510, 0x2610,
0x2710)
Bits Type Name Description Initial Value
31:16 RW STAG_VPID Stack Tag VPID (VLAN Protocol ID) Value 0x8100
The received frame will be regarded as a legal
stack tag frame if the following conditions are
matched:
Outer VPID == STAG_VPID
Inner VPID == 16’h8100
The outgoing frame will be added by the outer
VLAN tag with the programmable VPID field =
STAG_VPID.
15 RW DIS_PVID PVID Disable 0x0
Disables PVID insertion in priority-tagged
frames.
1'b0: Use PVID for priority-tagged frames.
1'b1: Keep VID=0 for priority-tagged frames.
14 RW FORCE_PVID Forces PVID on VLAN-tagged frames 0x0
1'b0: Use VID in VLAN-tagged frame.
1'b1: Force-replaces VID with PVID .
13:11 - - Reserved 0x0
10:8 RW EG_TAG Incoming Port Egress VLAN Tag Attribution 0x0
3’b000: System default (disabled)
3’b001: Consistent
3’b010, 3’b011: Reserved
3’b100: Untagged
3’b101: Swap
3’b110: Tagged
3’b111: Stack
7:6 RW VLAN_ATTR VLAN Port Attribute 0x3
2'b00: User port
2'b01: Stack port
2'b10: Translation port
2'b11: Transparent port
5 RW PORT_SPEC_TAG Special Tag Enable 0x0
Enables a proprietary VLAN tag format to carry
additional information to the remote port.
1’b0: No specific tag format for Tx/Rx
1’b1: Enable
4 RW BC_LKYV_EN Broadcast Leaky VLAN Enable 0x0
1’b0: Broadcast frames received by this port
will be blocked by VLAN.
1’b1: Broadcast frames received by this port
can pass through VLAN.
378. PPBV1: Port-and-Protocol Based VLAN-I Register (offset: 0x2014, 0x2114, 0x2214, 0x2314, 0x2414,
0x2514, 0x2614, 0x2714)
Bits Type Name Description Initial Value
31:29 RW G1_PORT_PRI Group 1 Port Priority (optional) 0x0
The Group 1 Priority for per port according to
IEEE 802.1Q definition.
28 - - Reserved 0x0
27:16 RW G1_PORT_VID Group 1 Port VLAN ID (optional) 0x1
The Group 1 VID for per port according to IEEE
802.1Q definition.
15:13 RW G0_PORT_PRI Group 0 Port Priority (Default Port Priority) 0x0
The Group 0 and default Priority for per port
according to IEEE 802.1Q definition.
12 - - Reserved 0x0
11:0 RW G0_PORT_VID Group 0 Port VLAN ID (Default Port VID) 0x1
The Group 0 and default VID for per port
according to IEEE 802.1Q definition.
379. PPBV2: Port-and-Protocol Based VLAN-II Register (offset: 0x2018, 0x2118, 0x2218, 0x2318, 0x2418,
0x2518, 0x2618, 0x2718)
Bits Type Name Description Initial Value
380. BSR: Broadcast Storm Rate Control Register (offset: 0x201C, 0x211C, 0x221C, 0x231C, 0x241C, 0x251C,
0x261C, 0x271C)
Bits Type Name Description Initial Value
31 RW STRM_MODE Broadcast Storm Suppression 0x0
1’b0: Packet-based ( 1 second period)
1’b1: Rate-based
30 RW STRM_BC_INC Broadcast Storm Included 0x0
1’b0: Exclude BC frame
1’b1: Include BC frame
29 RW STRM_MC_INC Unknown Multicast Storm Included 0x0
28 RW STRM_UC_INC Unknown Unicast Storm Included 0x0
27:26 - - Reserved 0x0
25:24 RW STRM_UNIT Broadcast Storm Suppression 0x0
2’b00: 64 packets or 64 Kbps
2’b01: 256 packets or 256 Kbps
2’b10: 1 K packets or 1 Mbps
2’b11: 4 K packets or 4 Mbps
23:16 RW STORM_1G 1000 Mbps Broadcast Storm Rate Limit Control 0x0
The broadcast storm rate limit for 1000 Mbps
link speed.
8’h0: (0* STORM_UNIT) packets or bps
8’h1: (1 * STORM_UNIT) packets or bps
…
15:8 RW STORM_100M 100 Mbps Broadcast Storm Rate Limit Control 0x0
The broadcast storm rate limit for 100 Mbps
link speed.
8’h0: (0 * STORM_UNIT) packets or bps
8’h1: (1 * STORM_UNIT) packets or bps
…
381. STAG01: STAG Index 0/1 Register (offset: 0x2020, 0x2120, 0x2220, 0x2320, 0x2420, 0x2520, 0x2620,
0x2720)
Bits Type Name Description Initial Value
31:24 - - Reserved 0x0
23:12 RW VID1 VLAN Identifier for STAG Index 1 0x0
11:0 RW VID0 VLAN Identifier for STAG Index 0 0x0
382. STAG23: STAG Index 2/3 Register (offset: 0x2024, 0x2124, 0x2224, 0x2324, 0x2424, 0x2524, 0x2624,
0x2724)
Bits Type Name Description Initial Value
31:24 - - Reserved 0x0
23:12 RW VID3 VLAN Identifier for STAG Index 3 0x0
11:0 RW VID2 VLAN Identifier for STAG Index 2 0x0
383. STAG45: STAG Index 4/5 Register (offset: 0x2028, 0x2128, 0x2228, 0x2328, 0x2428, 0x2528, 0x2628,
0x2728)
Bits Type Name Description Initial Value
31:24 - - Reserved 0x0
23:12 RW VID5 VLAN Identifier for STAG Index 5 0x0
11:0 RW VID4 VLAN Identifier for STAG Index 4 0x0
384. STAG67: STAG Index 6/7 Register (offset: 0x202C, 0x212C, 0x222C, 0x232C, 0x242C, 0x252C, 0x262C,
0x272C)
Bits Type Name Description Initial Value
31:24 - - Reserved 0x0
23:12 RW VID7 VLAN Identifier for STAG Index 7 0x0
11:0 RW VID6 VLAN Identifier for STAG Index 6 0x0
385. TPF: TO_PPE Forwarding Register (offset: 0x2030, 0x2130, 0x2230, 0x2330, 0x2430, 0x2530, 0x2630,
0x2730)
Bits Type Name Description Initial Value
31:14 - - Reserved 0x0
13 RW IP6_PPE_UN IPv6 Unknown UC packet to PPE Forwarding 0x0
Forwards unknown UC packets to the PPE port
instead of the CPU port.
386. PMCR_Pn: Port n MAC Control Register (offset: 0x3000, 0x3100, 0x3200, 0x3300, 0x3400, 0x3500, 0x3600,
0x3700)
Bits Type Name Description Initial Value
31:20 - - Reserved 0x0
19:18 RW IPG_CFG_Pn Port n Inter-Frame Gap (IFG) Shrink 0x1
For CPU Port:
2’b00: Normal 96-bit IFG
2’b01: Transmit 96-bit IFG with short IFG in
random behavior.
2’b10: Shrink 64-bit IFG
2’b11: When any output queue inside the port
is congested, shrink 64-bit IFG is enabled;
otherwise, normal 96-bit IFG is the default.
For Non-CPU Ports:
2’b00: Normal 96-bit IFG
2’b01: Transmit 96-bit IFG with short IFG in
random behavior.
2’b1x: Disable
17:16 - - Reserved 0x0
15 RW FORCE_MODE_Pn Port n Force Mode 0x0
Port n operates in force mode. It is used to
control port n status for link, speed, duplex,
RX_FC, TX_FC, eee100, and eee1g.
0: Force mode off. (MAC status is determined
by the PHY auto-polling module).
1: Force mode on. (MAC status is determined
by the FORCE_XXX_PN register).
14 RW MAC_TX_EN_Pn Port n Tx MAC Enable 0x1
1’b0: Disable
1’b1: Enable
NOTE: This bit only impact on MAC function,
there is no impact on the link status or queue
manager.
13 RW MAC_RX_EN_Pn Port n Rx MAC Enable 0x1
1’b0: Disable
1’b1: Enable
NOTE: This bit only impact on MAC function,
there is no impact on the link status or queue
manager.
12:10 - - Reserved 0x0
9 RW BKOFF_EN_Pn Port n Backoff Enable 0x1
Sets the port n MAC to follow the back-off
mechanism when a collision happens.
1’b0: Disable
1’b1: Enable
387. PMEEECR_Pn: Port n MAC EEE Control Register (offset: 0x3004, 0x3104, 0x3204, 0x3304, 0x3404, 0x3504,
0x3604, 0x3704)
Bits Type Name Description Initial Value
31:24 RW WAKEUP_TIME_1000 _Pn Port n Wake Up Time for 1000 Mbps Low 0x11
Power Idle (LPI) Mode
The minimum allowed time needed for PHY to
become fully functional and for TXMAC to
transmit a packet after wakeup.
(unit: μs)
23:16 RW WAKEUP_TIME_100 _Pn Port n Wake Up Time for 100 Mbps LPI Mode 0x1e
The minimum allowed time needed to wait for
PHY to become fully functional and for TXMAC
to transmit packet after wakeup.
(unit: μs)
15:4 RW LPI_THRESH_Pn Port n LPI Threshold 0x01e
When there is no packet to be transmitted and
the time period specified by
Pn_LPI_THRESHOLD is exceeded, the TXMAC
will automatically enter LPI (Low Power Idle)
mode and send an EEE LPI frame to link
partners.
3:1 - - Reserved 0x0
0 RW LPI_MODE_EN_Pn Port n Enter LPI Mode 0x0
1’b0: LPI mode is depend on the
Pn_LPI_THRESHOLD.
1’b1: Set the system to enter LPI mode
immediately and send an EEE LPI frame to
link partners.
388. PMSR_Pn: Port n MAC Status Register (offset: 0x3008, 0x3108, 0x3208, 0x3308, 0x3408, 0x3508, 0x3608,
0x3708)
Bits Type Name Description Initial Value
31:8 - - Reserved 0x0
7 RO EEE1G_STS_Pn Port n LPI Mode Status For 1000 Mbps 0x0
Indicates if capable of of entering EEE Low
Power Idle mode for 1000 Mbps link speed.
1’b0: Not capable
1’b1: Capable
389. PINT_EN_Pn: Port n Interrupt Enable Register (offset: 0x3010, 0x3110, 0x3210, 0x3310, 0x3410, 0x3510,
0x3610, 0x3710)
Bits Type Name Description Initial Value
31:16 - - Reserved 0x0
15 RW TX_TFF_UNDR_INT_EN TXMAC TXFIFO Underrun Interrupt Enable 0x0
14 RW TX_MISVLAN_ERR_INT TX_CTRL PKT INFO VLAN Mismatch Error 0x0
_EN Interrupt Enable
13 RW TX_MISPAGE_ERR_INT TX_CTRL PKT INFO Page Mismatch Error 0x0
_EN Interrupt Enable
12 RW TX_RPAGE_ERR_INT _EN TX_CTRL Release Page Count Error Interrupt 0x0
Enable
11 RW TX_RPAGE_TOUT_INT TX_CTRL Release Page Timeout Interrupt Enable 0x0
_EN
390. PINT_STS_Pn: Port n Interrupt Status Register (offset: 0x3014, 0x3114, 0x3214, 0x3314, 0x3414, 0x3514,
0x3614, 0x3714)
Bits Type Name Description Initial Value
31:16 - - Reserved 0x0
15 RC TX_TFF_UNDR_INT TXMAC TXFIFO Underrun Interrupt 0x0
14 RC TX_MISVLAN_ERR_INT TX_CTRL PKT INFO VLAN Mismatch Error 0x0
Interrupt
13 RC TX_MISPAGE_ERR_INT TX_CTRL PKT INFO Page Mismatch Error 0x0
Interrupt
12 RC TX_RPAGE_ERR_INT TX_CTRL Release Page Count Error Interrupt 0x0
11 RC TX_RPAGE_TOUT_INT TX_CTRL Release Page Timeout Interrupt 0x0
10 RC TX_GPAGE_TOUT_INT TX_CTRL Get Page Timeout Interrupt 0x0
9 RC TX_RDPB_TOUT_INT TX_CTRL RD_PB Timeout Interrupt 0x0
8 RC TX_DEQ_TOUT_INT TX_CTRL DEQ Timeout Interrupt 0x0
7:4 - - Reserved 0x0
3 RC RX_AFF_FULL_INT RX_CTRL Agent FIFO Full Interrupt 0x0
2 RC RX_ARL_TOUT_INT RX_CTRL ARL Timeout Interrupt 0x0
1 RC RX_WRPB_TOUT_INT RX_CTRL WR_PB Timeout Interrupt 0x0
0 RC RX_GPAGE_TOUT_INT RX_CTRL Get Page Timeout Interrupt 0x0
NOTE:
Read Write
0: Interrupt not asserted. 1: Clear the interrupt
1: Interrupt asserted
397. ESRn: Event Status Register of Port n (offset: 0x4000, 0x4100, 0x4200, 0x4300, 0x4400, 0x4500, 0x4600,
0x4700)
Bits Type Name Description Initial Value
31:26 - - Reserved 0x0
25 RC TX_PAUSE_EVENT Tx Pause Event 0x0
Indicates a pause frame transmitted without
any error.
24 RC TX_XCOL_EVENT T x Excessive Collisions Event 0x0
Indicates a frame experienced over the number
of MTCC_LIMIT (default 16) consecutive
collisions or more, not including late collisions.
23 RC TX_LCOL_EVENT Tx Late Collision Event 0x0
Indicates a transmission abortion due to a
collision occurring after the transmission of the
first 64 bytes for that packet.
22 RC TX_DEFER_EVENT Tx Deferred Event 0x0
Indicates a frame deferred at the first
transmission attempt due to a busy line in half
duplex mode. Frame involved in collision is not
counted.
21 RC TX_MCOL_EVENT Tx Multiple Collisions Event 0x0
Indicates a frame successful transmitted with
multiple collision.
20 RC TX_SCOL_EVENT Tx Single Collision Event 0x0
Indicates a frame successful transmitted with
only single collision.
19 RC TX_COL_EVENT Tx Collision Event 0x0
Indicates a collision occurrence during frame
transmission.
18 RC TX_BCAST_EVENT Tx Broadcast Frame Event 0x0
Indicates a broadcast frame transmitted
without any error.
17 RC TX_MCAST_EVENT Tx Multicast Frame Event 0x0
Indicates a multicast frames transmitted
without any error.
16 RC TX_DROP_EVENT Tx Frame Dropped Event 0x0
Indicates a frame dropped for the resource
shortage.
15:12 - - Reserved 0x0
11 RC RX_PAUSE_CNT Rx FC Frame Count 0x0
Counts correctly received paused frames.
398. IntSn: Interrupt Status Register of Port n (offset: 0x4004, 0x4104, 0x4204, 0x4304, 0x4404, 0x4504,
0x4604, 0x4704)
Bits Type Name Description Initial Value
31:21 - - Reserved 0x0
20 W1C INT_TX_BAD_CNT Tx Bad Frames Count Interrupt 0x0
Asserts when TX_BAD_CNT reaches the total
threshold level.
19 W1C INT_TX_GOOD_CNT Tx Good Frames Count Interrupt 0x0
Asserts when TX_GOOD_CNT reaches the total
threshold level.
18 W1C INT_TX_BOCT_CNT Tx Bad Octets Collision Count Interrupt 0x0
Asserts when TX_BOCT_CNT reaches the total
threshold level.
17 W1C INT_TX_GOCT_CNT Tx Good Octets Collision Count Interrupt 0x0
Asserts when TX_GOCT_CNT reaches the total
threshold level.
16 W1C INT_TX_DROP_CNT Tx Dropped Frames Count Interrupt 0x0
TX_DROP_CNT reaches the total threshold
level.
15:8 - - Reserved 0x0
7 W1C INT_RX_BAD_CNT Rx Bad Frames Count Interrupt 0x0
Asserts when RX_BAD_CNT reaches the total
threshold level.
6 W1C INT_RX_GOOD_CNT Rx Good Frames Count Interrupt 0x0
Asserts when RX_GOOD_CNT reaches the total
threshold level.
399. IntMn: Interrupt Mask Register of Port n (offset: 0x4008, 0x4108, 0x4208, 0x4308, 0x4408, 0x4508,
0x4608, 0x4708)
Bits Type Name Description Initial Value
31:21 - - Reserved 0x7FFF
20 RW MSK_TX_BAD_CNT Tx Bad Frames Count Interrupt 0x1
19 RW MSK_TX_GOOD_CNT Tx Good Frames Count Interrupt 0x1
18 RW MSK_TX_BOCT_CNT Tx Bad Octets Collision Count Interrupt 0x1
17 RW MSK_TX_GOCT_CNT Tx Good Octets Collision Count Interrupt 0x1
16 RW MSK_TX_DROP_CNT Tx Dropped Frames Count Interrupt 0x1
15:8 - - Reserved 0xFF
7 RW MSK_RX_BAD_CNT Rx Bad Frames Count Interrupt 0x1
6 RW MSK_RX_GOOD_CNT Rx Good Frames Count Interrupt 0x1
5 RW MSK_RX_BOCT_CNT Rx Bad Octets Collision Count Interrupt 0x1
4 RW MSK_RX_GOCT_CNT Rx Good Octets Collision Count Interrupt 0x1
3 RW MSK_RX_CTRL_DROP_CNT Rx Control Drops Frame Count Interrupt 0x1
2 RW MSK_RX_ING_DROP_CNT Rx Ingress Limit Drop Frame Count Interrupt 0x1
1 RW MSK_RX_ARL_DROP_CNT ARL Drops Frame Count Interrupt 0x1
0 RW MSK_RX_FILTER_CNT Rx Filtered Frames Count Interrupt 0x1
400. TGPCn: Tx Packet Counter of Port n (offset: 0x4010, 0x4110, 0x4210, 0x4310, 0x4410, 0x4510, 0x4610,
0x4710)
Bits Type Name Description Initial Value
31:16 RO TX_BAD_CNT Tx Bad Frames Count 0x0000
Counts the number of frames transmitted with
collision.
15:0 RO TX_GOOD_CNT Tx Good Frames Count 0x0000
Counts the number of frames transmitted
without any error (excluding Pause frames but
including MAC control and Successful
retransmission frames).
401. TBOCn: Tx Bad Octet Counter of Port n (offset: 0x4014, 0x4114, 0x4214, 0x4314, 0x4414, 0x4514, 0x4614,
0x4714)
Bits Type Name Description Initial Value
31:0 RO TX_BOCT_CNT Tx Bad Frame Collision Octets Count 0x0000_000
Counts the number of bad bytes of data 0
transmitted with collisions.
402. TGOCn: Tx Good Octet Counter of Port n (offset: 0x4018, 0x4118, 0x4218, 0x4318, 0x4418, 0x4518,
0x4618, 0x4718)
Bits Type Name Description Initial Value
31:0 RO TX_GOCT_CNT Tx Good Frame Collision Octets Count 0x0000_000
Counts the number of good bytes of data 0
transmitted without any error (excluding
preamble bits but including FCS octets).
403. TEPCn: Tx Event Packet Counter of Port n (offset: 0x401C, 0x411C, 0x421C, 0x431C, 0x441C, 0x451C,
0x461C, 0x471C)
Bits Type Name Description Initial Value
31:16 - - Reserved 0x0000
15:0 RO TX_DROP_CNT Tx Dropped Frames Count 0x0000
Counts the number of frames dropped when
FIFO is underrun.
404. RGPCn: Rx Packet Counter of Port n (offset: 0x4020, 0x4120, 0x4220, 0x4320, 0x4420, 0x4520, 0x4620,
0x4720)
Bits Type Name Description Initial Value
31:16 RO RX_BAD_CNT Rx Bad Frames Error Count 0x0000
Counts the number of frames received with
errors.
15:0 RO RX_GOOD_CNT Rx Good Frames Count 0x0000
Counts the number of frames received without
any error.
405. RBOCn: Rx Bad Octet Counter of Port n (offset: 0x4024, 0x4124, 0x4224, 0x4324, 0x4424, 0x4524, 0x4624,
0x4724)
Bits Type Name Description Initial Value
31:0 RO RX_BOCT_CNT Rx Bad Octets Error Count 0x0000
Counts the number of good bytes of data _0000
received with error.
406. RGOCn: Rx Good Octet Counter of Port n (offset: 0x4028, 0x4128, 0x4228, 0x4328, 0x4428, 0x4528,
0x4628, 0x4728)
Bits Type Name Description Initial Value
31:0 RO RX_GOCT_CNT Rx Good Octets Count 0x0000
Counts the number of good bytes of data _0000
received without any error (excluding preamble
bits but including FCS octets).
407. REPC1n: Rx Event Packet Counter of Port n (offset: 0x402C, 0x412C, 0x422C, 0x432C, 0x442C, 0x452C,
0x462C, 0x472C)
Bits Type Name Description Initial Value
31:16 RO RX_CTRL_DROP_CNT Rx Control Drops Frame Count 0x0000
Counts the number of frames dropped due to
an error interrupt issued by RX_CTRL.
15:0 RO RX_ING_DROP_CNT Rx Ingress Limit Drop Frame Count 0x0000
Counts the number of frames dropped due to
an ingress rate limit set by the Ingress rate
limiter.
408. REPC2n: Rx Event Packet Counter of Port n (offset: 0x4030, 0x4130, 0x4230, 0x4330, 0x4430, 0x4530,
0x4630, 0x4730)
Bits Type Name Description Initial Value
31:16 RO RX_ARL_DROP_CNT Rx ARL Drops Frame Count 0x0000
Counts the number of frames dropped by the
ingress rate limit (including broadcast storm,
trTCm, and ACL rate limit).
15:0 RO RX_FILTER_CNT Rx Filtered Frames Count 0x0000
Counts the number of frame dropped by ARL
security, length error, control frame or port
map is equal to zero.
NOTE:
1. Late collision has precedence over excessive collision.
2. In the event that a frame is dropped because of late or excessive collision, the last collision fragment
determines which counter will be updated.
3. Counts the number of bytes in the data + pad field
4. Bytes denoted as “good” are bytes in frames transmitted successfully. Bytes denoted as “bad” are bytes in
collision fragments or frames with a deliberately destroyed CRC.
413. PPSC: PHY Polling & SMI Master Control (offset: 0x7000)
Bits Type Name Description Initial Value
31 RW PHY_AP_EN PHY Auto Polling Enable 0x0
Enables PHY status updates to the PHY status
registers by the PHY auto-polling process.
0: Disable
1: Enable
30 RW PHY_PRE_EN PHY Preamble Enable 0x1
Sets the SMI master to send preamble bits (32
bits) at each MDIO read/write transaction.
0: Disable.
1: Enable.
NOTE: This bit will affect both PHY auto-polling
mode and PHY indirect access mode.
29:24 RW PHY_MDC_CFG PHY MDC Clock Configuration 0x5
Used to configure the divider N for MDC clock
frequency. MDC clock is sourced from the 12.5
MHz system clock and divided by N.
NOTE: MDC clock is gated or disabled when
PHY_MDC_CFG is set to 0.
23 RW EMB_AN_Env c Embedded PHY Auto-Polling Enable 0x0
Enables auto-polling on the embedded PHY.
1'b0: Only automatically check external EPHY
(port 4 & 5).
NOTE:
PHY_ST_ADDR = P4 PHY address
PHY_END_ADDR == P5 PHY address
1'b1: Full scan ports 0 to 5
NOTE:
PHY_ST_ADDR== P0 PHY address
PHY_END_ADDR== P5 PHY address
22 - - Reserved 0x0
21:16 RW EEE_AN_EN PHY EEE Auto-Polling Enable 0x0
15:13 - - Reserved 0x0
12:8 RW PHY_END_ADDR PHY Polling End Address 0x5
Indicates the end PHY address of PHY auto-
polling process.
7:5 - - Reserved 0x0
4:0 RW PHY_ST_ADDR PHY Polling Start Address 0x4
Indicates the start PHY address of PHY auto-
polling process.
DBG_PROBE_SEL[9:0]
9 8 7 6 5 4 3 2 1 0 Internal Probe Signals
0 0 4’h0 to 4’hF Pn MAC
3’h0 to 3’h6 0 1 4’h0 to 4’hF Pn Port Ctrl
0
(port select) 1 0 4’h0 to 4’hF Pn Scheduler
1 1 4’h0 to 4’hF Reserved
0 1 1 1 6’h00 to 6’h3F ARL
1 0 0 7’h00 to 7’h7F BMU (See NOTE below)
1 0 1 0 0 5’h00 to 5’h1F PB_CTRL
1 0 1 0 1 5’h00 to 5’h1F SW_CORE
1 0 1 1 0 5’h00 to 5’h1F Reserved
1 0 1 1 1 5’h00 to 5’h1F Reserved
1 1 8’h00 to 8’hFE Reserved
1 1 1 1 1 1 1 1 1 1 Clock
Two addressing systems are possible and are shown below. As indicated in Figure 2-30 the EPHY address
(ExtPHY5) of GE1 must follow GE2 by one. ExtPHY4 can share the same PHY address since
SYSCFG1.GE2_MODE decides the GMAC4 interface – RJ45 or RGMII. Alternatively, IntPHY4 and ExtPHY4 can
use a different PHY address, as shown in Figure 2-31 . ExtPHY4 uses a different PHY address from IntPHY
addresses and ExtPHY5 of GE1 must follow GE2 by one.
MDIO[addr] MDIO[addr]
ExtPHY5 MDIO[addr] = GPC1.PHY_BASE + 5
These registers can be accessed by PIAC (PHY Indirect Access Control) indirectly.
Among them, PHY register 0-1 and 4-6 are unique for each port. PHY register 2-3 are common for all 5 ports.
Legend:
SC: Self-clearing, RC: Read-clearing
LL: Latching Low, LH: Latching High
R/W: Read/write, RO: Read-Only
426. Auto-Negotiation Link Partner (LP) Ability Register, CR Address: 05(d05), Reset State: 0000
Bits Type Name Description Default
15 RO Next Page 0: Base page is requested. 1’h0
1: Link partner is requesting next page function.
14 RO Acknowledge 0: Acknowledge not received. 1’h0
1: Link partner acknowledge received successfully.
13 RO Remote Fault 0: No remote fault 1’h0
1: Auto-negotiation fault detected.
12:11 RO Not implemented Technology Ability A7-A6 2’h0
10 RO Pause Technology Ability A5 1’h0
9 RO Not Implemented Technology Ability A4 1’h0
8 RO 100Base-TX Full Duplex Indicates full duplex 100Base-TX connections are 1’h0
Capable supported.
7 RO 100 Base-TX Half Duplex Indicates half duplex 100Base-TX connections are 1’h0
Capable supported.
6 RO 10 Base-T Full Duplex Indicates full duplex 10Base-T connections are 1’h0
Capable supported.
5 RO 10 Base-T Half Duplex Indicates half duplex 10Base-T connections are 1’h0
Capable supported.
4:0 RO Selector Field Identifies type of message 5’h00
NOTE: Unless otherwise stated,
0: Not supported
1: Supported
CPU
Host/PCI Bridge
Type1
Access Bus0
On Bus0
Virtual P2P
Pri = 0 BUS0
Sec = 1 DEV0
Sub = 1
Type0
Access Bus1
On Bus1
Device 0
Func 0 BUS1
DEV0
RBus EPHYx5
FEx4
Host 4FE+2GE
or
PDMA PSE GSW 5FE+1GE
CSR
MIPS
Dev BAR1 5 GHz
CSR BUS0
PDMA PCIe
Link
PBus
PIO Host-
PCI P2P PCIe WiFi
Bridge Bridge iNIC
TG2RBus
BAR0
2.4 GHz
DRAM CSR
802.11n 802.11n 802.11n RF
PDMA MAC BBP
For example, as shown in the following figure, MT7620 works as an intelligent NIC to offload the external third
party SoC by performing wireless and Ethernet packet format conversion functions.
NOTE:
1. In this configuration, RGMII(port1) and PCIe interface are exclusive. That means you can select one of them
as the iNIC host interface.
2. A dedicated PDMA can be seen by the third party SOC when MT7620 works as an intelligent NIC when the
PCIe is selected as the interface. The operation of this PDMA is exactly the same as the one described in Frame
Engine section. The first PDMA register can be accessed by PCI BAR1 in PCIe address space.
Ethernet x
PCIe iNIC Mode with SOC
4 (LAN)
RBus
FE/GE port is not available when
operating in PCIe iNIC mode
PDMA PSE
Ralink or Third
CSR Party SOC
MIPS Dev BAR1 PCIe
CSR WAN
PDMA PCIe EP Link
PCIe
PBus RC
PIO 2.4
GHz
CSR
802.11n 802.11n
802.11n RF
DRAM PDMA MAC BBP
Data stream
Rbus1 RTRGT1
XP_ETG2RB XP_ETG XALI1
Pbus ELBI
ELBI2PB
CSR
INT_VEC MSI
RX_FIFO XP_INT
PDMA
TX_FIFO RB2 0
XP_RB2RQT XALI0
m
u DWC_PCIE
PHY
x RCPL
1 _DM PCIe Link
PCIE_RC_MODE
XP_MA_DEC
XP_PIO_MA
ASYNC_PB
PBus1 SII
XP_CSR
DBI
PB2DBI
DBG DEBUG_SIGNAL
UTIF0 XP_DBG
XP_UTIF SRAM for
TEST_SIGNAL Retry buffer,
Receive Queue
System memory 64 KB
space Memory PCI Memory Space
MEMWIN Window
0x2000_0000 0x2000_0000
System memory
PCI Memory Space
space
0x2FFF_FFFF 0x2FFF_FFFF
System memory 64 KB
space IO PCI IO Space
IOWIN Window
433. MEMBASE: Base Address for Memory Space Window (offset: 0x0028)
Bits Type Name Description Initial Value
31:16 RW MEMBASE Base Address for Memory Space Window 0x0
This register specifies the base address of PCI
memory space for master PIO accesses to PCI
Memory space.
When CPU accesses any of the MEMWIN
registers, the PCI Controller will issue a single
MEM r/w transfer to the PCI Memory address
of MEMBASE+MEMWINx
NOTE: This register is only used when the PCI
core is in host mode.
15:0 - - Reserved 0x0
435. PHY0_CFG: PCIe PHY0 Control Register via SPI Configuration (offset: 0x0090)
Bits Type Name Description Initial Value
31 R SPI_BUSY SPI Busy Status 0x0
0: Idle
1: Busy
30:24 - - Reserved -
23 RW SPI_WR SPI Write 0x0
Sets the SPI transfer to read or write.
0: Read
1: Write
22:16 - - Reserved -
15:8 RW SPI_ADDR SPI Address 0x0
Indicates the address for SPI master to access
the PCIEe PHY control register.
7:0 RW SPI_DATA SPI Data 0x0
Write
Contains data to be written to the PHY control
register based on the SPI_ADDR field.
Read
Displays the value of the PHY control register.
The data address is already written to the
SPI_ADDR field. The SPI_BUSY flag indicates
whether the data is ready to be read.
Examples:
1. SPI write
write data=0x55 to addr=0x33
Poll PHY0_CFG.SPI_BUSY bit until it becomes 0
thenSet PHY0_CFG=0x00803355
2. SPI read
write data from addr=0x33
Poll PHY0_CFG.SPI_BUSY bit until it becomes 0
then
Set PHY0_CFG=0x00003300
Poll PHY0_CFG.SPI_BUSY bit until it becomes 0
then
Rdata = PHY0_CFG.SPI_DATA
438. PCIE0_IMBASEBAR0: Internal Memory Base address for BAR0 Space of PCIe Controller (offset: 0x0018)
Bits Type Name Description Initial Value
31:16 RW IMBASEBAR0 Internal Memory Base address for BAR0 0x0
This register is used when CHIP behaves as a
PCI Express RC.
The actual internal memory address being
accessed by an external PCI host can be
obtained from the following formula:
CHIP address begin accessed = (PCI Address –
BAR0) + IMBASEBAR0.
When writing to this register, the related bit
will take effect when the corresponding bit in
BAR0MSK bit is 1 and BAR0ENB is 1.
15:0 - - Reserved 0x0
440. PCIE0_CLASS: Class Code and Revision ID of PCIe Controller (offset: 0x0034)
Bits Type Name Description Initial Value
31:8 RW CCODE Class Code 0xd8000
7:0 RW REVID Revision ID 0x1
441. PCIE_SUBID: Sub Vendor and Device ID of PCIe Controller (offset: 0x0038)
Bits Type Name Description Initial Value
31:16 RW SUBSYSID Sub System ID 0x6352
15:0 RW SUBVENID Sub Vendor ID 0x1814
This register is valid when PCIE_RC_MODE = 0. See SYSCFG1 (offset: 0x0014).
2.22.1 Features
1x1/1x2/2x1/2x2 modes
300 MHz PHY Rate Support
Legacy and high throughput modes
20 MHz/40 MHz bandwidth
Reverse direction data flow and frame aggregation
WEP 64/128, WPA, WPA2 Support
QoS – WMM, WMM-PS
Wake-on wireless LAN
Multiple BSSID support
Supports international standards - 802.11d + h
Cisco CCX V1.0 V2.0 V3.0 compliance
Bluetooth Co-existence
Low power with advanced power management
PBus
CSR
Rbus BBP/ RF
PDMA SEC PBF MAC ADC/
DAC
SEC Packet
SCH Tables Buffer
0000h
Reserved (200h)
0200h
SCH/DMA register (200h)
Distributed 0400h
register SYS/PBF/FCE/MISC register (400h)
0800h
Reserved (800h)
1000h
MAC register (800h)
1800h
SRAM (2 KB) MAC search table (800h)
2000h
SRAM (8 KB) Program memory (2000h) 4000h
4000h
SRAM Beacon frame (2000h)
(8 KB) ( SYS_CTRL [19] SHR_MSEL = 1 )
Security table (4000h)
SRAM (16 KB)
( SYS_CTRL [19] SHR_MSEL = 0 )
See PBF Registers - SYS_CTRL
(Offset 0x0400) for detail description of SHR_MSEL.
8000 h
457. TX_BASE_PTR_n: (offset: 0x0230, 0x0240, 0x0250, 0x0260, 0x0270, 0x0280) (n: 0 to 5)
Bits Type Name Description Initial Value
31:0 RW TX_BASE_PTRn Tx Base Pointer n 0x0
Points to the base address of TX_Ring n
(4-DWORD aligned address)
458. TX_MAX_CNT_n: (offset: 0x0234, 0x0244, 0x0254, 0x0264, 0x0274, 0x0284) (n: 0 to 5)
Bits Type Name Description Initial Value
31:12 - - Reserved 0x0
11:0 RW TX_MAX_CNTn Tx Maximum TXD Count n 0x0
Sets the maximum TXD count in TXD_Ring n.
459. TX_CTX_IDX_n: (offset: 0x0238, 0x0248, 0x0258, 0x0268, 0x0278, 0x0288) (n: 0 to 5)
Bits Type Name Description Initial Value
31:12 - - Reserved 0x0
11:0 RW TX_CTX_IDXn Tx CPU TXD Index n 0x0
Points to the next TXD to be used by the CPU.
460. TX_DTX_IDX_n: (offset: 0x023C, 0x024C, 0x025C, 0x026C, 0x027C, 0x028C) (n: 0 to 5)
Bits Type Name Description Initial Value
31:12 - - Reserved 0x0
11:0 RO TX_DTX_IDXn Tx DMA TXD Index n 0x0
Points to the next TXD to be used by the DMA.
1: Per MCS maximum A-MPDU length = 2^(AMPDU_MAX – 5) bytes. For example, set to 15 means the
maximum A-MPDU length is 1024 KB.
2. The maximum AMPDU length depends on either the maximum AMPDU length set in this register or the
maximum length set by 0x1018 MAX_PSDU_LEN. The smaller of these two values is the maximum AMPDU
length.
502. TX_WCID_DROP_MASK0: Tx Wireless Client ID Drop Mask 0 (offset: 0x106C, default: 0x0000_0000)
Bits Type Name Description Initial Value
31:0 R/W TX_WCID_DROP_ Drops the Tx frame with the specified WCID. 0x0000_0000
MASK0-31 0: WCID0
1: WCID1
…
31: WCID31
0: Disable
1: Enable
503. TX_WCID_DROP_MASK1: Tx Wireless Client ID Drop Mask 1 (offset: 0x1070, default: 0x0000_0000)
Bits Type Name Description Initial Value
31:0 R/W TX_WCID_DROP_ Drops the Tx frame with the specified WCID. 0x0000_0000
MASK32-63 0: WCID32
1: WCID33
…
31: WCID63
0: Disable
1: Enable
504. TX_WCID_DROP_MASK2: Tx Wireless Client ID Drop Mask 2 (offset: 0x1074, default: 0x0000_0000)
Bits Type Name Description Initial Value
31:0 R/W TX_WCID_DROP_ Drops the Tx frame with the specified WCID. 0x0000_0000
MASK64-95 0: WCID64
1: WCID65
…
31: WCID95
0: Disable
1: Enable
505. TX_WCID_DROP_MASK3: Tx Wireless Client ID Drop Mask 3 (offset: 0x1078, default: 0x0000_0000)
Bits Type Name Description Initial Value
31:0 R/W TX_WCID_DROP_ Drops the Tx frame with the specified WCID. 0x0000_0000
MASK96-127 0: WCID96
1: WCID97
…
31: WCID127
0: Disable
1: Enable
506. TX_WCID_DROP_MASK4: Tx Wireless Client ID Drop Mask 4 (offset: 0x107C, default: 0x0000_0000)
Bits Type Name Description Initial Value
31:0 R/W TX_WCID_DROP_ Drops the Tx frame with the specified WCID. 0x0000_0000
MASK128-159 0: WCID128
1: WCID129
…
31: WCID159
0: Disable
1: Enable
507. TX_WCID_DROP_MASK5: Tx Wireless Client ID Drop Mask 5 (offset: 0x1080, default: 0x0000_0000)
Bits Type Name Description Initial Value
31:0 R/W TX_WCID_DROP_ Drops the Tx frame with the specified WCID. 0x0000_0000
MASK160-191 0: WCID160
1: WCID161
…
31: WCID191
0: Disable
1: Enable
508. TX_WCID_DROP_MASK6: Tx Wireless Client ID Drop Mask 6 (offset: 0x1084, default: 0x0000_0000)
Bits Type Name Description Initial Value
509. TX_WCID_DROP_MASK7: Tx Wireless Client ID Drop Mask 7 (offset: 0x1088, default: 0x0000_0000)
Bits Type Name Description Initial Value
R/W TX_WCID_DROP_ Drops the Tx frame with the specified WCID. 0x0000_0000
MASK224-255 0: WCID224
1: WCID225
…
31: WCID255
0: Disable
1: Enable
511. AP_CLIENT_BSSID0_L: AP Client Base Station ID 0 Low (offset: 0x1090, default: 0x0000_0000)
Bits Type Name Description Initial Value
31:24 R/W APC_BSSID0_3 AP client BSSID0 byte3 0x00
23:16 R/W APC_BSSID0_2 AP client BSSID0 byte2 0x00
15:8 R/W APC_BSSID0_1 AP client BSSID0 byte1 0x00
7:0 R/W APC_BSSID0_0 AP client BSSID0 byte0 0x00
512. AP_CLIENT_BSSID0_H: AP Client Base Station ID 0 High (offset: 0x1094, default: 0x0000_0000)
Bits Type Name Description Initial Value
31:17 - - Reserved 0x0000
16 R/W APC_BSSID_EN Enables AP client mode (occupy BSSIDX8-16 of 0x0
multiple BSSID mode).
0: Disable
1: Enable
15:8 R/W APC_BSSID0_5 AP client BSSID0 byte5 0x00
513. AP_CLIENT_BSSID1_L: AP Client Base Station ID 1 Low (offset: 0x1098, default: 0x0000_0000)
Bits Type Name Description Initial Value
31:24 R/W APC_BSSID1_3 AP client BSSID1 byte3 0x00
23:16 R/W APC_BSSID1_2 AP client BSSID1 byte2 0x00
15:8 R/W APC_BSSID1_1 AP client BSSID1 byte1 0x00
7:0 R/W APC_BSSID1_0 AP client BSSID1 byte0 0x00
514. AP_CLIENT_BSSID1_H: AP Client Base Station ID 1 High (offset: 0x109C, default: 0x0000_0000)
Bits Type Name Description Initial Value
31:16 - - Reserved 0x0000
15:8 R/W APC_BSSID1_5 AP client BSSID1 byte5 0x00
7:0 R/W APC_BSSID1_4 AP client BSSID1 byte4 0x00
515. AP_CLIENT_BSSID2_L: AP Client Base Station ID 2 Low (offset: 0x10A0, default: 0x0000_0000)
Bits Type Name Description Initial Value
31:24 R/W APC_BSSID2_3 AP client BSSID2 byte3 0x00
23:16 R/W APC_BSSID2_2 AP client BSSID2 byte2 0x00
15:8 R/W APC_BSSID2_1 AP client BSSID2 byte1 0x00
7:0 R/W APC_BSSID2_0 AP client BSSID2 byte0 0x00
516. AP_CLIENT_BSSID2_H: AP Client Base Station ID 2 High (offset: 0x10A4, default: 0x0000_0000)
Bits Type Name Description Initial Value
31:16 - - Reserved 0x0000
15:8 R/W APC_BSSID2_5 AP client BSSID2 byte5 0x00
7:0 R/W APC_BSSID2_4 AP client BSSID2 byte4 0x00
517. AP_CLIENT_BSSID3_L: AP Client Base Station ID 3 Low (offset: 0x10A8, default: 0x0000_0000)
Bits Type Name Description Initial Value
31:24 R/W APC_BSSID3_3 AP client BSSID3 byte3 0x00
23:16 R/W APC_BSSID3_2 AP client BSSID3 byte2 0x00
15:8 R/W APC_BSSID3_1 AP client BSSID3 byte1 0x00
7:0 R/W APC_BSSID3_0 AP client BSSID3 byte0 0x00
518. AP_CLIENT_BSSID3_H: AP Client Base Station ID 3 High (offset: 0x10AC, default: 0x0000_0000)
Bits Type Name Description Initial Value
31:16 - - Reserved 0x0000
15:8 R/W APC_BSSID3_5 AP client BSSID3 byte5 0x00
7:0 R/W APC_BSSID3_4 AP client BSSID3 byte4 0x00
519. AP_CLIENT_BSSID4_L: AP Client Base Station ID 4 Low (offset: 0x10B0, default: 0x0000_0000)
520. AP_CLIENT_BSSID4_H: AP Client Base Station ID 4 High (offset: 0x10B4, default: 0x0000_0000)
Bits Type Name Description Initial Value
31:16 - - Reserved 0x0000
15:8 R/W APC_BSSID4_5 AP client BSSID4 byte5 0x00
7:0 R/W APC_BSSID4_4 AP client BSSID4 byte4 0x00
521. AP_CLIENT_BSSID5_L: AP Client Base Station ID 5 Low (offset: 0x10B8, default: 0x0000_0000)
Bits Type Name Description Initial Value
31:24 R/W APC_BSSID5_3 AP client BSSID5 byte3 0x00
23:16 R/W APC_BSSID5_2 AP client BSSID5 byte2 0x00
15:8 R/W APC_BSSID5_1 AP client BSSID5 byte1 0x00
7:0 R/W APC_BSSID5_0 AP client BSSID5 byte0 0x00
522. AP_CLIENT_BSSID5_H: AP Client Base Station ID 5 High (offset: 0x10BC, default: 0x0000_0000)
Bits Type Name Description Initial Value
31:16 - - Reserved 0x0000
15:8 R/W APC_BSSID5_5 AP client BSSID5 byte5 0x00
7:0 R/W APC_BSSID5_4 AP client BSSID5 byte4 0x00
523. AP_CLIENT_BSSID6_L: AP Client Base Station ID 6 Low (offset: 0x10C0, default: 0x0000_0000)
Bits Type Name Description Initial Value
31:24 R/W APC_BSSID6_3 AP client BSSID6 byte3 0x00
23:16 R/W APC_BSSID6_2 AP client BSSID6 byte2 0x00
15:8 R/W APC_BSSID6_1 AP client BSSID6 byte1 0x00
7:0 R/W APC_BSSID6_0 AP client BSSID6 byte0 0x00
524. AP_CLIENT_BSSID6_H: AP Client Base Station ID 6 High (offset: 0x10C4, default: 0x0000_0000)
Bits Type Name Description Initial Value
31:16 - - Reserved 0x0000
15:8 R/W APC_BSSID6_5 AP client BSSID6 byte5 0x00
7:0 R/W APC_BSSID6_4 AP client BSSID6 byte4 0x00
525. AP_CLIENT_BSSID7_L: AP Client Base Station ID 7 Low (offset: 0x10C8, default: 0x0000_0000)
Bits Type Name Description Initial Value
31:24 R/W APC_BSSID7_3 AP client BSSID7 byte3 0x00
23:16 R/W APC_BSSID7_2 AP client BSSID7 byte2 0x00
526. AP_CLIENT_BSSID7_H: AP Client Base Station ID 7 High (offset: 0x10CC, default: 0x0000_0000)
Bits Type Name Description Initial Value
31:16 - - Reserved 0x0000
15:8 R/W APC_BSSID7_5 AP client BSSID7 byte5 0x00
7:0 R/W APC_BSSID7_4 AP client BSSID7 byte4 0x00
8-bit signed value (unit: 0.5 dB), valid range: -16 dB to 15.5 dB
NOTE: CFPOLL_RA_DW0, CFPOLL_RA_DW1, and CFPOLL_QC are updated after receiving a QoS Data (+)CF-Poll
frame. An Rx QoS CF-Poll interrupt (RX_QOS_CFPOLL_INT) is then launched.
NOTE:
1. The key index and extension IV bit are initialized by software. The MSB octet of IV is not modified by
hardware.
2: IV/EIV packet number (PN) counter modes:
For WEP40, WEP104, CKIP40, CKIP104, CKIP128 mode, PN=IV[23:0]. EIV[31:0] is not used.
For TKIP mode, PN = {EIV[31:0], IV[7:0], IV[23:16]}, IV[15:8]=(IV[7:0] | 0x20) & 0x7F) is generated by
hardware.
For AES-CCMP, PN = {EIV[31:0], IV[15:0]}.
For non-WAPI mode, PN = PN + 1 after each encryption.
For WAPI mode, PN={WAPI_PN_MSB_1[31:0], WAPI_PN_MSB_0[31:0], EIV[31:0], IV[31:0]}.
For WAPI mode, PN=PN+2 when WAPI_MC_BC=0 in WCID attribute.
For WAPI mode, PN=PN+1 when WAPI_MC_BC=1 in WCID attribute.
3: Software may initialize the PN counter to any value.
0x4000
0x6000
IV/EIV Table (2 KB)
0x6800 WCID Attribute Table (1 KB)
0x6C00
Shared Key Table (1 KB)
0x7000
Shared Key Mode + Spare memory space
(1 KB not fully used)
0x7400
Shared Key Extension Table (1 KB)
0x7800
WAPI PN Table (2 KB)
3.3.7 Shared Key Mode Extension (for BSS_IDX=8 to 15) (offset: 0x73F0)
Offset Type Name Description Initial Value
0x73F0 RW SKEY_MODE_32_39 Shared mode for SKEY32 to SKEY39 *
0x73F4 RW SKEY_MODE_40_47 Shared mode for SKEY40 to SKEY47 *
0x73F8 RW SKEY_MODE_48_55 Shared mode forSKEY48 to SKEY55 *
0x73FC RW SKEY_MODE_56_63 Shared mode for SKEY56 to SKEY63 *
Table 3-10 Shared Key Mode Extension (for BSS_IDX=8 to15) (offset: 0x73F0)
3.3.8 Shared Key Table Extension (for BSS_IDX=8 to 15) (offset: 0x7400)
Offset Type Name Description Initial Value
0x7400 RW SKEY_32 Shared key for BSS_IDX=8, KEY_IDX=0 *
0x7420 RW SKEY_33 Shared key for BSS_IDX=8, KEY_IDX=1 *
0x7440 RW SKEY_34 Shared key for BSS_IDX=8, KEY_IDX=2 *
0x7460 RW SKEY_35 Shared key for BSS_IDX=8, KEY_IDX=3 *
0x7480 RW SKEY_36 Shared key for BSS_IDX=9, KEY_IDX=0 *
0x74A0 RW SKEY_37 Shared key for BSS_IDX=9, KEY_IDX=1 *
0x74C0 RW SKEY_38 Shared key for BSS_IDX=9, KEY_IDX=2 *
0x74E0 RW SKEY_39 Shared key for BSS_IDX=9, KEY_IDX=3 *
0x7500 RW SKEY_40 Shared key for BSS_IDX=10, KEY_IDX=0 *
0x7520 RW SKEY_41 Shared key for BSS_IDX=10, KEY_IDX=1 *
0x7540 RW SKEY_42 Shared key for BSS_IDX=10, KEY_IDX=2 *
0x7560 RW SKEY_43 Shared key for BSS_IDX=10, KEY_IDX=3 *
0x7580 RW SKEY_44 Shared key for BSS_IDX=11, KEY_IDX=0 *
0x75A0 RW SKEY_45 Shared key for BSS_IDX=11, KEY_IDX=1 *
0x75C0 RW SKEY_46 Shared key for BSS_IDX=11, KEY_IDX=2 *
0x75E0 RW SKEY_47 Shared key for BSS_IDX=11, KEY_IDX=3 *
0x7600 RW SKEY_48 Shared key for BSS_IDX=12, KEY_IDX=0 *
0x7620 RW SKEY_49 Shared key for BSS_IDX=12, KEY_IDX=1 *
0x7640 RW SKEY_50 Shared key for BSS_IDX=12, KEY_IDX=2 *
0x7660 RW SKEY_51 Shared key for BSS_IDX=12, KEY_IDX=3 *
0x7680 RW SKEY_52 Shared key for BSS_IDX=13, KEY_IDX=0 *
0x76A0 RW SKEY_53 Shared key for BSS_IDX=13, KEY_IDX=1 *
0x76C0 RW SKEY_54 Shared key for BSS_IDX=13, KEY_IDX=2 *
0x76E0 RW SKEY_55 Shared key for BSS_IDX=13, KEY_IDX=3 *
0x7700 RW SKEY_56 Shared key for BSS_IDX=14, KEY_IDX=0 *
0x7720 RW SKEY_57 Shared key for BSS_IDX=14, KEY_IDX=1 *
0x7740 RW SKEY_58 Shared key for BSS_IDX=14, KEY_IDX=2 *
0x7760 RW SKEY_59 Shared key for BSS_IDX=14, KEY_IDX=3 *
Table 3-11 Shared Key Table Extension (for BSS_IDX=8 to15) (offset: 0x7400)
NOTE: Do not set WIV bit to 1 when WAPI mode is turned on.
The Tx information may be divided into several segments. The Tx descriptor (TXD) specifies the location and
length of the Tx frame information segments. Tx frame information may be linked by use of several TXD. These
TXD are arranged in a TXD ring in serial.
The diagram below illustrates the relationship between TXD and Tx frame information.
Tx Ring
TXD[0].SDP0
TXD[0] SDP0
TXWI (4 DW)
SDL0, LS0=0
TXD[0] SDP1
802.11 Header
SDL1, LS1=0
TXD[1] SDP0 ….
SDL0, LS1=0
Tx Payload TXD[0].SDP1
TXD[1] SDP1 (segment 0)
SDL1, LS1=0
TXD for Tx
frame i ….
TXD[1].SDP0
Tx Payload
….
(segment 1)
….
TXD[k] SDP0 TXD[1].SDP1
SDL0, LS1=0 Tx Payload
(segment 2)
TXD[k] SDP1
SDL1, LS1=1 ….
TXD[k].SDP1
Tx Payload
(segment k)
bit 31 bit 0
DWORD0
SDP0[31:0]
DWORD1
DDONE
BURST
LS0
LS1
SDL0[13:0] SDL1[13:0]
DWORD2
SDP1[31:0]
DWORD3
WIV
bit 0
DWORD0
Reserved
MPDU
AMPDU
MMPS
MIMO
CFACK
OFDM
FRAG
STBC TXOP
[2:0]
BW
SGI
TS
MCS[6:0] Reserved [5:0] density
[1:0] [1:0]
[2:0]
DWORD1
NSEQ
Tx Packet
ACK
MPDU total byte count[11:0] WCID[7:0] BAWinSize[5:0]
ID[3:0]
DWORD2
IV [31:0]
DWORD3
EIV [31:0]
PIFS_REV
DWORD4
RSV Tx Power
_EN
RXD[0]
RXD[0].SDP0
SDP0 SDL0, LS0 RXWI (4 DW)
RXD for Rx
frame i
RXD[0]
SDP1 SDL1, LS1 Rx Payload
RXD[1]
SDP0 SDL0, LS0
RXD for Rx
frame I + 1 RXD[1]
SDP1 SDL1, LS1
RXD[1].SDP0
RXD[2]
RXWI (4DW)
SDP0 SDL0, LS0
RXD for Rx
frame I + 2 RXD[2]
Rx Payload
SDP1 SDL1, LS1
bit 31 bit 0
DWORD0
SDP0[31:0]
DWORD1
DDONE LS0 SDL0[13:0] 0 1 SDL1[13:0]
DWORD2
SDP1[31:0]
DWORD3
RXINFO
bit 0 BA
1 DATA
2 NULL
3 FRAG
4 UC2ME
5 MC
6 BC
7 MYBSS
8 CRCERR
9 ICVERR
10 MICERR
11 AMSDU
12 HTC
13 RSSI
14 L2PAD
15 AMPDU
16 DEC
17 BSSIDX_3
18 WAPIKID
19
PN_LEN[2:0]
21
22
10'b0
bit 31
bit 31 bit 0
DWORD0
Key
TID UDF BSS idx
MPDU total byte count[11:0] idx WCID[7:0]
[3:0] [2:0] [2:0]
[1:0]
DWORD1
PHY
RSV STBC
BW
SGI
DWORD2
RSV[7:0] RSSI_2[7:0] RSSI_1[7:0] RSSI_0[7:0]
DWORD3
FREQ_OFFSET[7:0] SNR_2[7:0] SNR_1[7:0] SNR_0[7:0]
DWORD4
Reserved
DWORD5
Reserved
5. SD Host Controller
5.1 Features
SD Host Controller contains:
32-bit access for control registers
8-bit/16-bit/32-bit access for FIFO in PIO mode
Built-in 128-byte FIFO buffers for transmit and receive
Built-in CRC circuit
Supports Basic DMA mode, Basic Descriptor mode, and Enhanced Descriptor mode
Interrupt capabilities
SPI mode not supported for SD Memory Card
Suspend/resume not supported for SD Memory Card
Supports SD2.0 High Speed, data rate up to 196 Mbps with a 48 MHz SD clock
Card detection capabilities
MSDC
DMA
Controller
FDSAR
Source/Destination
Data
For the flexibility of the descriptor structure, the linked-list DMA mode provides the hardware merging
function to copy fragmented source data to a continuous destination data buffer.
For multiple source data buffers, as shown in the following figure, each data buffer at the source is pointed to
by a DMA BD. All the DMA BDs associated with the multiple source data buffers are linked together as a list
and the list is pointed to by a DMA GPD. The DMA control copies the fragmented source data into a single
destination data buffer. It provides the hardware-implemented data merging function to reduce the
computation power consumption of the embedded processor on the data copying.
The following figure shows the example of the linked-list based DMA mode on the DMA channel. Multiple
destination data buffers are allowed in this mode. Each time the DMA controller finishes the DMA transfer
operation for the data which belongs to one DMA GPD/BD, the controller will use the INT bit in GPD/BD to
generate an interrupt to inform the firmware.
MSDC
Controller
DSAR SD1
DSAR SD2
Data Data
#1 #2
DMA DMA
GPD BD
.
. Data
.
Data
Data
#2 Data
#1
#3
The structure of a DMA Generic Packet Descriptor (GPD) is defined in the following table.
Please note that the start address of a descriptor should be 4 B alignment.
The structure of a DMA Buffer Descriptor (BD) is defined in the following table.
6. List of Registers
1. CHIPID0_3: CHIP ID ASCII CHARACTER 0-3 (OFFSET: 0X0000) ................................................................................... 19
2. CHIPID4_7: CHIP NAME ASCII CHARACTER 4-7 (OFFSET: 0X0004).............................................................................. 19
3. REVID: CHIP REVISION IDENTIFICATION (OFFSET: 0X000C) .......................................................................................... 19
4. SYSCFG0: SYSTEM CONFIGURATION REGISTER 0 (OFFSET: 0X0010) ............................................................................. 19
5. SYSCFG1: SYSTEM CONFIGURATION REGISTER 0 (OFFSET: 0X0014) .............................................................................. 20
6. TESTSTAT: FIRMWARE TEST STATUS REGISTER (OFFSET: 0X0018) ................................................................................ 22
7. TESTSTAT2: FIRMWARE TEST STATUS REGISTER 2 (OFFSET: 0X001C) ........................................................................... 22
8. RESERVED (OFFSET: 0X0020) .................................................................................................................................. 22
9. RESERVED (OFFSET: 0X0024) .................................................................................................................................. 23
10. RESERVED (OFFSET: 0X0028) ................................................................................................................................ 23
11. CLKCFG0: CLOCK CONFIGURATION REGISTER 0 (OFFSET: 0X002C) ............................................................................. 23
12. CLKCFG1: CLOCK CONFIGURATION REGISTER 1 (OFFSET: 0X0030) ............................................................................. 24
13. RSTCTRL: RESET CONTROL REGISTER (OFFSET: 0X0034) ........................................................................................... 25
14. RSTSTAT: RESET STATUS REGISTER (OFFSET: 0X0038) .............................................................................................. 26
15. CPU_SYS_CLKCFG: CPU AND SYS CLOCK CONTROL (OFFSET: 0X003C) ..................................................................... 27
16. CLK_LUT_CFG: CPU AND SYS CLOCK AUTO CONTROL (OFFSET: 0X0040) .................................................................. 29
17. CUR_CLK_STS: CURRENT CLOCK STATUS (OFFSET: 0X0044) ..................................................................................... 30
18. BPLL_CFG0: BB PLL CONFIGURATION 0 (OFFSET: 0X0048) ...................................................................................... 31
19. BPLL_CFG1: BB PLL CONFIGURATION 0 (OFFSET: 0X004C) ...................................................................................... 31
20. CPLL_CFG0: CPU PLL CONFIGURATION 0 (OFFSET: 0X0054) ................................................................................... 33
21. CPLL_CFG1: CPU PLL CONFIGURATION 1 (OFFSET: 0X0058) ................................................................................... 36
22. USB_PHY_CFG: USB PHY CONTROL (OFFSET: 0X005C) ......................................................................................... 36
23. GPIOMODE: GPIO PURPOSE SELECT (OFFSET: 0X0060) .......................................................................................... 36
24. PCIPDMA_STAT: CONTROL AND STATUS OF PDMA IN PCIE DEVICE (OFFSET: 0X0064) ................................................ 39
25. PMU0_CFG: (OFFSET: 0X0088)........................................................................................................................... 39
26. PMU1_CFG: (OFFSET: 0X008C) .......................................................................................................................... 40
27. PPLL_CFG0: PCIE PLL CONFIGURATION 0 (OFFSET: 0X0098) ................................................................................... 41
28. PPLL_CFG1: PCIE PLL CONFIGURATION 1 (OFFSET: 0X009C) ................................................................................... 43
29. PPLL_DRV: PCIE DRIVER CONFIGURATION (OFFSET: 0X00A0) ................................................................................... 44
30. TMRSTAT: TIMER STATUS REGISTER (OFFSET: 0X0000)............................................................................................ 49
31. TMR0LOAD: TIMER 0 LOAD VALUE (OFFSET: 0X0010) ............................................................................................ 50
32. TMR0VAL: TIMER 0 COUNTER VALUE (OFFSET: 0X0014).......................................................................................... 50
33. TMR0CTL: TIMER 0 CONTROL (OFFSET: 0X0018) .................................................................................................... 50
34. TMR1LOAD: TIMER 1 LOAD VALUE (OFFSET: 0X0020) ............................................................................................ 51
35. TMR1VAL: TIMER 1 COUNTER VALUE (OFFSET: 0X0024).......................................................................................... 51
36. TMR1CTL: TIMER 1 CONTROL (OFFSET: 0X0028) .................................................................................................... 51
37. IRQ0STAT: INTERRUPT TYPE 0 STATUS AFTER ENABLE MASK (OFFSET: 0X0000) ........................................................... 55
38. IRQ1STAT: INTERRUPT TYPE 1 STATUS AFTER ENABLE MASK (OFFSET: 0X0004) ........................................................... 55
39. INTTYPE: INTERRUPT TYPE (OFFSET: 0X0020) ......................................................................................................... 56
40. INTRAW: RAW INTERRUPT STATUS BEFORE ENABLE MASK (OFFSET: 0X0030) .............................................................. 57
41. INTENA: INTERRUPT ENABLE (OFFSET: 0X0034) ...................................................................................................... 58
42. INTDIS: INTERRUPT DISABLE (OFFSET: 0X0038) ....................................................................................................... 58
43. STCK_CNT_CFG: MIPS CONFIGURATION REGISTER (OFFSET: 0X0000) ...................................................................... 61
44. CMP_CNT: MIPS COMPARE REGISTER (OFFSET: 0X0004) ........................................................................................ 61
45. CNT: MIPS COUNTER REGISTER (OFFSET: 0X0008) .................................................................................................. 61
46. RBR: RECEIVE BUFFER REGISTER (OFFSET: 0X0000) .................................................................................................. 64
47. TBR: TRANSMIT BUFFER REGISTER (OFFSET: 0X0004) ............................................................................................... 64
48. IER: INTERRUPT ENABLE REGISTER (OFFSET: 0X0008) ................................................................................................ 64
295. IMC: IGMP/MLD MESSAGE CONTROL REGISTER (OFFSET: 0X001C) ...................................................................... 258
296. APC: ARP AND PPPOE CONTROL REGISTER (OFFSET: 0X0020) ............................................................................... 260
297. BPC: BPDU AND PAE CONTROL REGISTER (OFFSET: 0X0024) ................................................................................ 262
298. RGAC1: REV_01 AND REV_02 CONTROL REGISTER (OFFSET: 0X0028) .................................................................. 264
299. RGAC2: REV_03 AND REV_0E CONTROL REGISTER (OFFSET: 0X002C) .................................................................. 266
300. RGAC3: REV_10 AND REV_20 CONTROL REGISTER (OFFSET: 0X0030) .................................................................. 267
301. RGAC4: REV_21 AND REV_UN REGISTER (OFFSET: 0X0034)............................................................................... 269
302. PMC: PROTOCOL MATCH CONTROL REGISTER (OFFSET: 0X0038) ............................................................................ 271
303. PBG1: PROTOCOL BASED GROUP ID-I REGISTER (OFFSET: 0X003C) ........................................................................ 272
304. PBG2: PROTOCOL BASED GROUP ID-II REGISTER (OFFSET: 0X0040)........................................................................ 272
305. UPW: USER PRIORITY WEIGHT REGISTER (OFFSET: 0X0044) .................................................................................. 272
306. PEM1: USER PRIORITY EGRESS MAPPING I REGISTER (OFFSET: 0X0048) .................................................................. 272
307. PEM2: USER PRIORITY EGRESS MAPPING II REGISTER (OFFSET: 0X004C) ................................................................. 273
308. PEM3: USER PRIORITY EGRESS MAPPING III REGISTER (OFFSET: 0X0050) ................................................................ 273
309. PEM4: USER PRIORITY EGRESS MAPPING IV REGISTER (OFFSET: 0X0054) ................................................................ 273
310. PIM1: DSCP PRIORITY INGRESS MAPPING I REGISTER (OFFSET: 0X0058) ................................................................. 274
311. PIM2: DSCP PRIORITY INGRESS MAPPING II REGISTER (OFFSET: 0X005C) ................................................................ 274
312. PIM3: DSCP PRIORITY INGRESS MAPPING III REGISTER (OFFSET: 0X0060) ............................................................... 274
313. PIM4: DSCP PRIORITY INGRESS MAPPING IV REGISTER (OFFSET: 0X0064) ............................................................... 275
314. PIM5: DSCP PRIORITY INGRESS MAPPING V REGISTER (OFFSET: 0X0068) ................................................................ 275
315. PIM6: DSCP PRIORITY INGRESS MAPPING VI REGISTER (OFFSET: 0X006C) ............................................................... 275
316. PIM7: DSCP PRIORITY INGRESS MAPPING VII REGISTER (OFFSET: 0X0070) .............................................................. 276
317. ATA1: ADDRESS TABLE ACCESS I REGISTER (OFFSET: 0X0074) ................................................................................ 276
318. ATA2: ADDRESS TABLE ACCESS II REGISTER (OFFSET: 0X0078) ............................................................................... 276
319. ATWD: ADDRESS TABLE WRITE DATA REGISTER (OFFSET: 0X007C) ......................................................................... 277
320. ATC: ADDRESS TABLE CONTROL REGISTER (OFFSET: 0X0080) ................................................................................. 277
321. TSRA1: TABLE SEARCH READ ADDRESS-I REGISTER (OFFSET: 0X0084) ..................................................................... 279
322. TSRA2: TABLE SEARCH READ ADDRESS-II REGISTER (OFFSET: 0X0088) .................................................................... 279
323. ATRD: ADDRESS TABLE READ DATA REGISTER (OFFSET: 0X008C) ............................................................................ 279
324. VTCR: VLAN TABLE CONTROL REGISTER (OFFSET: 0X0090) ................................................................................... 280
325. VAWD1: VLAN AND ACL WRITE DATA-I REGISTER (OFFSET: 0X0094) .................................................................... 281
326. VAWD2: VLAN AND ACL WRITE DATA-II REGISTER (OFFSET: 0X0098) ................................................................... 283
327. TRTCM: TWO RATE THREE COLOR MARK REGISTER (OFFSET: 0X009C).................................................................... 284
328. AAC: ADDRESS AGE CONTROL REGISTER (OFFSET: 0X00A0) ................................................................................... 285
329. DHCP: DHCPV4 AND DHCPV6 CONTROL REGISTER (OFFSET: 0X00A4) ................................................................... 285
330. VTIM1: VID TO TABLE INDEX MAP 1 REGISTER (OFFSET: 0X0100) .......................................................................... 287
331. VTIM2: VID TO TABLE INDEX MAP 2 REGISTER (OFFSET: 0X0104) .......................................................................... 287
332. VTIM3: VID TO TABLE INDEX MAP 3 REGISTER (OFFSET: 0X0108) .......................................................................... 287
333. VTIM4: VID TO TABLE INDEX MAP 4 REGISTER (OFFSET: 0X010C) .......................................................................... 288
334. VTIM5: VID TO TABLE INDEX MAP 5 REGISTER (OFFSET: 0X0110) .......................................................................... 288
335. VTIM6: VID TO TABLE INDEX MAP 6 REGISTER (OFFSET: 0X0114) .......................................................................... 288
336. VTIM7: VID TO TABLE INDEX MAP 7 REGISTER (OFFSET: 0X0118) .......................................................................... 288
337. VTIM8: VID TO TABLE INDEX MAP 8 REGISTER (OFFSET: 0X011C) .......................................................................... 288
338. DBGC: DEBUG CONTROL REGISTER (OFFSET: 0X0200) .......................................................................................... 288
339. DBGD1: DEBUG DATA-I REGISTER (OFFSET: 0X0204) ........................................................................................... 290
340. DBGD2: DEBUG DATA-II REGISTER (OFFSET: 0X0208) .......................................................................................... 290
341. DBGCNT: DEBUG COUNTER REGISTER (OFFSET: 0X020C) ..................................................................................... 290
342. MMSCR0_Q0PN: MAX-MIN SCHEDULER CONTROL REGISTER 0 OF QUEUE 0/PORT N (OFFSET: 0X1000, 0X1100, 0X1200,
0X1300, 0X1400, 0X1500, 0X1600, 0X1700) ......................................................................................................... 293
343. MMSCR1_Q0PN: MAX-MIN SCHEDULER CONTROL REGISTER 1 OF QUEUE 0/PORT N (OFFSET: 0X1004, 0X1104, 0X1204,
0X1304, 0X1404, 0X1504, 0X1604, 0X1704) ......................................................................................................... 293
344. MMSCR0_Q1PN: MAX-MIN SCHEDULER CONTROL REGISTER 0 OF QUEUE 1/PORT N (OFFSET: 0X1008, 0X1108, 0X1208,
0X1308, 0X1408, 0X1508, 0X1608, 0X1708) ......................................................................................................... 294
345. MMSCR1_Q1PN: MAX-MIN SCHEDULER CONTROL REGISTER 1 OF QUEUE 1/PORT N (OFFSET: 0X100C, 0X110C, 0X120C,
0X130C, 0X140C, 0X150C, 0X160C, 0X170C) ......................................................................................................... 295
346. MMSCR0_Q2PN: MAX-MIN SCHEDULER CONTROL REGISTER 0 OF QUEUE 2/PORT N (OFFSET: 0X1010, 0X1110, 0X1210,
0X1310, 0X1410, 0X1510, 0X1610, 0X1710) ......................................................................................................... 295
347. MMSCR1_Q2PN: MAX-MIN SCHEDULER CONTROL REGISTER 1 OF QUEUE 2/PORT N (OFFSET: 0X1014, 0X1114, 0X1214,
0X1314, 0X1414, 0X1514, 0X1614, 0X1714) ......................................................................................................... 296
348. MMSCR0_Q3PN: MAX-MIN SCHEDULER CONTROL REGISTER 0 OF QUEUE 3/PORT N (OFFSET: 0X1018, 0X1118, 0X1218,
0X1318, 0X1418, 0X1518, 0X1618, 0X1718) ......................................................................................................... 296
349. MMSCR1_Q3PN: MAX-MIN SCHEDULER CONTROL REGISTER 1 OF QUEUE 3/PORT N (OFFSET: 0X101C, 0X111C, 0X121C,
0X131C, 0X141C, 0X151C, 0X161C, 0X171C) ......................................................................................................... 297
350. MMSCR0_Q4PN: MAX-MIN SCHEDULER CONTROL REGISTER 0 OF QUEUE 4/PORT N (OFFSET: 0X1020, 0X1120, 0X1220,
0X1320, 0X1420, 0X1520, 0X1620, 0X1720) ......................................................................................................... 297
351. MMSCR1_Q4PN: MAX-MIN SCHEDULER CONTROL REGISTER 1 OF QUEUE 4/PORT N (OFFSET: 0X1024, 0X1124, 0X1224,
0X1324, 0X1424, 0X1524, 0X1624, 0X1724) ......................................................................................................... 298
352. MMSCR0_Q5PN: MAX-MIN SCHEDULER CONTROL REGISTER 0 OF QUEUE 5/PORT N (OFFSET: 0X1028, 0X1128, 0X1228,
0X1328, 0X1428, 0X1528, 0X1628, 0X1728) ......................................................................................................... 298
353. MMSCR1_Q5PN: MAX-MIN SCHEDULER CONTROL REGISTER 1 OF QUEUE 5/PORT N (OFFSET: 0X102C, 0X112C, 0X122C,
0X132C, 0X142C, 0X152C, 0X162C, 0X172C) ......................................................................................................... 299
354. MMSCR0_Q6PN: MAX-MIN SCHEDULER CONTROL REGISTER 0 OF QUEUE 6/PORT N (OFFSET: 0X1030, 0X1130, 0X1230,
0X1330, 0X1430, 0X1530, 0X1630, 0X1730) ......................................................................................................... 299
355. MMSCR1_Q6PN: MAX-MIN SCHEDULER CONTROL REGISTER 1 OF QUEUE 6/PORT N (OFFSET: 0X1034, 0X1134, 0X1234,
0X1334, 0X1434, 0X1534, 0X1634, 0X1734) ......................................................................................................... 300
356. MMSCR0_Q7PN: MAX-MIN SCHEDULER CONTROL REGISTER 0 OF QUEUE 7/PORT N (OFFSET: 0X1038, 0X1138, 0X1238,
0X1338, 0X1438, 0X1538, 0X1638, 0X1738) ......................................................................................................... 301
357. MMSCR1_Q7PN: MAX-MIN SCHEDULER CONTROL REGISTER 1 OF QUEUE 7/PORT N (OFFSET: 0X103C, 0X113C, 0X123C,
0X133C, 0X143C, 0X153C, 0X163C, 0X173C) ......................................................................................................... 301
358. ERLCR_PN: EGRESS RATE LIMIT CONTROL REGISTER OF PORT N (OFFSET: 0X1040, 0X1140, 0X1240, 0X1340, 0X1440,
0X1540, 0X1640, 0X1740) .................................................................................................................................... 302
359. IRLCR_PN: INGRESS RATE LIMIT CONTROL REGISTER OF PORT N (OFFSET: 0X1080, 0X1180, 0X1280, 0X1380, 0X1480,
0X1580, 0X1680, 0X1780).................................................................................................................................... 302
360. FPC_RXCTRL_PN: FREE PAGE COUNT AT RX_CTRL OF PORT N (OFFSET: 0X1084, 0X1184, 0X1284, 0X1384, 0X1484,
0X1584, 0X1684, 0X1784) .................................................................................................................................... 303
361. EPC_QUE01_PN: EGRESS PAGE COUNT AT QUEUE 0/1 OF PORT N (OFFSET: 0X1090, 0X1190, 0X1290, 0X1390, 0X1490,
0X1590, 0X1690, 0X1790) .................................................................................................................................... 303
362. EPC_QUE23_PN: EGRESS PAGE COUNT AT QUEUE 2/3 OF PORT N (OFFSET: 0X1094, 0X1194, 0X1294, 0X1394, 0X1494,
0X1594, 0X1694, 0X1794) .................................................................................................................................... 303
363. EPC_QUE45_PN: EGRESS PAGE COUNT AT QUEUE 4/5 OF PORT N (OFFSET: 0X1098, 0X1198, 0X1298, 0X1398, 0X1498,
0X1598, 0X1698, 0X1798) .................................................................................................................................... 303
364. EPC_QUE67_PN: EGRESS PAGE COUNT AT QUEUE 6/7 OF PORT N (OFFSET: 0X109C, 0X119C, 0X129C, 0X139C, 0X149C,
0X159C, 0X169C, 0X179C) .................................................................................................................................... 304
365. GERLCR: GLOBAL EGRESS RATE LIMIT CONTROL REGISTER (OFFSET: 0X1F80) ........................................................... 304
366. FPLC: FREE PAGE LINK COUNT REGISTER (OFFSET: 0X1FC0) ................................................................................... 304
367. GFCCR0: GLOBAL FLOW CONTROL CONTROL REGISTER 0 (OFFSET: 0X1FE0)............................................................. 305
368. GFCCR1: GLOBAL FLOW CONTROL CONTROL REGISTER 1 (OFFSET: 0X1FE4)............................................................. 305
369. FCBRCR0: FLOW CONTROL BLOCK RESERVATION CONTROL REGISTER FOR GROUP 0 (OFFSET: 0X1FE8) ......................... 306
370. FCBRCR1: FLOW CONTROL BLOCK RESERVATION CONTROL REGISTER FOR GROUP 1 (OFFSET: 0X1FEC) ......................... 306
371. GIRLCR: GLOBAL INGRESS RATE LIMIT CONTROL REGISTER (OFFSET: 0X1FF0) ........................................................... 306
372. GFCCR2: GLOBAL FLOW_CONTROL CONTROL REGISTER 2 (OFFSET: 0X1FF4) ........................................................... 307
373. SSC: STP STATE CONTROL REGISTER (OFFSET: 0X2000, 0X2100, 0X2200, 0X2300, 0X2400, 0X2500, 0X2600, 0X2700)
............................................................................................................................................................................ 309
374. PCR: PORT CONTROL REGISTER (OFFSET: 0X2004, 0X2104, 0X2204, 0X2304, 0X2404, 0X2504, 0X2604, 0X2704) . 309
375. PIC: PORT IGMP CONTROL REGISTER (OFFSET: 0X2008, 0X2108, 0X2208, 0X2308, 0X2408, 0X2508, 0X2608, 0X2708)
............................................................................................................................................................................ 311
376. PSC: PORT SECURITY CONTROL REGISTER (OFFSET: 0X200C, 0X210C, 0X220C, 0X230C, 0X240C, 0X250C, 0X260C,
0X270C) ............................................................................................................................................................... 314
377. PVC: PORT VLAN CONTROL REGISTER (OFFSET: 0X2010, 0X2110, 0X2210, 0X2310, 0X2410, 0X2510, 0X2610, 0X2710)
............................................................................................................................................................................ 315
378. PPBV1: PORT-AND-PROTOCOL BASED VLAN-I REGISTER (OFFSET: 0X2014, 0X2114, 0X2214, 0X2314, 0X2414, 0X2514,
0X2614, 0X2714) .................................................................................................................................................. 316
379. PPBV2: PORT-AND-PROTOCOL BASED VLAN-II REGISTER (OFFSET: 0X2018, 0X2118, 0X2218, 0X2318, 0X2418, 0X2518,
0X2618, 0X2718) .................................................................................................................................................. 316
380. BSR: BROADCAST STORM RATE CONTROL REGISTER (OFFSET: 0X201C, 0X211C, 0X221C, 0X231C, 0X241C, 0X251C,
0X261C, 0X271C) ................................................................................................................................................. 317
381. STAG01: STAG INDEX 0/1 REGISTER (OFFSET: 0X2020, 0X2120, 0X2220, 0X2320, 0X2420, 0X2520, 0X2620, 0X2720)
............................................................................................................................................................................ 318
382. STAG23: STAG INDEX 2/3 REGISTER (OFFSET: 0X2024, 0X2124, 0X2224, 0X2324, 0X2424, 0X2524, 0X2624, 0X2724)
............................................................................................................................................................................ 318
383. STAG45: STAG INDEX 4/5 REGISTER (OFFSET: 0X2028, 0X2128, 0X2228, 0X2328, 0X2428, 0X2528, 0X2628, 0X2728)
............................................................................................................................................................................ 318
384. STAG67: STAG INDEX 6/7 REGISTER (OFFSET: 0X202C, 0X212C, 0X222C, 0X232C, 0X242C, 0X252C, 0X262C, 0X272C)
............................................................................................................................................................................ 318
385. TPF: TO_PPE FORWARDING REGISTER (OFFSET: 0X2030, 0X2130, 0X2230, 0X2330, 0X2430, 0X2530, 0X2630,
0X2730) ............................................................................................................................................................... 318
386. PMCR_PN: PORT N MAC CONTROL REGISTER (OFFSET: 0X3000, 0X3100, 0X3200, 0X3300, 0X3400, 0X3500, 0X3600,
0X3700) ............................................................................................................................................................... 321
387. PMEEECR_PN: PORT N MAC EEE CONTROL REGISTER (OFFSET: 0X3004, 0X3104, 0X3204, 0X3304, 0X3404, 0X3504,
0X3604, 0X3704) .................................................................................................................................................. 323
388. PMSR_PN: PORT N MAC STATUS REGISTER (OFFSET: 0X3008, 0X3108, 0X3208, 0X3308, 0X3408, 0X3508, 0X3608,
0X3708) ............................................................................................................................................................... 323
389. PINT_EN_PN: PORT N INTERRUPT ENABLE REGISTER (OFFSET: 0X3010, 0X3110, 0X3210, 0X3310, 0X3410, 0X3510,
0X3610, 0X3710) .................................................................................................................................................. 324
390. PINT_STS_PN: PORT N INTERRUPT STATUS REGISTER (OFFSET: 0X3014, 0X3114, 0X3214, 0X3314, 0X3414, 0X3514,
0X3614, 0X3714) .................................................................................................................................................. 325
391. GMACCR: GLOBAL MAC CONTROL REGISTER (OFFSET: 0X3FE0) ........................................................................... 326
392. SMACCR0: SYSTEM MAC CONTROL REGISTER 0 (OFFSET: 0X3FE4)........................................................................ 326
393. SMACCR1: SYSTEM MAC CONTROL REGISTER 1 (OFFSET: 0X3FE8)........................................................................ 326
394. CKGCR: CLOCK GATING CONTROL REGISTER (OFFSET: 0X3FF0) .............................................................................. 327
395. GPINT_EN: GLOBAL PORT INTERRUPT ENABLE REGISTER (OFFSET: 0X3FF4) ............................................................. 327
396. GPINT_STS: GLOBAL PORT INTERRUPT STATUS REGISTER (OFFSET: 0X3FF8) ............................................................ 328
397. ESRN: EVENT STATUS REGISTER OF PORT N (OFFSET: 0X4000, 0X4100, 0X4200, 0X4300, 0X4400, 0X4500, 0X4600,
0X4700) ............................................................................................................................................................... 330
398. INTSN: INTERRUPT STATUS REGISTER OF PORT N (OFFSET: 0X4004, 0X4104, 0X4204, 0X4304, 0X4404, 0X4504, 0X4604,
0X4704) ............................................................................................................................................................... 332
399. INTMN: INTERRUPT MASK REGISTER OF PORT N (OFFSET: 0X4008, 0X4108, 0X4208, 0X4308, 0X4408, 0X4508, 0X4608,
0X4708) ............................................................................................................................................................... 333
400. TGPCN: TX PACKET COUNTER OF PORT N (OFFSET: 0X4010, 0X4110, 0X4210, 0X4310, 0X4410, 0X4510, 0X4610,
0X4710) ............................................................................................................................................................... 334
401. TBOCN: TX BAD OCTET COUNTER OF PORT N (OFFSET: 0X4014, 0X4114, 0X4214, 0X4314, 0X4414, 0X4514, 0X4614,
0X4714) ............................................................................................................................................................... 334
402. TGOCN: TX GOOD OCTET COUNTER OF PORT N (OFFSET: 0X4018, 0X4118, 0X4218, 0X4318, 0X4418, 0X4518, 0X4618,
0X4718) ............................................................................................................................................................... 334
403. TEPCN: TX EVENT PACKET COUNTER OF PORT N (OFFSET: 0X401C, 0X411C, 0X421C, 0X431C, 0X441C, 0X451C, 0X461C,
0X471C) ............................................................................................................................................................... 334
404. RGPCN: RX PACKET COUNTER OF PORT N (OFFSET: 0X4020, 0X4120, 0X4220, 0X4320, 0X4420, 0X4520, 0X4620,
0X4720) ............................................................................................................................................................... 334
405. RBOCN: RX BAD OCTET COUNTER OF PORT N (OFFSET: 0X4024, 0X4124, 0X4224, 0X4324, 0X4424, 0X4524, 0X4624,
0X4724) ............................................................................................................................................................... 335
406. RGOCN: RX GOOD OCTET COUNTER OF PORT N (OFFSET: 0X4028, 0X4128, 0X4228, 0X4328, 0X4428, 0X4528, 0X4628,
0X4728) ............................................................................................................................................................... 335
407. REPC1N: RX EVENT PACKET COUNTER OF PORT N (OFFSET: 0X402C, 0X412C, 0X422C, 0X432C, 0X442C, 0X452C,
0X462C, 0X472C) ................................................................................................................................................. 335
408. REPC2N: RX EVENT PACKET COUNTER OF PORT N (OFFSET: 0X4030, 0X4130, 0X4230, 0X4330, 0X4430, 0X4530,
0X4630, 0X4730) .................................................................................................................................................. 335
409. MIBCNTEN: MIB COUNTER ENABLE (OFFSET: 0X4800) ....................................................................................... 335
410. AECNT1: ACL EVENT-I COUNTER (OFFSET: 0X4804)............................................................................................ 336
411. AECNT2: ACL EVENT-II COUNTER (OFFSET: 0X4808)........................................................................................... 336
412. AEISR: ACL EVENT INTERRUPT STATUS REGISTER (OFFSET: 0X480C) ....................................................................... 336
413. PPSC: PHY POLLING & SMI MASTER CONTROL (OFFSET: 0X7000) ......................................................................... 339
414. PIAC: PHY INDIRECT ACCESS CONTROL (OFFSET: 0X7004) ..................................................................................... 340
415. IMR: INTERRUPT MASK REGISTER (OFFSET: 0X7008) ............................................................................................ 340
416. ISR: INTERRUPT STATUS REGISTER (OFFSET: 0X700C) ............................................................................................ 340
417. CPC: CPU PORT CONTROL (OFFSET: 0X7010) ..................................................................................................... 342
418. GPC1: GIGA PORT-I CONTROL (OFFSET: 0X7014) ............................................................................................... 343
419. DBGP: DEBUG PROBE CONTROL (OFFSET: 0X7018) .............................................................................................. 344
420. GPC2: GIGA PORT-II CONTROL (OFFSET: 0X701C) .............................................................................................. 345
421. MII CONTROL REGISTER, CR ADDRESS: 00(D00), RESET STATE: 3100...................................................................... 350
422. MII STATUS REGISTER, CR ADDRESS: 01(D01), RESET STATE: 7849 ........................................................................ 350
423. PHY IDENTIFIER REGISTER, CR ADDRESS: 02(D02), RESET STATE: 00C3 ................................................................... 351
424. PHY VERSION REGISTER, CR ADDRESS: 03(D03), RESET STATE: 0800...................................................................... 351
425. AUTO-NEGOTIATION ADVERTISEMENT REGISTER, CR ADDRESS: 04(D04), RESET STATE: 05E1 ..................................... 351
426. AUTO-NEGOTIATION LINK PARTNER (LP) ABILITY REGISTER, CR ADDRESS: 05(D05), RESET STATE: 0000 ....................... 352
427. AUTO-NEGOTIATION EXPANSION REGISTER, CR ADDRESS: 06(D06), RESET STATE: 0000 ............................................ 352
428. PCICFG: PCI CONFIGURATION AND STATUS REGISTER (OFFSET: 0X0000) ................................................................. 360
429. PCIINT: PCI INTERRUPT AFTER ENABLE MASK (OFFSET: 0X0008) ........................................................................... 360
430. PCIENA: PCI INTERRUPT ENABLE (OFFSET: 0X000C) ............................................................................................ 360
431. CFGADDR: CONFIG_ADDR REGISTER (OFFSET: 0X0020) ................................................................................... 361
432. CFGDATA: CONFIG_DATA REGISTER (OFFSET: 0X0024) .................................................................................... 361
433. MEMBASE: BASE ADDRESS FOR MEMORY SPACE WINDOW (OFFSET: 0X0028) ........................................................ 361
434. IOBASE: BASE ADDRESS FOR IO SPACE WINDOW (OFFSET: 0X002C) ....................................................................... 361
435. PHY0_CFG: PCIE PHY0 CONTROL REGISTER VIA SPI CONFIGURATION (OFFSET: 0X0090) .......................................... 362
436. PCIE0_BAR0SETUP: SETUP FOR BAR0 OF PCIE CONTROLLER (OFFSET: 0X0010) .................................................... 364
437. PCIE0_BAR1SETUP: SETUP FOR BAR1 OF PCIE CONTROLLER (OFFSET: 0X0014) .................................................... 365
438. PCIE0_IMBASEBAR0: INTERNAL MEMORY BASE ADDRESS FOR BAR0 SPACE OF PCIE CONTROLLER (OFFSET: 0X0018) .. 366
439. PCIE0_ID: VENDOR AND DEVICE ID OF PCIE CONTROLLER (OFFSET: 0X0030) ........................................................... 366
440. PCIE0_CLASS: CLASS CODE AND REVISION ID OF PCIE CONTROLLER (OFFSET: 0X0034)............................................. 366
441. PCIE_SUBID: SUB VENDOR AND DEVICE ID OF PCIE CONTROLLER (OFFSET: 0X0038) ................................................ 366
442. PCIE0_STATUS: PCIE STATUS REGISTER (OFFSET: 0X0050).................................................................................. 366
443. DLECR: DATALINK LAYER ERROR COUNTER REGISTER (OFFSET: 0X0060) .................................................................. 366
444. ECRC: ERROR COUNTER REGISTER (OFFSET: 0X0064) ........................................................................................... 367
445. MEMWINX: PCI MEMORY SPACE ACCESS WINDOW (OFFSET: 0X0000_0000) ........................................................ 367
446. IOWINX: PCI IO SPACE ACCESS WINDOW (OFFSET: 0X0002_0000) ...................................................................... 367
447. INT_STATUS: (OFFSET: 0X0200) ..................................................................................................................... 371
448. INT_MASK: (OFFSET: 0X0204) ........................................................................................................................ 372
449. WPDMA_GLO_CFG: (OFFSET: 0X0208) .......................................................................................................... 374
450. WPDMA_RST_IDX: (OFFSET: 0X020C) ............................................................................................................ 375
451. DELAY_INT_CFG: (OFFSET: 0X0210) ............................................................................................................... 376
452. WMM_AIFSN_CFG: (OFFSET: 0X0214) ........................................................................................................... 377
453. WMM_CWMIN_CFG: (OFFSET: 0X0218) ........................................................................................................ 377
454. WMM_CWMAX_CFG: (OFFSET: 0X021C) ....................................................................................................... 378
455. WMM_TXOP0_CFG: (OFFSET: 0X0220).......................................................................................................... 379
456. WMM_TXOP1_CFG: (OFFSET: 0X0224).......................................................................................................... 379
457. TX_BASE_PTR_N: (OFFSET: 0X0230, 0X0240, 0X0250, 0X0260, 0X0270, 0X0280) (N: 0 TO 5)............................ 379
458. TX_MAX_CNT_N: (OFFSET: 0X0234, 0X0244, 0X0254, 0X0264, 0X0274, 0X0284) (N: 0 TO 5)............................ 379
459. TX_CTX_IDX_N: (OFFSET: 0X0238, 0X0248, 0X0258, 0X0268, 0X0278, 0X0288) (N: 0 TO 5) .............................. 380
460. TX_DTX_IDX_N: (OFFSET: 0X023C, 0X024C, 0X025C, 0X026C, 0X027C, 0X028C) (N: 0 TO 5) ............................. 380
461. RX_BASE_PTR: (OFFSET: 0X0290) .................................................................................................................. 380
462. RX_MAX_CNT: (OFFSET: 0X0294) .................................................................................................................. 380
463. RX_CALC_IDX: (OFFSET: 0X0298) ................................................................................................................... 380
464. FS_DRX_IDX: (OFFSET: 0X029C) ..................................................................................................................... 380
465. US_CYC_CNT: (OFFSET: 0X02A4).................................................................................................................... 381
466. SYS_CTRL: (OFFSET: 0X0400) ......................................................................................................................... 383
467. HOST_CMD: (OFFSET: 0X0404) ...................................................................................................................... 384
468. PBF_CFG: (OFFSET: 0X0408)........................................................................................................................... 384
469. MAX_PCNT: (OFFSET: 0X040C) ...................................................................................................................... 385
470. BUF_CTRL: (OFFSET: 0X0410)......................................................................................................................... 385
471. MCU_INT_STA: (OFFSET: 0X0414) ................................................................................................................. 386
472. MCU_INT_ENA: (OFFSET: 0X0418) ................................................................................................................. 387
473. TX0Q_IO: (OFFSET: 0X041C)........................................................................................................................... 389
474. TX1Q_IO: (OFFSET: 0X0420) ........................................................................................................................... 389
475. TX2Q_IO: (OFFSET: 0X0424) ........................................................................................................................... 389
476. RX0Q_IO: (OFFSET: 0X0428) .......................................................................................................................... 389
477. BCN_OFFSET0: (OFFSET: 0X042C) .................................................................................................................. 390
478. BCN_OFFSET1: (OFFSET: 0X0430) .................................................................................................................. 390
479. TXRXQ_STA: (OFFSET: 0X0434) ...................................................................................................................... 390
480. TXRXQ_PCNT: (OFFSET: 0X0438) ................................................................................................................... 391
481. PBF_DBG: (OFFSET: 0X043C) .......................................................................................................................... 391
482. CAP_CTRL: (OFFSET: 0X0440) ......................................................................................................................... 391
483. RF_CFG: (OFFSET: 0X0500)............................................................................................................................. 392
484. RESERVED: (OFFSET: 0X0504 TO 0X0560) .......................................................................................................... 392
485. ASIC_VER_ID: (OFFSET: 0X1000) .................................................................................................................... 394
486. MAC_SYS_CTRL: (OFFSET: 0X1004) ................................................................................................................ 394
487. MAC_ADDR_DW0: (OFFSET: 0X1008) ............................................................................................................ 395
488. MAC_ADDR_DW1: (OFFSET: 0X100C) ............................................................................................................ 395
489. MAC_BSSID_DW0: (OFFSET: 0X1010) ............................................................................................................ 395
490. MAC_BSSID_DW1: (OFFSET: 0X1014) ............................................................................................................ 396
7. Abbreviations
Abbrev. Description Abbrev. Description
AC Access Category CRC Cyclic Redundancy Check
ACK Acknowledge/ Acknowledgement CSR Control Status Register
ACL Access Control List CTS Clear to Send
ACPR Adjacent Channel Power Ratio CW Contention Window
AD/DA Analog to Digital/Digital to Analog CWmax Maximum Contention Window
converter CWmin Minimum Contention Window
ADC Analog-to-Digital Converter DAC Digital-To-Analog Converter
AES Advanced Encryption Standard DCF Distributed Coordination Function
AFC Automatic Frequency Calibration DDONE DMA Done
AGC Auto Gain Control DDR Double Data Rate
AIFS Arbitration Inter-Frame Space DFT Discrete Fourier Transform
AIFSN Arbitration Inter-Frame Spacing DIFS DCF Inter-Frame Space
Number DMA Direct Memory Access
ALC Automatic Level Control DQ DRAM Data
A-MPDU Aggregate MAC Protocol Data Unit DQS Data Strobe
A-MSDU Aggregation of MAC Service Data Units DSCP Differentiated Services Code Point
AP Access Point DSP Digital Signal Processor
ASIC Application-Specific Integrated Circuit DW DWORD
ASME American Society of Mechanical EAP Expert Antenna Processor
Engineers
ED Energy Detection
ASYNC Asynchronous EDCA Enhanced Distributed Channel Access
BA Block Acknowledgement
EECS EEPROM chip select
BAC Block Acknowledgement Control EEDI EEPROM data input
BAR Base Address Register
EEDO EEPROM data output
BBP Baseband Processor EEPROM Electrically Erasable Programmable
BGSEL Band Gap Select Read-Only Memory
BIST Built-In Self-Test eFUSE electrical Fuse
BSC Basic Spacing between Centers EESK EEPROM source clock
BJT Bipolar Junction Transistor EIFS Extended Inter-Frame Space
BSSID Basic Service Set Identifier EIV Extend Initialization Vector
BW Bandwidth EVM Error Vector Magnitude
CAS Column Address Strobe FDS Frequency Domain Spreading
CCA Clear Channel Assessment FEM Front-End Module
CCK Complementary Code Keying FEQ Frequency Equalization
CCMP Counter Mode with Cipher Block FIFO First In First Out
Chaining Message Authentication
FSM Finite-State Machine
Code Protocol
GDM GTP Director Module
CCX Cisco Compatible Extensions
GEM GPON Encapsulation Method
CF-END Control Frame End
GF Green Field
CF-ACK Control Frame Acknowledgement
GND Ground
CLK Clock
GP General Purpose
CPU Central Processing Unit
8. Revision History
This product is not designed for use in medical, life support applications. Do not use this product in these types of equipments or
applications .This document is subject to change without notice and Ralink assumes no responsibility for any inaccuracies that nay be
contained in this document. Ralink reserves the right to make change in the products to improve function, performance, reliability, and to
attempt to supply the best product possible.