aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSander Vanheule <sander@svanheule.net>2022-02-20 16:25:45 +0100
committerDaniel Golle <daniel@makrotopia.org>2022-02-20 16:23:55 +0000
commitfa20f2bfc76fe18d110c97da27d38d35c2b93847 (patch)
tree3006e7b5f474e06d4033553e672f8946be646f82
parent66140820e14fb76ef0c56188de657d105f1edb64 (diff)
downloadupstream-fa20f2bfc76fe18d110c97da27d38d35c2b93847.tar.gz
upstream-fa20f2bfc76fe18d110c97da27d38d35c2b93847.tar.bz2
upstream-fa20f2bfc76fe18d110c97da27d38d35c2b93847.zip
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@svanheule.net>
-rw-r--r--target/linux/realtek/dts-5.10/rtl8393_zyxel_gs1900-48.dts2
1 files changed, 1 insertions, 1 deletions
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>;
};
};