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>
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;