ath79: qca: remove mac-address-increment
[openwrt/openwrt.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
43 &spi {
44 status = "okay";
45
46 flash@0 {
47 compatible = "jedec,spi-nor";
48 reg = <0>;
49 spi-max-frequency = <25000000>;
50
51 partitions {
52 compatible = "fixed-partitions";
53 #address-cells = <1>;
54 #size-cells = <1>;
55
56 partition@0 {
57 label = "u-boot";
58 reg = <0x000000 0x040000>;
59 read-only;
60 };
61
62 partition@40000 {
63 label = "u-boot-env";
64 reg = <0x040000 0x010000>;
65 read-only;
66 };
67
68 art: partition@50000 {
69 label = "art";
70 reg = <0x050000 0x010000>;
71 read-only;
72
73 nvmem-layout {
74 compatible = "fixed-layout";
75 #address-cells = <1>;
76 #size-cells = <1>;
77
78 macaddr_art_0: macaddr@0 {
79 compatible = "mac-base";
80 reg = <0x0 0x6>;
81 #nvmem-cell-cells = <1>;
82 };
83 };
84 };
85
86 partition@60000 {
87 label = "art_bak";
88 reg = <0x060000 0x010000>;
89 read-only;
90 };
91
92 partition@70000 {
93 compatible = "denx,uimage";
94 label = "firmware";
95 reg = <0x070000 0xf90000>;
96 };
97 };
98 };
99 };
100
101 &mdio0 {
102 status = "okay";
103
104 phy4: ethernet-phy@4 {
105 reg = <4>;
106 eee-broken-100tx;
107 eee-broken-1000t;
108 };
109 };
110
111 &eth0 {
112 status = "okay";
113
114 nvmem-cells = <&macaddr_art_0 0>;
115 nvmem-cell-names = "mac-address";
116 phy-handle = <&phy4>;
117
118 gmac_config: gmac-config {
119 device = <&gmac>;
120
121 rgmii-enabled = <1>;
122 };
123 };
124
125 &wmac {
126 status = "okay";
127
128 mtd-cal-data = <&art 0x1000>;
129 nvmem-cells = <&macaddr_art_0 (-2)>;
130 nvmem-cell-names = "mac-address";
131 };