Part Number: TDA4VM
Hi Champs:
#1. I'm helping the customer to modify their Ethernet driver / pinmux for TDA4 on their PCB.
#2. Some questions:
A. What's the difference of CPSW / GMAC / ICSSG on the TDA4?
B. I have read this : f
--///opt/ti-processor-sdk-rtos-j721e-evm-07_03_00_07/pdk_jacinto_07_03_00_29/packages/ti/drv/enet/docs/migration/DRA8X-TDA4X_Enet_LLD.pdf
I know the reason why you naming the CPSW9G because the TDA4 EVM has 9 port.
But if the HW is naming the CPSW9G, then, are you saying those 9 ports can be set as all accessing them (9 ports) thru all CPSW?
C. is my understanding below correct?
CPSW9G (9 hw ports) can be set all accessing by 9 CPSW or 9 GMAC or 9 ICSSG IP drivers?
Any more detail documents?
D. May you explain why the board_ethernet_config.c is written as this?
Each ICSSG can represented as 2 Phy port, so, 2 ICSSGs = 4 port.
But, I don't understand why the code written as the below, may you tell me how many ports in the below code sections?
What is NUSS?
Board_pruicssMdioInfo Board_gPruicssMdioInfo[BOARD_ICSS_EMAC_PORT_MAX] =
{{CSL_PRU_ICSSG0_PR1_MDIO_V1P7_MDIO_BASE, BOARD_ICSS0_EMAC_PHY0_ADDR},
{CSL_PRU_ICSSG0_PR1_MDIO_V1P7_MDIO_BASE, BOARD_ICSS0_EMAC_PHY1_ADDR},
{CSL_PRU_ICSSG1_PR1_MDIO_V1P7_MDIO_BASE, BOARD_ICSS1_EMAC_PHY0_ADDR},
{CSL_PRU_ICSSG1_PR1_MDIO_V1P7_MDIO_BASE, BOARD_ICSS1_EMAC_PHY1_ADDR},
};
Board_pruicssMdioInfo Board_cpswMdioInfo[BOARD_CPSW9G_EMAC_PORT_MAX] =
{{(CSL_CPSW0_NUSS_BASE + BOARD_CPSW_MDIO_REG_OFFSET), BOARD_ICSS0_EMAC_PHY0_ADDR},
{(CSL_CPSW0_NUSS_BASE + BOARD_CPSW_MDIO_REG_OFFSET), BOARD_ICSS0_EMAC_PHY1_ADDR},
{(CSL_CPSW0_NUSS_BASE + BOARD_CPSW_MDIO_REG_OFFSET), BOARD_ICSS1_EMAC_PHY0_ADDR},
{(CSL_CPSW0_NUSS_BASE + BOARD_CPSW_MDIO_REG_OFFSET), BOARD_ICSS1_EMAC_PHY1_ADDR},
};
please answer my questions for each.
Thanks.
BR Rio