From: Stijn Segers Date: Sun, 21 Sep 2025 10:00:28 +0000 (+0200) Subject: realtek: rtl839x: rename GS1900 series v1/v2 to A1/B1 X-Git-Tag: v25.12.0-rc1~1204 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=46cf10771a;p=thirdparty%2Fopenwrt.git 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 Link: https://github.com/openwrt/openwrt/pull/20118 Signed-off-by: Robert Marko --- diff --git a/target/linux/realtek/dts/rtl8393_zyxel_gs1900-48.dts b/target/linux/realtek/dts/rtl8393_zyxel_gs1900-48-a1.dts similarity index 98% rename from target/linux/realtek/dts/rtl8393_zyxel_gs1900-48.dts rename to target/linux/realtek/dts/rtl8393_zyxel_gs1900-48-a1.dts index de53263fa4d..c2369578096 100644 --- a/target/linux/realtek/dts/rtl8393_zyxel_gs1900-48.dts +++ b/target/linux/realtek/dts/rtl8393_zyxel_gs1900-48-a1.dts @@ -6,8 +6,8 @@ #include / { - 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; diff --git a/target/linux/realtek/image/rtl839x.mk b/target/linux/realtek/image/rtl839x.mk index 5f9b6d56c65..2412e5764e6 100644 --- a/target/linux/realtek/image/rtl839x.mk +++ b/target/linux/realtek/image/rtl839x.mk @@ -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