realtek: ZyXEL GS1900-48: fix system LED polarity
authorSander Vanheule <sander@svanheule.net>
Sun, 20 Feb 2022 15:25:45 +0000 (16:25 +0100)
committerDaniel Golle <daniel@makrotopia.org>
Sun, 20 Feb 2022 16:23:55 +0000 (16:23 +0000)
When driven by a GPIO pin, the system LED needs to be configured as
active high. Otherwise the LED switches off after booting and
initialisation.

Fixes: 47f5a0a3eed5 ("realtek: Add support for ZyXEL GS1900-48 Switch")
Signed-off-by: Sander Vanheule <sander@svanheule.net>
target/linux/realtek/dts-5.10/rtl8393_zyxel_gs1900-48.dts

index 88b3160f767bf36baaa8806a9b8feb93c7c1846e..dd392c5a9beb13f11f9492288ec0d1e47d53bf17 100644 (file)
@@ -28,7 +28,7 @@
 
                led_sys: sys {
                        label = "green:sys";
-                       gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
+                       gpios = <&gpio0 0 GPIO_ACTIVE_HIGH>;
                };
        };