ath79: update WA/XC devices UBNT_VERSION to 8.7.4
[openwrt/staging/wigyori.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 <dt-bindings/leds/common.h>
4
5 #include "qca9563_elecom_wrc-ghbk2-i.dtsi"
6
7 / {
8 model = "ELECOM WRC-300GHBK2-I";
9 compatible = "elecom,wrc-300ghbk2-i", "qca,qca9563";
10 };
11
12 &leds {
13 led_power: power {
14 function = LED_FUNCTION_POWER;
15 color = <LED_COLOR_ID_WHITE>;
16 gpios = <&gpio 1 GPIO_ACTIVE_HIGH>;
17 default-state = "on";
18 };
19
20 wlan2g {
21 label = "white:wlan2g";
22 gpios = <&gpio 7 GPIO_ACTIVE_HIGH>;
23 linux,default-trigger = "phy0tpt";
24 };
25 };
26
27 &partitions {
28 partition@70000 {
29 compatible = "denx,uimage";
30 label = "firmware";
31 reg = <0x070000 0x770000>;
32 };
33
34 partition@7e0000 {
35 label = "hwconfig";
36 reg = <0x7e0000 0x010000>;
37 read-only;
38 };
39
40 art: partition@7f0000 {
41 label = "art";
42 reg = <0x7f0000 0x010000>;
43 read-only;
44
45 nvmem-layout {
46 compatible = "fixed-layout";
47 #address-cells = <1>;
48 #size-cells = <1>;
49
50 cal_art_1000: cal@1000 {
51 reg = <0x1000 0x440>;
52 };
53
54 macaddr_art_1002: macaddr@1002 {
55 compatible = "mac-base";
56 reg = <0x1002 0x6>;
57 #nvmem-cell-cells = <1>;
58 };
59 };
60 };
61 };
62
63 &eth0 {
64 nvmem-cells = <&macaddr_art_1002 (-1)>;
65 nvmem-cell-names = "mac-address";
66 };
67
68 &wmac {
69 nvmem-cells = <&cal_art_1000>;
70 nvmem-cell-names = "calibration";
71 };