f7358891b04824be1be45c08e685bcf24bf0dda9
[openwrt/staging/hauke.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 compatible = "nvmem-cells";
49 #address-cells = <1>;
50 #size-cells = <1>;
51
52 cal_art_1000: cal@1000 {
53 reg = <0x1000 0x440>;
54 };
55
56 macaddr_art_1002: macaddr@1002 {
57 reg = <0x1002 0x6>;
58 };
59
60 cal_art_5000: cal@5000 {
61 reg = <0x5000 0x844>;
62 };
63 };
64 };
65
66 &pcie {
67 status = "okay";
68
69 wifi@0,0 {
70 compatible = "qcom,ath10k";
71 reg = <0x0 0 0 0 0>;
72 nvmem-cells = <&cal_art_5000>;
73 nvmem-cell-names = "calibration";
74 };
75 };
76
77 &eth0 {
78 nvmem-cells = <&macaddr_art_1002>;
79 nvmem-cell-names = "mac-address";
80 mac-address-increment = <(-1)>;
81 };
82
83 &wmac {
84 nvmem-cells = <&cal_art_1000>;
85 nvmem-cell-names = "calibration";
86 };