5139bc767029479e86d0f5b111a0383e46cb17b4
[openwrt/openwrt.git] / target / linux / ath79 / dts / qca9563_tplink_eap225-v3.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-v3", "qca,qca9563";
7 model = "TP-Link EAP225 v3";
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_HIGH>;
22 default-state = "on";
23 };
24
25 led_status_amber: status_amber {
26 label = "amber:status";
27 gpios = <&gpio 9 GPIO_ACTIVE_HIGH>;
28 };
29 };
30 };
31
32 &art {
33 nvmem-layout {
34 compatible = "fixed-layout";
35 #address-cells = <1>;
36 #size-cells = <1>;
37
38 precalibration_ath10k: pre-calibration@5000 {
39 reg = <0x5000 0x2f20>;
40 };
41 };
42 };
43
44 &eth0 {
45 phy-handle = <&phy4>;
46 phy-mode = "sgmii";
47 };
48
49 &mdio0 {
50 phy4: ethernet-phy@4 {
51 reg = <4>;
52 reset-gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
53 };
54 };
55
56 &pcie {
57 wifi@0,0 {
58 compatible = "qcom,ath10k";
59 reg = <0 0 0 0 0>;
60
61 nvmem-cells = <&macaddr_info_8 1>, <&precalibration_ath10k>;
62 nvmem-cell-names = "mac-address", "pre-calibration";
63 };
64 };