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