ath79: qca: remove mac-address-increment
[openwrt/staging/hauke.git] / target / linux / ath79 / dts / qca9563_elecom_wrc-300ghbk2-i.dts
1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2
3 #include "qca9563_elecom_wrc-ghbk2-i.dtsi"
4
5 / {
6 model = "ELECOM WRC-300GHBK2-I";
7 compatible = "elecom,wrc-300ghbk2-i", "qca,qca9563";
8 };
9
10 &leds {
11 led_power: power {
12 label = "white:power";
13 gpios = <&gpio 1 GPIO_ACTIVE_HIGH>;
14 default-state = "on";
15 };
16
17 wlan2g {
18 label = "white:wlan2g";
19 gpios = <&gpio 7 GPIO_ACTIVE_HIGH>;
20 linux,default-trigger = "phy0tpt";
21 };
22 };
23
24 &partitions {
25 partition@70000 {
26 compatible = "denx,uimage";
27 label = "firmware";
28 reg = <0x070000 0x770000>;
29 };
30
31 partition@7e0000 {
32 label = "hwconfig";
33 reg = <0x7e0000 0x010000>;
34 read-only;
35 };
36
37 art: partition@7f0000 {
38 label = "art";
39 reg = <0x7f0000 0x010000>;
40 read-only;
41
42 nvmem-layout {
43 compatible = "fixed-layout";
44 #address-cells = <1>;
45 #size-cells = <1>;
46
47 cal_art_1000: cal@1000 {
48 reg = <0x1000 0x440>;
49 };
50
51 macaddr_art_1002: macaddr@1002 {
52 compatible = "mac-base";
53 reg = <0x1002 0x6>;
54 #nvmem-cell-cells = <1>;
55 };
56 };
57 };
58 };
59
60 &eth0 {
61 nvmem-cells = <&macaddr_art_1002 (-1)>;
62 nvmem-cell-names = "mac-address";
63 };
64
65 &wmac {
66 nvmem-cells = <&cal_art_1000>;
67 nvmem-cell-names = "calibration";
68 };