2019-07-23 12:12:48 +00:00
|
|
|
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
|
|
|
|
/dts-v1/;
|
|
|
|
|
|
|
|
#include "mt7628an_hiwifi_hc5x61a.dtsi"
|
|
|
|
|
|
|
|
/ {
|
|
|
|
compatible = "hiwifi,hc5761a", "mediatek,mt7628an-soc";
|
|
|
|
model = "HiWiFi HC5761A";
|
|
|
|
|
|
|
|
leds {
|
|
|
|
compatible = "gpio-leds";
|
|
|
|
|
|
|
|
led_system: system {
|
|
|
|
label = "hc5761a:blue:system";
|
2020-04-09 09:10:03 +00:00
|
|
|
gpios = <&gpio 37 GPIO_ACTIVE_HIGH>;
|
2019-07-23 12:12:48 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
internet {
|
|
|
|
label = "hc5761a:blue:internet";
|
2020-04-09 09:10:03 +00:00
|
|
|
gpios = <&gpio 1 GPIO_ACTIVE_HIGH>;
|
2019-07-23 12:12:48 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
wlan2g {
|
|
|
|
label = "hc5761a:blue:wlan2g";
|
2020-04-09 09:10:03 +00:00
|
|
|
gpios = <&gpio 44 GPIO_ACTIVE_HIGH>;
|
2019-07-23 12:12:48 +00:00
|
|
|
linux,default-trigger = "phy0tpt";
|
|
|
|
};
|
|
|
|
|
|
|
|
wlan5g {
|
|
|
|
label = "hc5761a:blue:wlan5g";
|
2020-04-09 09:10:03 +00:00
|
|
|
gpios = <&gpio 40 GPIO_ACTIVE_HIGH>;
|
2019-07-23 12:12:48 +00:00
|
|
|
linux,default-trigger = "phy1tpt";
|
|
|
|
};
|
|
|
|
};
|
2020-02-12 13:14:26 +00:00
|
|
|
|
|
|
|
gpio_export {
|
|
|
|
compatible = "gpio-export";
|
|
|
|
#size-cells = <0>;
|
|
|
|
|
|
|
|
usb_power {
|
|
|
|
gpio-export,name = "usb_power";
|
|
|
|
gpio-export,output = <0>;
|
2020-04-09 09:10:03 +00:00
|
|
|
gpios = <&gpio 41 GPIO_ACTIVE_LOW>;
|
2020-02-12 13:14:26 +00:00
|
|
|
};
|
|
|
|
};
|
2019-07-23 12:12:48 +00:00
|
|
|
};
|
|
|
|
|
2019-12-22 20:26:01 +00:00
|
|
|
&state_default {
|
|
|
|
gpio {
|
2020-04-12 12:58:29 +00:00
|
|
|
groups = "i2c", "refclk", "wdt", "p2led_an", "p3led_an", "wled_an";
|
|
|
|
function = "gpio";
|
2019-07-23 12:12:48 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
&pcie {
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
|
|
|
&pcie0 {
|
|
|
|
wifi@0,0 {
|
|
|
|
reg = <0x0000 0 0 0 0>;
|
|
|
|
mediatek,mtd-eeprom = <&factory 0x8000>;
|
|
|
|
ieee80211-freq-limit = <5000000 6000000>;
|
|
|
|
};
|
|
|
|
};
|