From: Sergey Ryazanov <ryazanov.s.a@gmail.com>
Date: Sun, 1 Oct 2017 23:33:17 +0000 (+0300)
Subject: ramips: keep Archer C20 Power LED On during boot
X-Git-Tag: v18.06.0-rc1~2110
X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=c9f66b1eb92a3e93bf1564e1923b866cd7d80d7f;p=openwrt%2Fstaging%2Fchunkeey.git

ramips: keep Archer C20 Power LED On during boot

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>
---

diff --git a/target/linux/ramips/dts/ArcherC20.dts b/target/linux/ramips/dts/ArcherC20.dts
index a0e7c61b5b..ba842d9ba7 100644
--- a/target/linux/ramips/dts/ArcherC20.dts
+++ b/target/linux/ramips/dts/ArcherC20.dts
@@ -24,6 +24,7 @@
 		power {
 			label = "c20:blue:power";
 			gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
+			default-state = "keep";
 		};
 
 		usb {