ramips: fix PBR-D1 button definition
authorBangLang Huang <banglang.huang@foxmail.com>
Fri, 2 Dec 2016 01:13:46 +0000 (09:13 +0800)
committerMathias Kresin <dev@kresin.me>
Sun, 4 Dec 2016 06:03:17 +0000 (07:03 +0100)
Due to the product specification, the button on PBR-D1 should be
reset, not wps.

Signed-off-by: BangLang Huang <banglang.huang@foxmail.com>
target/linux/ramips/dts/PBR-D1.dts

index da32c8dff92a36d628939400351552a29a3a1027..3d4e987c4852596d54117a3878a1afd38bd5d674 100644 (file)
                #size-cells = <0>;
                poll-interval = <20>;
 
-               wps {
+               reset {
                        label = "reset";
                        gpios = <&gpio1 38 1>;
-                       linux,code = <KEY_WPS_BUTTON>;
+                       linux,code = <KEY_RESTART>;
                };
        };