ramips: mmc: Add SD card support to HC5661A

Tested on HC5661A and it now fixes the issue that when enabling sd card
in HC5661A, the wan and 3 lan ports will down.

Known issue:
- When enabling SD card support, the led light of system will down and the rest 2 lights keep working.

Signed-off-by: LoveSy <shana@zju.edu.cn>
This commit is contained in:
LoveSy 2018-05-28 09:47:19 +08:00 committed by John Crispin
parent 3a8efaef00
commit 974a2b1aa9
2 changed files with 5 additions and 0 deletions

View file

@ -22,6 +22,10 @@
reg = <0x0 0x8000000>; reg = <0x0 0x8000000>;
}; };
sdhci@10130000 {
status = "okay";
};
gpio-leds { gpio-leds {
compatible = "gpio-leds"; compatible = "gpio-leds";

View file

@ -54,6 +54,7 @@ define Device/hc5661a
DTS := HC5661A DTS := HC5661A
IMAGE_SIZE := $(ralink_default_fw_size_16M) IMAGE_SIZE := $(ralink_default_fw_size_16M)
DEVICE_TITLE := HiWiFi HC5661A DEVICE_TITLE := HiWiFi HC5661A
DEVICE_PACKAGES := kmod-sdhci-mt7620
endef endef
TARGET_DEVICES += hc5661a TARGET_DEVICES += hc5661a