openwrt/target/linux/ramips/dts/mt7628an_hiwifi_hc5661a.dts
Shiji Yang f81f707c05 ramips: add back SDXC card reader support for HiWiFi HC5x61A
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)
2025-01-04 19:25:34 +01:00

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";
};