From: Jonas Jelonek Date: Sun, 17 May 2026 22:12:51 +0000 (+0000) Subject: realtek: fix SYS LED for XS1930-12HP X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=15ff65e5229d336fcdfa2b151f111df0b548f815;p=thirdparty%2Fopenwrt.git realtek: fix SYS LED for XS1930-12HP 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 Link: https://github.com/openwrt/openwrt/pull/23428 Signed-off-by: Robert Marko --- diff --git a/target/linux/realtek/dts/rtl9313_zyxel_xs1930-12hp.dts b/target/linux/realtek/dts/rtl9313_zyxel_xs1930-12hp.dts index bd203b81376..86faa74d4c9 100644 --- a/target/linux/realtek/dts/rtl9313_zyxel_xs1930-12hp.dts +++ b/target/linux/realtek/dts/rtl9313_zyxel_xs1930-12hp.dts @@ -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;