From 2a404b599b3385b3246a2ee20844d2bc7a428035 Mon Sep 17 00:00:00 2001 From: Tim Crawford Date: Fri, 7 Jan 2022 14:12:34 -0700 Subject: mb/system76: Enable SrcClk pin for CPU PCIe RPs This reverts commit bd9b044a96cc ("mb/system76: rtd3: Remove SrcClk pin on CPU RP"). Previously, RTD3 expected a PCH index for the root port and did not work with the CPU PCIe RP present on TGL, so SrcClk pin was disabled. Set them now that RTD3 supports mapping the index for the CPU RP. Change-Id: Ia7519b9f5a2be52cd5575615c28d20371a26996b Signed-off-by: Tim Crawford Reviewed-on: https://review.coreboot.org/c/coreboot/+/60914 Tested-by: build bot (Jenkins) Reviewed-by: Tim Wawrzynczak Reviewed-by: Jeremy Soller --- src/mainboard/system76/darp7/devicetree.cb | 3 +-- src/mainboard/system76/galp5/devicetree.cb | 3 +-- src/mainboard/system76/gaze16/variants/3050/overridetree.cb | 3 +-- src/mainboard/system76/gaze16/variants/3060/overridetree.cb | 3 +-- src/mainboard/system76/lemp10/devicetree.cb | 3 +-- src/mainboard/system76/oryp8/devicetree.cb | 3 +-- 6 files changed, 6 insertions(+), 12 deletions(-) (limited to 'src/mainboard') diff --git a/src/mainboard/system76/darp7/devicetree.cb b/src/mainboard/system76/darp7/devicetree.cb index 21f8141c5f..4b7ad233ea 100644 --- a/src/mainboard/system76/darp7/devicetree.cb +++ b/src/mainboard/system76/darp7/devicetree.cb @@ -113,8 +113,7 @@ chip soc/intel/tigerlake chip soc/intel/common/block/pcie/rtd3 register "enable_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_B16)" # SSD1_PWR_EN register "reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_D13)" # GPP_D13_SSD1_PLT_RST# - # TODO: Support disable/enable CPU RP clock - register "srcclk_pin" = "-1" # SSD1_CLKREQ# + register "srcclk_pin" = "0" # SSD1_CLKREQ# device generic 0 on end end end diff --git a/src/mainboard/system76/galp5/devicetree.cb b/src/mainboard/system76/galp5/devicetree.cb index 8bc74e34e1..81163b6547 100644 --- a/src/mainboard/system76/galp5/devicetree.cb +++ b/src/mainboard/system76/galp5/devicetree.cb @@ -113,8 +113,7 @@ chip soc/intel/tigerlake chip soc/intel/common/block/pcie/rtd3 register "enable_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_D14)" # SSD1_PWR_DN# register "reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_H0)" # GPP_H0_RTD3 - # TODO: Support disable/enable CPU RP clock - register "srcclk_pin" = "-1" # SSD1_CLKREQ# + register "srcclk_pin" = "0" # SSD1_CLKREQ# device generic 0 on end end end diff --git a/src/mainboard/system76/gaze16/variants/3050/overridetree.cb b/src/mainboard/system76/gaze16/variants/3050/overridetree.cb index c26b7d2fed..32f0805ac0 100644 --- a/src/mainboard/system76/gaze16/variants/3050/overridetree.cb +++ b/src/mainboard/system76/gaze16/variants/3050/overridetree.cb @@ -13,8 +13,7 @@ chip soc/intel/tigerlake register "enable_off_delay_ms" = "4" register "reset_delay_ms" = "10" register "reset_off_delay_ms" = "4" - # TODO: Support disable/enable CPU RP clock - register "srcclk_pin" = "-1" # GFX_CLKREQ0# + register "srcclk_pin" = "0" # GFX_CLKREQ0# device generic 0 on end end end diff --git a/src/mainboard/system76/gaze16/variants/3060/overridetree.cb b/src/mainboard/system76/gaze16/variants/3060/overridetree.cb index 7d5549935c..881b2c5caf 100644 --- a/src/mainboard/system76/gaze16/variants/3060/overridetree.cb +++ b/src/mainboard/system76/gaze16/variants/3060/overridetree.cb @@ -13,8 +13,7 @@ chip soc/intel/tigerlake register "enable_off_delay_ms" = "4" register "reset_delay_ms" = "10" register "reset_off_delay_ms" = "4" - # TODO: Support disable/enable CPU RP clock - register "srcclk_pin" = "-1" # PEG_CLKREQ# + register "srcclk_pin" = "9" # PEG_CLKREQ# device generic 0 on end end end diff --git a/src/mainboard/system76/lemp10/devicetree.cb b/src/mainboard/system76/lemp10/devicetree.cb index fc6c3b1774..e84c405496 100644 --- a/src/mainboard/system76/lemp10/devicetree.cb +++ b/src/mainboard/system76/lemp10/devicetree.cb @@ -114,8 +114,7 @@ chip soc/intel/tigerlake chip soc/intel/common/block/pcie/rtd3 register "enable_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_C13)" # SSD1_PWR_DN# register "reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_C22)" # GPP_C12_RTD3 (labeled incorrectly) - # TODO: Support disable/enable CPU RP clock - register "srcclk_pin" = "-1" # SSD2_CLKREQ# + register "srcclk_pin" = "3" # SSD2_CLKREQ# device generic 0 on end end end diff --git a/src/mainboard/system76/oryp8/devicetree.cb b/src/mainboard/system76/oryp8/devicetree.cb index d3cf5de9c9..65b6e874cd 100644 --- a/src/mainboard/system76/oryp8/devicetree.cb +++ b/src/mainboard/system76/oryp8/devicetree.cb @@ -99,8 +99,7 @@ chip soc/intel/tigerlake register "enable_off_delay_ms" = "4" register "reset_delay_ms" = "10" register "reset_off_delay_ms" = "4" - # TODO: Support disable/enable CPU RP clock - register "srcclk_pin" = "-1" # PEG_CLKREQ# + register "srcclk_pin" = "9" # PEG_CLKREQ# device generic 0 on end end end -- cgit v1.2.3