ath79: etactica-eg200: fix restore button
[openwrt/openwrt.git] / target / linux / ath79 / dts / qca9558_tplink_archer-c7-v2.dts
1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2 /dts-v1/;
3
4 #include <dt-bindings/gpio/gpio.h>
5 #include <dt-bindings/input/input.h>
6
7 #include "qca9558_tplink_archer-c7.dtsi"
8
9 / {
10 compatible = "tplink,archer-c7-v2", "qca,qca9558";
11 model = "TP-Link Archer C7 v2";
12 };
13
14 &gpio_keys {
15 rfkill {
16 gpios = <&gpio 23 GPIO_ACTIVE_LOW>;
17 linux,code = <KEY_RFKILL>;
18 linux,input-type = <EV_SW>;
19 debounce-interval = <60>;
20 };
21 };
22
23 &gpio_leds {
24 wlan5g {
25 label = "tp-link:green:wlan5g";
26 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
27 linux,default-trigger = "phy0tpt";
28 };
29 };
30
31 &mtdparts {
32 uboot: u-boot@0 {
33 reg = <0x000000 0x020000>;
34 read-only;
35 };
36
37 firmware@20000 {
38 reg = <0x020000 0xfd0000>;
39 compatible = "tplink,firmware";
40 };
41
42 art: art@ff0000 {
43 reg = <0xff0000 0x010000>;
44 read-only;
45 };
46 };