diff options
author | LoveSy <shana@zju.edu.cn> | 2018-05-28 09:47:19 +0800 |
---|---|---|
committer | John Crispin <john@phrozen.org> | 2018-07-30 10:43:37 +0200 |
commit | 974a2b1aa9b0f8bd7a7442efa069d954e6b354ce (patch) | |
tree | fbccdbc2df19beca8013259ef077618fbeee2e0c /target/linux | |
parent | 3a8efaef00d6b7317c46fe6b7e923912d8bf3500 (diff) | |
download | upstream-974a2b1aa9b0f8bd7a7442efa069d954e6b354ce.tar.gz upstream-974a2b1aa9b0f8bd7a7442efa069d954e6b354ce.tar.bz2 upstream-974a2b1aa9b0f8bd7a7442efa069d954e6b354ce.zip |
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>
Diffstat (limited to 'target/linux')
-rw-r--r-- | target/linux/ramips/dts/HC5661A.dts | 4 | ||||
-rw-r--r-- | target/linux/ramips/image/mt76x8.mk | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/target/linux/ramips/dts/HC5661A.dts b/target/linux/ramips/dts/HC5661A.dts index 57b86cf069..5931906a8c 100644 --- a/target/linux/ramips/dts/HC5661A.dts +++ b/target/linux/ramips/dts/HC5661A.dts @@ -22,6 +22,10 @@ reg = <0x0 0x8000000>; }; + sdhci@10130000 { + status = "okay"; + }; + gpio-leds { compatible = "gpio-leds"; diff --git a/target/linux/ramips/image/mt76x8.mk b/target/linux/ramips/image/mt76x8.mk index 729bf83003..143944176d 100644 --- a/target/linux/ramips/image/mt76x8.mk +++ b/target/linux/ramips/image/mt76x8.mk @@ -54,6 +54,7 @@ define Device/hc5661a DTS := HC5661A IMAGE_SIZE := $(ralink_default_fw_size_16M) DEVICE_TITLE := HiWiFi HC5661A + DEVICE_PACKAGES := kmod-sdhci-mt7620 endef TARGET_DEVICES += hc5661a |