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
|
|
|
};
|
|
|
|
};
|
2021-03-01 06:35:12 +00:00
|
|
|
|
|
|
|
gpio_export {
|
|
|
|
compatible = "gpio-export";
|
|
|
|
#size-cells = <0>;
|
|
|
|
|
|
|
|
usbpower {
|
|
|
|
gpio-export,name = "usbpower";
|
|
|
|
gpio-export,output = <1>;
|
|
|
|
gpios = <&gpio0 13 GPIO_ACTIVE_HIGH>;
|
|
|
|
};
|
|
|
|
};
|
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>;
|
2023-10-02 02:12:02 +00:00
|
|
|
nvmem-cells = <&eeprom_factory_8000>;
|
|
|
|
nvmem-cell-names = "eeprom";
|
2018-11-30 10:41:43 +00:00
|
|
|
ieee80211-freq-limit = <5000000 6000000>;
|
|
|
|
};
|
|
|
|
};
|