ath79: update WA/XC devices UBNT_VERSION to 8.7.4
[openwrt/staging/wigyori.git] / target / linux / ath79 / dts / qca9563_tplink_eap225-outdoor-v3.dts
1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2
3 #include <dt-bindings/leds/common.h>
4
5 #include "qca9563_tplink_eap2x5-1port.dtsi"
6
7 / {
8 compatible = "tplink,eap225-outdoor-v3", "qca,qca9563";
9 model = "TP-Link EAP225-Outdoor v3";
10
11 aliases {
12 led-boot = &led_status_green;
13 led-failsafe = &led_status_amber;
14 led-running = &led_status_green;
15 led-upgrade = &led_status_amber;
16 };
17
18 leds {
19 compatible = "gpio-leds";
20
21 led_status_green: status_green {
22 function = LED_FUNCTION_STATUS;
23 color = <LED_COLOR_ID_GREEN>;
24 gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
25 default-state = "on";
26 };
27
28 led_status_amber: status_amber {
29 function = LED_FUNCTION_STATUS;
30 color = <LED_COLOR_ID_AMBER>;
31 gpios = <&gpio 9 GPIO_ACTIVE_LOW>;
32 };
33 };
34 };
35
36 &art {
37 nvmem-layout {
38 compatible = "fixed-layout";
39 #address-cells = <1>;
40 #size-cells = <1>;
41
42 precalibration_ath10k: pre-calibration@5000 {
43 reg = <0x5000 0x2f20>;
44 };
45 };
46 };
47
48 &eth0 {
49 phy-handle = <&phy6>;
50 phy-mode = "sgmii";
51 };
52
53 &mdio0 {
54 phy6: ethernet-phy@6 {
55 reg = <6>;
56 };
57 };
58
59 &pcie {
60 wifi@0,0 {
61 compatible = "qcom,ath10k";
62 reg = <0 0 0 0 0>;
63
64 nvmem-cells = <&macaddr_info_8 1>, <&precalibration_ath10k>;
65 nvmem-cell-names = "mac-address", "pre-calibration";
66 };
67 };