summaryrefslogtreecommitdiff
path: root/src/mainboard/lenovo/x230/variants
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/lenovo/x230/variants')
-rw-r--r--src/mainboard/lenovo/x230/variants/x230/overridetree.cb16
-rw-r--r--src/mainboard/lenovo/x230/variants/x230s/overridetree.cb17
2 files changed, 32 insertions, 1 deletions
diff --git a/src/mainboard/lenovo/x230/variants/x230/overridetree.cb b/src/mainboard/lenovo/x230/variants/x230/overridetree.cb
index d82faae94f..e7b06b6b2b 100644
--- a/src/mainboard/lenovo/x230/variants/x230/overridetree.cb
+++ b/src/mainboard/lenovo/x230/variants/x230/overridetree.cb
@@ -3,6 +3,22 @@ chip northbridge/intel/sandybridge
chip southbridge/intel/bd82x6x # Intel Series 7 Panther Point PCH
register "docking_supported" = "1"
register "pcie_hotplug_map" = "{ 0, 0, 1, 0, 0, 0, 0, 0 }"
+ register "usb_port_config" = "{
+ {1, 0, 0 }, /* P0 (left, fan side), OC 0 */
+ {1, 0, 1 }, /* P1 (left touchpad side), OC 1 */
+ {1, 1, 3 }, /* P2: dock, OC 3 */
+ {1, 1, -1}, /* P3: wwan, no OC */
+ {1, 1, -1}, /* P4: Wacom tablet on X230t, otherwise empty */
+ {1, 1, -1}, /* P5: Expresscard, no OC */
+ {0, 0, -1}, /* P6: Empty */
+ {1, 2, -1}, /* P7: dock, no OC */
+ {0, 0, -1}, /* P8: Empty */
+ {1, 2, 5 }, /* P9: Right (EHCI debug), OC 5 */
+ {1, 1, -1}, /* P10: fingerprint reader, no OC */
+ {1, 1, -1}, /* P11: bluetooth, no OC. */
+ {1, 1, -1}, /* P12: wlan, no OC */
+ {1, 1, -1}, /* P13: webcam, no OC */
+ }"
device ref pcie_rp3 on
smbios_slot_desc "7" "3" "ExpressCard Slot" "8"
end
diff --git a/src/mainboard/lenovo/x230/variants/x230s/overridetree.cb b/src/mainboard/lenovo/x230/variants/x230s/overridetree.cb
index 09e7f9289c..a84b5f3bdd 100644
--- a/src/mainboard/lenovo/x230/variants/x230s/overridetree.cb
+++ b/src/mainboard/lenovo/x230/variants/x230s/overridetree.cb
@@ -18,7 +18,22 @@ chip northbridge/intel/sandybridge
# X230s does not support docking
# Enable SATA ports 0 (HDD bay) & 1 (WWAN M.2 SATA)
register "sata_port_map" = "0x3"
-
+ register "usb_port_config" = "{
+ {1, 3, 0}, /* SSP1: Right */
+ {1, 3, 1}, /* SSP2: Left, EHCI Debug */
+ {0, 1, 3}, /* SSP3 */
+ {1, 3, -1}, /* B0P4: WWAN USB */
+ {0, 1, 2}, /* B0P5 */
+ {0, 1, -1}, /* B0P6 */
+ {0, 1, -1}, /* B0P7 */
+ {0, 1, -1}, /* B0P8 */
+ {0, 1, -1}, /* B1P1 */
+ {0, 1, 5}, /* B1P2 */
+ {1, 1, -1}, /* B1P3: Fingerprint Reader */
+ {0, 1, -1}, /* B1P4 */
+ {1, 3, -1}, /* B1P5: WLAN USB */
+ {1, 1, -1}, /* B1P6: Camera */
+ }"
device ref lpc on
chip ec/lenovo/h8
register "config1" = "0x05"