kernel: move mv88e6xxx fix to generic backports
[openwrt/openwrt.git] / target / linux / ath79 / dts / ar9342_ubnt_wa.dtsi
1 // SPDX-License-Identifier: GPL-2.0
2
3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
5
6 #include "ar9344.dtsi"
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 &uart {
29 status = "okay";
30 };
31
32 &pcie {
33 status = "okay";
34 };
35
36 &spi {
37 status = "okay";
38 num-cs = <1>;
39
40 flash@0 {
41 compatible = "jedec,spi-nor";
42 reg = <0>;
43 spi-max-frequency = <25000000>;
44
45 partitions {
46 compatible = "fixed-partitions";
47 #address-cells = <1>;
48 #size-cells = <1>;
49
50 partition@0 {
51 label = "u-boot";
52 reg = <0x000000 0x040000>;
53 read-only;
54 };
55
56 partition@40000 {
57 label = "u-boot-env";
58 reg = <0x040000 0x010000>;
59 read-only;
60 };
61
62 partition@50000 {
63 compatible = "denx,uimage";
64 label = "firmware";
65 reg = <0x050000 0xf60000>;
66 };
67
68 partition@fb0000 {
69 label = "cfg";
70 reg = <0xfb0000 0x040000>;
71 read-only;
72 };
73
74 art: partition@ff0000 {
75 label = "art";
76 reg = <0xff0000 0x010000>;
77 read-only;
78 };
79 };
80 };
81 };
82
83 &wmac {
84 status = "okay";
85
86 qca,disable-5ghz;
87 mtd-cal-data = <&art 0x1000>;
88 };