Kimi / RTL8211FSI PHY LED Reference

Created Thu, 03 Apr 2025 12:22:13 +0800 Modified Fri, 13 Jun 2025 03:34:05 +0000
1054 Words

RTL8211FSI PHY LED 部分资料

以下仅选取了本人感兴趣的部分,请以官方最新资料为准。

参考资料:立创商城 | https://www.szlcsc.com

注:本资料内容是英文的哦

LED Default Definitions

The RTL8211FS(I)(-VS) supports three LED pins, suitable for multiple types of applications that can directly drive the LEDs. The output of these pins is determined by setting the corresponding bits in Page 0xd04 Register 16 and 18 (see section 8.5.22, page 53 and 8.5.24, page 54). The functionality of the RTL8211FS(I)(-VS) LEDs is shown in Table 16.

Operation Mode CFG MODE[2:0]DescriptionDescriptionDescription
-LED0LED1LED2
3’b000: UTP <=> RGMII10M Link and Active (Transmitting or Receiving)100M Link and Active (Transmitting or Receiving)1000M Link and Active (Transmitting or Receiving)
3’b011: UTP <=> SGMII---
3’b100: SGMII(PHY Side) <=> RGMII(MAC Side)---
3’b101: SGMII(MAC Side) <=> RGMII(pHY Side)---
3’b001: Fiber <=> RGMIIN/A100M Link and Active (Transmitting or Receiving)1000M Link and Active (Transmitting or Receiving)
3’b010: UTP/Fiber <=> RGMII (Media Auto Detection)UTP 10M/100M/1000M Link UpFiber 100M/1000M Link UpUTP or Fiber Link and Active (Transmitting or Receiving)
3’b110/3’b111: UTP <==> Fiber (Media Conversion)Link and Active (Transmitting or Receiving)UTP and Fiber are both 100M Link upUTP and Fiber are both 1000M Link up

LED Register Table

The LED pins can be customized from Page 0xd04 Register 16 and 18. To change the LED settings, see note (below) and Table 17 LED Register Table, which summarizes several configuration types (see also Table 18 LED Configuration Table 1, and Table 19 LED Configuration Table 2, page 34). Note: To switch to Page 0xd04, set Register 31 Data=0x0d04 (set page). After LED setting, switch back to the PHY’s IEEE Standard Registers, i.e. Page 0 or Page 0xa42 (Register 31 Data = 0 or 0xa42).

Note: To switch to Page 0xd04, set Register 31 Data=0x0d04 (set page). After LED setting, switch back to the PHY’s IEEE Standard Registers, i.e. Page 0 or Page 0xa42 (Register 31 Data = 0 or 0xa42).

PinLink Speed--Active (Tx/Rx)Common ModeMedia Select
-10Mbps100Mbps1000Mbps---
LED0Reg16 0BitReg16 1BitReg16 3BitReg16 4BitReg16 11BitReg16 10Bit
LED1Reg16 5BitReg16 6BitReg16 8BitReg16 9BitReg16 13BitReg16 12Bit
LED2Reg16 10BitReg16 11BitReg16 13BitReg16 4BitReg16 15BitReg16 14Bit

LED Configuration Table 1

PinLINK Bit--Active (TX/RX) BitDescription
LED0/LED1/LED210Mbps100Mbps1000Mbps--
-0000N/A
-0001N/A
-0010Link 1000
-0011Link 1000+Active
-0100Link 100
-0101Link 100+Active
-0110Link 100/1000
-0111Link 100/1000+Active
-1000Link 10
-1001Link 10+Active
-1010Link 10/1000
-1011Link 10/1000+Active
-1100Link 10/100
-1101Link 10/100+Active
-1110Link 10/100/1000
-1111Link 10/100/1000+Active

LED Configuration Table 2

PinCommon ModeMedia SelectDescription
LED0/LED1/LED200Media Select bit is valid when Common Mode = 1’b0. The corresponding LED indicates the UTP link status according to LED Configuration Table 1.
-01Media Select bit is valid when Common Mode = 1’b0. The corresponding LED indicates the SERDES link status according to LED Configuration Table 1.
-1X (Don’t Care)Media Select bit is not valid when Common Mode = 1’b1. The corresponding LED indicates the UTP and SERDES link status according to LED Configuration Table 1. The behavior must be the same on both sides and then the LED would be active. For example, the LED2 turns on only if the UTP and Fiber are both link up at 1000M in the Media Conversion mode.

LCR (LED Control Register, Page 0xd04, Address 0x10)

BitNameTypeDefaultDescription
16.15RSVDRO0Reserved.
16.14LED2_ACTRW1LED2 Active (Transmitting or Receiving) Indication
16.13LED2_LINK_1000RW1LED2 Link Indication: 1000Mbps
16.12RSVDRO0Reserved.
16.11LED2_LINK_100RW0LED2 Link Indication: 100Mbps
16.10LED2_LINK_10RW0LED2 Link Indication: 10Mbps
16.9LED1_ACTRW1LED1 Active (Transmitting or Receiving) Indication
16.8LED1_LINK_1000RW0LED1 Link Indication: 1000Mbps
16.7RSVDRO0Reserved.
16.6LED1_LINK_1000RW1LED1 Link Indication: 100Mbps
16.5LED1_LINK_10RW0LED1 Link Indication: 10Mbps
16.4LED0_ACTRW1LED0 Active (Transmitting or Receiving) Indication
16.3LED0_LINK_1000RW0LED0 Link Indication: 1000Mbps
16.2RSVDRO0Reserved.
16.1LED0_LINK_100RW0LED0 Link Indication: 100Mbps
16.0LED0_LINK_10RW1LED0 Link Indication: 10Mbps

EEELCR (EEE LED Control Register, Page 0xd04, Address 0x11)

BitNameTypeDefaultDescription
17.15:4RSVDRO0Reserved.
17.3LED2 EEE EnableRW11: Enable EEE LED indication of LED2.
17.2LED1 EEE EnableRW11: Enable EEE LED indication of LED1.
17.1LED0 EEE EnableRW11: Enable EEE LED indication of LED0.
17.0RSVDRO0Reserved.

FLCR (Fiber LED Control Register, Page 0xd04, Address 0x12)

BitNameTypeDefaultDescription
18.15LED2 Common ModeRO01: Enable LED2 common mode.
18.14LED2 Media SelectRW0Media selection of LED2.
---0: UTP
---1: SERDES
---Valid if LED2 Common Mode = 0
18.13LED1 Common ModeRW01: Enable LED1 common mode.
18.12LED1 Media SelectRW0Media selection of LED1.
---0: UTP
---1: SERDES
---Valid if LED1 Common Mode = 0
18.11LED0 Common ModeRW01: Enable LED0 common mode.
18.10LED0 Media SelectRW0Media selection of LED0.
---0: UTP
---1: SERDES
---Valid if LED0 Common Mode = 0
18.9:0RSVDRO0Reserved.