[source] brcm63xx: Livebox 1: use button 1 as failsafe button

LEDE Commits lede-commits at lists.infradead.org
Mon Nov 21 09:41:58 PST 2016


jogo pushed a commit to source.git, branch master:
https://git.lede-project.org/727ebf3a7088eff455f33074ab34fe2da9085139

commit 727ebf3a7088eff455f33074ab34fe2da9085139
Author: Daniel Gonzalez Cabanelas <dgcbueu at gmail.com>
AuthorDate: Mon Aug 29 16:02:38 2016 +0200

    brcm63xx: Livebox 1: use button 1 as failsafe button
    
    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>
    Signed-off-by: Jonas Gorski <jonas.gorski at gmail.com>
---
 target/linux/brcm63xx/dts/livebox-blue-5g.dts | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

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-commits mailing list