From 08f8498b397359c59afeb6244962a337ebc650ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Silva?= Date: Mon, 19 Oct 2026 12:16:55 +0100 Subject: [PATCH] Add reset button GPIO for YS25-0402M Add chip name for YS25-0402M MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: João Silva --- doc/devices/SIRIVISION_S25G2206FP_V1_1.md | 2 +- machine/SIRIVISION_S25G2206FP_V1_1.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/devices/SIRIVISION_S25G2206FP_V1_1.md b/doc/devices/SIRIVISION_S25G2206FP_V1_1.md index fb97fb87..529ac1fc 100644 --- a/doc/devices/SIRIVISION_S25G2206FP_V1_1.md +++ b/doc/devices/SIRIVISION_S25G2206FP_V1_1.md @@ -3,7 +3,7 @@ ## Brands |Brand|Type|Managed|PCB|Flash|Chip RTL| |---|---|---|---|---|---| -| YuanLey | YS25-0402M | Yes | SIRIVISION_S25G2206FP_V1_1 | 2M | ??? | +| YuanLey | YS25-0402M | Yes | SIRIVISION_S25G2206FP_V1_1 | 2M | 8372 | ### Label specifications diff --git a/machine/SIRIVISION_S25G2206FP_V1_1.c b/machine/SIRIVISION_S25G2206FP_V1_1.c index 874837ad..fde745b5 100644 --- a/machine/SIRIVISION_S25G2206FP_V1_1.c +++ b/machine/SIRIVISION_S25G2206FP_V1_1.c @@ -21,7 +21,7 @@ __code const struct machine machine = { .sfp_port[1].pin_tx_disable = GPIO_NA, .sfp_port[1].sds = 0, .sfp_port[1].i2c = I2CBUS( GPIO41_I2C_SDA3_MDIO1, GPIO40_I2C_SCL3_MDC1 ), /* GPIO 40 */ - .reset_pin = GPIO_NA, // TODO: Figure out which GPIO is reset + .reset_pin = GPIO36_PWM_OUT, .high_leds = { .mux = LED_27 | LED_29, .enable = LED_28_SYS | LED_29 }, .port_led_set = { 0, 0, 0, 1, 0, 0, 0, 0, 1}, .led_sets = {