ramips: disable sdhc for HC5661A
authorChuanhong Guo <gch981213@gmail.com>
Wed, 5 Dec 2018 15:54:00 +0000 (23:54 +0800)
committerJo-Philipp Wich <jo@mein.io>
Tue, 18 Dec 2018 16:48:23 +0000 (17:48 +0100)
commit06223cd19b5c31c96e427df4f573e9fbf03277ed
treec8965dde1267fd02de106a257b1d35b61f0202e4
parentadb83a284d4af5d5aadd4ee77a0c6675f37cd43e
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>
(backported from 5563d49a391e65fd9c179661b9ddfd79cb903a54)
target/linux/ramips/dts/HC5661A.dts
target/linux/ramips/image/mt76x8.mk