diff options
author | samin <samin.guo@starfivetech.com> | 2022-05-20 12:54:24 +0300 |
---|---|---|
committer | Yanhong Wang <yanhong.wang@linux.starfivetech.com> | 2022-10-18 11:24:36 +0300 |
commit | fc05902d00e58c4c85a34d8ab44dc42eef51cdc6 (patch) | |
tree | dc95ee1d2b6d7bc25656670601d1677ee07118f1 | |
parent | 9ca1a627b4363ea3a08853cf1bbb821291ea0710 (diff) | |
download | u-boot-fc05902d00e58c4c85a34d8ab44dc42eef51cdc6.tar.xz |
spl:gpio: Set GPIO domain0-3 voltage to 1.8V
The default GPIO domian0-3 voltage is 3.3V, which is controlled by 4
bits. 0 means 3.3.V, 1 means 1.8V.
Signed-off-by: samin <samin.guo@starfivetech.com>
-rw-r--r-- | board/starfive/evb/spl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/board/starfive/evb/spl.c b/board/starfive/evb/spl.c index 50469b33c3..0de246557b 100644 --- a/board/starfive/evb/spl.c +++ b/board/starfive/evb/spl.c @@ -121,7 +121,7 @@ void board_init_f(ulong dummy) (0 << CLK_SDIO_SCLK_SW_SHIFT) & CLK_SDIO_SCLK_SW_MASK); /*set GPIO to 1.8v*/ - setbits_be32(SYS_SYSCON_BASE + 0xC, 0xf); + setbits_le32(SYS_SYSCON_BASE + 0xC, 0xf); /* reset emmc */ SYS_IOMUX_DOEN(22, LOW); |