[coreboot-gerrit] Change in coreboot[master]: google/gru: Scarlet gpio4cd use 1.8V powerdomain

Lin Huang (Code Review) gerrit at coreboot.org
Fri Jul 28 04:40:53 CEST 2017


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 at 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. */

-- 
To view, visit https://review.coreboot.org/20802
To unsubscribe, visit https://review.coreboot.org/settings

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ib5a8b2a4d92502fb829688d0a3e1b645d53cd7fc
Gerrit-Change-Number: 20802
Gerrit-PatchSet: 1
Gerrit-Owner: Lin Huang <hl at rock-chips.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20170728/108cdf24/attachment.html>


More information about the coreboot-gerrit mailing list