ath79: update WA/XC devices UBNT_VERSION to 8.7.4
[openwrt/staging/wigyori.git] / target / linux / ath79 / dts / qca9558_devolo_dvl1xxx.dtsi
1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2
3 /*
4 * The hardware of this board family is most likely shared with other devices
5 * from other manufacturers.
6 * Devolo seems to use hardware from Edimax, namely the Edimax WAP1750.
7 *
8 * The base board is identical but the single models differ in number of
9 * buttons, ethernet ports, external console, USB, external / internal
10 * antennas and number of spatial streams.
11 */
12
13 #include "qca955x.dtsi"
14
15 #include <dt-bindings/gpio/gpio.h>
16 #include <dt-bindings/input/input.h>
17
18 / {
19 keys {
20 compatible = "gpio-keys";
21
22 reset {
23 label = "Reset button";
24 linux,code = <KEY_RESTART>;
25 gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
26 debounce-interval = <60>;
27 };
28 };
29
30 watchdog {
31 compatible = "linux,wdt-gpio";
32 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
33 hw_algo = "toggle";
34 hw_margin_ms = <300>;
35 always-running;
36 };
37 };
38
39 &pcie0 {
40 status = "okay";
41
42 wifi@0,0 {
43 compatible = "qcom,ath10k";
44 reg = <0x0000 0 0 0 0>;
45 nvmem-cells = <&cal_art_5000>, <&macaddr_art_0 (-1)>;
46 nvmem-cell-names = "calibration", "mac-address";
47 };
48 };
49
50 &spi {
51 status = "okay";
52
53 flash@0 {
54 compatible = "jedec,spi-nor";
55 reg = <0>;
56 spi-max-frequency = <25000000>;
57
58 partitions {
59 compatible = "fixed-partitions";
60 #address-cells = <1>;
61 #size-cells = <1>;
62
63 partition@0 {
64 label = "u-boot";
65 reg = <0x000000 0x040000>;
66 read-only;
67 };
68
69 partition@40000 {
70 label = "u-boot-env";
71 reg = <0x040000 0x010000>;
72 read-only;
73 };
74
75 art: partition@50000 {
76 label = "art";
77 reg = <0x050000 0x010000>;
78 read-only;
79
80 nvmem-layout {
81 compatible = "fixed-layout";
82 #address-cells = <1>;
83 #size-cells = <1>;
84
85 macaddr_art_0: macaddr@0 {
86 compatible = "mac-base";
87 reg = <0x0 0x6>;
88 #nvmem-cell-cells = <1>;
89 };
90
91 cal_art_5000: calibration@5000 {
92 reg = <0x5000 0x844>;
93 };
94 };
95 };
96
97 partition@60000 {
98 label = "art_bak";
99 reg = <0x060000 0x010000>;
100 read-only;
101 };
102
103 partition@70000 {
104 compatible = "denx,uimage";
105 label = "firmware";
106 reg = <0x070000 0xf90000>;
107 };
108 };
109 };
110 };
111
112 &mdio0 {
113 status = "okay";
114
115 phy4: ethernet-phy@4 {
116 reg = <4>;
117 eee-broken-100tx;
118 eee-broken-1000t;
119 };
120 };
121
122 &eth0 {
123 status = "okay";
124
125 nvmem-cells = <&macaddr_art_0 0>;
126 nvmem-cell-names = "mac-address";
127 phy-handle = <&phy4>;
128
129 gmac_config: gmac-config {
130 device = <&gmac>;
131
132 rgmii-enabled = <1>;
133 };
134 };
135
136 &wmac {
137 status = "okay";
138
139 mtd-cal-data = <&art 0x1000>;
140 nvmem-cells = <&macaddr_art_0 (-2)>;
141 nvmem-cell-names = "mac-address";
142 };