2019-07-23 12:12:29 +00:00
|
|
|
#include "mt7628an_hiwifi_hc5x61a.dtsi"
|
2018-08-09 17:22:46 +00:00
|
|
|
|
|
|
|
/ {
|
|
|
|
compatible = "hiwifi,hc5861b", "mediatek,mt7628an-soc";
|
|
|
|
model = "HiWiFi HC5861B";
|
|
|
|
|
2018-12-30 11:42:53 +00:00
|
|
|
leds {
|
2018-08-09 17:22:46 +00:00
|
|
|
compatible = "gpio-leds";
|
|
|
|
|
|
|
|
led_system: system {
|
2020-09-27 17:40:51 +00:00
|
|
|
label = "green:system";
|
2020-04-09 09:10:03 +00:00
|
|
|
gpios = <&gpio 37 GPIO_ACTIVE_LOW>;
|
2018-08-09 17:22:46 +00:00
|
|
|
};
|
2019-07-23 12:12:29 +00:00
|
|
|
|
2018-08-09 17:22:46 +00:00
|
|
|
wlan2g {
|
2020-09-27 17:40:51 +00:00
|
|
|
label = "green:wlan2g";
|
2020-04-09 09:10:03 +00:00
|
|
|
gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
|
2019-07-23 12:12:37 +00:00
|
|
|
linux,default-trigger = "phy0tpt";
|
2018-08-09 17:22:46 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2019-12-22 20:26:01 +00:00
|
|
|
&state_default {
|
|
|
|
gpio {
|
2020-04-12 12:58:29 +00:00
|
|
|
groups = "refclk", "wdt", "wled_an";
|
|
|
|
function = "gpio";
|
2018-08-09 17:22:46 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2019-07-23 12:12:37 +00:00
|
|
|
&ehci {
|
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
|
|
|
&ohci {
|
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
2018-08-09 17:22:46 +00:00
|
|
|
&pcie {
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
|
|
|
&pcie0 {
|
|
|
|
wifi@0,0 {
|
|
|
|
reg = <0x0000 0 0 0 0>;
|
|
|
|
mediatek,mtd-eeprom = <&factory 0x8000>;
|
|
|
|
mtd-mac-address = <&factory 0x2e>;
|
|
|
|
ieee80211-freq-limit = <5000000 6000000>;
|
|
|
|
|
|
|
|
led {
|
|
|
|
led-sources = <2>;
|
|
|
|
led-active-low;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|