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