ramips: use DT trigger for 2G WiFi on ASUS RT-AC51U
[openwrt/openwrt.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 "mt7620a_zbtlink_zbt-we1026.dtsi"
4
5 / {
6 compatible = "zbtlink,zbt-we1026-5g", "zbtlink,zbt-we1026",
7 "ralink,mt7620a-soc";
8
9 leds {
10 compatible = "gpio-leds";
11
12 lan {
13 label = "we1026-5g:green:lan";
14 gpios = <&gpio2 0 GPIO_ACTIVE_LOW>;
15 };
16
17 usb {
18 label = "we1026-5g:green:usb";
19 gpios = <&gpio2 2 GPIO_ACTIVE_HIGH>;
20 trigger-sources = <&ohci_port1>, <&ehci_port1>;
21 linux,default-trigger = "usbport";
22 };
23
24 wifi {
25 label = "we1026-5g:green:wifi";
26 gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
27 };
28 };
29 };
30
31 &pcie {
32 status = "okay";
33 };
34
35 &pcie0 {
36 wifi@0,0 {
37 compatible = "pci14c3,7662";
38 reg = <0x0000 0 0 0 0>;
39 mediatek,mtd-eeprom = <&factory 0x8000>;
40 ieee80211-freq-limit = <5000000 6000000>;
41 };
42 };