openwrt/target/linux/ath79/dts/tp9343_tplink_tl-wr94x.dtsi

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>;
};
};
};