ath79: add support for Compex WPJ531 (16M)
[openwrt/staging/dedeckeh.git] / target / linux / ath79 / dts / qca9558_tplink_archer-c5-v1.dts
1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2 /dts-v1/;
3
4 #include "qca9558_tplink_archer-c.dtsi"
5
6 / {
7 compatible = "tplink,archer-c5-v1", "qca,qca9558";
8 model = "TP-Link Archer C5 v1";
9 };
10
11 &keys {
12 rfkill {
13 gpios = <&gpio 23 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 reg = <0x020000 0xfd0000>;
38 compatible = "tplink,firmware";
39 };
40
41 art: partition@ff0000 {
42 label = "art";
43 reg = <0xff0000 0x010000>;
44 read-only;
45 };
46 };