[openwrt/openwrt] realtek: ZyXEL GS1900-48: fix system LED polarity
LEDE Commits
lede-commits at lists.infradead.org
Sun Feb 20 09:00:21 PST 2022
dangole pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/fa20f2bfc76fe18d110c97da27d38d35c2b93847
commit fa20f2bfc76fe18d110c97da27d38d35c2b93847
Author: Sander Vanheule <sander at svanheule.net>
AuthorDate: Sun Feb 20 16:25:45 2022 +0100
realtek: ZyXEL GS1900-48: fix system LED polarity
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 at svanheule.net>
---
target/linux/realtek/dts-5.10/rtl8393_zyxel_gs1900-48.dts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/target/linux/realtek/dts-5.10/rtl8393_zyxel_gs1900-48.dts b/target/linux/realtek/dts-5.10/rtl8393_zyxel_gs1900-48.dts
index 88b3160f76..dd392c5a9b 100644
--- a/target/linux/realtek/dts-5.10/rtl8393_zyxel_gs1900-48.dts
+++ b/target/linux/realtek/dts-5.10/rtl8393_zyxel_gs1900-48.dts
@@ -28,7 +28,7 @@
led_sys: sys {
label = "green:sys";
- gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
+ gpios = <&gpio0 0 GPIO_ACTIVE_HIGH>;
};
};
More information about the lede-commits
mailing list