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>
This commit is contained in:
William Qiu 2023-07-28 18:24:53 +08:00
parent f1ad44f525
commit 3b5813075c

View file

@ -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);