[LEDE-DEV] [PATCH 2/3] ramips: keep Archer C20 Power LED On during boot

Sergey Ryazanov ryazanov.s.a at gmail.com
Sun Oct 1 16:33:17 PDT 2017


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 at gmail.com>
---
 target/linux/ramips/dts/ArcherC20.dts | 1 +
 1 file changed, 1 insertion(+)

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




More information about the Lede-dev mailing list