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,hc5861", "hiwifi,hc5x61", "ralink,mt7620a-soc";
|
2015-10-05 10:25:53 +00:00
|
|
|
model = "HiWiFi HC5861";
|
|
|
|
|
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
|
|
|
};
|
|
|
|
|
|
|
|
wlan2g {
|
2020-09-27 17:40:51 +00:00
|
|
|
label = "blue:wlan2g";
|
2017-07-29 02:14:07 +00:00
|
|
|
gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
|
2019-12-31 14:35:41 +00:00
|
|
|
linux,default-trigger = "phy1tpt";
|
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 = <&gpio3 0 GPIO_ACTIVE_LOW>;
|
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
|
|
|
};
|
|
|
|
|
|
|
|
turbo {
|
2020-09-27 17:40:51 +00:00
|
|
|
label = "blue:turbo";
|
2017-07-29 02:14:07 +00:00
|
|
|
gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
|
2015-10-05 10:25:53 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
gpio_export {
|
|
|
|
compatible = "gpio-export";
|
|
|
|
#size-cells = <0>;
|
|
|
|
|
|
|
|
usbpower {
|
|
|
|
gpio-export,name = "usbpower";
|
|
|
|
gpio-export,output = <0>;
|
2017-12-16 23:02:06 +00:00
|
|
|
gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
|
2015-10-05 10:25:53 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
sdpower {
|
|
|
|
gpio-export,name = "sdpower";
|
|
|
|
gpio-export,output = <0>;
|
2017-12-16 23:02:06 +00:00
|
|
|
gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
|
2015-10-05 10:25:53 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
2016-05-10 10:41:46 +00:00
|
|
|
|
2018-12-14 10:15:52 +00:00
|
|
|
&ehci {
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
|
|
|
&ohci {
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
2016-05-10 10:41:46 +00:00
|
|
|
ðernet {
|
|
|
|
pinctrl-names = "default";
|
2019-02-22 14:38:59 +00:00
|
|
|
pinctrl-0 = <&rgmii1_pins &mdio_pins>;
|
2020-05-14 13:41:31 +00:00
|
|
|
|
|
|
|
mtd-mac-address = <&factory 0x4>;
|
|
|
|
|
2020-08-03 21:11:01 +00:00
|
|
|
mediatek,portmap = "llllw";
|
2016-05-10 10:41:46 +00:00
|
|
|
|
|
|
|
port@5 {
|
|
|
|
status = "okay";
|
|
|
|
phy-handle = <&phy5>;
|
|
|
|
phy-mode = "rgmii";
|
|
|
|
};
|
|
|
|
|
|
|
|
mdio-bus {
|
|
|
|
status = "okay";
|
|
|
|
|
|
|
|
phy5: ethernet-phy@5 {
|
|
|
|
reg = <5>;
|
|
|
|
phy-mode = "rgmii";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2018-12-14 10:15:52 +00:00
|
|
|
&pcie {
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
2018-11-30 10:41:43 +00:00
|
|
|
&pcie0 {
|
2019-02-22 14:38:59 +00:00
|
|
|
wifi@0,0 {
|
|
|
|
compatible = "pci14c3,7662";
|
2018-11-30 10:41:43 +00:00
|
|
|
reg = <0x0000 0 0 0 0>;
|
|
|
|
mediatek,mtd-eeprom = <&factory 0x8000>;
|
|
|
|
ieee80211-freq-limit = <5000000 6000000>;
|
|
|
|
};
|
|
|
|
};
|