ath79: replace generic button node names
[openwrt/openwrt.git] / target / linux / ath79 / dts / ar9331_tplink_tl-mr3020-v1.dts
index 9b222904e14fd376d4f36f5d0fbb8e150104295f..3cd5c130c88f404c41dfdfb4e40d1d3dc1e8e5b2 100644 (file)
        keys {
                compatible = "gpio-keys";
 
-               button0 {
+               reset {
                        label = "reset";
                        linux,code = <KEY_RESTART>;
                        gpios = <&gpio 11 GPIO_ACTIVE_HIGH>;
                        debounce-interval = <60>;
                };
 
-               button1 {
+               sw1 {
                        label = "sw1";
                        linux,input-type = <EV_SW>;
                        linux,code = <BTN_0>;
@@ -64,7 +64,7 @@
                        debounce-interval = <60>;
                };
 
-               button2 {
+               sw2 {
                        label = "sw2";
                        linux,input-type = <EV_SW>;
                        linux,code = <BTN_1>;