mirror of
https://github.com/openwrt/openwrt.git
synced 2025-01-10 23:12:48 +00:00
f81f707c05
After adding the correct package and pin group configurations,
the SDXC card slot can now function properly.
Signed-off-by: Shiji Yang <yangshiji66@qq.com>
Link: https://github.com/openwrt/openwrt/pull/17446
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
(cherry picked from commit cea4aae0a9
)
60 lines
941 B
Plaintext
60 lines
941 B
Plaintext
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
|
|
|
|
#include "mt7628an_hiwifi_hc5x61a.dtsi"
|
|
|
|
/ {
|
|
compatible = "hiwifi,hc5661a", "mediatek,mt7628an-soc";
|
|
model = "HiWiFi HC5661A";
|
|
|
|
leds {
|
|
compatible = "gpio-leds";
|
|
|
|
led_system: system {
|
|
label = "blue:system";
|
|
gpios = <&gpio 37 GPIO_ACTIVE_HIGH>;
|
|
};
|
|
|
|
internet {
|
|
label = "blue:internet";
|
|
gpios = <&gpio 1 GPIO_ACTIVE_HIGH>;
|
|
};
|
|
|
|
wlan2g {
|
|
label = "blue:wlan2g";
|
|
gpios = <&gpio 44 GPIO_ACTIVE_HIGH>;
|
|
linux,default-trigger = "phy0tpt";
|
|
};
|
|
};
|
|
};
|
|
|
|
&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>;
|
|
};
|
|
|
|
&state_default {
|
|
gpio {
|
|
groups = "i2s", "refclk", "wdt", "wled_an";
|
|
function = "gpio";
|
|
};
|
|
};
|
|
|
|
&ehci {
|
|
status = "disabled";
|
|
};
|
|
|
|
&ohci {
|
|
status = "disabled";
|
|
};
|