[LEDE-DEV] [PATCH v2 1/5] brcm63xx: fix Livebox 1 support: DTS

Daniel Gonzalez Cabanelas dgcbueu at gmail.com
Mon Aug 29 07:02:38 PDT 2016


Fix the DTS file for the Livebox 1 routers:
- no failsafe button, use button 1 for this purpose

Signed-off-by: Daniel Gonzalez Cabanelas <dgcbueu at gmail.com>
---
change in v2:
Split changes in DTS file
Tune button labels
---
diff --git a/target/linux/brcm63xx/dts/livebox-blue-5g.dts b/target/linux/brcm63xx/dts/livebox-blue-5g.dts
index 0df5fa8..cb3b019 100644
--- a/target/linux/brcm63xx/dts/livebox-blue-5g.dts
+++ b/target/linux/brcm63xx/dts/livebox-blue-5g.dts
@@ -21,13 +21,13 @@
 		debounce-interval = <60>;
 
 		button1 {
-			label = "BTN_1";
+			label = "1";
 			gpios = <&gpio1 4 1>;
-			linux,code = <BTN_1>;
+			linux,code = <KEY_RESTART>;
 		};
 
 		button2 {
-			label = "BTN_2";
+			label = "2";
 			gpios = <&gpio0 7 1>;
 			linux,code = <BTN_2>;
 		};




More information about the Lede-dev mailing list