]> www.infradead.org Git - users/hch/misc.git/commitdiff
arm64: dts: rockchip: set LAN LEDs to default-off on Radxa E52C
authorChukun Pan <amadeus@jmu.edu.cn>
Sun, 10 Aug 2025 10:00:20 +0000 (18:00 +0800)
committerHeiko Stuebner <heiko@sntech.de>
Mon, 11 Aug 2025 06:55:52 +0000 (08:55 +0200)
The NICs have default-trigger of "netdev" in order to show up as
LAN/WAN connected, so their default-state should be set to "off".

Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn>
Link: https://lore.kernel.org/r/20250810100020.445053-3-amadeus@jmu.edu.cn
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm64/boot/dts/rockchip/rk3582-radxa-e52c.dts

index e04f21d8c831ebe8386b6e952ec8320ab2bca918..63e5dfb77ab1b1dbe234f53700463acc3b59da4f 100644 (file)
@@ -71,7 +71,7 @@
 
                led-1 {
                        color = <LED_COLOR_ID_GREEN>;
-                       default-state = "on";
+                       default-state = "off";
                        function = LED_FUNCTION_LAN;
                        linux,default-trigger = "netdev";
                        pwms = <&pwm14 0 1000000 PWM_POLARITY_INVERTED>;
@@ -80,7 +80,7 @@
 
                led-2 {
                        color = <LED_COLOR_ID_GREEN>;
-                       default-state = "on";
+                       default-state = "off";
                        function = LED_FUNCTION_WAN;
                        linux,default-trigger = "netdev";
                        pwms = <&pwm11 0 1000000 PWM_POLARITY_INVERTED>;