ath9k: OF: qca,disable-(2|5)ghz => ieee80211-freq-limit
[openwrt/staging/thess.git] / target / linux / ath79 / dts / ar9342_ubnt_wa.dtsi
1 // SPDX-License-Identifier: GPL-2.0-only
2
3 #include "ar9344.dtsi"
4
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
7
8 / {
9 compatible = "ubnt,wa", "qca,ar9342";
10 model = "Ubiquiti Networks WA board";
11
12 keys {
13 compatible = "gpio-keys";
14
15 reset {
16 label = "Reset button";
17 linux,code = <KEY_RESTART>;
18 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
19 debounce-interval = <60>;
20 };
21 };
22 };
23
24 &ref {
25 clock-frequency = <40000000>;
26 };
27
28 &pcie {
29 status = "okay";
30 };
31
32 &spi {
33 status = "okay";
34
35 flash@0 {
36 compatible = "jedec,spi-nor";
37 reg = <0>;
38 spi-max-frequency = <25000000>;
39
40 partitions {
41 compatible = "fixed-partitions";
42 #address-cells = <1>;
43 #size-cells = <1>;
44
45 partition@0 {
46 label = "u-boot";
47 reg = <0x000000 0x040000>;
48 read-only;
49 };
50
51 partition@40000 {
52 label = "u-boot-env";
53 reg = <0x040000 0x010000>;
54 read-only;
55 };
56
57 partition@50000 {
58 compatible = "denx,uimage";
59 label = "firmware";
60 reg = <0x050000 0xf60000>;
61 };
62
63 partition@fb0000 {
64 label = "cfg";
65 reg = <0xfb0000 0x040000>;
66 read-only;
67 };
68
69 art: partition@ff0000 {
70 label = "art";
71 reg = <0xff0000 0x010000>;
72 read-only;
73 };
74 };
75 };
76 };
77
78 &wmac {
79 status = "okay";
80
81 ieee80211-freq-limit = <2402000 2482000>;
82 mtd-cal-data = <&art 0x1000>;
83 };
84
85 &art {
86 compatible = "nvmem-cells";
87 #address-cells = <1>;
88 #size-cells = <1>;
89
90 macaddr_art_0: macaddr@0 {
91 reg = <0x0 0x6>;
92 };
93 };