added support for ONT-S207CW-62TS-SE and identical Binardat-2G06-04210GSM

This commit is contained in:
Andreas Erhard committed 2026-09-17 00:18:46 +02:00
1 parent 9bae4052a3
commit eb83b8be09
7 files changed
+222 -7

No files matched your search

+10 -7
View File
@@ -864,6 +864,8 @@ __code const struct machine machine = {
#elif defined MACHINE_PCB_SWTG024AS_A_2_0_1
// NOTE: ONT-S207CW-62TS-SE uses this same configuration
// See doc/devices/ONT-S207CW-62TS-SE.md for details
__code const struct machine machine = {
.machine_name = "PCB-SWTG024AS-A-2.0.1",
.isRTL8373 = 0,
@@ -891,18 +893,19 @@ __code const struct machine machine = {
.reset_pin = GPIO_NA,
.high_leds = { .mux = LED_28_SYS | LED_29, .enable = LED_27 | LED_28_SYS | LED_29 },
.port_led_set = { 0, 0, 0, 1, 0, 0, 0, 0, 1},
// ONT-S207CW LED fix: RJ45=green@2.5G/orange@1G, SFP=green@10G/orange@1G/2.5G
.led_sets = {
{
{ // SET0: RJ45 - Green for 2.5G, Orange for 1G/100M/10M
LEDS_2G5 | LEDS_LINK | LEDS_ACT,
LEDS_1G | LEDS_100M | LEDS_10M | LEDS_LINK | LEDS_ACT,
LEDS_DUPLEX,
LEDS_2G5 | LEDS_LINK | LEDS_ACT
0,
0
},
{
LEDS_2G5 | LEDS_1G | LEDS_100M | LEDS_LINK | LEDS_ACT,
{ // SET1: SFP+ - Green for 10G, Orange for 1G/2.5G
LEDS_10G | LEDS_LINK | LEDS_ACT,
LEDS_2G5 | LEDS_LINK,
LEDS_COL | LEDS_DUPLEX
LEDS_2G5 | LEDS_1G | LEDS_LINK | LEDS_ACT,
0,
0
},
},
.led_mux_custom = 1,