ath79: convert remaining mtd-mac-address cases to nvmem
[openwrt/staging/dedeckeh.git] / target / linux / ath79 / dts / qca9563_elecom_wrc-1750ghbk2-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-1750GHBK2-I/C";
7 compatible = "elecom,wrc-1750ghbk2-i", "qca,qca9563";
8 };
9
10 &leds {
11 led_power: power {
12 label = "blue:power";
13 gpios = <&gpio 1 GPIO_ACTIVE_HIGH>;
14 default-state = "on";
15 };
16
17 wlan2g {
18 label = "blue:wlan2g";
19 gpios = <&gpio 7 GPIO_ACTIVE_HIGH>;
20 linux,default-trigger = "phy1tpt";
21 };
22
23 wlan5g {
24 label = "blue:wlan5g";
25 gpios = <&gpio 8 GPIO_ACTIVE_HIGH>;
26 linux,default-trigger = "phy0tpt";
27 };
28 };
29
30 &partitions {
31 partition@70000 {
32 compatible = "denx,uimage";
33 label = "firmware";
34 reg = <0x070000 0xf70000>;
35 };
36
37 partition@fe0000 {
38 label = "hwconfig";
39 reg = <0xfe0000 0x010000>;
40 read-only;
41 };
42
43 art: partition@ff0000 {
44 label = "art";
45 reg = <0xff0000 0x010000>;
46 read-only;
47 };
48 };
49
50 &pcie {
51 status = "okay";
52 };
53
54 &eth0 {
55 nvmem-cells = <&macaddr_art_1002>;
56 nvmem-cell-names = "mac-address";
57 mac-address-increment = <(-1)>;
58 };
59
60 &wmac {
61 mtd-cal-data = <&art 0x1000>;
62 };
63
64 &art {
65 compatible = "nvmem-cells";
66 #address-cells = <1>;
67 #size-cells = <1>;
68
69 macaddr_art_1002: macaddr@1002 {
70 reg = <0x1002 0x6>;
71 };
72 };