ath79: TP-Link EAP225-Outdoor v1: convert ath10k to nvmem-cells
[openwrt/staging/jow.git] / target / linux / ath79 / dts / qca9563_tplink_eap225-outdoor-v1.dts
1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2
3 #include "qca9563_tplink_eap2x5-1port.dtsi"
4
5 / {
6 compatible = "tplink,eap225-outdoor-v1", "qca,qca9563";
7 model = "TP-Link EAP225-Outdoor v1";
8
9 aliases {
10 led-boot = &led_status_green;
11 led-failsafe = &led_status_amber;
12 led-running = &led_status_green;
13 led-upgrade = &led_status_amber;
14 };
15
16 leds {
17 compatible = "gpio-leds";
18
19 led_status_green: status_green {
20 label = "green:status";
21 gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
22 default-state = "on";
23 };
24
25 led_status_amber: status_amber {
26 label = "amber:status";
27 gpios = <&gpio 9 GPIO_ACTIVE_LOW>;
28 };
29 };
30 };
31
32 &art {
33 calibration_ath10k: calibration@5000 {
34 reg = <0x5000 0x2f20>;
35 };
36 };
37
38 &pcie {
39 wifi@0,0 {
40 compatible = "qcom,ath10k";
41 reg = <0 0 0 0 0>;
42
43 mac-address-increment = <1>;
44
45 nvmem-cells = <&macaddr_info_8>, <&calibration_ath10k>;
46 nvmem-cell-names = "mac-address", "calibration";
47 };
48 };