summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Qiu <william.qiu@starfivetech.com>2023-07-28 13:24:53 +0300
committerWilliam Qiu <william.qiu@starfivetech.com>2023-07-28 13:24:53 +0300
commit3b5813075cd43556a7bef86f53ce5be7193ba4c9 (patch)
treed7dbcb089dfeb7938e3ca4a6f917a1f990de1ba7
parentf1ad44f525915b4f5a3ba04eee3be6e15c08aa77 (diff)
downloadu-boot-3b5813075cd43556a7bef86f53ce5be7193ba4c9.tar.xz
spl: starfive: modify driver strength and slew rate
Set eMMC/sd clk's DR to 2 and set its SR to 1. Signed-off-by: William Qiu <william.qiu@starfivetech.com>
-rw-r--r--board/starfive/evb/spl.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/board/starfive/evb/spl.c b/board/starfive/evb/spl.c
index 8616a61479..9e5ce3588e 100644
--- a/board/starfive/evb/spl.c
+++ b/board/starfive/evb/spl.c
@@ -100,6 +100,17 @@ void board_init_f(ulong dummy)
/* reset emmc */
SYS_IOMUX_DOEN(22, LOW);
SYS_IOMUX_DOUT(22, 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(24, LOW);
SYS_IOMUX_DOUT(24, 66);