summaryrefslogtreecommitdiff
path: root/src/mainboard/starlabs
diff options
context:
space:
mode:
authorSean Rhodes <sean@starlabs.systems>2022-10-03 11:19:52 +0100
committerMartin L Roth <gaumless@gmail.com>2022-10-12 16:55:26 +0000
commitdc522d22023a7ceb622e1f866a9a71c79343ae2c (patch)
tree47491df59328d02632059e54e92bf6776ec37dcd /src/mainboard/starlabs
parent25cd8e5f952f1e00b9d42b64f35ac52714b600fd (diff)
mb/starlabs/starbook/tgl: Configure PMC mux
Configure PMC mux in devicetree. Tested on StarBook Mk V with Ubuntu 22.04. Signed-off-by: Sean Rhodes <sean@starlabs.systems> Change-Id: I297d5446e43357d97357f345668cf40dcd28502d Reviewed-on: https://review.coreboot.org/c/coreboot/+/68083 Reviewed-by: Angel Pons <th3fanbus@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Martin L Roth <gaumless@gmail.com>
Diffstat (limited to 'src/mainboard/starlabs')
-rw-r--r--src/mainboard/starlabs/starbook/Kconfig1
-rw-r--r--src/mainboard/starlabs/starbook/variants/tgl/devicetree.cb12
2 files changed, 12 insertions, 1 deletions
diff --git a/src/mainboard/starlabs/starbook/Kconfig b/src/mainboard/starlabs/starbook/Kconfig
index 8f51db4525..16c8b6fec7 100644
--- a/src/mainboard/starlabs/starbook/Kconfig
+++ b/src/mainboard/starlabs/starbook/Kconfig
@@ -39,6 +39,7 @@ config BOARD_STARLABS_LABTOP_CML
config BOARD_STARLABS_STARBOOK_TGL
select BOARD_ROMSIZE_KB_16384
select BOARD_STARLABS_STARBOOK_SERIES
+ select DRIVERS_INTEL_PMC
select DRIVERS_INTEL_USB4_RETIMER
select EC_STARLABS_KBL_LEVELS
select EC_STARLABS_MAX_CHARGE
diff --git a/src/mainboard/starlabs/starbook/variants/tgl/devicetree.cb b/src/mainboard/starlabs/starbook/variants/tgl/devicetree.cb
index bfa2cf93fa..c2728dc266 100644
--- a/src/mainboard/starlabs/starbook/variants/tgl/devicetree.cb
+++ b/src/mainboard/starlabs/starbook/variants/tgl/devicetree.cb
@@ -182,7 +182,17 @@ chip soc/intel/tigerlake
end
end
device ref p2sb on end
- device ref pmc hidden end
+ device ref pmc hidden
+ chip drivers/intel/pmc_mux
+ device generic 0 on
+ chip drivers/intel/pmc_mux/conn
+ use usb2_port1 as usb2_port
+ use tcss_usb3_port1 as usb3_port
+ device generic 0 alias conn0 on end
+ end
+ end
+ end
+ end
device ref hda on
register "PchHdaAudioLinkHdaEnable" = "1"
end