openwrt/target/linux/ramips
Chuanhong Guo fae125781e ramips: mtk-mmc: mt76x8: check ESD_MODE before applying AGPIO_CFG
Since mt76x8an ver1 eco2, SDXC pins can be switched to the
following pinmap:
sd_d1  -> PAD_I2S_SDI
sd_d0  -> PAD_I2S_WS
sd_cmd -> PAD_I2S_CLK
sd_d3  -> PAD_I2C_SCLK
sd_d2  -> PAD_I2C_SD
sd_clk -> PAD_GPIO0
sd_wp  -> PAD_TXD1
sd_cd  -> PAD_RXD1

To use this pinmap, one would need to set ESD_MODE bit (bit 15)
to 1 in GPIO1_MODE and switch other used pads into GPIO mode.
In this mode, we don't need to switch ethernet pins to digital
pad.

Check ESD_MODE bit before applying AGPIO_CFG and use rt_sysc_m32
to set it.

Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
2019-07-16 09:50:16 +08:00
..
base-files ramips: add support for ASUS RT-AC57U 2019-07-11 21:32:39 +02:00
dts ramips: add support for ASUS RT-AC57U 2019-07-11 21:32:39 +02:00
files-4.14/drivers ramips: mtk-mmc: mt76x8: check ESD_MODE before applying AGPIO_CFG 2019-07-16 09:50:16 +08:00
image ramips: add support for ASUS RT-AC57U 2019-07-11 21:32:39 +02:00
mt76x8 ramips: use upstream RAW_APPENDED_DTB instead of our OWRTDTB 2019-07-08 22:00:24 +02:00
mt7620 ramips: use upstream RAW_APPENDED_DTB instead of our OWRTDTB 2019-07-08 22:00:24 +02:00
mt7621 ramips: use upstream RAW_APPENDED_DTB instead of our OWRTDTB 2019-07-08 22:00:24 +02:00
patches-4.14 ramips: mt7621: add support for memory detection 2019-07-11 22:11:21 +08:00
rt288x ramips: disable CONFIG_MTD_SPLIT_FIRMWARE 2019-01-26 21:46:33 +01:00
rt305x ramips: use upstream RAW_APPENDED_DTB instead of our OWRTDTB 2019-07-08 22:00:24 +02:00
rt3883 ramips: use upstream RAW_APPENDED_DTB instead of our OWRTDTB 2019-07-08 22:00:24 +02:00
Makefile ramips: switch to linux 4.14 2018-04-06 18:07:43 +02:00
modules.mk kernel: Fix kmod-regmap split 2019-01-27 11:07:14 +01:00