The GS1900-10HP B1 keeps the RTL8380M SoC and port layout but replaces the
A1's Broadcom PoE (Gen1) with a Realtek RTL8238 PSE fronted by a Nuvoton
MCU speaking the Gen2 protocol at 115200 baud. It reuses the shared
rtl8380_zyxel_gs1900-10hp.dtsi and only overrides the PSE compatible and
UART speed.
Specifications:
- SoC: Realtek RTL8380M
- Ports: 8x 10/100/1000 (PoE+), 2x SFP
- PoE: Realtek RTL8238 via Nuvoton MCU (Gen2, UART 115200)
Tested on hardware: driver probes RTL8238B (8 ports), per-port control via
ethtool, verified across a cold power-cycle.
Signed-off-by: Carlo Szelinsky <github@szelinsky.de>
Link: https://github.com/openwrt/openwrt/pull/24283
Signed-off-by: Jonas Jelonek <jelonek.jonas@gmail.com>
zyxel,gs1900-8hp-a1|\
zyxel,gs1900-8hp-b1|\
zyxel,gs1900-10hp-a1|\
+zyxel,gs1900-10hp-b1|\
zyxel,gs1900-16-a1|\
zyxel,gs1900-24-a1|\
zyxel,gs1900-24e-a1|\
panasonic,m8eg-pn28080k|\
vimin,vm-s100-0800ms|\
zyxel,gs1900-10hp-a1|\
+ zyxel,gs1900-10hp-b1|\
zyxel,gs1900-16-a1|\
zyxel,gs1900-24-a1|\
zyxel,gs1900-24-b1|\
zyxel,gs1900-8hp-a1 | \
zyxel,gs1900-8hp-b1 | \
zyxel,gs1900-10hp-a1 | \
+ zyxel,gs1900-10hp-b1 | \
zyxel,gs1900-16-a1 | \
zyxel,gs1900-24e-a1 | \
zyxel,gs1900-24ep-a1 | \
--- /dev/null
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#include "rtl8380_zyxel_gs1900-10hp.dtsi"
+
+/ {
+ compatible = "zyxel,gs1900-10hp-b1", "realtek,rtl838x-soc";
+ model = "Zyxel GS1900-10HP B1 Switch";
+};
+
+&pse {
+ compatible = "zyxel,gs1900-10hp-b1-pse", "realtek,pse-mcu-gen2";
+ current-speed = <115200>;
+};
endef
TARGET_DEVICES += zyxel_gs1900-10hp-a1
+define Device/zyxel_gs1900-10hp-b1
+ $(Device/zyxel_gs1900)
+ SOC := rtl8380
+ DEVICE_MODEL := GS1900-10HP
+ DEVICE_VARIANT := B1
+ ZYXEL_VERS := AAZI
+ DEVICE_PACKAGES += kmod-pse-realtek-mcu-uart
+endef
+TARGET_DEVICES += zyxel_gs1900-10hp-b1
+
define Device/zyxel_gs1900-16-a1
$(Device/zyxel_gs1900)
SOC := rtl8382