ramips: keep Archer C20 Power LED On during boot
authorSergey Ryazanov <ryazanov.s.a@gmail.com>
Sun, 1 Oct 2017 23:33:17 +0000 (02:33 +0300)
committerMathias Kresin <dev@kresin.me>
Wed, 4 Oct 2017 18:08:15 +0000 (20:08 +0200)
Keep Archer C20 Power LED in the same state as it was configured by
bootloader (keep it hightlighed) to avoid unexpectable LED turning off
during kernel boot.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
target/linux/ramips/dts/ArcherC20.dts

index a0e7c61b5b181579d08a2e35329c81510a9318b6..ba842d9ba764d6ab7318d64f3c48bfa990b76fe1 100644 (file)
@@ -24,6 +24,7 @@
                power {
                        label = "c20:blue:power";
                        gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
+                       default-state = "keep";
                };
 
                usb {