realtek: rtl839x: rename GS1900 series v1/v2 to A1/B1

Zyxel labels their switch revisions A1, B1, ... and not v1, v2, ...
Rename the devices as such in OpenWrt to match the labels. Of note:
the first (A1) revision is never labeled as such on the label, just
in the web UI. Provide compatibles for seamless sysupgrade.

For a recent overview of Zyxel GS1900 series revisions, see the
table linked in https://forum.openwrt.org/t//57875/3874.

Signed-off-by: Stijn Segers <foss@volatilesystems.org>
Link: https://github.com/openwrt/openwrt/pull/20118
Signed-off-by: Robert Marko <robimarko@gmail.com>
This commit is contained in:
Stijn Segers 2025-09-21 12:00:28 +02:00 committed by Robert Marko
parent d205878ede
commit 46cf10771a
2 changed files with 6 additions and 4 deletions

View File

@ -6,8 +6,8 @@
#include <dt-bindings/gpio/gpio.h>
/ {
compatible = "zyxel,gs1900-48", "realtek,rtl8393-soc";
model = "Zyxel GS1900-48";
compatible = "zyxel,gs1900-48-a1", "realtek,rtl8393-soc";
model = "Zyxel GS1900-48 A1";
aliases {
led-boot = &led_sys;

View File

@ -73,10 +73,12 @@ define Device/tplink_sg2452p-v4
endef
TARGET_DEVICES += tplink_sg2452p-v4
define Device/zyxel_gs1900-48
define Device/zyxel_gs1900-48-a1
$(Device/zyxel_gs1900)
SOC := rtl8393
DEVICE_MODEL := GS1900-48
DEVICE_VARIANT := A1
ZYXEL_VERS := AAHN
SUPPORTED_DEVICES += zyxel,gs1900-48
endef
TARGET_DEVICES += zyxel_gs1900-48
TARGET_DEVICES += zyxel_gs1900-48-a1