From 727ebf3a7088eff455f33074ab34fe2da9085139 Mon Sep 17 00:00:00 2001
From: Daniel Gonzalez Cabanelas <dgcbueu@gmail.com>
Date: Mon, 29 Aug 2016 16:02:38 +0200
Subject: [PATCH] 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@gmail.com>
Signed-off-by: Jonas Gorski <jonas.gorski@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 0df5fa8e33..cb3b019cb1 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>;
 		};
-- 
2.30.2