2018-08-09 17:22:46 +00:00
|
|
|
/dts-v1/;
|
|
|
|
|
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 {
|
|
|
|
label = "hc5861b:green:system";
|
|
|
|
gpios = <&gpio1 5 GPIO_ACTIVE_LOW>;
|
|
|
|
};
|
2019-07-23 12:12:29 +00:00
|
|
|
|
2018-08-09 17:22:46 +00:00
|
|
|
wlan2g {
|
|
|
|
label = "hc5861b:green:wlan2g";
|
|
|
|
gpios = <&gpio1 12 GPIO_ACTIVE_LOW>;
|
2019-07-23 12:12:37 +00:00
|
|
|
linux,default-trigger = "phy0tpt";
|
2018-08-09 17:22:46 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
&pinctrl {
|
|
|
|
state_default: pinctrl0 {
|
|
|
|
gpio {
|
|
|
|
ralink,group = "refclk", "wdt", "wled_an";
|
|
|
|
ralink,function = "gpio";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|