From ff16e41b75cc8af83b51df3e7e35865f864a84df Mon Sep 17 00:00:00 2001 From: Sean Rhodes Date: Fri, 6 May 2022 13:18:44 +0100 Subject: [PATCH] mb/starlabs/lite/glk: Correct OverCurrent Pin The OC pin was set to 0, which isn't connected. All USB ports are connected to OC1. This solves a strange issue where the Lite can't be powered on without the charger connected. Signed-off-by: Sean Rhodes Change-Id: I700ddde291f0e4be6e3787e2da13f6d3ece736b0 Reviewed-on: https://review.coreboot.org/c/coreboot/+/64097 Tested-by: build bot (Jenkins) Reviewed-by: Martin L Roth --- .../starlabs/lite/variants/glk/devicetree.cb | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/mainboard/starlabs/lite/variants/glk/devicetree.cb b/src/mainboard/starlabs/lite/variants/glk/devicetree.cb index 884bf7ed54..44f88effb3 100644 --- a/src/mainboard/starlabs/lite/variants/glk/devicetree.cb +++ b/src/mainboard/starlabs/lite/variants/glk/devicetree.cb @@ -88,23 +88,23 @@ chip soc/intel/apollolake device pci 15.0 on # XHCI ### USB 2.0 Devices # Motherboard USB Type C - register "usb2_port[0]" = "PORT_EN(OC0)" + register "usb2_port[0]" = "PORT_EN(OC_SKIP)" # Motherboard USB 3.0 - register "usb2_port[3]" = "PORT_EN(OC0)" + register "usb2_port[3]" = "PORT_EN(OC1)" # Internal Webcam - register "usb2_port[4]" = "PORT_EN(OC0)" + register "usb2_port[4]" = "PORT_EN(OC_SKIP)" # Daughterboard USB 3.0 - register "usb2_port[5]" = "PORT_EN(OC0)" + register "usb2_port[5]" = "PORT_EN(OC_SKIP)" # Daughterboard SD Card - register "usb2_port[6]" = "PORT_EN(OC0)" + register "usb2_port[6]" = "PORT_EN(OC_SKIP)" ### USB 3.0 Devices # Motherboard USB 3.0 - register "usb3_port[0]" = "PORT_EN(OC0)" + register "usb3_port[0]" = "PORT_EN(OC1)" # Motherboard USB Type C - register "usb3_port[1]" = "PORT_EN(OC0)" + register "usb3_port[1]" = "PORT_EN(OC_SKIP)" # Daughterboard USB 3.0 - register "usb3_port[2]" = "PORT_EN(OC0)" + register "usb3_port[2]" = "PORT_EN(OC_SKIP)" end device pci 15.1 off end # XDCI device pci 16.0 off end # I2C0