aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ath79/dts/tp9343_tplink_tl-wr94x.dtsi
blob: 728d25640e4cfd2719de9ef4492bd33012e66bf5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
/dts-v1/;

#include "tp9343_tplink_tl-wx.dtsi"

/ {
	keys {
		compatible = "gpio-keys";

		wifi_button {
			label = "WiFi button";
			linux,code = <KEY_RFKILL>;
			gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
		};

		reset_button {
			label = "Reset button";
			linux,code = <KEY_RESTART>;
			gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
		};
	};
};