ath79: add support for Qxwlan E600G v2 / E600GAC v2
[openwrt/openwrt.git] / target / linux / ath79 / dts / ar9341_tplink_tl-wr841-v8.dts
1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2
3 #include "ar9341_tplink.dtsi"
4
5 / {
6 model = "TP-Link TL-WR841N/ND v8";
7 compatible = "tplink,tl-wr841-v8", "qca,ar9341";
8
9 keys {
10 compatible = "gpio-keys";
11
12 rfkill {
13 label = "WiFi";
14 linux,code = <KEY_RFKILL>;
15 linux,input-type = <EV_SW>;
16 gpios = <&gpio 16 GPIO_ACTIVE_HIGH>;
17 debounce-interval = <60>;
18 };
19
20 reset {
21 label = "Reset";
22 linux,code = <KEY_RESTART>;
23 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
24 debounce-interval = <60>;
25 };
26 };
27 };
28
29 &spi {
30 num-cs = <1>;
31
32 status = "okay";
33
34 flash@0 {
35 compatible = "jedec,spi-nor";
36 reg = <0>;
37 spi-max-frequency = <25000000>;
38
39 partitions {
40 compatible = "fixed-partitions";
41 #address-cells = <1>;
42 #size-cells = <1>;
43
44 uboot: partition@0 {
45 label = "u-boot";
46 reg = <0x000000 0x020000>;
47 read-only;
48 };
49
50 partition@20000 {
51 compatible = "tplink,firmware";
52 label = "firmware";
53 reg = <0x020000 0x3d0000>;
54 };
55
56 art: partition@3f0000 {
57 label = "art";
58 reg = <0x3f0000 0x010000>;
59 read-only;
60 };
61 };
62 };
63 };