ath79: Define firmware partition format to all boards where applicable
[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 <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-v1", "qca,qca9558";
11         model = "TP-Link Archer C7 Version 1";
12 };
13
14 &gpio_keys {
15         rfkill {
16                 gpios = <&gpio 13 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                 default-state = "off";
28                 linux,default-trigger = "phy0tpt";
29         };
30 };
31
32 &mtdparts {
33         uboot: u-boot@0 {
34                 reg = <0x000000 0x020000>;
35                 read-only;
36         };
37
38         firmware@20000 {
39                 compatible = "tplink,firmware";
40                 reg = <0x020000 0x7d0000>;
41         };
42
43         art: art@7f0000 {
44                 reg = <0x7f0000 0x010000>;
45                 read-only;
46         };
47 };