2019-07-03 21:22:25 +00:00
|
|
|
#include "mt7620a_hiwifi_hc5x61.dtsi"
|
2015-10-05 10:25:53 +00:00
|
|
|
|
|
|
|
/ {
|
2017-07-29 02:14:07 +00:00
|
|
|
compatible = "hiwifi,hc5761", "hiwifi,hc5x61", "ralink,mt7620a-soc";
|
2015-10-05 10:25:53 +00:00
|
|
|
model = "HiWiFi HC5761";
|
|
|
|
|
2018-07-16 08:27:22 +00:00
|
|
|
aliases {
|
2018-08-28 04:54:27 +00:00
|
|
|
led-boot = &led_system;
|
|
|
|
led-failsafe = &led_system;
|
|
|
|
led-running = &led_system;
|
|
|
|
led-upgrade = &led_system;
|
2018-07-16 08:27:22 +00:00
|
|
|
};
|
|
|
|
|
2018-12-30 11:42:53 +00:00
|
|
|
leds {
|
2015-10-05 10:25:53 +00:00
|
|
|
compatible = "gpio-leds";
|
|
|
|
|
2018-07-16 08:27:22 +00:00
|
|
|
led_system: system {
|
2020-09-27 17:40:51 +00:00
|
|
|
label = "blue:system";
|
2017-07-29 02:14:07 +00:00
|
|
|
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
|
2015-10-05 10:25:53 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
internet {
|
2020-09-27 17:40:51 +00:00
|
|
|
label = "blue:internet";
|
2017-07-29 02:14:07 +00:00
|
|
|
gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
|
2015-10-05 10:25:53 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
wlan2g {
|
2020-09-27 17:40:51 +00:00
|
|
|
label = "blue:wlan2g";
|
2017-07-29 02:14:07 +00:00
|
|
|
gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
|
2019-12-31 14:35:41 +00:00
|
|
|
linux,default-trigger = "phy1tpt";
|
2015-10-05 10:25:53 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
wlan5g {
|
2020-09-27 17:40:51 +00:00
|
|
|
label = "blue:wlan5g";
|
2017-07-29 02:14:07 +00:00
|
|
|
gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
|
2019-12-31 14:35:41 +00:00
|
|
|
linux,default-trigger = "phy0tpt";
|
2015-10-05 10:25:53 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
2018-11-30 10:41:43 +00:00
|
|
|
|
2018-12-14 10:15:52 +00:00
|
|
|
&ehci {
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
|
|
|
&ohci {
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
|
|
|
&pcie {
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
2018-11-30 10:41:43 +00:00
|
|
|
&pcie0 {
|
|
|
|
mt76@0,0 {
|
|
|
|
reg = <0x0000 0 0 0 0>;
|
|
|
|
mediatek,mtd-eeprom = <&factory 0x8000>;
|
|
|
|
ieee80211-freq-limit = <5000000 6000000>;
|
|
|
|
};
|
|
|
|
};
|