[openwrt/openwrt] realtek: rtl930x: rename XGS1250-12 to A1
LEDE Commits
lede-commits at lists.infradead.org
Wed Sep 24 04:41:10 PDT 2025
robimarko pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/24b68023c0e4e458f529dd137bdfbc410c0bd688
commit 24b68023c0e4e458f529dd137bdfbc410c0bd688
Author: Stijn Segers <foss at volatilesystems.org>
AuthorDate: Sun Sep 7 11:03:47 2025 +0200
realtek: rtl930x: rename XGS1250-12 to A1
Zyxel labels their switch revisions A1, B1, ... and not v1, v2, ...
Rename the supported device to A1 to make it clear this is the only
known compatible hardware revision.
Also add a compatible for seamless upgrade.
Signed-off-by: Stijn Segers <foss at volatilesystems.org>
Link: https://github.com/openwrt/openwrt/pull/20118
Signed-off-by: Robert Marko <robimarko at gmail.com>
---
...rtl9302_zyxel_xgs1250-12.dts => rtl9302_zyxel_xgs1250-12-a1.dts} | 4 ++--
target/linux/realtek/image/rtl930x.mk | 6 ++++--
2 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/target/linux/realtek/dts/rtl9302_zyxel_xgs1250-12.dts b/target/linux/realtek/dts/rtl9302_zyxel_xgs1250-12-a1.dts
similarity index 98%
rename from target/linux/realtek/dts/rtl9302_zyxel_xgs1250-12.dts
rename to target/linux/realtek/dts/rtl9302_zyxel_xgs1250-12-a1.dts
index 83ec485ce9..efc3670e64 100644
--- a/target/linux/realtek/dts/rtl9302_zyxel_xgs1250-12.dts
+++ b/target/linux/realtek/dts/rtl9302_zyxel_xgs1250-12-a1.dts
@@ -9,8 +9,8 @@
#include <dt-bindings/thermal/thermal.h>
/ {
- compatible = "zyxel,xgs1250-12", "realtek,rtl838x-soc";
- model = "Zyxel XGS1250-12 Switch";
+ compatible = "zyxel,xgs1250-12-a1", "realtek,rtl838x-soc";
+ model = "Zyxel XGS1250-12 A1 Switch";
aliases {
led-boot = &led_pwr_sys;
diff --git a/target/linux/realtek/image/rtl930x.mk b/target/linux/realtek/image/rtl930x.mk
index e8248db842..e20c863a16 100644
--- a/target/linux/realtek/image/rtl930x.mk
+++ b/target/linux/realtek/image/rtl930x.mk
@@ -114,13 +114,15 @@ define Device/zyxel_xgs1210-12-a1
endef
TARGET_DEVICES += zyxel_xgs1210-12-a1
-define Device/zyxel_xgs1250-12
+define Device/zyxel_xgs1250-12-a1
SOC := rtl9302
UIMAGE_MAGIC := 0x93001250
ZYXEL_VERS := ABWE
DEVICE_VENDOR := Zyxel
DEVICE_MODEL := XGS1250-12
+ DEVICE_VARIANT := A1
DEVICE_PACKAGES := kmod-hwmon-gpiofan kmod-thermal
+ SUPPORTED_DEVICES += zyxel,xgs1250-12
IMAGE_SIZE := 13312k
KERNEL_INITRAMFS := \
kernel-bin | \
@@ -129,4 +131,4 @@ define Device/zyxel_xgs1250-12
zyxel-vers | \
uImage gzip
endef
-TARGET_DEVICES += zyxel_xgs1250-12
+TARGET_DEVICES += zyxel_xgs1250-12-a1
More information about the lede-commits
mailing list