summaryrefslogtreecommitdiff
path: root/src/mainboard/lenovo/x220
diff options
context:
space:
mode:
authorKeith Hui <buurin@gmail.com>2024-02-05 16:44:38 -0500
committerMartin L Roth <gaumless@gmail.com>2024-06-08 00:08:33 +0000
commit51a57eb5ea782c3287719c8c7646ea726b14c78d (patch)
tree7ff3a6b1424750e66d4349f41eeb7fcc7b10ab77 /src/mainboard/lenovo/x220
parent1acb3e118bf0bdba8f13f62304425f8c21dad2c8 (diff)
mb/*: Add consolidated USB port config for SNB+MRC boards
For each sandybridge boards with option to use MRC or native platform init code, add a copy of the board's USB port config, consolidated between both code paths, into the southbridge devicetree, using special values allocated for this consolidation. These get hooked up in a separate patch. Change-Id: I53efca3d29b3c5d4d5b7e3d6dc3e6ce6c34201e6 Signed-off-by: Keith Hui <buurin@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/81880 Reviewed-by: Patrick Rudolph <patrick.rudolph@9elements.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/lenovo/x220')
-rw-r--r--src/mainboard/lenovo/x220/variants/x220/overridetree.cb17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/mainboard/lenovo/x220/variants/x220/overridetree.cb b/src/mainboard/lenovo/x220/variants/x220/overridetree.cb
index b9caa255de..626f7eb3a6 100644
--- a/src/mainboard/lenovo/x220/variants/x220/overridetree.cb
+++ b/src/mainboard/lenovo/x220/variants/x220/overridetree.cb
@@ -1,6 +1,23 @@
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 },
+ }"
+
device ref lpc on
chip ec/lenovo/h8
device pnp ff.2 on end # dummy