From 3a6298ad8584847fa1d165bf4cc2345c6ed6db95 Mon Sep 17 00:00:00 2001 From: Patrick Rudolph Date: Sun, 15 Feb 2026 08:37:42 +0100 Subject: [PATCH] mb/lenovo/x220: Correct USB port config - Drop USB OC2#, OC3#, OC4#, OC6# Those are either pulled high or used as GPIO and used by internal devices only. - Disable Port 4, 6, 7. They are unused. - Add comments with devices connected. TEST=On Lenovo x220 the USB ports P00, P01, P02, P03, P08, P09, P11, P13 are still working. Change-Id: I00b0a36a80b812adb9a4ee976dabb528afd36409 Signed-off-by: Patrick Rudolph Reviewed-on: https://review.coreboot.org/c/coreboot/+/91233 Reviewed-by: Matt DeVillier Tested-by: build bot (Jenkins) --- .../lenovo/x220/variants/x220/overridetree.cb | 28 +++++++++---------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/src/mainboard/lenovo/x220/variants/x220/overridetree.cb b/src/mainboard/lenovo/x220/variants/x220/overridetree.cb index 626f7eb3a6..7aed10d4bf 100644 --- a/src/mainboard/lenovo/x220/variants/x220/overridetree.cb +++ b/src/mainboard/lenovo/x220/variants/x220/overridetree.cb @@ -2,20 +2,20 @@ chip northbridge/intel/sandybridge device domain 0 on chip southbridge/intel/bd82x6x # Intel Series 6 Cougar Point PCH register "usb_port_config" = "{ - {1, 0, 0 }, - {1, 1, 1 }, - {1, 1, 3 }, - {1, 1, 3 }, - {1, 1, -1}, - {1, 1, -1}, - {1, 0, 2 }, - {1, 0, 2 }, - {1, 1, 6 }, - {1, 1, 5 }, - {1, 1, 6 }, - {1, 1, 6 }, - {1, 1, 7 }, - {1, 1, 6 }, + {1, 0, 0 }, /* P00: System Port (near VGA) */ + {1, 1, 1 }, /* P01: System Port (near ExpressCard) */ + {1, 1, -1 }, /* P02: WLAN */ + {1, 1, -1 }, /* P03: WWAN */ + {0, 0, -1}, /* P04: Reserved */ + {1, 1, -1}, /* P05: ExpressCard */ + {0, 0, -1}, /* P06: Reserved */ + {0, 0, -1 }, /* P07: Reserved */ + {1, 1, -1 }, /* P08: Docking */ + {1, 1, 5 }, /* P09: Always On System Port */ + {1, 1, -1 }, /* P10: FPR */ + {1, 1, -1 }, /* P11: BDC */ + {1, 1, 7 }, /* P12: Docking */ + {1, 1, -1 }, /* P13: Camera */ }" device ref lpc on