ath79: update WA/XC devices UBNT_VERSION to 8.7.4
[openwrt/staging/wigyori.git] / target / linux / ath79 / dts / qca9558_engenius_epg5000.dts
1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2
3 #include <dt-bindings/leds/common.h>
4
5 #include "qca955x_senao_router-dual.dtsi"
6
7 / {
8 model = "EnGenius EPG5000";
9 compatible = "engenius,epg5000", "qca,qca9558";
10
11 aliases {
12 led-boot = &led_power;
13 led-failsafe = &led_power;
14 led-running = &led_power;
15 led-upgrade = &led_power;
16 };
17
18 leds {
19 compatible = "gpio-leds";
20
21 led_power: power {
22 function = LED_FUNCTION_POWER;
23 color = <LED_COLOR_ID_AMBER>;
24 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
25 default-state = "on";
26 };
27
28 wlan2g {
29 label = "blue:wlan2g";
30 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
31 linux,default-trigger = "phy1tpt";
32 };
33
34 wlan5g {
35 label = "blue:wlan5g";
36 gpios = <&gpio 23 GPIO_ACTIVE_LOW>;
37 linux,default-trigger = "phy0tpt";
38 };
39
40 wps_amber {
41 function = LED_FUNCTION_WPS;
42 color = <LED_COLOR_ID_AMBER>;
43 gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
44 };
45
46 wps_blue {
47 function = LED_FUNCTION_WPS;
48 color = <LED_COLOR_ID_BLUE>;
49 gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
50 };
51 };
52 };
53
54 &phy0 {
55 qca,mib-poll-interval = <500>;
56
57 qca,ar8327-initvals = <
58 0x04 0x87680000 /* PORT0 PAD MODE CTRL */
59 0x10 0x40000000 /* POWER_ON_STRAP */
60 0x50 0xcf35cf35 /* LED_CTRL0 */
61 0x54 0xcf35cf35 /* LED_CTRL1 */
62 0x58 0xcf35cf35 /* LED_CTRL2 */
63 0x5c 0x03ffff00 /* LED_CTRL3 */
64 0x7c 0x0000007e /* PORT0_STATUS */
65 >;
66 };
67
68 &usb_phy1 {
69 status = "okay";
70 };
71
72 &usb1 {
73 status = "okay";
74 };
75
76 &wmac {
77 nvmem-cells = <&calibration_art_1000>;
78 nvmem-cell-names = "calibration";
79 };
80
81 &ath10k_0 {
82 nvmem-cells = <&calibration_art_5000>;
83 nvmem-cell-names = "calibration";
84 };