aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChuanhong Guo <gch981213@gmail.com>2018-12-05 23:54:00 +0800
committerMathias Kresin <dev@kresin.me>2018-12-06 12:17:25 +0100
commit5563d49a391e65fd9c179661b9ddfd79cb903a54 (patch)
tree78b54ad60f51530665e62c17941ad612235cce1c
parent476336fe66b0c1b77b774609adacf1f609c3596a (diff)
downloadupstream-5563d49a391e65fd9c179661b9ddfd79cb903a54.tar.gz
upstream-5563d49a391e65fd9c179661b9ddfd79cb903a54.tar.bz2
upstream-5563d49a391e65fd9c179661b9ddfd79cb903a54.zip
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>
-rw-r--r--target/linux/ramips/dts/HC5661A.dts4
-rw-r--r--target/linux/ramips/image/mt76x8.mk1
2 files changed, 0 insertions, 5 deletions
diff --git a/target/linux/ramips/dts/HC5661A.dts b/target/linux/ramips/dts/HC5661A.dts
index 5640154651..6dfac50618 100644
--- a/target/linux/ramips/dts/HC5661A.dts
+++ b/target/linux/ramips/dts/HC5661A.dts
@@ -63,10 +63,6 @@
};
};
-&sdhci {
- status = "okay";
-};
-
&spi0 {
status = "okay";
diff --git a/target/linux/ramips/image/mt76x8.mk b/target/linux/ramips/image/mt76x8.mk
index d2f402e939..fe414acfb5 100644
--- a/target/linux/ramips/image/mt76x8.mk
+++ b/target/linux/ramips/image/mt76x8.mk
@@ -65,7 +65,6 @@ 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