SPRUI30H November 2015 – May 2024 DRA745 , DRA746 , DRA750 , DRA756
Address Offset | 0x0000 0000 | ||
Physical Address | 0x4848 4100 | Instance | PORT |
Description | CPSW PORT 0 control register | ||
Type | RW |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | P0_DLR_CPDMA_CH | RESERVED | P0_PASS_PRI_TAGGED | RESERVED | P0_VLAN_LTYPE2_EN | P0_VLAN_LTYPE1_EN | RESERVED | P0_DSCP_PRI_EN | RESERVED |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31 | RESERVED | R | 0x0 | |
30:28 | P0_DLR_CPDMA_CH | Port 0 DLR CPDMA Channel This field indicates the CPDMA channel that DLR packets will be received on. | RW | 0x0 |
27:25 | RESERVED | R | 0x0 | |
24 | P0_PASS_PRI_TAGGED | Port 0 Pass Priority Tagged 0 - Priority tagged packets have the zero VID replaced with the input port P0_PORT_VLAN [11:0] 1 - Priority tagged packets are processed unchanged. | RW | 0x0 |
23:22 | RESERVED | R | 0x0 | |
21 | P0_VLAN_LTYPE2_EN | Port 0 VLAN LTYPE 2 enable 0 - disabled 1 - enabled | RW | 0x0 |
20 | P0_VLAN_LTYPE1_EN | Port 0 VLAN LTYPE 1 enable 0 - disabled 1 - enabled | RW | 0x0 |
19:17 | RESERVED | R | 0x0 | |
16 | P0_DSCP_PRI_EN | Port 0 DSCP Priority Enable 0 - DSCP priority disabled 1 - DSCP priority enabled. All non-tagged IPV4 packets have their received packet priority determined by mapping the 6 TOS bits through the port DSCP priority mapping registers. | RW | 0x0 |
15:0 | RESERVED | RW | 0x0 |
Gigabit Ethernet Switch (GMAC_SW) |
Address Offset | 0x0000 0008 | ||
Physical Address | 0x4848 4108 | Instance | PORT |
Description | CPSW PORT 0 maximum FIFO blocks register | ||
Type | RW |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | P0_TX_MAX_BLKS | P0_RX_MAX_BLKS |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31:9 | RESERVED | R | 0x0 | |
8:4 | P0_TX_MAX_BLKS | Transmit FIFO Maximum Blocks - This value is the maximum number of 1k memory blocks that may be allocated to the FIFO's logical transmit priority queues. 0x10 is the recommended value of P0_TX_MAX_BLKS. Port 0 should remain in flow control mode. 0xE is the minimum value P0_TX_MAX_BLKS. | RW | 0x10 |
3:0 | P0_RX_MAX_BLKS | Receive FIFO Maximum Blocks - This value is the maximum number of 1k memory blocks that may be allocated to the FIFO's logical receive queue. 0x4 is the recommended value. 0x3 is the minimum value P0_RX_MAX_BLKS and 0x6 is the maximum value. | RW | 0x4 |
Gigabit Ethernet Switch (GMAC_SW) |
Address Offset | 0x0000 000C | ||
Physical Address | 0x4848 410C | Instance | PORT |
Description | CPSW PORT 0 FIFO block usage count (read only) | ||
Type | R |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | P0_TX_BLK_CNT | P0_RX_BLK_CNT |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31:9 | RESERVED | R | 0x0 | |
8:4 | P0_TX_BLK_CNT | Port 0 Transmit Block Count Usage - This value is the number of blocks allocated to the FIFO logical transmit queues. | R | 0x4 |
3:0 | P0_RX_BLK_CNT | Port 0 Receive Block Count Usage - This value is the number of blocks allocated to the FIFO logical receive queues. | R | 0x1 |
Gigabit Ethernet Switch (GMAC_SW) |
Address Offset | 0x0000 0010 | ||
Physical Address | 0x4848 4110 | Instance | PORT |
Description | CPSW PORT 0 transmit FIFO control | ||
Type | RW |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | TX_RATE_EN | RESERVED | TX_IN_SEL | TX_BLKS_REM | RESERVED | TX_PRI_WDS |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31:24 | RESERVED | R | 0x0 | |
23:20 | TX_RATE_EN | Transmit FIFO Input Rate Enable | RW | 0x0 |
19:18 | RESERVED | R | 0x0 | |
17:16 | TX_IN_SEL | Transmit FIFO Input Queue Type Select 00 - Normal priority mode 01 - Dual MAC mode 10 - Rate Limit mode 11 - reserved Note that Dual MAC mode is not compatible with escalation or shaping because dual MAC mode forces round robin priority on FIFO egress. Rate-limiting and shaping are still available for Port 1 and Port 2 when Port 0 is set in dual MAC mode. | RW | 0x0 |
15:12 | TX_BLKS_REM | Transmit FIFO Input Blocks to subtract in dual MAC mode | RW | 0x4 |
11:10 | RESERVED | R | 0x0 | |
9:0 | TX_PRI_WDS | Transmit FIFO Words in queue | RW | 0xC0 |
Gigabit Ethernet Switch (GMAC_SW) |
Address Offset | 0x0000 0014 | ||
Physical Address | 0x4848 4114 | Instance | PORT |
Description | CPSW PORT 0 VLAN register | ||
Type | RW |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | PORT_PRI | PORT_CFI | PORT_VID |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31:16 | RESERVED | R | 0x0 | |
15:13 | PORT_PRI | Port VLAN Priority (7 is highest priority) | RW | 0x0 |
12 | PORT_CFI | Port CFI bit | RW | 0x0 |
11:0 | PORT_VID | Port VLAN ID | RW | 0x0 |
Gigabit Ethernet Switch (GMAC_SW) |
Address Offset | 0x0000 0018 | ||
Physical Address | 0x4848 4118 | Instance | PORT |
Description | CPSW PORT 0 TX header priority to switch priority mapping register | ||
Type | RW |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | PRI7 | RESERVED | PRI6 | RESERVED | PRI5 | RESERVED | PRI4 | RESERVED | PRI3 | RESERVED | PRI2 | RESERVED | PRI1 | RESERVED | PRI0 |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31:30 | RESERVED | R | 0x0 | |
29:28 | PRI7 | Priority 7 - A packet header priority of 0x7 is given this switch queue priority. | RW | 0x3 |
27:26 | RESERVED | R | 0x0 | |
25:24 | PRI6 | Priority 6 - A packet header priority of 0x6 is given this switch queue priority. | RW | 0x3 |
23:22 | RESERVED | R | 0x0 | |
21:20 | PRI5 | Priority 5 - A packet header priority of 0x5 is given this switch queue priority. | RW | 0x2 |
19:18 | RESERVED | R | 0x0 | |
17:16 | PRI4 | Priority 4 - A packet header priority of 0x4 is given this switch queue priority. | RW | 0x2 |
15:14 | RESERVED | R | 0x0 | |
13:12 | PRI3 | Priority 3 - A packet header priority of 0x3 is given this switch queue priority. | RW | 0x1 |
11:10 | RESERVED | R | 0x0 | |
9:8 | PRI2 | Priority 2 - A packet header priority of 0x2 is given this switch queue priority. | RW | 0x0 |
7:6 | RESERVED | R | 0x0 | |
5:4 | PRI1 | Priority 1 - A packet header priority of 0x1 is given this switch queue priority. | RW | 0x0 |
3:2 | RESERVED | R | 0x0 | |
1:0 | PRI0 | Priority 0 - A packet header priority of 0x0 is given this switch queue priority. | RW | 0x1 |
Gigabit Ethernet Switch (GMAC_SW) |
Address Offset | 0x0000 001C | ||
Physical Address | 0x4848 411C | Instance | PORT |
Description | CPSW CPDMA TX (PORT 0 RX) packet priority to header priority | ||
Type | RW |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | PRI7 | RESERVED | PRI6 | RESERVED | PRI5 | RESERVED | PRI4 | RESERVED | PRI3 | RESERVED | PRI2 | RESERVED | PRI1 | RESERVED | PRI0 |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31 | RESERVED | R | 0x0 | |
30:28 | PRI7 | Priority 7 - A packet pri of 0x7 is mapped (changed) to this header packet priority. | RW | 0x7 |
27 | RESERVED | R | 0x0 | |
26:24 | PRI6 | Priority 6 - A packet pri of 0x6 is mapped (changed) to this header packet priority. | RW | 0x6 |
23 | RESERVED | R | 0x0 | |
22:20 | PRI5 | Priority 5 - A packet pri of 0x5 is mapped (changed) to this header packet priority. | RW | 0x5 |
19 | RESERVED | R | 0x0 | |
18:16 | PRI4 | Priority 4 - A packet pri of 0x4 is mapped (changed) to this header packet priority. | RW | 0x4 |
15 | RESERVED | R | 0x0 | |
14:12 | PRI3 | Priority 3 - A packet pri of 0x3 is mapped (changed) to this header packet priority. | RW | 0x3 |
11 | RESERVED | R | 0x0 | |
10:8 | PRI2 | Priority 2 - A packet pri of 0x2 is mapped (changed) to this header packet priority. | RW | 0x2 |
7 | RESERVED | R | 0x0 | |
6:4 | PRI1 | Priority 1 - A packet pri of 0x1 is mapped (changed) to this header packet priority. | RW | 0x1 |
3 | RESERVED | R | 0x0 | |
2:0 | PRI0 | Priority 0 - A packet pri of 0x0 is mapped (changed) to this header packet priority. | RW | 0x0 |
Gigabit Ethernet Switch (GMAC_SW) |
Address Offset | 0x0000 0020 | ||
Physical Address | 0x4848 4120 | Instance | PORT |
Description | CPSW CPDMA RX (PORT 0 TX) switch priority to DMA channel | ||
Type | RW |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | P2_PRI3 | RESERVED | P2_PRI2 | RESERVED | P2_PRI1 | RESERVED | P2_PRI0 | RESERVED | P1_PRI3 | RESERVED | P1_PRI2 | RESERVED | P1_PRI1 | RESERVED | P1_PRI0 |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31 | RESERVED | R | 0x0 | |
30:28 | P2_PRI3 | Port 2 Priority 3 packets go to this CPDMA Rx Channel | RW | 0x0 |
27 | RESERVED | R | 0x0 | |
26:24 | P2_PRI2 | Port 2 Priority 2 packets go to this CPDMA Rx Channel | RW | 0x0 |
23 | RESERVED | R | 0x0 | |
22:20 | P2_PRI1 | Port 2 Priority 1 packets go to this CPDMA Rx Channel | RW | 0x0 |
19 | RESERVED | R | 0x0 | |
18:16 | P2_PRI0 | Port 2 Priority 0 packets go to this CPDMA Rx Channel | RW | 0x0 |
15 | RESERVED | R | 0x0 | |
14:12 | P1_PRI3 | Port 1 Priority 3 packets go to this CPDMA Rx Channel | RW | 0x0 |
11 | RESERVED | R | 0x0 | |
10:8 | P1_PRI2 | Port 1 Priority 2 packets go to this CPDMA Rx Channel | RW | 0x0 |
7 | RESERVED | R | 0x0 | |
6:4 | P1_PRI1 | Port 1 Priority 1 packets go to this CPDMA Rx Channel | RW | 0x0 |
3 | RESERVED | R | 0x0 | |
2:0 | P1_PRI0 | Port 1 Priority 0 packets go to this CPDMA Rx Channel | RW | 0x0 |
Gigabit Ethernet Switch (GMAC_SW) |
Address Offset | 0x0000 0030 | ||
Physical Address | 0x4848 4130 | Instance | PORT |
Description | CPSW PORT 0 RX DSCP priority to RX packet mapping reg 0 | ||
Type | RW |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | PRI7 | RESERVED | PRI6 | RESERVED | PRI5 | RESERVED | PRI4 | RESERVED | PRI3 | RESERVED | PRI2 | RESERVED | PRI1 | RESERVED | PRI0 |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31 | RESERVED | R | 0x0 | |
30:28 | PRI7 | Priority 7 - A packet TOS of 0d7 is mapped to this received packet priority. | RW | 0x0 |
27 | RESERVED | R | 0x0 | |
26:24 | PRI6 | Priority 6 - A packet TOS of 0d6 is mapped to this received packet priority. | RW | 0x0 |
23 | RESERVED | R | 0x0 | |
22:20 | PRI5 | Priority 5 - A packet TOS of 0d5 is mapped to this received packet priority. | RW | 0x0 |
19 | RESERVED | R | 0x0 | |
18:16 | PRI4 | Priority 4 - A packet TOS of 0d4 is mapped to this received packet priority. | RW | 0x0 |
15 | RESERVED | R | 0x0 | |
14:12 | PRI3 | Priority 3 - A packet TOS of 0d3 is mapped to this received packet priority. | RW | 0x0 |
11 | RESERVED | R | 0x0 | |
10:8 | PRI2 | Priority 2 - A packet TOS of 0d2 is mapped to this received packet priority. | RW | 0x0 |
7 | RESERVED | R | 0x0 | |
6:4 | PRI1 | Priority 1 - A packet TOS of 0d1 is mapped to this received packet priority. | RW | 0x0 |
3 | RESERVED | R | 0x0 | |
2:0 | PRI0 | Priority 0 - A packet TOS of 0d0 is mapped to this received packet priority. | RW | 0x0 |
Gigabit Ethernet Switch (GMAC_SW) |
Address Offset | 0x0000 0034 | ||
Physical Address | 0x4848 4134 | Instance | PORT |
Description | CPSW PORT 0 RX DSCP priority to RX packet mapping reg 1 | ||
Type | RW |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | PRI15 | RESERVED | PRI14 | RESERVED | PRI13 | RESERVED | PRI12 | RESERVED | PRI11 | RESERVED | PRI10 | RESERVED | PRI9 | RESERVED | PRI8 |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31 | RESERVED | R | 0x0 | |
30:28 | PRI15 | Priority 15 - A packet TOS of 0d15 is mapped to this received packet priority. | RW | 0x0 |
27 | RESERVED | R | 0x0 | |
26:24 | PRI14 | Priority 14 - A packet TOS of 0d14 is mapped to this received packet priority. | RW | 0x0 |
23 | RESERVED | R | 0x0 | |
22:20 | PRI13 | Priority 13 - A packet TOS of 0d13 is mapped to this received packet priority. | RW | 0x0 |
19 | RESERVED | R | 0x0 | |
18:16 | PRI12 | Priority 12 - A packet TOS of 0d12 is mapped to this received packet priority. | RW | 0x0 |
15 | RESERVED | R | 0x0 | |
14:12 | PRI11 | Priority 11 - A packet TOS of 0d11 is mapped to this received packet priority. | RW | 0x0 |
11 | RESERVED | R | 0x0 | |
10:8 | PRI10 | Priority 10 - A packet TOS of 0d10 is mapped to this received packet priority. | RW | 0x0 |
7 | RESERVED | R | 0x0 | |
6:4 | PRI9 | Priority 9 - A packet TOS of 0d9 is mapped to this received packet priority. | RW | 0x0 |
3 | RESERVED | R | 0x0 | |
2:0 | PRI8 | Priority 8 - A packet TOS of 0d8 is mapped to this received packet priority. | RW | 0x0 |
Gigabit Ethernet Switch (GMAC_SW) |
Address Offset | 0x0000 0038 | ||
Physical Address | 0x4848 4138 | Instance | PORT |
Description | CPSW PORT 0 RX DSCP priority to RX packet mapping reg 2 | ||
Type | RW |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | PRI23 | RESERVED | PRI22 | RESERVED | PRI21 | RESERVED | PRI20 | RESERVED | PRI19 | RESERVED | PRI18 | RESERVED | PRI17 | RESERVED | PRI16 |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31 | RESERVED | R | 0x0 | |
30:28 | PRI23 | Priority 23 - A packet TOS of 0d23 is mapped to this received packet priority. | RW | 0x0 |
27 | RESERVED | R | 0x0 | |
26:24 | PRI22 | Priority 22 - A packet TOS of 0d22 is mapped to this received packet priority. | RW | 0x0 |
23 | RESERVED | R | 0x0 | |
22:20 | PRI21 | Priority 21 - A packet TOS of 0d21 is mapped to this received packet priority. | RW | 0x0 |
19 | RESERVED | R | 0x0 | |
18:16 | PRI20 | Priority 20 - A packet TOS of 0d20 is mapped to this received packet priority. | RW | 0x0 |
15 | RESERVED | R | 0x0 | |
14:12 | PRI19 | Priority 19 - A packet TOS of 0d19 is mapped to this received packet priority. | RW | 0x0 |
11 | RESERVED | R | 0x0 | |
10:8 | PRI18 | Priority 18 - A packet TOS of 0d18 is mapped to this received packet priority. | RW | 0x0 |
7 | RESERVED | R | 0x0 | |
6:4 | PRI17 | Priority 17 - A packet TOS of 0d17 is mapped to this received packet priority. | RW | 0x0 |
3 | RESERVED | R | 0x0 | |
2:0 | PRI16 | Priority 16 - A packet TOS of 0d16 is mapped to this received packet priority. | RW | 0x0 |
Gigabit Ethernet Switch (GMAC_SW) |
Address Offset | 0x0000 003C | ||
Physical Address | 0x4848 413C | Instance | PORT |
Description | CPSW PORT 0 RX DSCP priority to RX packet mapping reg 3 | ||
Type | RW |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | PRI31 | RESERVED | PRI30 | RESERVED | PRI29 | RESERVED | PRI28 | RESERVED | PRI27 | RESERVED | PRI26 | RESERVED | PRI25 | RESERVED | PRI24 |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31 | RESERVED | R | 0x0 | |
30:28 | PRI31 | Priority 31 - A packet TOS of 0d31 is mapped to this received packet priority. | RW | 0x0 |
27 | RESERVED | R | 0x0 | |
26:24 | PRI30 | Priority 30 - A packet TOS of 0d30 is mapped to this received packet priority. | RW | 0x0 |
23 | RESERVED | R | 0x0 | |
22:20 | PRI29 | Priority 29 - A packet TOS of 0d39 is mapped to this received packet priority. | RW | 0x0 |
19 | RESERVED | R | 0x0 | |
18:16 | PRI28 | Priority 28 - A packet TOS of 0d28 is mapped to this received packet priority. | RW | 0x0 |
15 | RESERVED | R | 0x0 | |
14:12 | PRI27 | Priority 27 - A packet TOS of 0d27 is mapped to this received packet priority. | RW | 0x0 |
11 | RESERVED | R | 0x0 | |
10:8 | PRI26 | Priority 26 - A packet TOS of 0d26 is mapped to this received packet priority. | RW | 0x0 |
7 | RESERVED | R | 0x0 | |
6:4 | PRI25 | Priority 25 - A packet TOS of 0d25 is mapped to this received packet priority. | RW | 0x0 |
3 | RESERVED | R | 0x0 | |
2:0 | PRI24 | Priority 24 - A packet TOS of 0d24 is mapped to this received packet priority. | RW | 0x0 |
Gigabit Ethernet Switch (GMAC_SW) |
Address Offset | 0x0000 0040 | ||
Physical Address | 0x4848 4140 | Instance | PORT |
Description | CPSW PORT 0 RX DSCP priority to RX packet mapping reg 4 | ||
Type | RW |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | PRI39 | RESERVED | PRI38 | RESERVED | PRI37 | RESERVED | PRI36 | RESERVED | PRI35 | RESERVED | PRI34 | RESERVED | PRI33 | RESERVED | PRI32 |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31 | RESERVED | R | 0x0 | |
30:28 | PRI39 | Priority 39 - A packet TOS of 0d39 is mapped to this received packet priority. | RW | 0x0 |
27 | RESERVED | R | 0x0 | |
26:24 | PRI38 | Priority 38 - A packet TOS of 0d38 is mapped to this received packet priority. | RW | 0x0 |
23 | RESERVED | R | 0x0 | |
22:20 | PRI37 | Priority 37 - A packet TOS of 0d37 is mapped to this received packet priority. | RW | 0x0 |
19 | RESERVED | R | 0x0 | |
18:16 | PRI36 | Priority 36 - A packet TOS of 0d36 is mapped to this received packet priority. | RW | 0x0 |
15 | RESERVED | R | 0x0 | |
14:12 | PRI35 | Priority 35 - A packet TOS of 0d35 is mapped to this received packet priority. | RW | 0x0 |
11 | RESERVED | R | 0x0 | |
10:8 | PRI34 | Priority 34 - A packet TOS of 0d34 is mapped to this received packet priority. | RW | 0x0 |
7 | RESERVED | R | 0x0 | |
6:4 | PRI33 | Priority 33 - A packet TOS of 0d33 is mapped to this received packet priority. | RW | 0x0 |
3 | RESERVED | R | 0x0 | |
2:0 | PRI32 | Priority 32 - A packet TOS of 0d32 is mapped to this received packet priority. | RW | 0x0 |
Gigabit Ethernet Switch (GMAC_SW) |
Address Offset | 0x0000 0044 | ||
Physical Address | 0x4848 4144 | Instance | PORT |
Description | CPSW PORT 0 RX DSCP priority to RX packet mapping reg 5 | ||
Type | RW |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | PRI47 | RESERVED | PRI46 | RESERVED | PRI45 | RESERVED | PRI44 | RESERVED | PRI43 | RESERVED | PRI42 | RESERVED | PRI41 | RESERVED | PRI40 |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31 | RESERVED | R | 0x0 | |
30:28 | PRI47 | Priority 47 - A packet TOS of 0d47 is mapped to this received packet priority. | RW | 0x0 |
27 | RESERVED | R | 0x0 | |
26:24 | PRI46 | Priority 46 - A packet TOS of 0d46 is mapped to this received packet priority. | RW | 0x0 |
23 | RESERVED | R | 0x0 | |
22:20 | PRI45 | Priority 45 - A packet TOS of 0d45 is mapped to this received packet priority. | RW | 0x0 |
19 | RESERVED | R | 0x0 | |
18:16 | PRI44 | Priority 44 - A packet TOS of 0d44 is mapped to this received packet priority. | RW | 0x0 |
15 | RESERVED | R | 0x0 | |
14:12 | PRI43 | Priority 43 - A packet TOS of 0d43 is mapped to this received packet priority. | RW | 0x0 |
11 | RESERVED | R | 0x0 | |
10:8 | PRI42 | Priority 42 - A packet TOS of 0d42 is mapped to this received packet priority. | RW | 0x0 |
7 | RESERVED | R | 0x0 | |
6:4 | PRI41 | Priority 41 - A packet TOS of 0d41 is mapped to this received packet priority. | RW | 0x0 |
3 | RESERVED | R | 0x0 | |
2:0 | PRI40 | Priority 40 - A packet TOS of 0d40 is mapped to this received packet priority. | RW | 0x0 |
Gigabit Ethernet Switch (GMAC_SW) |
Address Offset | 0x0000 0048 | ||
Physical Address | 0x4848 4148 | Instance | PORT |
Description | CPSW PORT 0 RX DSCP priority to RX packet mapping reg 6 | ||
Type | RW |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | PRI55 | RESERVED | PRI54 | RESERVED | PRI53 | RESERVED | PRI52 | RESERVED | PRI51 | RESERVED | PRI50 | RESERVED | PRI49 | RESERVED | PRI48 |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31 | RESERVED | R | 0x0 | |
30:28 | PRI55 | Priority 55 - A packet TOS of 0d55 is mapped to this received packet priority. | RW | 0x0 |
27 | RESERVED | R | 0x0 | |
26:24 | PRI54 | Priority 54 - A packet TOS of 0d54 is mapped to this received packet priority. | RW | 0x0 |
23 | RESERVED | R | 0x0 | |
22:20 | PRI53 | Priority 53 - A packet TOS of 0d53 is mapped to this received packet priority. | RW | 0x0 |
19 | RESERVED | R | 0x0 | |
18:16 | PRI52 | Priority 52 - A packet TOS of 0d52 is mapped to this received packet priority. | RW | 0x0 |
15 | RESERVED | R | 0x0 | |
14:12 | PRI51 | Priority 51 - A packet TOS of 0d51 is mapped to this received packet priority. | RW | 0x0 |
11 | RESERVED | R | 0x0 | |
10:8 | PRI50 | Priority 50 - A packet TOS of 0d50 is mapped to this received packet priority. | RW | 0x0 |
7 | RESERVED | R | 0x0 | |
6:4 | PRI49 | Priority 49 - A packet TOS of 0d49 is mapped to this received packet priority. | RW | 0x0 |
3 | RESERVED | R | 0x0 | |
2:0 | PRI48 | Priority 48 - A packet TOS of 0d48 is mapped to this received packet priority. | RW | 0x0 |
Gigabit Ethernet Switch (GMAC_SW) |
Address Offset | 0x0000 004C | ||
Physical Address | 0x4848 414C | Instance | PORT |
Description | CPSW PORT 0 RX DSCP priority to RX packet mapping reg 7 | ||
Type | RW |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | PRI63 | RESERVED | PRI62 | RESERVED | PRI61 | RESERVED | PRI60 | RESERVED | PRI59 | RESERVED | PRI58 | RESERVED | PRI57 | RESERVED | PRI56 |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31 | RESERVED | R | 0x0 | |
30:28 | PRI63 | Priority 63 - A packet TOS of 0d63 is mapped to this received packet priority. | RW | 0x0 |
27 | RESERVED | R | 0x0 | |
26:24 | PRI62 | Priority 62 - A packet TOS of 0d62 is mapped to this received packet priority. | RW | 0x0 |
23 | RESERVED | R | 0x0 | |
22:20 | PRI61 | Priority 61 - A packet TOS of 0d61 is mapped to this received packet priority. | RW | 0x0 |
19 | RESERVED | R | 0x0 | |
18:16 | PRI60 | Priority 60 - A packet TOS of 0d60 is mapped to this received packet priority. | RW | 0x0 |
15 | RESERVED | R | 0x0 | |
14:12 | PRI59 | Priority 59 - A packet TOS of 0d59 is mapped to this received packet priority. | RW | 0x0 |
11 | RESERVED | R | 0x0 | |
10:8 | PRI58 | Priority 58 - A packet TOS of 0d58 is mapped to this received packet priority. | RW | 0x0 |
7 | RESERVED | R | 0x0 | |
6:4 | PRI57 | Priority 57 - A packet TOS of 0d57 is mapped to this received packet priority. | RW | 0x0 |
3 | RESERVED | R | 0x0 | |
2:0 | PRI56 | Priority 56 - A packet TOS of 0d56 is mapped to this received packet priority. | RW | 0x0 |
Gigabit Ethernet Switch (GMAC_SW) |
Address Offset | 0x0000 0050 | ||
Physical Address | 0x4848 4150 | Instance | PORT |
Description | Port 0 EEE Idle to LPI Counter Load Value Register | ||
Type | RW |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | P0_IDLE2LPI |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31:20 | RESERVED | R | 0x0 | |
19:0 | P0_IDLE2LPI | Port 0 EEE Idle to LPI counter load value - After CLKSTOP_REQ is asserted, this value is loaded into the port 0 idle to LPI counter on each clock that the port 0 transmit is not idle. Port 0 enters the transmit LPI state when this counter decrements to zero. This counter decrements each time the EEE prescale counter decrements to zero. | RW | 0x0 |
Gigabit Ethernet Switch (GMAC_SW) |
Address Offset | 0x0000 0054 | ||
Physical Address | 0x4848 4154 | Instance | PORT |
Description | Port 0 EEE LPI to Wake Counter Load Value Register | ||
Type | RW |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | P0_LPI2WAKE |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31:20 | RESERVED | R | 0x0 | |
19:0 | P0_LPI2WAKE | Port 0 EEE LPI to wake counter load value – When the port is in the transmit LPI state and the CLKSTOP_REQ signal is deasserted, this value is loaded into the port 0 LPI to wake counter. Transmit packet operations may begin (resume) when the LPI to wake count decrements to zero (on the pre-scale count). This is the time that the CPDMA transmit must wait before transmit (switch ingress) packet operations begin (resume after wakeup). | RW | 0x0 |
Gigabit Ethernet Switch (GMAC_SW) |
Address Offset | 0x0000 0100 | ||
Physical Address | 0x4848 4200 | Instance | PORT |
Description | CPSW PORT 1 control register | ||
Type | RW |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | P1_TX_CLKSTOP_EN | P1_PASS_PRI_TAGGED | RESERVED | P1_VLAN_LTYPE2_EN | P1_VLAN_LTYPE1_EN | RESERVED | P1_DSCP_PRI_EN | P1_TS_107 | P1_TS_320 | P1_TS_319 | P1_TS_132 | P1_TS_131 | P1_TS_130 | P1_TS_129 | P1_TS_TTL_NONZERO | P1_TS_UNI_EN | P1_TS_ANNEX_F_EN | P1_TS_ANNEX_E_EN | P1_TS_ANNEX_D_EN | P1_TS_LTYPE2_EN | P1_TS_LTYPE1_EN | P1_TS_TX_EN | P1_TS_RX_EN |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31:26 | RESERVED | R | 0x0 | |
25 | P1_TX_CLKSTOP_EN | Port 1 Transmit clockstop enable 0 – RGMII transmit clockstop not enabled 1 – RGMII transmit clockstop enabled. The transmit clock will be stopped after the LPI state is entered (and indicated to the CPRGMII) and the P1_Idle2LPI time is counted (counter value reused). The P1_Idle2LPI counter value must be greater than 9 transmit clocks (slowest clock) | RW | 0x0 |
24 | P1_PASS_PRI_TAGGED | Port 1 Pass Priority Tagged 0 - Priority tagged packets have the zero VID replaced with the input port P1_PORT_VLAN [11:0] 1 - Priority tagged packets are processed unchanged. | RW | 0x0 |
23:22 | RESERVED | R | 0x0 | |
21 | P1_VLAN_LTYPE2_EN | Port 1 VLAN LTYPE 2 enable 0 - disabled 1 - VLAN LTYPE2 enabled on transmit and receive | RW | 0x0 |
20 | P1_VLAN_LTYPE1_EN | Port 1 VLAN LTYPE 1 enable 0 - disabled 1 - VLAN LTYPE1 enabled on transmit and receive | RW | 0x0 |
19:17 | RESERVED | R | 0x0 | |
16 | P1_DSCP_PRI_EN | Port 1 DSCP Priority Enable 0 - DSCP priority disabled 1 - DSCP priority enabled. All non-tagged IPV4 packets have their received packet priority determined by mapping the 6 TOS bits through the port DSCP priority mapping registers. | RW | 0x0 |
15 | P1_TS_107 | Port 1 Time Sync Destination IP Address 107 enable 0 – disabled 1 – destination IP address (dec) 224.0.0.107 is enabled. | RW | 0x0 |
14 | P1_TS_320 | Port 1 Time Sync Destination Port Number 320 enable 0 - disabled 1 - Annex D (UDP/IPv4) time sync packet destination port number 320 (decimal) is enabled. | RW | 0x0 |
13 | P1_TS_319 | Port 1 Time Sync Destination Port Number 319 enable 0 - disabled 1 - Annex D (UDP/IPv4) time sync packet destination port number 319 (decimal) is enabled. | RW | 0x0 |
12 | P1_TS_132 | Port 1 Time Sync Destination IP Address 132 enable 0 - disabled 1 - Annex D (UDP/IPv4) time sync packet destination IP address number 132 (decimal) is enabled. | RW | 0x0 |
11 | P1_TS_131 | Port 1 Time Sync Destination IP Address 131 enable 0 - disabled 1 - Annex D (UDP/IPv4) time sync packet destination IP address number 131 (decimal) is enabled. | RW | 0x0 |
10 | P1_TS_130 | Port 1 Time Sync Destination IP Address 130 enable 0 - disabled 1 - Annex D (UDP/IPv4) time sync packet destination IP address number 130 (decimal) is enabled. | RW | 0x0 |
9 | P1_TS_129 | Port 1 Time Sync Destination IP Address 129 enable 0 - disabled 1 - Annex D (UDP/IPv4) time sync packet destination IP address number 129 (decimal) is enabled. | RW | 0x0 |
8 | P1_TS_TTL_NONZERO | Port 1 Time Sync Time To Live Non-zero enable. 0 = TTL must be zero. 1 = TTL may be any value. | RW | 0x0 |
7 | P1_TS_UNI_EN | Port 1 Time Sync Unicast Enable 0 – Unicast disabled 1 – Unicast enabled | RW | 0x0 |
6 | P1_TS_ANNEX_F_EN | Port 1 Time Sync Annex F enable 0 – Annex F disabled 1 – Annex F enabled | RW | 0x0 |
5 | P1_TS_ANNEX_E_EN | Port 1 Time Sync Annex E enable 0 – Annex E disabled 1 – Annex E enabled | RW | 0x0 |
4 | P1_TS_ANNEX_D_EN | Port 1 Time Sync Annex D enable 0 - Annex D disabled 1 - Annex D enabled | RW | 0x0 |
3 | P1_TS_LTYPE2_EN | Port 1 Time Sync LTYPE 2 enable 0 - disabled 1 - enabled | RW | 0x0 |
2 | P1_TS_LTYPE1_EN | Port 1 Time Sync LTYPE 1 enable 0 - disabled 1 - enabled | RW | 0x0 |
1 | P1_TS_TX_EN | Port 1 Time Sync Transmit Enable 0 - disabled 1 - enabled | RW | 0x0 |
0 | P1_TS_RX_EN | Port 1 Time Sync Receive Enable 0 - Port 1 Receive Time Sync disabled 1 - Port 1 Receive Time Sync enabled | RW | 0x0 |
Gigabit Ethernet Switch (GMAC_SW) |
Address Offset | 0x0000 0108 | ||
Physical Address | 0x4848 4208 | Instance | PORT |
Description | CPSW PORT 1 maximum FIFO blocks register | ||
Type | RW |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | P1_TX_MAX_BLKS | P1_RX_MAX_BLKS |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31:9 | RESERVED | R | 0x0 | |
8:4 | P1_TX_MAX_BLKS | Transmit FIFO Maximum Blocks - This value is the maximum number of 1k memory blocks that may be allocated to the FIFO's logical transmit priority queues. 0x11 is the recommended value of P1_TX_MAX_BLKS unless the port is in fullduplex flow control mode. In flow control mode, the P1_RX_MAX_BLKS will need to increase in order to accept the required run out in fullduplex mode. This value will need to decrease by the amount of increase in P1_RX_MAX_BLKS. 0xE is the minimum value for P1_TX_MAX_BLKS. | RW | 0x11 |
3:0 | P1_RX_MAX_BLKS | Receive FIFO Maximum Blocks - This value is the maximum number of 1k memory blocks that may be allocated to the FIFO's logical receive queue. This value must be greater than or equal to 0x3. It should be increased In fullduplex flow control mode to 0x5 or 0x6 depending on the required runout space. The P1_TX_MAX_BLKS value must be decreased by the amount of increase in P1_RX_MAX_BLKS. 0x6 is the maximum value for P1_RX_MAX_BLKS. | RW | 0x3 |
Gigabit Ethernet Switch (GMAC_SW) |
Address Offset | 0x0000 010C | ||
Physical Address | 0x4848 420C | Instance | PORT |
Description | CPSW PORT 1 FIFO block usage count (read only) | ||
Type | R |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | P1_TX_BLK_CNT | P1_RX_BLK_CNT |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31:9 | RESERVED | R | 0x0 | |
8:4 | P1_TX_BLK_CNT | Port 1 Transmit Block Count Usage - This value is the number of blocks allocated to the FIFO logical transmit queues. | R | 0x4 |
3:0 | P1_RX_BLK_CNT | Port 1 Receive Block Count Usage - This value is the number of blocks allocated to the FIFO logical receive queues. | R | 0x1 |
Gigabit Ethernet Switch (GMAC_SW) |
Address Offset | 0x0000 0110 | ||
Physical Address | 0x4848 4210 | Instance | PORT |
Description | CPSW PORT 1 transmit FIFO control | ||
Type | RW |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | HOST_BLKS_REM | TX_RATE_EN | RESERVED | TX_IN_SEL | TX_BLKS_REM | RESERVED | TX_PRI_WDS |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31:28 | RESERVED | R | 0x0 | |
27:24 | HOST_BLKS_REM | Transmit FIFO Blocks that must be free before a non rate-limited CPDMA channel can begin sending a packet to the FIFO. | RW | 0x8 |
23:20 | TX_RATE_EN | Transmit FIFO Input Rate Enable | RW | 0x0 |
19:18 | RESERVED | R | 0x0 | |
17:16 | TX_IN_SEL | Transmit FIFO Input Queue Type Select 0x0 - Normal priority mode 0x1 - reserved 0x2 - Rate Limit mode 0x3 - reserved | RW | 0x0 |
15:12 | TX_BLKS_REM | Transmit FIFO Input blocks to subtract on non rate-limited traffic in rate limit mode. | RW | 0x4 |
11:10 | RESERVED | R | 0x0 | |
9:0 | TX_PRI_WDS | Transmit FIFO Words in queue | RW | 0xc0 |
Gigabit Ethernet Switch (GMAC_SW) |
Address Offset | 0x0000 0114 | ||
Physical Address | 0x4848 4214 | Instance | PORT |
Description | CPSW PORT 1 VLAN register | ||
Type | RW |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | PORT_PRI | PORT_CFI | PORT_VID |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31:16 | RESERVED | R | 0x0 | |
15:13 | PORT_PRI | Port VLAN Priority (7 is highest priority) | RW | 0x0 |
12 | PORT_CFI | Port CFI bit | RW | 0x0 |
11:0 | PORT_VID | Port VLAN ID | RW | 0x0 |
Gigabit Ethernet Switch (GMAC_SW) |
Address Offset | 0x0000 0118 | ||
Physical Address | 0x4848 4218 | Instance | PORT |
Description | CPSW PORT 1 TX header priority to switch priority mapping register | ||
Type | RW |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | PRI7 | RESERVED | PRI6 | RESERVED | PRI5 | RESERVED | PRI4 | RESERVED | PRI3 | RESERVED | PRI2 | RESERVED | PRI1 | RESERVED | PRI0 |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31:30 | RESERVED | R | 0x0 | |
29:28 | PRI7 | Priority 7 - A packet header priority of 0x7 is given this switch queue priority | RW | 0x3 |
27:26 | RESERVED | R | 0x0 | |
25:24 | PRI6 | Priority 6 - A packet header priority of 0x6 is given this switch queue priority | RW | 0x3 |
23:22 | RESERVED | R | 0x0 | |
21:20 | PRI5 | Priority 5 - A packet header priority of 0x5 is given this switch queue priority | RW | 0x2 |
19:18 | RESERVED | R | 0x0 | |
17:16 | PRI4 | Priority 4 - A packet header priority of 0x4 is given this switch queue priority | RW | 0x2 |
15:14 | RESERVED | R | 0x0 | |
13:12 | PRI3 | Priority 3 - A packet header priority of 0x3 is given this switch queue priority | RW | 0x1 |
11:10 | RESERVED | R | 0x0 | |
9:8 | PRI2 | Priority 2 - A packet header priority of 0x2 is given this switch queue priority | RW | 0x0 |
7:6 | RESERVED | R | 0x0 | |
5:4 | PRI1 | Priority 1 - A packet header priority of 0x1 is given this switch queue priority | RW | 0x0 |
3:2 | RESERVED | R | 0x0 | |
1:0 | PRI0 | Priority 0 - A packet header priority of 0x0 is given this switch queue priority | RW | 0x1 |
Gigabit Ethernet Switch (GMAC_SW) |
Address Offset | 0x0000 011C | ||
Physical Address | 0x4848 421C | Instance | PORT |
Description | CPSW PORT 1 time sync sequence ID offset and message type. | ||
Type | RW |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | P1_TS_SEQ_ID_OFFSET | P1_TS_MSG_TYPE_EN |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31:22 | RESERVED | R | 0x0 | |
21:16 | P1_TS_SEQ_ID_OFFSET | Port 1 Time Sync Sequence ID Offset This is the number of octets that the sequence ID is offset in the tx and rx time sync message header. The minimum value is 6. | RW | 0x1E |
15:0 | P1_TS_MSG_TYPE_EN | Port 1 Time Sync Message Type Enable - Each bit in this field enables the corresponding message type in receive and transmit time sync messages (Bit 0 enables message type 0 etc.). | RW | 0x0 |
Gigabit Ethernet Switch (GMAC_SW) |
Address Offset | 0x0000 0120 | ||
Physical Address | 0x4848 4220 | Instance | PORT |
Description | CPSW CPGMAC_SL1 source address low register | ||
Type | RW |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | MACSRCADDR_7_0 | MACSRCADDR_15_8 |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31:16 | RESERVED | R | 0x0 | |
15:8 | MACSRCADDR_7_0 | Source Address Lower 8 bits (byte 0) | RW | 0x0 |
7:0 | MACSRCADDR_15_8 | Source Address bits 15:8 (byte 1) | RW | 0x0 |
Gigabit Ethernet Switch (GMAC_SW) |
Address Offset | 0x0000 0124 | ||
Physical Address | 0x4848 4224 | Instance | PORT |
Description | CPSW CPGMAC_SL1 source address high register | ||
Type | RW |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
MACSRCADDR_23_16 | MACSRCADDR_31_24 | MACSRCADDR_39_32 | MACSRCADDR_47_40 |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31:24 | MACSRCADDR_23_16 | Source Address bits 23:16 (byte 2) | RW | 0x0 |
23:16 | MACSRCADDR_31_24 | Source Address bits 31:24 (byte 3) | RW | 0x0 |
15:8 | MACSRCADDR_39_32 | Source Address bits 39:32 (byte 4) | RW | 0x0 |
7:0 | MACSRCADDR_47_40 | Source Address bits 47:40 (byte 5) | RW | 0x0 |
Gigabit Ethernet Switch (GMAC_SW) |
Address Offset | 0x0000 0128 | ||
Physical Address | 0x4848 4228 | Instance | PORT |
Description | CPSW PORT 1 transmit queue send percentages | ||
Type | RW |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | PRI3_SEND_PERCENT | RESERVED | PRI2_SEND_PERCENT | RESERVED | PRI1_SEND_PERCENT |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31:23 | RESERVED | R | 0x0 | |
22:16 | PRI3_SEND_PERCENT | Priority 3 Transmit Percentage - This percentage value is sent from FIFO priority 3 (maximum) when CPSW_PTYPE[18] P1_PRI3_SHAPE_EN is set (queue shaping enabled). This is the percentage of the wire that packets from priority 3 receive (which includes interpacket gap and preamble bytes). If shaping is enabled on this queue then this value must be between zero and 0d100 (not inclusive). | RW | 0x0 |
15 | RESERVED | R | 0x0 | |
14:8 | PRI2_SEND_PERCENT | Priority 2 Transmit Percentage - This percentage value is sent from FIFO priority 2 (maximum) when CPSW_PTYPE[17] P1_PRI2_SHAPE_EN is set (queue shaping enabled). This is the percentage of the wire that packets from priority 2 receive (which includes interpacket gap and preamble bytes). If shaping is enabled on this queue then this value must be between zero and 0d100 (not inclusive). | RW | 0x0 |
7 | RESERVED | R | 0x0 | |
6:0 | PRI1_SEND_PERCENT | Priority 1 Transmit Percentage - This percentage value is sent from FIFO priority 1 (maximum) when the CPSW_PTYPE[16] P1_PRI1_SHAPE_EN is set (queue shaping enabled). This is the percentage of the wire that packets from priority 1 receive (which includes interpacket gap and preamble bytes). If shaping is enabled on this queue then this value must be between zero and 0d100 (not inclusive). | RW | 0x0 |
Gigabit Ethernet Switch (GMAC_SW) |
Address Offset | 0x0000 0130 | ||
Physical Address | 0x4848 4230 | Instance | PORT |
Description | CPSW PORT 1 RX DSCP priority to RX packet mapping reg 0 | ||
Type | RW |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | PRI7 | RESERVED | PRI6 | RESERVED | PRI5 | RESERVED | PRI4 | RESERVED | PRI3 | RESERVED | PRI2 | RESERVED | PRI1 | RESERVED | PRI0 |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31 | RESERVED | R | 0x0 | |
30:28 | PRI7 | Priority 7 - A packet TOS of 0d7 is mapped to this received packet priority. | RW | 0x0 |
27 | RESERVED | R | 0x0 | |
26:24 | PRI6 | Priority 6 - A packet TOS of 0d6 is mapped to this received packet priority. | RW | 0x0 |
23 | RESERVED | R | 0x0 | |
22:20 | PRI5 | Priority 5 - A packet TOS of 0d5 is mapped to this received packet priority. | RW | 0x0 |
19 | RESERVED | R | 0x0 | |
18:16 | PRI4 | Priority 4 - A packet TOS of 0d4 is mapped to this received packet priority. | RW | 0x0 |
15 | RESERVED | R | 0x0 | |
14:12 | PRI3 | Priority 3 - A packet TOS of 0d3 is mapped to this received packet priority. | RW | 0x0 |
11 | RESERVED | R | 0x0 | |
10:8 | PRI2 | Priority 2 - A packet TOS of 0d2 is mapped to this received packet priority. | RW | 0x0 |
7 | RESERVED | R | 0x0 | |
6:4 | PRI1 | Priority 1 - A packet TOS of 0d1 is mapped to this received packet priority. | RW | 0x0 |
3 | RESERVED | R | 0x0 | |
2:0 | PRI0 | Priority 0 - A packet TOS of 0d0 is mapped to this received packet priority. | RW | 0x0 |
Gigabit Ethernet Switch (GMAC_SW) |
Address Offset | 0x0000 0134 | ||
Physical Address | 0x4848 4234 | Instance | PORT |
Description | CPSW PORT 1 RX DSCP priority to RX packet mapping reg 1 | ||
Type | RW |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | PRI15 | RESERVED | PRI14 | RESERVED | PRI13 | RESERVED | PRI12 | RESERVED | PRI11 | RESERVED | PRI10 | RESERVED | PRI9 | RESERVED | PRI8 |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31 | RESERVED | R | 0x0 | |
30:28 | PRI15 | Priority 15 - A packet TOS of 0d15 is mapped to this received packet priority. | RW | 0x0 |
27 | RESERVED | R | 0x0 | |
26:24 | PRI14 | Priority 14 - A packet TOS of 0d14 is mapped to this received packet priority. | RW | 0x0 |
23 | RESERVED | R | 0x0 | |
22:20 | PRI13 | Priority 13 - A packet TOS of 0d13 is mapped to this received packet priority. | RW | 0x0 |
19 | RESERVED | R | 0x0 | |
18:16 | PRI12 | Priority 12 - A packet TOS of 0d12 is mapped to this received packet priority. | RW | 0x0 |
15 | RESERVED | R | 0x0 | |
14:12 | PRI11 | Priority 11 - A packet TOS of 0d11 is mapped to this received packet priority. | RW | 0x0 |
11 | RESERVED | R | 0x0 | |
10:8 | PRI10 | Priority 10 - A packet TOS of 0d10 is mapped to this received packet priority. | RW | 0x0 |
7 | RESERVED | R | 0x0 | |
6:4 | PRI9 | Priority 9 - A packet TOS of 0d9 is mapped to this received packet priority. | RW | 0x0 |
3 | RESERVED | R | 0x0 | |
2:0 | PRI8 | Priority 8 - A packet TOS of 0d8 is mapped to this received packet priority. | RW | 0x0 |
Gigabit Ethernet Switch (GMAC_SW) |
Address Offset | 0x0000 0138 | ||
Physical Address | 0x4848 4238 | Instance | PORT |
Description | CPSW PORT 1 RX DSCP priority to RX packet mapping reg 2 | ||
Type | RW |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | PRI23 | RESERVED | PRI22 | RESERVED | PRI21 | RESERVED | PRI20 | RESERVED | PRI19 | RESERVED | PRI18 | RESERVED | PRI17 | RESERVED | PRI16 |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31 | RESERVED | R | 0x0 | |
30:28 | PRI23 | Priority 23 - A packet TOS of 0d23 is mapped to this received packet priority. | RW | 0x0 |
27 | RESERVED | R | 0x0 | |
26:24 | PRI22 | Priority 22 - A packet TOS of 0d22 is mapped to this received packet priority. | RW | 0x0 |
23 | RESERVED | R | 0x0 | |
22:20 | PRI21 | Priority 21 - A packet TOS of 0d21 is mapped to this received packet priority. | RW | 0x0 |
19 | RESERVED | R | 0x0 | |
18:16 | PRI20 | Priority 20 - A packet TOS of 0d20 is mapped to this received packet priority. | RW | 0x0 |
15 | RESERVED | R | 0x0 | |
14:12 | PRI19 | Priority 19 - A packet TOS of 0d19 is mapped to this received packet priority. | RW | 0x0 |
11 | RESERVED | R | 0x0 | |
10:8 | PRI18 | Priority 18 - A packet TOS of 0d18 is mapped to this received packet priority. | RW | 0x0 |
7 | RESERVED | R | 0x0 | |
6:4 | PRI17 | Priority 17 - A packet TOS of 0d17 is mapped to this received packet priority. | RW | 0x0 |
3 | RESERVED | R | 0x0 | |
2:0 | PRI16 | Priority 16 - A packet TOS of 0d16 is mapped to this received packet priority. | RW | 0x0 |
Gigabit Ethernet Switch (GMAC_SW) |
Address Offset | 0x0000 013C | ||
Physical Address | 0x4848 423C | Instance | PORT |
Description | CPSW PORT 1 RX DSCP priority to RX packet mapping reg 3 | ||
Type | RW |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | PRI31 | RESERVED | PRI30 | RESERVED | PRI29 | RESERVED | PRI28 | RESERVED | PRI27 | RESERVED | PRI26 | RESERVED | PRI25 | RESERVED | PRI24 |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31 | RESERVED | R | 0x0 | |
30:28 | PRI31 | Priority 31 - A packet TOS of 0d31 is mapped to this received packet priority. | RW | 0x0 |
27 | RESERVED | R | 0x0 | |
26:24 | PRI30 | Priority 30 - A packet TOS of 0d30 is mapped to this received packet priority. | RW | 0x0 |
23 | RESERVED | R | 0x0 | |
22:20 | PRI29 | Priority 29 - A packet TOS of 0d39 is mapped to this received packet priority. | RW | 0x0 |
19 | RESERVED | R | 0x0 | |
18:16 | PRI28 | Priority 28 - A packet TOS of 0d28 is mapped to this received packet priority. | RW | 0x0 |
15 | RESERVED | R | 0x0 | |
14:12 | PRI27 | Priority 27 - A packet TOS of 0d27 is mapped to this received packet priority. | RW | 0x0 |
11 | RESERVED | R | 0x0 | |
10:8 | PRI26 | Priority 26 - A packet TOS of 0d26 is mapped to this received packet priority. | RW | 0x0 |
7 | RESERVED | R | 0x0 | |
6:4 | PRI25 | Priority 25 - A packet TOS of 0d25 is mapped to this received packet priority. | RW | 0x0 |
3 | RESERVED | R | 0x0 | |
2:0 | PRI24 | Priority 24 - A packet TOS of 0d24 is mapped to this received packet priority. | RW | 0x0 |
Gigabit Ethernet Switch (GMAC_SW) |
Address Offset | 0x0000 0140 | ||
Physical Address | 0x4848 4240 | Instance | PORT |
Description | CPSW PORT 1 RX DSCP priority to RX packet mapping reg 4 | ||
Type | RW |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | PRI39 | RESERVED | PRI38 | RESERVED | PRI37 | RESERVED | PRI36 | RESERVED | PRI35 | RESERVED | PRI34 | RESERVED | PRI33 | RESERVED | PRI32 |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31 | RESERVED | R | 0x0 | |
30:28 | PRI39 | Priority 39 - A packet TOS of 0d39 is mapped to this received packet priority. | RW | 0x0 |
27 | RESERVED | R | 0x0 | |
26:24 | PRI38 | Priority 38 - A packet TOS of 0d38 is mapped to this received packet priority. | RW | 0x0 |
23 | RESERVED | R | 0x0 | |
22:20 | PRI37 | Priority 37 - A packet TOS of 0d37 is mapped to this received packet priority. | RW | 0x0 |
19 | RESERVED | R | 0x0 | |
18:16 | PRI36 | Priority 36 - A packet TOS of 0d36 is mapped to this received packet priority. | RW | 0x0 |
15 | RESERVED | R | 0x0 | |
14:12 | PRI35 | Priority 35 - A packet TOS of 0d35 is mapped to this received packet priority. | RW | 0x0 |
11 | RESERVED | R | 0x0 | |
10:8 | PRI34 | Priority 34 - A packet TOS of 0d34 is mapped to this received packet priority. | RW | 0x0 |
7 | RESERVED | R | 0x0 | |
6:4 | PRI33 | Priority 33 - A packet TOS of 0d33 is mapped to this received packet priority. | RW | 0x0 |
3 | RESERVED | R | 0x0 | |
2:0 | PRI32 | Priority 32 - A packet TOS of 0d32 is mapped to this received packet priority. | RW | 0x0 |
Gigabit Ethernet Switch (GMAC_SW) |
Address Offset | 0x0000 0144 | ||
Physical Address | 0x4848 4244 | Instance | PORT |
Description | CPSW PORT 1 RX DSCP priority to RX packet mapping reg 5 | ||
Type | RW |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | PRI47 | RESERVED | PRI46 | RESERVED | PRI45 | RESERVED | PRI44 | RESERVED | PRI43 | RESERVED | PRI42 | RESERVED | PRI41 | RESERVED | PRI40 |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31 | RESERVED | R | 0x0 | |
30:28 | PRI47 | Priority 47 - A packet TOS of 0d47 is mapped to this received packet priority. | RW | 0x0 |
27 | RESERVED | R | 0x0 | |
26:24 | PRI46 | Priority 46 - A packet TOS of 0d46 is mapped to this received packet priority. | RW | 0x0 |
23 | RESERVED | R | 0x0 | |
22:20 | PRI45 | Priority 45 - A packet TOS of 0d45 is mapped to this received packet priority. | RW | 0x0 |
19 | RESERVED | R | 0x0 | |
18:16 | PRI44 | Priority 44 - A packet TOS of 0d44 is mapped to this received packet priority. | RW | 0x0 |
15 | RESERVED | R | 0x0 | |
14:12 | PRI43 | Priority 43 - A packet TOS of 0d43 is mapped to this received packet priority. | RW | 0x0 |
11 | RESERVED | R | 0x0 | |
10:8 | PRI42 | Priority 42 - A packet TOS of 0d42 is mapped to this received packet priority. | RW | 0x0 |
7 | RESERVED | R | 0x0 | |
6:4 | PRI41 | Priority 41 - A packet TOS of 0d41 is mapped to this received packet priority. | RW | 0x0 |
3 | RESERVED | R | 0x0 | |
2:0 | PRI40 | Priority 40 - A packet TOS of 0d40 is mapped to this received packet priority. | RW | 0x0 |
Gigabit Ethernet Switch (GMAC_SW) |
Address Offset | 0x0000 0148 | ||
Physical Address | 0x4848 4248 | Instance | PORT |
Description | CPSW PORT 1 RX DSCP priority to RX packet mapping reg 6 | ||
Type | RW |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | PRI55 | RESERVED | PRI54 | RESERVED | PRI53 | RESERVED | PRI52 | RESERVED | PRI51 | RESERVED | PRI50 | RESERVED | PRI49 | RESERVED | PRI48 |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31 | RESERVED | R | 0x0 | |
30:28 | PRI55 | Priority 55 - A packet TOS of 0d55 is mapped to this received packet priority. | RW | 0x0 |
27 | RESERVED | R | 0x0 | |
26:24 | PRI54 | Priority 54 - A packet TOS of 0d54 is mapped to this received packet priority. | RW | 0x0 |
23 | RESERVED | R | 0x0 | |
22:20 | PRI53 | Priority 53 - A packet TOS of 0d53 is mapped to this received packet priority. | RW | 0x0 |
19 | RESERVED | R | 0x0 | |
18:16 | PRI52 | Priority 52 - A packet TOS of 0d52 is mapped to this received packet priority. | RW | 0x0 |
15 | RESERVED | R | 0x0 | |
14:12 | PRI51 | Priority 51 - A packet TOS of 0d51 is mapped to this received packet priority. | RW | 0x0 |
11 | RESERVED | R | 0x0 | |
10:8 | PRI50 | Priority 50 - A packet TOS of 0d50 is mapped to this received packet priority. | RW | 0x0 |
7 | RESERVED | R | 0x0 | |
6:4 | PRI49 | Priority 49 - A packet TOS of 0d49 is mapped to this received packet priority. | RW | 0x0 |
3 | RESERVED | R | 0x0 | |
2:0 | PRI48 | Priority 48 - A packet TOS of 0d48 is mapped to this received packet priority. | RW | 0x0 |
Gigabit Ethernet Switch (GMAC_SW) |
Address Offset | 0x0000 014C | ||
Physical Address | 0x4848 424C | Instance | PORT |
Description | CPSW PORT 1 RX DSCP priority to RX packet mapping reg 7 | ||
Type | RW |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | PRI63 | RESERVED | PRI62 | RESERVED | PRI61 | RESERVED | PRI60 | RESERVED | PRI59 | RESERVED | PRI58 | RESERVED | PRI57 | RESERVED | PRI56 |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31 | RESERVED | R | 0x0 | |
30:28 | PRI63 | Priority 63 - A packet TOS of 0d63 is mapped to this received packet priority. | RW | 0x0 |
27 | RESERVED | R | 0x0 | |
26:24 | PRI62 | Priority 62 - A packet TOS of 0d62 is mapped to this received packet priority. | RW | 0x0 |
23 | RESERVED | R | 0x0 | |
22:20 | PRI61 | Priority 61 - A packet TOS of 0d61 is mapped to this received packet priority. | RW | 0x0 |
19 | RESERVED | R | 0x0 | |
18:16 | PRI60 | Priority 60 - A packet TOS of 0d60 is mapped to this received packet priority. | RW | 0x0 |
15 | RESERVED | R | 0x0 | |
14:12 | PRI59 | Priority 59 - A packet TOS of 0d59 is mapped to this received packet priority. | RW | 0x0 |
11 | RESERVED | R | 0x0 | |
10:8 | PRI58 | Priority 58 - A packet TOS of 0d58 is mapped to this received packet priority. | RW | 0x0 |
7 | RESERVED | R | 0x0 | |
6:4 | PRI57 | Priority 57 - A packet TOS of 0d57 is mapped to this received packet priority. | RW | 0x0 |
3 | RESERVED | R | 0x0 | |
2:0 | PRI56 | Priority 56 - A packet TOS of 0d56 is mapped to this received packet priority. | RW | 0x0 |
Gigabit Ethernet Switch (GMAC_SW) |
Address Offset | 0x0000 0150 | ||
Physical Address | 0x4848 4250 | Instance | PORT |
Description | Port 1 EEE Idle to LPI Counter Load Value Register | ||
Type | RW |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | P1_IDLE2LPI |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31:20 | RESERVED | R | 0x0 | |
19:0 | P1_IDLE2LPI | Port 1 EEE Idle to LPI counter load value - After CLKSTOP_REQ is asserted, this value is loaded into the port 1 idle to LPI counter on each clock that the port 1 transmit is not idle. Port 0 enters the transmit LPI state when this counter decrements to zero. This counter decrements each time the EEE prescale counter decrements to zero. | RW | 0x0 |
Gigabit Ethernet Switch (GMAC_SW) |
Address Offset | 0x0000 0154 | ||
Physical Address | 0x4848 4254 | Instance | PORT |
Description | Port 1 EEE LPI to Wake Counter Load Value Register | ||
Type | RW |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | P1_LPI2WAKE |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31:20 | RESERVED | R | 0x0 | |
19:0 | P1_LPI2WAKE | Port 1 EEE LPI to wake counter load value – When the port is in the transmit LPI state and the CLKSTOP_REQ signal is deasserted, this value is loaded into the port 1 LPI to wake counter. Transmit packet operations may begin (resume) when the LPI to wake count decrements to zero (on the pre-scale count). This is the time that the CPDMA transmit must wait before transmit (switch ingress) packet operations begin (resume after wakeup). | RW | 0x0 |
Gigabit Ethernet Switch (GMAC_SW) |
Address Offset | 0x0000 0200 | ||
Physical Address | 0x4848 4300 | Instance | PORT |
Description | CPSW_3GF PORT 2 control register | ||
Type | RW |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | P2_TX_CLKSTOP_EN | P2_PASS_PRI_TAGGED | RESERVED | P2_VLAN_LTYPE2_EN | P2_VLAN_LTYPE1_EN | RESERVED | P2_DSCP_PRI_EN | P2_TS_107 | P2_TS_320 | P2_TS_319 | P2_TS_132 | P2_TS_131 | P2_TS_130 | P2_TS_129 | P2_TS_TTL_NONZERO | P2_TS_UNI_EN | P2_TS_ANNEX_F_EN | P2_TS_ANNEX_E_EN | P2_TS_ANNEX_D_EN | P2_TS_LTYPE2_EN | P2_TS_LTYPE1_EN | P2_TS_TX_EN | P2_TS_RX_EN |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31:26 | RESERVED | R | 0x0 | |
25 | P2_TX_CLKSTOP_EN | Port 2 Transmit clockstop enable 0 – RGMII transmit clockstop not enabled 1 – RGMII transmit clockstop enabled. The transmit clock will be stopped after the LPI state is entered (and indicated to the CPRGMII) and the P2_Idle2LPI time is counted (counter value reused). The P2_Idle2LPI counter value must be greater than 9 transmit clocks (slowest clock) | RW | 0x0 |
24 | P2_PASS_PRI_TAGGED | Port 2 Pass Priority Tagged 0 - Priority tagged packets have the zero VID replaced with the input port P2_PORT_VLAN [11:0] 1 - Priority tagged packets are processed unchanged. | RW | 0x0 |
23:22 | RESERVED | R | 0x0 | |
21 | P2_VLAN_LTYPE2_EN | Port 2 VLAN LTYPE 2 enable 0 - disabled 1 - VLAN LTYPE2 enabled on transmit and receive | RW | 0x0 |
20 | P2_VLAN_LTYPE1_EN | Port 2 VLAN LTYPE 1 enable 0 - disabled 1 - VLAN LTYPE1 enabled on transmit and receive | RW | 0x0 |
19:17 | RESERVED | R | 0x0 | |
16 | P2_DSCP_PRI_EN | Port 0 DSCP Priority Enable 0 - DSCP priority disabled 1 - DSCP priority enabled. All non-tagged IPV4 packets have their received packet priority determined by mapping the 6 TOS bits through the port DSCP priority mapping registers. | RW | 0x0 |
15 | P2_TS_107 | Port 2 Time Sync Destination IP Address 107 enable 0 – disabled 1 – destination IP address (dec) 224.0.0.107 is enabled. | RW | 0x0 |
14 | P2_TS_320 | Port 2 Time Sync Destination Port Number 320 enable 0 - disabled 1 - Annex D (UDP/IPv4) time sync packet destination port number 320 (decimal) is enabled. | RW | 0x0 |
13 | P2_TS_319 | Port 2 Time Sync Destination Port Number 319 enable 0 - disabled 1 - Annex D (UDP/IPv4) time sync packet destination port number 319 (decimal) is enabled. | RW | 0x0 |
12 | P2_TS_132 | Port 2 Time Sync Destination IP Address 132 enable 0 - disabled 1 - Annex D (UDP/IPv4) time sync packet destination IP address number 132 (decimal) is enabled. | RW | 0x0 |
11 | P2_TS_131 | Port 2 Time Sync Destination IP Address 131 enable 0 - disabled 1 - Annex D (UDP/IPv4) time sync packet destination IP address number 131 (decimal) is enabled. | RW | 0x0 |
10 | P2_TS_130 | Port 2 Time Sync Destination IP Address 130 enable 0 - disabled 1 - Annex D (UDP/IPv4) time sync packet destination IP address number 130 (decimal) is enabled. | RW | 0x0 |
9 | P2_TS_129 | Port 2 Time Sync Destination IP Address 129 enable 0 - disabled 1 - Annex D (UDP/IPv4) time sync packet destination IP address number 129 (decimal) is enabled. | RW | 0x0 |
8 | P2_TS_TTL_NONZERO | Port 2 Time Sync Time To Live Non-zero enable. 0 = TTL must be zero. 1 = TTL may be any value. | RW | 0x0 |
7 | P2_TS_UNI_EN | Port 2 Time Sync Unicast Enable 0 – Unicast disabled 1 – Unicast enabled | RW | 0x0 |
6 | P2_TS_ANNEX_F_EN | Port 2 Time Sync Annex F enable 0 – Annex F disabled 1 – Annex F enabled | RW | 0X0 |
5 | P2_TS_ANNEX_E_EN | Port 2 Time Sync Annex E enable 0 – Annex E disabled 1 – Annex E enabled | RW | 0X0 |
4 | P2_TS_ANNEX_D_EN | Port 2 Time Sync Annex D enable 0 - Annex D disabled 1 - Annex D enabled | RW | 0x0 |
3 | P2_TS_LTYPE2_EN | Port 2 Time Sync LTYPE 2 enable 0 - disabled 1 - enabled | RW | 0x0 |
2 | P2_TS_LTYPE1_EN | Port 2 Time Sync LTYPE 1 enable 0 - disabled 1 - enabled | RW | 0x0 |
1 | P2_TS_TX_EN | Port 2 Time Sync Transmit Enable 0 - disabled 1 - enabled | RW | 0x0 |
0 | P2_TS_RX_EN | Port 2 Time Sync Receive Enable 0 - Port 1 Receive Time Sync disabled 1 - Port 1 Receive Time Sync enabled | RW | 0x0 |
Gigabit Ethernet Switch (GMAC_SW) |
Address Offset | 0x0000 0208 | ||
Physical Address | 0x4848 4308 | Instance | PORT |
Description | CPSW PORT 2 maximum FIFO blocks register | ||
Type | RW |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | P2_TX_MAX_BLKS | P2_RX_MAX_BLKS |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31:9 | RESERVED | RW | 0x0 | |
8:4 | P2_TX_MAX_BLKS | Transmit FIFO Maximum Blocks - This value is the maximum number of 1k memory blocks that may be allocated to the FIFO's logical transmit priority queues. 0x11 is the recommended value of P2_TX_MAX_BLKS unless the port is in fullduplex flow control mode. In flow control mode, the P2_RX_MAX_BLKS will need to increase in order to accept the required run out in fullduplex mode. This value will need to decrease by the amount of increase in P2_RX_MAX_BLKS. 0xE is the minimum value P2_TX_MAX_BLKS. | RW | 0x11 |
3:0 | P2_RX_MAX_BLKS | Receive FIFO Maximum Blocks - This value is the maximum number of 1k memory blocks that may be allocated to the FIFO's logical receive queue. This value must be greater than or equal to 0x3. It should be increased In fullduplex flow control mode to 0x5 or 0x6 depending on the required runout space. The P2_TX_MAX_BLKS value must be decreased by the amount of increase in P2_RX_MAX_BLKS. 0x3 is the minimum value P2_RX_MAX_BLKS and 0x6 is the maximum value. | RW | 0x3 |
Gigabit Ethernet Switch (GMAC_SW) |
Address Offset | 0x0000 020C | ||
Physical Address | 0x4848 430C | Instance | PORT |
Description | CPSW PORT 2 FIFO block usage count (read only) | ||
Type | R |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | P2_TX_BLK_CNT | P2_RX_BLK_CNT |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31:9 | RESERVED | R | 0x0 | |
8:4 | P2_TX_BLK_CNT | Port 2 Transmit Block Count Usage - This value is the number of blocks allocated to the FIFO logical transmit queues. | R | 0x4 |
3:0 | P2_RX_BLK_CNT | Port 2 Receive Block Count Usage - This value is the number of blocks allocated to the FIFO logical receive queues. | R | 0x1 |
Gigabit Ethernet Switch (GMAC_SW) |
Address Offset | 0x0000 0210 | ||
Physical Address | 0x4848 4310 | Instance | PORT |
Description | CPSW PORT 2 transmit FIFO control | ||
Type | RW |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | HOST_BLKS_REM | TX_RATE_EN | RESERVED | TX_IN_SEL | TX_BLKS_REM | RESERVED | TX_PRI_WDS |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31:28 | RESERVED | RW | 0x0 | |
27:24 | HOST_BLKS_REM | Transmit FIFO Blocks that must be free before a non rate-limited CPDMA channel can begin sending a packet to the FIFO. | RW | 0x8 |
23:20 | TX_RATE_EN | Transmit FIFO Input Rate Enable | RW | 0x0 |
19:18 | RESERVED | RW | 0x0 | |
17:16 | TX_IN_SEL | Transmit FIFO Input Queue Type Select 0x0 - Normal priority mode 0x1 - reserved 0x2 - Rate Limit mode 0x3 - reserved | RW | 0x0 |
15:12 | TX_BLKS_REM | Transmit FIFO Input blocks to subtract on non rate-limited traffic in rate limit mode. | RW | 0x4 |
11:10 | RESERVED | RW | 0x0 | |
9:0 | TX_PRI_WDS | Transmit FIFO Words in queue | RW | 0xc0 |
Gigabit Ethernet Switch (GMAC_SW) |
Address Offset | 0x0000 0214 | ||
Physical Address | 0x4848 4314 | Instance | PORT |
Description | CPSW PORT 2 VLAN register | ||
Type | RW |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | PORT_PRI | PORT_CFI | PORT_VID |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31:16 | RESERVED | R | 0x0 | |
15:13 | PORT_PRI | Port VLAN Priority (7 is highest priority) | RW | 0x0 |
12 | PORT_CFI | Port CFI bit | RW | 0x0 |
11:0 | PORT_VID | Port VLAN ID | RW | 0x0 |
Gigabit Ethernet Switch (GMAC_SW) |
Address Offset | 0x0000 0218 | ||
Physical Address | 0x4848 4318 | Instance | PORT |
Description | CPSW PORT 2 TX header priority to switch priority mapping register | ||
Type | RW |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | PRI7 | RESERVED | PRI6 | RESERVED | PRI5 | RESERVED | PRI4 | RESERVED | PRI3 | RESERVED | PRI2 | RESERVED | PRI1 | RESERVED | PRI0 |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31:30 | RESERVED | R | 0x0 | |
29:28 | PRI7 | Priority 7 - A packet header priority of 0x7 is given this switch queue priority. | RW | 0x3 |
27:26 | RESERVED | R | 0x0 | |
25:24 | PRI6 | Priority 6 - A packet header priority of 0x6 is given this switch queue priority. | RW | 0x3 |
23:22 | RESERVED | R | 0x0 | |
21:20 | PRI5 | Priority 5 - A packet header priority of 0x5 is given this switch queue priority. | RW | 0x2 |
19:18 | RESERVED | R | 0x0 | |
17:16 | PRI4 | Priority 4 - A packet header priority of 0x4 is given this switch queue priority. | RW | 0x2 |
15:14 | RESERVED | R | 0x0 | |
13:12 | PRI3 | Priority 3 - A packet header priority of 0x3 is given this switch queue priority. | RW | 0x1 |
11:10 | RESERVED | R | 0x0 | |
9:8 | PRI2 | Priority 2 - A packet header priority of 0x2 is given this switch queue priority. | RW | 0x0 |
7:6 | RESERVED | R | 0x0 | |
5:4 | PRI1 | Priority 1 - A packet header priority of 0x1 is given this switch queue priority. | RW | 0x0 |
3:2 | RESERVED | R | 0x0 | |
1:0 | PRI0 | Priority 0 - A packet header priority of 0x0 is given this switch queue priority. | RW | 0x1 |
Gigabit Ethernet Switch (GMAC_SW) |
Address Offset | 0x0000 021C | ||
Physical Address | 0x4848 431C | Instance | PORT |
Description | CPSW_3GF PORT 2 time sync sequence ID offset and message type. | ||
Type | RW |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | P2_TS_SEQ_ID_OFFSET | P2_TS_MSG_TYPE_EN |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31:22 | RESERVED | R | 0x0 | |
21:16 | P2_TS_SEQ_ID_OFFSET | Port 2 Time Sync Sequence ID Offset This is the number of octets that the sequence ID is offset in the tx and rx time sync message header. The minimum value is 6. | RW | 0x1E |
15:0 | P2_TS_MSG_TYPE_EN | Port 2 Time Sync Message Type Enable - Each bit in this field enables the corresponding message type in receive and transmit time sync messages (Bit 0 enables message type 0 etc.). | RW | 0x0 |
Gigabit Ethernet Switch (GMAC_SW) |
Address Offset | 0x0000 0220 | ||
Physical Address | 0x4848 4320 | Instance | PORT |
Description | CPSW CPGMAC_SL2 source address low register | ||
Type | RW |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | MACSRCADDR_7_0 | MACSRCADDR_15_8 |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31:16 | RESERVED | R | 0x0 | |
15:8 | MACSRCADDR_7_0 | Source Address Lower 8 bits (byte 0) | RW | 0x0 |
7:0 | MACSRCADDR_15_8 | Source Address bits 15:8 (byte 1) | RW | 0x0 |
Gigabit Ethernet Switch (GMAC_SW) |
Address Offset | 0x0000 0224 | ||
Physical Address | 0x4848 4324 | Instance | PORT |
Description | CPSW CPGMAC_SL2 source address high register | ||
Type | RW |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
MACSRCADDR_23_16 | MACSRCADDR_31_23 | MACSRCADDR_39_32 | MACSRCADDR_47_40 |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31:24 | MACSRCADDR_23_16 | Source Address bits 23:16 (byte 2) | RW | 0x0 |
23:16 | MACSRCADDR_31_23 | Source Address bits 31:23 (byte 3) | RW | 0x0 |
15:8 | MACSRCADDR_39_32 | Source Address bits 39:32 (byte 4) | RW | 0x0 |
7:0 | MACSRCADDR_47_40 | Source Address bits 47:40 (byte 5) | RW | 0x0 |
Gigabit Ethernet Switch (GMAC_SW) |
Address Offset | 0x0000 0228 | ||
Physical Address | 0x4848 4328 | Instance | PORT |
Description | CPSW PORT 2 transmit queue send percentages | ||
Type | RW |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | PRI3_SEND_PERCENT | RESERVED | PRI2_SEND_PERCENT | RESERVED | PRI1_SEND_PERCENT |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31:23 | RESERVED | R | 0x0 | |
22:16 | PRI3_SEND_PERCENT | Priority 3 Transmit Percentage - This percentage value is sent from FIFO priority 3 (maximum) when the CPSW_PTYPE[21] P2_PRI3_SHAPE_EN is set (queue shaping enabled). This is the percentage of the wire that packets from priority 3 receive (which includes interpacket gap and preamble bytes). If shaping is enabled on this queue then this value must be between zero and 0d100 (not inclusive). | RW | 0x0 |
15 | RESERVED | R | 0x0 | |
14:8 | PRI2_SEND_PERCENT | Priority 2 Transmit Percentage - This percentage value is sent from FIFO priority 2 (maximum) when the CPSW_PTYPE[20] P2_PRI2_SHAPE_EN is set (queue shaping enabled). This is the percentage of the wire that packets from priority 2 receive (which includes interpacket gap and preamble bytes). If shaping is enabled on this queue then this value must be between zero and 0d100 (not inclusive). | RW | 0x0 |
7 | RESERVED | R | 0x0 | |
6:0 | PRI1_SEND_PERCENT | Priority 1 Transmit Percentage - This percentage value is sent from FIFO priority 1 (maximum) when the CPSW_PTYPE[19] P2_PRI1_SHAPE_EN is set (queue shaping enabled). This is the percentage of the wire that packets from priority 1 receive (which includes interpacket gap and preamble bytes). If shaping is enabled on this queue then this value must be between zero and 0d100 (not inclusive). | RW | 0x0 |
Gigabit Ethernet Switch (GMAC_SW) |
Address Offset | 0x0000 0230 | ||
Physical Address | 0x4848 4330 | Instance | PORT |
Description | CPSW PORT 2 RX DSCP priority to RX packet mapping reg 0 | ||
Type | RW |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | PRI7 | RESERVED | PRI6 | RESERVED | PRI5 | RESERVED | PRI4 | RESERVED | PRI3 | RESERVED | PRI2 | RESERVED | PRI1 | RESERVED | PRI0 |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31 | RESERVED | R | 0x0 | |
30:28 | PRI7 | Priority 7 - A packet TOS of 0d7 is mapped to this received packet priority. | RW | 0x0 |
27 | RESERVED | R | 0x0 | |
26:24 | PRI6 | Priority 6 - A packet TOS of 0d6 is mapped to this received packet priority. | RW | 0x0 |
23 | RESERVED | R | 0x0 | |
22:20 | PRI5 | Priority 5 - A packet TOS of 0d5 is mapped to this received packet priority. | RW | 0x0 |
19 | RESERVED | R | 0x0 | |
18:16 | PRI4 | Priority 4 - A packet TOS of 0d4 is mapped to this received packet priority. | RW | 0x0 |
15 | RESERVED | R | 0x0 | |
14:12 | PRI3 | Priority 3 - A packet TOS of 0d3 is mapped to this received packet priority. | RW | 0x0 |
11 | RESERVED | R | 0x0 | |
10:8 | PRI2 | Priority 2 - A packet TOS of 0d2 is mapped to this received packet priority. | RW | 0x0 |
7 | RESERVED | R | 0x0 | |
6:4 | PRI1 | Priority 1 - A packet TOS of 0d1 is mapped to this received packet priority. | RW | 0x0 |
3 | RESERVED | R | 0x0 | |
2:0 | PRI0 | Priority 0 - A packet TOS of 0d0 is mapped to this received packet priority. | RW | 0x0 |
Gigabit Ethernet Switch (GMAC_SW) |
Address Offset | 0x0000 0234 | ||
Physical Address | 0x4848 4334 | Instance | PORT |
Description | CPSW PORT 2 RX DSCP priority to RX packet mapping reg 1 | ||
Type | RW |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | PRI15 | RESERVED | PRI14 | RESERVED | PRI13 | RESERVED | PRI12 | RESERVED | PRI11 | RESERVED | PRI10 | RESERVED | PRI9 | RESERVED | PRI8 |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31 | RESERVED | R | 0x0 | |
30:28 | PRI15 | Priority 15 - A packet TOS of 0d15 is mapped to this received packet priority. | RW | 0x0 |
27 | RESERVED | R | 0x0 | |
26:24 | PRI14 | Priority 14 - A packet TOS of 0d14 is mapped to this received packet priority. | RW | 0x0 |
23 | RESERVED | R | 0x0 | |
22:20 | PRI13 | Priority 13 - A packet TOS of 0d13 is mapped to this received packet priority. | RW | 0x0 |
19 | RESERVED | R | 0x0 | |
18:16 | PRI12 | Priority 12 - A packet TOS of 0d12 is mapped to this received packet priority. | RW | 0x0 |
15 | RESERVED | R | 0x0 | |
14:12 | PRI11 | Priority 11 - A packet TOS of 0d11 is mapped to this received packet priority. | RW | 0x0 |
11 | RESERVED | R | 0x0 | |
10:8 | PRI10 | Priority 10 - A packet TOS of 0d10 is mapped to this received packet priority. | RW | 0x0 |
7 | RESERVED | R | 0x0 | |
6:4 | PRI9 | Priority 9 - A packet TOS of 0d9 is mapped to this received packet priority. | RW | 0x0 |
3 | RESERVED | R | 0x0 | |
2:0 | PRI8 | Priority 8 - A packet TOS of 0d8 is mapped to this received packet priority. | RW | 0x0 |
Gigabit Ethernet Switch (GMAC_SW) |
Address Offset | 0x0000 0238 | ||
Physical Address | 0x4848 4338 | Instance | PORT |
Description | CPSW PORT 2 RX DSCP priority to RX packet mapping reg 2 | ||
Type | RW |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | PRI23 | RESERVED | PRI22 | RESERVED | PRI21 | RESERVED | PRI20 | RESERVED | PRI19 | RESERVED | PRI18 | RESERVED | PRI17 | RESERVED | PRI16 |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31 | RESERVED | R | 0x0 | |
30:28 | PRI23 | Priority 23 - A packet TOS of 0d23 is mapped to this received packet priority. | RW | 0x0 |
27 | RESERVED | R | 0x0 | |
26:24 | PRI22 | Priority 22 - A packet TOS of 0d22 is mapped to this received packet priority. | RW | 0x0 |
23 | RESERVED | R | 0x0 | |
22:20 | PRI21 | Priority 21 - A packet TOS of 0d21 is mapped to this received packet priority. | RW | 0x0 |
19 | RESERVED | R | 0x0 | |
18:16 | PRI20 | Priority 20 - A packet TOS of 0d20 is mapped to this received packet priority. | RW | 0x0 |
15 | RESERVED | R | 0x0 | |
14:12 | PRI19 | Priority 19 - A packet TOS of 0d19 is mapped to this received packet priority. | RW | 0x0 |
11 | RESERVED | R | 0x0 | |
10:8 | PRI18 | Priority 18 - A packet TOS of 0d18 is mapped to this received packet priority. | RW | 0x0 |
7 | RESERVED | R | 0x0 | |
6:4 | PRI17 | Priority 17 - A packet TOS of 0d17 is mapped to this received packet priority. | RW | 0x0 |
3 | RESERVED | R | 0x0 | |
2:0 | PRI16 | Priority 16 - A packet TOS of 0d16 is mapped to this received packet priority. | RW | 0x0 |
Gigabit Ethernet Switch (GMAC_SW) |
Address Offset | 0x0000 023C | ||
Physical Address | 0x4848 433C | Instance | PORT |
Description | CPSW PORT 2 RX DSCP priority to RX packet mapping reg 3 | ||
Type | RW |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | PRI31 | RESERVED | PRI30 | RESERVED | PRI29 | RESERVED | PRI28 | RESERVED | PRI27 | RESERVED | PRI26 | RESERVED | PRI25 | RESERVED | PRI24 |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31 | RESERVED | R | 0x0 | |
30:28 | PRI31 | Priority 31 - A packet TOS of 0d31 is mapped to this received packet priority. | RW | 0x0 |
27 | RESERVED | R | 0x0 | |
26:24 | PRI30 | Priority 30 - A packet TOS of 0d30 is mapped to this received packet priority. | RW | 0x0 |
23 | RESERVED | R | 0x0 | |
22:20 | PRI29 | Priority 29 - A packet TOS of 0d39 is mapped to this received packet priority. | RW | 0x0 |
19 | RESERVED | R | 0x0 | |
18:16 | PRI28 | Priority 28 - A packet TOS of 0d28 is mapped to this received packet priority. | RW | 0x0 |
15 | RESERVED | R | 0x0 | |
14:12 | PRI27 | Priority 27 - A packet TOS of 0d27 is mapped to this received packet priority. | RW | 0x0 |
11 | RESERVED | R | 0x0 | |
10:8 | PRI26 | Priority 26 - A packet TOS of 0d26 is mapped to this received packet priority. | RW | 0x0 |
7 | RESERVED | R | 0x0 | |
6:4 | PRI25 | Priority 25 - A packet TOS of 0d25 is mapped to this received packet priority. | RW | 0x0 |
3 | RESERVED | R | 0x0 | |
2:0 | PRI24 | Priority 24 - A packet TOS of 0d24 is mapped to this received packet priority. | RW | 0x0 |
Gigabit Ethernet Switch (GMAC_SW) |
Address Offset | 0x0000 0240 | ||
Physical Address | 0x4848 4340 | Instance | PORT |
Description | CPSW PORT 2 RX DSCP priority to RX packet mapping reg 4 | ||
Type | RW |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | PRI39 | RESERVED | PRI38 | RESERVED | PRI37 | RESERVED | PRI36 | RESERVED | PRI35 | RESERVED | PRI34 | RESERVED | PRI33 | RESERVED | PRI32 |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31 | RESERVED | R | 0x0 | |
30:28 | PRI39 | Priority 39 - A packet TOS of 0d39 is mapped to this received packet priority. | RW | 0x0 |
27 | RESERVED | R | 0x0 | |
26:24 | PRI38 | Priority 38 - A packet TOS of 0d38 is mapped to this received packet priority. | RW | 0x0 |
23 | RESERVED | R | 0x0 | |
22:20 | PRI37 | Priority 37 - A packet TOS of 0d37 is mapped to this received packet priority. | RW | 0x0 |
19 | RESERVED | R | 0x0 | |
18:16 | PRI36 | Priority 36 - A packet TOS of 0d36 is mapped to this received packet priority. | RW | 0x0 |
15 | RESERVED | R | 0x0 | |
14:12 | PRI35 | Priority 35 - A packet TOS of 0d35 is mapped to this received packet priority. | RW | 0x0 |
11 | RESERVED | R | 0x0 | |
10:8 | PRI34 | Priority 34 - A packet TOS of 0d34 is mapped to this received packet priority. | RW | 0x0 |
7 | RESERVED | R | 0x0 | |
6:4 | PRI33 | Priority 33 - A packet TOS of 0d33 is mapped to this received packet priority. | RW | 0x0 |
3 | RESERVED | R | 0x0 | |
2:0 | PRI32 | Priority 32 - A packet TOS of 0d32 is mapped to this received packet priority. | RW | 0x0 |
Gigabit Ethernet Switch (GMAC_SW) |
Address Offset | 0x0000 0244 | ||
Physical Address | 0x4848 4344 | Instance | PORT |
Description | CPSW PORT 2 RX DSCP priority to RX packet mapping reg 5 | ||
Type | RW |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | PRI47 | RESERVED | PRI46 | RESERVED | PRI45 | RESERVED | PRI44 | RESERVED | PRI43 | RESERVED | PRI42 | RESERVED | PRI41 | RESERVED | PRI40 |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31 | RESERVED | R | 0x0 | |
30:28 | PRI47 | Priority 47 - A packet TOS of 0d47 is mapped to this received packet priority. | RW | 0x0 |
27 | RESERVED | R | 0x0 | |
26:24 | PRI46 | Priority 46 - A packet TOS of 0d46 is mapped to this received packet priority. | RW | 0x0 |
23 | RESERVED | R | 0x0 | |
22:20 | PRI45 | Priority 45 - A packet TOS of 0d45 is mapped to this received packet priority. | RW | 0x0 |
19 | RESERVED | R | 0x0 | |
18:16 | PRI44 | Priority 44 - A packet TOS of 0d44 is mapped to this received packet priority. | RW | 0x0 |
15 | RESERVED | R | 0x0 | |
14:12 | PRI43 | Priority 43 - A packet TOS of 0d43 is mapped to this received packet priority. | RW | 0x0 |
11 | RESERVED | R | 0x0 | |
10:8 | PRI42 | Priority 42 - A packet TOS of 0d42 is mapped to this received packet priority. | RW | 0x0 |
7 | RESERVED | R | 0x0 | |
6:4 | PRI41 | Priority 41 - A packet TOS of 0d41 is mapped to this received packet priority. | RW | 0x0 |
3 | RESERVED | R | 0x0 | |
2:0 | PRI40 | Priority 40 - A packet TOS of 0d40 is mapped to this received packet priority. | RW | 0x0 |
Gigabit Ethernet Switch (GMAC_SW) |
Address Offset | 0x0000 0248 | ||
Physical Address | 0x4848 4348 | Instance | PORT |
Description | CPSW PORT 2 RX DSCP priority to RX packet mapping reg 6 | ||
Type | RW |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | PRI55 | RESERVED | PRI54 | RESERVED | PRI53 | RESERVED | PRI52 | RESERVED | PRI51 | RESERVED | PRI50 | RESERVED | PRI49 | RESERVED | PRI48 |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31 | RESERVED | R | 0x0 | |
30:28 | PRI55 | Priority 55 - A packet TOS of 0d55 is mapped to this received packet priority. | RW | 0x0 |
27 | RESERVED | R | 0x0 | |
26:24 | PRI54 | Priority 54 - A packet TOS of 0d54 is mapped to this received packet priority. | RW | 0x0 |
23 | RESERVED | R | 0x0 | |
22:20 | PRI53 | Priority 53 - A packet TOS of 0d53 is mapped to this received packet priority. | RW | 0x0 |
19 | RESERVED | R | 0x0 | |
18:16 | PRI52 | Priority 52 - A packet TOS of 0d52 is mapped to this received packet priority. | RW | 0x0 |
15 | RESERVED | R | 0x0 | |
14:12 | PRI51 | Priority 51 - A packet TOS of 0d51 is mapped to this received packet priority. | RW | 0x0 |
11 | RESERVED | R | 0x0 | |
10:8 | PRI50 | Priority 50 - A packet TOS of 0d50 is mapped to this received packet priority. | RW | 0x0 |
7 | RESERVED | R | 0x0 | |
6:4 | PRI49 | Priority 49 - A packet TOS of 0d49 is mapped to this received packet priority. | RW | 0x0 |
3 | RESERVED | R | 0x0 | |
2:0 | PRI48 | Priority 48 - A packet TOS of 0d48 is mapped to this received packet priority. | RW | 0x0 |
Gigabit Ethernet Switch (GMAC_SW) |
Address Offset | 0x0000 024C | ||
Physical Address | 0x4848 434C | Instance | PORT |
Description | CPSW PORT 2 RX DSCP priority to RX packet mapping reg 7 | ||
Type | RW |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | PRI63 | RESERVED | PRI62 | RESERVED | PRI61 | RESERVED | PRI60 | RESERVED | PRI59 | RESERVED | PRI58 | RESERVED | PRI57 | RESERVED | PRI56 |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31 | RESERVED | R | 0x0 | |
30:28 | PRI63 | Priority 63 - A packet TOS of 0d63 is mapped to this received packet priority. | RW | 0x0 |
27 | RESERVED | R | 0x0 | |
26:24 | PRI62 | Priority 62 - A packet TOS of 0d62 is mapped to this received packet priority. | RW | 0x0 |
23 | RESERVED | R | 0x0 | |
22:20 | PRI61 | Priority 61 - A packet TOS of 0d61 is mapped to this received packet priority. | RW | 0x0 |
19 | RESERVED | R | 0x0 | |
18:16 | PRI60 | Priority 60 - A packet TOS of 0d60 is mapped to this received packet priority. | RW | 0x0 |
15 | RESERVED | R | 0x0 | |
14:12 | PRI59 | Priority 59 - A packet TOS of 0d59 is mapped to this received packet priority. | RW | 0x0 |
11 | RESERVED | R | 0x0 | |
10:8 | PRI58 | Priority 58 - A packet TOS of 0d58 is mapped to this received packet priority. | RW | 0x0 |
7 | RESERVED | R | 0x0 | |
6:4 | PRI57 | Priority 57 - A packet TOS of 0d57 is mapped to this received packet priority. | RW | 0x0 |
3 | RESERVED | R | 0x0 | |
2:0 | PRI56 | Priority 56 - A packet TOS of 0d56 is mapped to this received packet priority. | RW | 0x0 |
Gigabit Ethernet Switch (GMAC_SW) |
Address Offset | 0x0000 0250 | ||
Physical Address | 0x4848 4350 | Instance | PORT |
Description | Port 2 EEE Idle to LPI Counter Load Value Register | ||
Type | RW |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | P2_IDLE2LPI |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31:20 | RESERVED | R | 0x0 | |
19:0 | P2_IDLE2LPI | Port 2 EEE Idle to LPI counter load value - After CLKSTOP_REQ is asserted, this value is loaded into the port 2 idle to LPI counter on each clock that the port 2 transmit is not idle. Port 2 enters the transmit LPI state when this counter decrements to zero. This counter decrements each time the EEE prescale counter decrements to zero. | RW | 0x0 |
Gigabit Ethernet Switch (GMAC_SW) |
Address Offset | 0x0000 0254 | ||
Physical Address | 0x4848 4354 | Instance | PORT |
Description | Port 2 EEE LPI to Wake Counter Load Value Register | ||
Type | RW |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | P2_LPI2WAKE |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31:20 | RESERVED | R | 0x0 | |
19:0 | P2_LPI2WAKE | Port 2 EEE LPI to wake counter load value – When the port is in the transmit LPI state and the CLKSTOP_REQ signal is deasserted, this value is loaded into the port 2 LPI to wake counter. Transmit packet operations may begin (resume) when the LPI to wake count decrements to zero (on the pre-scale count). This is the time that the CPDMA transmit must wait before transmit (switch ingress) packet operations begin (resume after wakeup). | RW | 0x0 |
Gigabit Ethernet Switch (GMAC_SW) |