2015-10-05 10:25:53 +00:00
|
|
|
/dts-v1/;
|
|
|
|
|
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 {
|
2015-10-05 10:25:53 +00:00
|
|
|
label = "hc5861: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 {
|
|
|
|
label = "hc5861:blue:wlan2g";
|
2017-07-29 02:14:07 +00:00
|
|
|
gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
|
2015-10-05 10:25:53 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
internet {
|
|
|
|
label = "hc5861: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 {
|
|
|
|
label = "hc5861:blue:wlan5g";
|
2017-07-29 02:14:07 +00:00
|
|
|
gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
|
2015-10-05 10:25:53 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
turbo {
|
|
|
|
label = "hc5861: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 {
|
|
|
|
status = "okay";
|
|
|
|
mtd-mac-address = <&factory 0x4>;
|
|
|
|
pinctrl-names = "default";
|
2019-02-22 14:38:59 +00:00
|
|
|
pinctrl-0 = <&rgmii1_pins &mdio_pins>;
|
2016-05-10 10:41:46 +00:00
|
|
|
mediatek,portmap = "wllll";
|
|
|
|
|
|
|
|
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>;
|
|
|
|
};
|
|
|
|
};
|