summaryrefslogtreecommitdiff
path: root/board/starfive/visionfive2/spl.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/starfive/visionfive2/spl.c')
-rw-r--r--board/starfive/visionfive2/spl.c24
1 files changed, 18 insertions, 6 deletions
diff --git a/board/starfive/visionfive2/spl.c b/board/starfive/visionfive2/spl.c
index b2b8d7342c..2149fc519f 100644
--- a/board/starfive/visionfive2/spl.c
+++ b/board/starfive/visionfive2/spl.c
@@ -132,20 +132,32 @@ void board_init_f(ulong dummy)
/* reset emmc */
SYS_IOMUX_DOEN(62, LOW);
SYS_IOMUX_DOUT(62, 19);
+ SYS_IOMUX_SET_DS(64, 2);
+ SYS_IOMUX_SET_SLEW(64, 1);
+ SYS_IOMUX_SET_DS(65, 1);
+ SYS_IOMUX_SET_DS(66, 1);
+ SYS_IOMUX_SET_DS(67, 1);
+ SYS_IOMUX_SET_DS(68, 1);
+ SYS_IOMUX_SET_DS(69, 1);
+ SYS_IOMUX_SET_DS(70, 1);
+ SYS_IOMUX_SET_DS(71, 1);
+ SYS_IOMUX_SET_DS(72, 1);
+ SYS_IOMUX_SET_DS(73, 1);
/* reset sdio */
SYS_IOMUX_DOEN(10, LOW);
SYS_IOMUX_DOUT(10, 55);
- SYS_IOMUX_SET_DS(10, 3);
+ SYS_IOMUX_SET_DS(10, 2);
+ SYS_IOMUX_SET_SLEW(10, 1);
SYS_IOMUX_COMPLEX(9, 44, 57, 19);
- SYS_IOMUX_SET_DS(9, 3);
+ SYS_IOMUX_SET_DS(9, 1);
SYS_IOMUX_COMPLEX(11, 45, 58, 20);
- SYS_IOMUX_SET_DS(11, 3);
+ SYS_IOMUX_SET_DS(11, 1);
SYS_IOMUX_COMPLEX(12, 46, 59, 21);
- SYS_IOMUX_SET_DS(12, 3);
+ SYS_IOMUX_SET_DS(12, 1);
SYS_IOMUX_COMPLEX(7, 47, 60, 22);
- SYS_IOMUX_SET_DS(7, 3);
+ SYS_IOMUX_SET_DS(7, 1);
SYS_IOMUX_COMPLEX(8, 48, 61, 23);
- SYS_IOMUX_SET_DS(8, 3);
+ SYS_IOMUX_SET_DS(8, 1);
/*i2c5*/
SYS_IOMUX_COMPLEX(19, 79, 0, 42);//scl