ramips: disable sdhc for HC5661A

Currently OpenWrt doesn't support switching MT7628 into AP mode
(which is done by writing some undocumented registers in MTK SDK)
Without doing so, enabling SD breaks 4 FE ports and the SD controller
doesn't work since SD pins aren't configured correctly.

Disable SDHC on HC5661A to recover the 4 FE ports.

Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
[drop the sdhci node completely]
Signed-off-by: Mathias Kresin <dev@kresin.me>
This commit is contained in:
Chuanhong Guo 2018-12-05 23:54:00 +08:00 committed by Mathias Kresin
parent 476336fe66
commit 5563d49a39
2 changed files with 0 additions and 5 deletions

View file

@ -63,10 +63,6 @@
}; };
}; };
&sdhci {
status = "okay";
};
&spi0 { &spi0 {
status = "okay"; status = "okay";

View file

@ -65,7 +65,6 @@ 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