From dc522d22023a7ceb622e1f866a9a71c79343ae2c Mon Sep 17 00:00:00 2001 From: Sean Rhodes Date: Mon, 3 Oct 2022 11:19:52 +0100 Subject: 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 Change-Id: I297d5446e43357d97357f345668cf40dcd28502d Reviewed-on: https://review.coreboot.org/c/coreboot/+/68083 Reviewed-by: Angel Pons Tested-by: build bot (Jenkins) Reviewed-by: Martin L Roth --- src/mainboard/starlabs/starbook/Kconfig | 1 + src/mainboard/starlabs/starbook/variants/tgl/devicetree.cb | 12 +++++++++++- 2 files changed, 12 insertions(+), 1 deletion(-) (limited to 'src/mainboard/starlabs/starbook') 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 -- cgit v1.2.3