google/gru: Use 1.8V powerdomain for gpio4cd on Scarlet
Scarlet gpio4cd use 1.8V powerdomain, let's make a correct register setting, otherwise even the uart does not work. Change-Id: Ib5a8b2a4d92502fb829688d0a3e1b645d53cd7fc Signed-off-by: Lin Huang <hl@rock-chips.com> Reviewed-on: https://review.coreboot.org/20802 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Julius Werner <jwerner@chromium.org>
This commit is contained in:
parent
6c581bc43f
commit
05c3e84622
|
@ -44,6 +44,10 @@ void bootblock_mainboard_early_init(void)
|
|||
*/
|
||||
write32(&rk3399_grf->io_vsel, RK_SETBITS(1 << 0));
|
||||
|
||||
/* Scarlet gpio4cd 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. */
|
||||
|
|
Loading…
Reference in New Issue