![]() |
ETHFW Design Document
|
| Peripheral | Instance | Usage |
|---|---|---|
| I2C | Wakeup I2C0 | Read EEPROM to get MAC addresses of the board |
| Main I2C0 | Board I/O expander configuration for RMII and MDIO on GESI board | |
| DMTimer | - | FreeRTOS tick |
| Abstracted by PDK OSAL | CPSW interrupt pacing | |
| UART | Main UART2 | Logging |
| Mailbox | Abstracted by RPMSG | IPC with remote cores |
| SerDes | Sierra SerDes 0 Lane 1 Torrent SerDes 0 Lane 2 | QSGMII (J721E) QSGMII (J7200) |
| Control Module | ENET_CTRL | MAC interface type, RGMII delay |
| CLKOUT_CTRL | RMII clock out | |
| CPSW_CLKSEL | CPTS reference clock selection |
| Data Direction | Resource | Count |
|---|---|---|
| Transmit | Channels | 3 (1 for EthFw/lwIP, 1 for PTP, 1 for software interVLAN) |
| Ring Acc | 9 (rings per channel: 1 for FQ, 1 for CQ, 1 for TDCQ) | |
| Receive | Channels | 1 |
| Flows | 5 (1 for EthFw/lwIP, 1 for Proxy ARP, 1 for PTP, 1 for software interVLAN, 1 default flow (drop flow)) | |
| Ring Acc | 20 (rings per flow: 1 for FQ, 1 for CQ, 1 for TDCQ, 1 for dropRing) | |
| Proxy Rings | 4 (1 for EthFw/lwIP, 1 for Proxy ARP, 1 for PTP, 1 for software interVLAN) |
| Interrupt | Description |
|---|---|
| MDIO_PEND | MDIO pending interrupt (combined MDIO_LINKINT and MDIO_USERINT events) |
| STAT_PEND | Statistics pending interrupt (half roll-over) |
| EVNT_PEND | Event pending interrupt (event is pushed into CPTS Event FIFO) |
| UDMA Tx Completion | UDMA Transmit completion (abstracted by UDMA LLD, event notifications given in EthFw) |
| UDMA Rx Completion | UDMA Receive completion (abstracted by UDMA LLD, event notifications given in EthFw) |
| Clock | SYSFW ID | Description |
|---|---|---|
| CPPI_ICLK | TISCI_DEV_CPSW0_CPPI_CLK_CLK | CPPI packet streaming interface clock. Main clock for CPSW0 |
| RGMII_MHZ_250_CLK | TISCI_DEV_CPSW0_RGMII_MHZ_250_CLK | 250-MHz RGMII reference clock |
| RGMII_MHZ_50_CLK | TISCI_DEV_CPSW0_RGMII_MHZ_50_CLK | 50-MHz RGMII reference clock |
| RGMII_MHZ_5_CLK | TISCI_DEV_CPSW0_RGMII_MHZ_5_CLK | 5-MHz RGMII reference clock |
| RMII_MHZ_50_CLK | - | 50-MHz RMII reference clock (internal (CLKOUT) or external (RMII_REF_CLK)) |
| MAIN_SYSCLK0 | - | 500-MHz CPTS reference clock |