From: Stijn Segers Date: Sat, 18 Jul 2026 11:49:23 +0000 (+0200) Subject: realtek: use Realtek PSE MCU driver for GS1900-8HP B1 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ab649f19ab7fee9fb9895948e7ffb67c84427fb6;p=thirdparty%2Fopenwrt.git realtek: use Realtek PSE MCU driver for GS1900-8HP B1 Switch the GS1900-8HP B1 (which turns out to come with a Broadcom PSE, still) to the PSU driver that is being upstreamed. Signed-off-by: Stijn Segers Link: https://github.com/openwrt/openwrt/pull/24306 Signed-off-by: Jonas Jelonek --- diff --git a/target/linux/realtek/dts/rtl8380_zyxel_gs1900-8hp-b1.dts b/target/linux/realtek/dts/rtl8380_zyxel_gs1900-8hp-b1.dts index 8ef021bbdf5..8987fd1d736 100644 --- a/target/linux/realtek/dts/rtl8380_zyxel_gs1900-8hp-b1.dts +++ b/target/linux/realtek/dts/rtl8380_zyxel_gs1900-8hp-b1.dts @@ -10,4 +10,32 @@ &uart1 { status = "okay"; + + pse: ethernet-pse { + compatible = "zyxel,gs1900-8hp-b1-pse", "realtek,pse-mcu-gen1"; + current-speed = <19200>; + + pse-pis { + #address-cells = <1>; + #size-cells = <0>; + + PSE_PI(0) + PSE_PI(1) + PSE_PI(2) + PSE_PI(3) + PSE_PI(4) + PSE_PI(5) + PSE_PI(6) + PSE_PI(7) + }; + }; }; + +&phy8 { pses = <&pse_pi0>; }; +&phy9 { pses = <&pse_pi1>; }; +&phy10 { pses = <&pse_pi2>; }; +&phy11 { pses = <&pse_pi3>; }; +&phy12 { pses = <&pse_pi4>; }; +&phy13 { pses = <&pse_pi5>; }; +&phy14 { pses = <&pse_pi6>; }; +&phy15 { pses = <&pse_pi7>; }; diff --git a/target/linux/realtek/image/rtl838x.mk b/target/linux/realtek/image/rtl838x.mk index 369db851d68..1b4610c291b 100644 --- a/target/linux/realtek/image/rtl838x.mk +++ b/target/linux/realtek/image/rtl838x.mk @@ -454,7 +454,7 @@ define Device/zyxel_gs1900-8hp-b1 DEVICE_VARIANT := B1 ZYXEL_VERS := AAHI SUPPORTED_DEVICES += zyxel,gs1900-8hp-v2 - DEVICE_PACKAGES += realtek-poe + DEVICE_PACKAGES += kmod-pse-realtek-mcu-uart endef TARGET_DEVICES += zyxel_gs1900-8hp-b1