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