37ad32f330e79087fb2046afb05cad7bc89b97a7
[openwrt/staging/aparcar.git] / target / linux / ath79 / dts / qca9558_engenius_epg5000.dts
1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2
3 #include "qca955x_senao_router-dual.dtsi"
4
5 / {
6 model = "EnGenius EPG5000";
7 compatible = "engenius,epg5000", "qca,qca9558";
8
9 aliases {
10 led-boot = &led_power;
11 led-failsafe = &led_power;
12 led-running = &led_power;
13 led-upgrade = &led_power;
14 };
15
16 leds {
17 compatible = "gpio-leds";
18
19 led_power: power {
20 label = "amber:power";
21 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
22 default-state = "on";
23 };
24
25 wlan2g {
26 label = "blue:wlan2g";
27 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
28 linux,default-trigger = "phy1tpt";
29 };
30
31 wlan5g {
32 label = "blue:wlan5g";
33 gpios = <&gpio 23 GPIO_ACTIVE_LOW>;
34 linux,default-trigger = "phy0tpt";
35 };
36
37 wps_amber {
38 label = "amber:wps";
39 gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
40 };
41
42 wps_blue {
43 label = "blue:wps";
44 gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
45 };
46 };
47 };
48
49 &phy0 {
50 qca,ar8327-initvals = <
51 0x04 0x87600000 /* PORT0 PAD MODE CTRL */
52 0x7c 0x0000007e /* PORT0_STATUS */
53 >;
54 };
55
56 &usb_phy1 {
57 status = "okay";
58 };
59
60 &usb1 {
61 status = "okay";
62 };
63
64 &wmac {
65 qca,no-eeprom;
66 };