From 71ccb35017ada8211c62b1d02819ad9a7a0fa14a Mon Sep 17 00:00:00 2001 From: Goetz Goerisch Date: Sun, 24 Mar 2024 18:31:06 +0100 Subject: [PATCH] realtek: add Zyxel GS1900-8 v2 The Zyxel GS1900-8 v2 or Rev.B1 is a newer variant of the GS1900-8, but otherwise similar to the other GS1900 switches. Differences ------------ * Front Button labeled RESTORE * NO Power Switch on rear * Serial Header next to the barrel power connector * Part Number ends 0102F Signed-off-by: Goetz Goerisch --- target/linux/realtek/dts-5.15/rtl8380_zyxel_gs1900-8.dts | 2 +- target/linux/realtek/image/rtl838x.mk | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/target/linux/realtek/dts-5.15/rtl8380_zyxel_gs1900-8.dts b/target/linux/realtek/dts-5.15/rtl8380_zyxel_gs1900-8.dts index e9c5efe603..7aa1cc274c 100644 --- a/target/linux/realtek/dts-5.15/rtl8380_zyxel_gs1900-8.dts +++ b/target/linux/realtek/dts-5.15/rtl8380_zyxel_gs1900-8.dts @@ -4,7 +4,7 @@ / { compatible = "zyxel,gs1900-8", "realtek,rtl838x-soc"; - model = "ZyXEL GS1900-8 Switch"; + model = "ZyXEL GS1900-8v1/v2 Switch"; }; &gpio1 { diff --git a/target/linux/realtek/image/rtl838x.mk b/target/linux/realtek/image/rtl838x.mk index 19a40f1f61..dc4ddc6d1d 100644 --- a/target/linux/realtek/image/rtl838x.mk +++ b/target/linux/realtek/image/rtl838x.mk @@ -313,6 +313,10 @@ define Device/zyxel_gs1900-8 $(Device/zyxel_gs1900) SOC := rtl8380 DEVICE_MODEL := GS1900-8 + DEVICE_VARIANT := v1 + DEVICE_ALT0_VENDOR := ZyXEL + DEVICE_ALT0_MODEL := GS1900-8 + DEVICE_ALT0_VARIANT := v2 ZYXEL_VERS := AAHH endef TARGET_DEVICES += zyxel_gs1900-8 -- 2.30.2