ath79: update WA/XC devices UBNT_VERSION to 8.7.4
[openwrt/staging/wigyori.git] / target / linux / ramips / dts / mt7620a_zbtlink_zbt-we1026-5g.dtsi
1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2
3 #include <dt-bindings/leds/common.h>
4
5 #include "mt7620a_zbtlink_zbt-we1026.dtsi"
6
7 / {
8 compatible = "zbtlink,zbt-we1026-5g", "zbtlink,zbt-we1026",
9 "ralink,mt7620a-soc";
10
11 leds {
12 compatible = "gpio-leds";
13
14 lan {
15 function = LED_FUNCTION_LAN;
16 color = <LED_COLOR_ID_GREEN>;
17 gpios = <&gpio2 0 GPIO_ACTIVE_LOW>;
18 };
19
20 usb {
21 function = LED_FUNCTION_USB;
22 color = <LED_COLOR_ID_GREEN>;
23 gpios = <&gpio2 2 GPIO_ACTIVE_HIGH>;
24 trigger-sources = <&ohci_port1>, <&ehci_port1>;
25 linux,default-trigger = "usbport";
26 };
27
28 wifi {
29 label = "green:wifi";
30 gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
31 };
32 };
33
34 watchdog {
35 compatible = "linux,wdt-gpio";
36 gpios = <&gpio0 11 GPIO_ACTIVE_HIGH>;
37 hw_algo = "toggle";
38 hw_margin_ms = <20000>;
39 always-running;
40 };
41 };
42
43 &pcie {
44 status = "okay";
45 };
46
47 &pcie0 {
48 wifi@0,0 {
49 compatible = "pci14c3,7662";
50 reg = <0x0000 0 0 0 0>;
51 nvmem-cells = <&eeprom_factory_8000>;
52 nvmem-cell-names = "eeprom";
53 ieee80211-freq-limit = <5000000 6000000>;
54 };
55 };