Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
led_control [2021/03/12 18:31] – [LEDs on the RTL839x] Correct SDK names for port LEDs svanheule | led_control [2025/01/06 19:30] (current) – Add LED modes from Realtek docs svanheule | ||
---|---|---|---|
Line 54: | Line 54: | ||
=== Global LED control === | === Global LED control === | ||
+ | The SoCs have been designed with the RTL8231 LED expanders in mind as a first-class citizen. A hardware peripheral is present that can keep track of the state of one (or two on RTL93xx) RTL8231 chip(s). The SoC's have dedicated pins and controllers for this task. For rtl930x C1 `LED_MDC` and C2 `LED_MDIO` For rtl931x, AL18 `LED_MDC` and AK18 `LED_MDIO`. This does require the RTL8231 connected to only function as a LED expander. This should not be confused with the dedicated `EXT_GPIO_MDxx` pins! | ||
+ | |||
Main control register for hardware accelerated LEDs and [[RTL8231]] access. | Main control register for hardware accelerated LEDs and [[RTL8231]] access. | ||
Line 82: | Line 84: | ||
* 3: Act Rx | * 3: Act Rx | ||
* 4: Act Tx | * 4: Act Tx | ||
+ | * 5: Col/Full duplex | ||
+ | * 6: Full duplex | ||
* 7: Link 1G | * 7: Link 1G | ||
* 8: Link 100M | * 8: Link 100M | ||
Line 91: | Line 95: | ||
* 14: Link/Act 1G/10M | * 14: Link/Act 1G/10M | ||
* 15: Link/Act 100M/10M | * 15: Link/Act 100M/10M | ||
+ | * 16: Link 10M flashing | ||
+ | * 17: Link 100M flashing | ||
+ | * 18: Link 1G flashing | ||
+ | * 19: Link 10G flashing (RTL839x) | ||
+ | * 20: Link 10G (RTL839x) | ||
+ | * 21: Link/Act 10G (RTL839x) | ||
* 31: Off | * 31: Off | ||