mirror of
https://github.com/openwrt/openwrt.git
synced 2026-06-17 14:50:15 +04:00
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 <jelonek.jonas@gmail.com> Link: https://github.com/openwrt/openwrt/pull/23428 Signed-off-by: Robert Marko <robimarko@gmail.com>
This commit is contained in:
committed by
Robert Marko
parent
d750f5f454
commit
15ff65e522
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user