]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
realtek: use Realtek PSE MCU driver for GS1900-8HP B1 24306/head
authorStijn Segers <foss@volatilesystems.org>
Sat, 18 Jul 2026 11:49:23 +0000 (13:49 +0200)
committerJonas Jelonek <jelonek.jonas@gmail.com>
Mon, 20 Jul 2026 21:29:21 +0000 (23:29 +0200)
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 <foss@volatilesystems.org>
Link: https://github.com/openwrt/openwrt/pull/24306
Signed-off-by: Jonas Jelonek <jelonek.jonas@gmail.com>
target/linux/realtek/dts/rtl8380_zyxel_gs1900-8hp-b1.dts
target/linux/realtek/image/rtl838x.mk

index 8ef021bbdf519665ec5d6fbf63ad5faa01008e73..8987fd1d736823c17bafd43f026b6bf58237dbf9 100644 (file)
 
 &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>; };
index 369db851d68afc094cc53f21b870299f0b7d3cb5..1b4610c291b735bc7f2507b277718f27119c25e0 100644 (file)
@@ -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