brcm63xx: Livebox 1: use button 1 as failsafe button
authorDaniel Gonzalez Cabanelas <dgcbueu@gmail.com>
Mon, 29 Aug 2016 14:02:38 +0000 (16:02 +0200)
committerJonas Gorski <jonas.gorski@gmail.com>
Mon, 21 Nov 2016 17:40:15 +0000 (18:40 +0100)
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

index 0df5fa8e3398bd0b8fa66a6a122b97d67f167b1d..cb3b019cb1922c6669fb01158765ba78da1ce07e 100644 (file)
                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>;
                };