mirror of https://github.com/hak5/openwrt.git
22 lines
358 B
Plaintext
22 lines
358 B
Plaintext
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
|
|
|
|
#include "tp9343_tplink_tl-wx.dtsi"
|
|
|
|
/ {
|
|
keys {
|
|
compatible = "gpio-keys";
|
|
|
|
wifi {
|
|
label = "WiFi button";
|
|
linux,code = <KEY_RFKILL>;
|
|
gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
|
|
};
|
|
|
|
reset {
|
|
label = "Reset button";
|
|
linux,code = <KEY_RESTART>;
|
|
gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
|
|
};
|
|
};
|
|
};
|