ath79: update WA/XC devices UBNT_VERSION to 8.7.4
[openwrt/staging/wigyori.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 <dt-bindings/leds/common.h>
4
5 #include "qca9563_elecom_wrc-ghbk2-i.dtsi"
6
7 / {
8 model = "ELECOM WRC-1750GHBK2-I/C";
9 compatible = "elecom,wrc-1750ghbk2-i", "qca,qca9563";
10 };
11
12 &leds {
13 led_power: power {
14 function = LED_FUNCTION_POWER;
15 color = <LED_COLOR_ID_BLUE>;
16 gpios = <&gpio 1 GPIO_ACTIVE_HIGH>;
17 default-state = "on";
18 };
19
20 wlan2g {
21 label = "blue:wlan2g";
22 gpios = <&gpio 7 GPIO_ACTIVE_HIGH>;
23 linux,default-trigger = "phy1tpt";
24 };
25
26 wlan5g {
27 label = "blue:wlan5g";
28 gpios = <&gpio 8 GPIO_ACTIVE_HIGH>;
29 linux,default-trigger = "phy0tpt";
30 };
31 };
32
33 &partitions {
34 partition@70000 {
35 compatible = "denx,uimage";
36 label = "firmware";
37 reg = <0x070000 0xf70000>;
38 };
39
40 partition@fe0000 {
41 label = "hwconfig";
42 reg = <0xfe0000 0x010000>;
43 read-only;
44 };
45
46 art: partition@ff0000 {
47 label = "art";
48 reg = <0xff0000 0x010000>;
49 read-only;
50
51 nvmem-layout {
52 compatible = "fixed-layout";
53 #address-cells = <1>;
54 #size-cells = <1>;
55
56 cal_art_1000: cal@1000 {
57 reg = <0x1000 0x440>;
58 };
59
60 macaddr_art_1002: macaddr@1002 {
61 compatible = "mac-base";
62 reg = <0x1002 0x6>;
63 #nvmem-cell-cells = <1>;
64 };
65
66 cal_art_5000: cal@5000 {
67 reg = <0x5000 0x844>;
68 };
69 };
70 };
71 };
72
73 &pcie {
74 status = "okay";
75
76 wifi@0,0 {
77 compatible = "qcom,ath10k";
78 reg = <0x0 0 0 0 0>;
79 nvmem-cells = <&cal_art_5000>;
80 nvmem-cell-names = "calibration";
81 };
82 };
83
84 &eth0 {
85 nvmem-cells = <&macaddr_art_1002 (-1)>;
86 nvmem-cell-names = "mac-address";
87 };
88
89 &wmac {
90 nvmem-cells = <&cal_art_1000>;
91 nvmem-cell-names = "calibration";
92 };