]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
realtek: use Realtek PSE MCU driver for GS1900-8HP A1 24339/head
authorStijn Segers <foss@volatilesystems.org>
Mon, 20 Jul 2026 22:04:20 +0000 (00:04 +0200)
committerJonas Jelonek <jelonek.jonas@gmail.com>
Wed, 22 Jul 2026 08:20:20 +0000 (10:20 +0200)
Switch the GS1900-8HP A1 to the PSE driver that is being upstreamed.

Signed-off-by: Stijn Segers <foss@volatilesystems.org>
Link: https://github.com/openwrt/openwrt/pull/24339
Signed-off-by: Jonas Jelonek <jelonek.jonas@gmail.com>
target/linux/realtek/dts/rtl8380_zyxel_gs1900-8hp-a1.dts
target/linux/realtek/image/rtl838x.mk

index 172809e5ccf94cd1e36d4222aca2b200cdca3f75..88e76c9774a4195d50b64106fe52ce2d6d681710 100644 (file)
 
 &uart1 {
        status = "okay";
+
+       pse: ethernet-pse {
+               compatible = "zyxel,gs1900-8hp-a1-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 1b4610c291b735bc7f2507b277718f27119c25e0..0564a9fdda19d210d2c0ddbdeb28ed35501e33e2 100644 (file)
@@ -443,7 +443,7 @@ define Device/zyxel_gs1900-8hp-a1
   DEVICE_VARIANT := A1
   ZYXEL_VERS := AAHI
   SUPPORTED_DEVICES += zyxel,gs1900-8hp-v1
-  DEVICE_PACKAGES += realtek-poe
+  DEVICE_PACKAGES += kmod-pse-realtek-mcu-uart
 endef
 TARGET_DEVICES += zyxel_gs1900-8hp-a1