ramips: use DT trigger for 2G WiFi on ASUS RT-AC51U
[openwrt/openwrt.git] / target / linux / ramips / dts / mt7628an_hiwifi_hc5861b.dts
1 /dts-v1/;
2
3 #include "mt7628an_hiwifi_hc5x61a.dtsi"
4
5 / {
6 compatible = "hiwifi,hc5861b", "mediatek,mt7628an-soc";
7 model = "HiWiFi HC5861B";
8
9 leds {
10 compatible = "gpio-leds";
11
12 led_system: system {
13 label = "hc5861b:green:system";
14 gpios = <&gpio 37 GPIO_ACTIVE_LOW>;
15 };
16
17 wlan2g {
18 label = "hc5861b:green:wlan2g";
19 gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
20 linux,default-trigger = "phy0tpt";
21 };
22 };
23 };
24
25 &state_default {
26 gpio {
27 groups = "refclk", "wdt", "wled_an";
28 function = "gpio";
29 };
30 };
31
32 &ehci {
33 status = "disabled";
34 };
35
36 &ohci {
37 status = "disabled";
38 };
39
40 &pcie {
41 status = "okay";
42 };
43
44 &pcie0 {
45 wifi@0,0 {
46 reg = <0x0000 0 0 0 0>;
47 mediatek,mtd-eeprom = <&factory 0x8000>;
48 mtd-mac-address = <&factory 0x2e>;
49 ieee80211-freq-limit = <5000000 6000000>;
50
51 led {
52 led-sources = <2>;
53 led-active-low;
54 };
55 };
56 };