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

Signed-off-by: Daniel Gonzalez Cabanelas <[email protected]>
---
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>;
                };


_______________________________________________
Lede-dev mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/lede-dev

Reply via email to