[OpenWrt-Devel] [PATCH 1/4] ramips: HLK-RM04 - Remove power LED config

John Clark inindev at gmail.com
Fri Jan 22 15:40:44 EST 2016


The power LED on the HLK-RM04 is hard wired to the power bus and is not under GPIO control, remove the bogus config for it.
(Note that GPIO0 is actually connected to the RESET button.)

Signed-off-by: John Clark <inindev at gmail.com>
---
 target/linux/ramips/dts/HLKRM04.dts | 9 ---------
 1 file changed, 9 deletions(-)

diff --git a/target/linux/ramips/dts/HLKRM04.dts b/target/linux/ramips/dts/HLKRM04.dts
index f90a9ac..7996f99 100644
--- a/target/linux/ramips/dts/HLKRM04.dts
+++ b/target/linux/ramips/dts/HLKRM04.dts
@@ -94,13 +94,4 @@
 			linux,code = <0x198>;
 		};
 	};
-
-	gpio-leds {
-		compatible = "gpio-leds";
-
-		power {
-			label = "hlk-rm04:red:power";
-			gpios = <&gpio0 0 1>;
-		};
-	};
 };
-- 
2.4.3
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list