Hi
I using T2080 processor.
I want to know method that access to MDIO_SGMII_CR, SR, register etc.
PCS MDIO register. clause 22 mode.
Currently, SGMIInCR1[MDEV_PORT] value matches the Ethernet MAC PHY address
(MDIO_CTL[PHY_ADDR]). value is 0x0.
MDIO_SGMII_CR address offset is '0x0' in T2080RM datasheet.
But I want to know physical address of MDIO_SGMII_CR registers.
please help me.
Hello.
Thanks for your answer.
currently, I coding BSP and Drivers for T2080.
so, I can't used above command. like 'mdio read'.
I want to know accessible address or accessible method.
0xf_fe4f_c000 or 0xf_fee_1000 ?
both address describe mdio address in datasheet.
please help me.
Hello kim pilyeon,
mdio read <PHY address> <REGISTER Address>
Example:
=> mdio read eTSEC1 1
Reading from bus FSL_MDIO0
PHY at address 2:
1 - 0x796d
On T2080RDB
=> mdio list
FSL_MDIO0:
1 - RealTek RTL8211E <--> FM1@DTSEC3
2 - RealTek RTL8211E <--> FM1@DTSEC4
FM_TGEC_MDIO:
0 - Aquantia AQ1202 <--> FM1@TGEC3
1 - Aquantia AQ1202 <--> FM1@TGEC4
c - Cortina CS4315/CS4340 <--> FM1@TGEC1
d - Cortina CS4315/CS4340 <--> FM1@TGEC2
=> mdio read FM1@DTSEC3 8000
Reading from bus FSL_MDIO0
PHY at address 1:
32768 - 0x1140
Have a great day,
TIC
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------