2019-07-23 12:12:48 +00:00
|
|
|
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
|
|
|
|
|
|
|
|
#include "mt7628an_hiwifi_hc5x61a.dtsi"
|
|
|
|
|
|
|
|
/ {
|
|
|
|
compatible = "hiwifi,hc5761a", "mediatek,mt7628an-soc";
|
|
|
|
model = "HiWiFi HC5761A";
|
|
|
|
|
|
|
|
leds {
|
|
|
|
compatible = "gpio-leds";
|
|
|
|
|
|
|
|
led_system: system {
|
2020-09-27 17:40:51 +00:00
|
|
|
label = "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 {
|
2020-09-27 17:40:51 +00:00
|
|
|
label = "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 {
|
2020-09-27 17:40:51 +00:00
|
|
|
label = "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 {
|
2020-09-27 17:40:51 +00:00
|
|
|
label = "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>;
|
2023-10-02 02:12:02 +00:00
|
|
|
nvmem-cells = <&eeprom_factory_8000>;
|
|
|
|
nvmem-cell-names = "eeprom";
|
2019-07-23 12:12:48 +00:00
|
|
|
ieee80211-freq-limit = <5000000 6000000>;
|
|
|
|
};
|
|
|
|
};
|