diff mbox series

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

Message ID 20171001233318.7084-3-ryazanov.s.a@gmail.com
State Accepted
Delegated to: Mathias Kresin
Headers show
Series None | expand

Commit Message

Sergey Ryazanov Oct. 1, 2017, 11:33 p.m. UTC
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 | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

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 {