From 98e3cde2f5d945948e85058337377b1a4c390697 Mon Sep 17 00:00:00 2001 From: th0m4sek <53303628+th0m4sek@users.noreply.github.com> Date: Thu, 25 Jun 2026 20:16:56 +0200 Subject: [PATCH 1/2] Update reset_pin on SWTG018AS-A V2.0 --- machine.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/machine.c b/machine.c index d3b2308..cfb1c4c 100644 --- a/machine.c +++ b/machine.c @@ -344,7 +344,7 @@ __code const struct machine machine = { .sfp_port[0].pin_tx_disable = GPIO_NA, .sfp_port[0].sds = 1, .sfp_port[0].i2c = { .sda = GPIO39_I2C_SDA4, .scl = GPIO40_I2C_SCL3_MDC1 }, - .reset_pin = GPIO_NA, + .reset_pin = GPIO48_I2C_SCL1, .high_leds = { .mux = LED_27 | LED_29, .enable = LED_28_SYS | LED_29 }, .port_led_set = { 0, 0, 0, 0, 0, 0, 0, 0, 1}, .led_sets = { From 7ec25a39a212b34bbd7d3c7846e201f14c4c5434 Mon Sep 17 00:00:00 2001 From: th0m4sek <53303628+th0m4sek@users.noreply.github.com> Date: Thu, 25 Jun 2026 20:23:54 +0200 Subject: [PATCH 2/2] Add brands information for SWTG018AS-A V2.0 Added brands section with details for Ampcom and Horaco. --- doc/devices/SWTG018AS_A_V2_0.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/doc/devices/SWTG018AS_A_V2_0.md b/doc/devices/SWTG018AS_A_V2_0.md index 0d12ecd..5165ebc 100644 --- a/doc/devices/SWTG018AS_A_V2_0.md +++ b/doc/devices/SWTG018AS_A_V2_0.md @@ -1,4 +1,10 @@ # SWTG018AS-A V2.0 +## Brands +| Brand | Type |Managed| PCB | Flash | Chip RTL | +|--------|------------------|-------|------------------|-----------------|---------------| +| Ampcom | SWTG018AS-A V2.0 | No | SWTG018AS-A V2.0 | 2MB | 8273N + 8224N | +| Horaco | HC-SWTGW218AS-A | Yes | SWTG018AS-A V2.0 | 2MB(25Q16JVSIQ) | 8273N + 8224N | + The following is a documentation for the unmanaged switch marked as `SWTG018AS-A V2.0`. It is e.g. sold under the Ampcom brand, but no branh-markings are found on the device.