[coreboot-gerrit] Change in coreboot[master]: purism/librem13v2: Clean up devicetree

Youness Alaoui (Code Review) gerrit at coreboot.org
Fri May 26 23:50:43 CEST 2017


Hello Matt DeVillier,

I'd like you to do a code review.  Please visit

    https://review.coreboot.org/19941

to review the following change.


Change subject: purism/librem13v2: Clean up devicetree
......................................................................

purism/librem13v2: Clean up devicetree

- remove unused I2C, serialIO defs
- set PL2 override, VR mailbox cmd based on SKL-U ref board,
  as values copied from google/chell are for SKL-Y

Change-Id: I3a138c28d0322df6cb41ec1a845ae31602cb69a7
Signed-off-by: Youness Alaoui <youness.alaoui at puri.sm>
Signed-off-by: Matt DeVillier <matt.devillier at gmail.com>
---
M src/mainboard/purism/librem13v2/devicetree.cb
1 file changed, 4 insertions(+), 23 deletions(-)


  git pull ssh://review.coreboot.org:29418/coreboot refs/changes/41/19941/1

diff --git a/src/mainboard/purism/librem13v2/devicetree.cb b/src/mainboard/purism/librem13v2/devicetree.cb
index 0defea0..f345c09 100644
--- a/src/mainboard/purism/librem13v2/devicetree.cb
+++ b/src/mainboard/purism/librem13v2/devicetree.cb
@@ -165,30 +165,11 @@
 	register "usb3_ports[1]" = "USB3_PORT_DEFAULT(OC_SKIP)"	# Type-A Port (right)
 	register "usb3_ports[2]" = "USB3_PORT_DEFAULT(OC_SKIP)"	# Type-C Port
 
-	register "i2c_voltage[4]" = "I2C_VOLTAGE_1V8"  # I2C4 is 1.8V
+	# PL2 override 25W
+	register "tdp_pl2_override" = "25"
 
-	# Must leave UART0 enabled or SD/eMMC will not work as PCI
-	register "SerialIoDevMode" = "{
-		[PchSerialIoIndexI2C0]  = PchSerialIoPci,
-		[PchSerialIoIndexI2C1]  = PchSerialIoPci,
-		[PchSerialIoIndexI2C2]  = PchSerialIoDisabled,
-		[PchSerialIoIndexI2C3]  = PchSerialIoDisabled,
-		[PchSerialIoIndexI2C4]  = PchSerialIoPci,
-		[PchSerialIoIndexI2C5]  = PchSerialIoDisabled,
-		[PchSerialIoIndexSpi0]  = PchSerialIoDisabled,
-		[PchSerialIoIndexSpi1]  = PchSerialIoDisabled,
-		[PchSerialIoIndexUart0] = PchSerialIoPci,
-		[PchSerialIoIndexUart1] = PchSerialIoDisabled,
-		[PchSerialIoIndexUart2] = PchSerialIoSkipInit,
-	}"
-
-	# PL2 override 15W
-	register "tdp_pl2_override" = "15"
-
-	register "tcc_offset" = "10"     # TCC of 90C
-
-	# Send an extra VR mailbox command for the supported MPS IMVP8 model
-	register "SendVrMbxCmd" = "1"
+	# Send an extra VR mailbox command for the PS4 exit issue
+	register "SendVrMbxCmd" = "2"
 
 	device cpu_cluster 0 on
 		device lapic 0 on end

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I3a138c28d0322df6cb41ec1a845ae31602cb69a7
Gerrit-PatchSet: 1
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Owner: Youness Alaoui <snifikino at gmail.com>
Gerrit-Reviewer: Matt DeVillier <matt.devillier at gmail.com>



More information about the coreboot-gerrit mailing list