Add led colors and remove an unnecessary photo

This commit is contained in:
ZYT
2026-08-05 11:07:51 +08:00
parent 46037cd54d
commit a753f6f02e
3 changed files with 4 additions and 5 deletions
+4 -1
View File
@@ -1089,6 +1089,10 @@ __code const struct machine machine = {
.reset_pin = GPIO_NA,
.high_leds = { .mux = LED_27 | LED_28_SYS | LED_29, .enable = LED_28_SYS | LED_29 },
.port_led_set = { 0, 0, 0, 1, 0, 0, 0, 0, 1},
/* Ports 1-5 RJ45 use set 0, port 9 SFP uses set 1
* Ports 1-5: Green: 2.5GBit, Amber: 10/100/1000MBit
* SFP-port: Green: 100MBit-10GBit
*/
.led_sets = {
{
LEDS_2G5 | LEDS_LINK | LEDS_ACT,
@@ -1126,7 +1130,6 @@ __code const struct machine machine = {
};
void machine_custom_init(void) {
// Match the OEM LED pad enable mask, including port 4 and SDS0 LEDs.
REG_SET(RTL837X_REG_LED_GLB_IO_EN, 0x7624155b);
}