Lin Huang has uploaded this change for review. ( https://review.coreboot.org/20802
Change subject: google/gru: Scarlet gpio4cd use 1.8V powerdomain ......................................................................
google/gru: Scarlet gpio4cd use 1.8V powerdomain
Scarlet gpio4cd use 1.8V powerdomain, let's make a correct register setting, otherwise even the uart can not work.
Change-Id: Ib5a8b2a4d92502fb829688d0a3e1b645d53cd7fc Signed-off-by: Lin Huang hl@rock-chips.com --- M src/mainboard/google/gru/bootblock.c 1 file changed, 4 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/02/20802/1
diff --git a/src/mainboard/google/gru/bootblock.c b/src/mainboard/google/gru/bootblock.c index 7359f2a..d0a5182 100644 --- a/src/mainboard/google/gru/bootblock.c +++ b/src/mainboard/google/gru/bootblock.c @@ -44,6 +44,10 @@ */ write32(&rk3399_grf->io_vsel, RK_SETBITS(1 << 0));
+ /* Scarlet gpio2ab iodomain is 1.8V */ + if (IS_ENABLED(CONFIG_BOARD_GOOGLE_SCARLET)) + write32(&rk3399_grf->io_vsel, RK_SETBITS(1 << 3)); + if (!IS_ENABLED(CONFIG_BOARD_GOOGLE_SCARLET)) { /* Enable rails powering GPIO blocks, among other things. These are EC-controlled on Scarlet and already on. */