[source] ramips: keep Archer C20 Power LED On during boot

LEDE Commits lede-commits at lists.infradead.org
Wed Oct 4 11:08:46 PDT 2017


mkresin pushed a commit to source.git, branch master:
https://git.lede-project.org/c9f66b1eb92a3e93bf1564e1923b866cd7d80d7f

commit c9f66b1eb92a3e93bf1564e1923b866cd7d80d7f
Author: Sergey Ryazanov <ryazanov.s.a at gmail.com>
AuthorDate: Mon Oct 2 02:33:17 2017 +0300

    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 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 a0e7c61..ba842d9 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 {



More information about the lede-commits mailing list