ramips: improve support for STORYLiNK SAP-G3200U3
[openwrt/openwrt.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 = "green:system";
12 gpios = <&gpio 37 GPIO_ACTIVE_LOW>;
13 };
14
15 wlan2g {
16 label = "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 ieee80211-freq-limit = <5000000 6000000>;
46 nvmem-cells = <&eeprom_factory_8000>, <&macaddr_factory_2e>;
47 nvmem-cell-names = "eeprom", "mac-address";
48
49 led {
50 led-sources = <2>;
51 led-active-low;
52 };
53 };
54 };