2025-01-01 16:06:38 +08:00
|
|
|
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
|
|
|
|
|
2019-07-23 20:12:29 +08:00
|
|
|
#include "mt7628an_hiwifi_hc5x61a.dtsi"
|
2017-02-25 07:19:15 +08:00
|
|
|
|
|
|
|
/ {
|
2017-07-29 10:14:07 +08:00
|
|
|
compatible = "hiwifi,hc5661a", "mediatek,mt7628an-soc";
|
2017-02-25 07:19:15 +08:00
|
|
|
model = "HiWiFi HC5661A";
|
|
|
|
|
2018-12-30 12:42:53 +01:00
|
|
|
leds {
|
2017-02-25 07:19:15 +08:00
|
|
|
compatible = "gpio-leds";
|
|
|
|
|
2018-07-16 16:27:22 +08:00
|
|
|
led_system: system {
|
2020-09-27 19:40:51 +02:00
|
|
|
label = "blue:system";
|
2020-04-09 17:10:03 +08:00
|
|
|
gpios = <&gpio 37 GPIO_ACTIVE_HIGH>;
|
2017-02-25 07:19:15 +08:00
|
|
|
};
|
2019-07-23 20:12:29 +08:00
|
|
|
|
2017-02-25 07:19:15 +08:00
|
|
|
internet {
|
2020-09-27 19:40:51 +02:00
|
|
|
label = "blue:internet";
|
2020-04-09 17:10:03 +08:00
|
|
|
gpios = <&gpio 1 GPIO_ACTIVE_HIGH>;
|
2017-02-25 07:19:15 +08:00
|
|
|
};
|
2019-07-23 20:12:29 +08:00
|
|
|
|
2017-02-25 07:19:15 +08:00
|
|
|
wlan2g {
|
2020-09-27 19:40:51 +02:00
|
|
|
label = "blue:wlan2g";
|
2020-04-09 17:10:03 +08:00
|
|
|
gpios = <&gpio 44 GPIO_ACTIVE_HIGH>;
|
2019-07-23 20:12:37 +08:00
|
|
|
linux,default-trigger = "phy0tpt";
|
2017-02-25 07:19:15 +08:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2025-01-01 16:06:38 +08:00
|
|
|
&pinctrl {
|
|
|
|
ephy-analog;
|
|
|
|
|
|
|
|
sdxc_router_mode: sdxc_router_mode {
|
|
|
|
groups = "esd", "gpio", "i2c", "sdmode", "uart1";
|
|
|
|
function = "gpio";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
&sdhci {
|
|
|
|
status = "okay";
|
|
|
|
|
|
|
|
pinctrl-0 = <&sdxc_router_mode>;
|
|
|
|
pinctrl-1 = <&sdxc_router_mode>;
|
|
|
|
};
|
|
|
|
|
2019-12-22 21:26:01 +01:00
|
|
|
&state_default {
|
|
|
|
gpio {
|
2025-01-01 16:06:38 +08:00
|
|
|
groups = "i2s", "refclk", "wdt", "wled_an";
|
2020-04-12 20:58:29 +08:00
|
|
|
function = "gpio";
|
2017-02-25 07:19:15 +08:00
|
|
|
};
|
|
|
|
};
|
2019-07-23 20:12:37 +08:00
|
|
|
|
|
|
|
&ehci {
|
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
|
|
|
&ohci {
|
|
|
|
status = "disabled";
|
|
|
|
};
|