]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
realtek: fix SYS LED for XS1930-12HP
authorJonas Jelonek <jelonek.jonas@gmail.com>
Sun, 17 May 2026 22:12:51 +0000 (22:12 +0000)
committerRobert Marko <robimarko@gmail.com>
Thu, 21 May 2026 10:08:41 +0000 (12:08 +0200)
The XS1930-12HP model from Zyxel doesn't actually use the same GPIOs for
the SYS LED. This was assumed first but proved wrong now. Instead, the
green part of the SYS LED is on another GPIO and the red part of the SYS
LED is on GPIO 0 instead of the green part. Adjust that accordingly in
the device tree.

Signed-off-by: Jonas Jelonek <jelonek.jonas@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/23428
Signed-off-by: Robert Marko <robimarko@gmail.com>
target/linux/realtek/dts/rtl9313_zyxel_xs1930-12hp.dts

index bd203b81376745ad4588bd6de1af804eb515f8f0..86faa74d4c98c3a224830b6d57d21b19dd31557a 100644 (file)
@@ -31,6 +31,9 @@
        realtek,led-set1-force-port-mask = <0x00000000 0x00000800>;
 };
 
+&led_sys_green { gpios = <&gpio0 23 GPIO_ACTIVE_LOW>; };
+&led_sys_red { gpios = <&gpio0 0 GPIO_ACTIVE_LOW>; };
+
 &gpio0 {
        poe_enable_hog {
                gpio-hog;