summaryrefslogtreecommitdiffstats
path: root/src/mainboard/google/brya/variants/anahera/overridetree.cb
diff options
context:
space:
mode:
authorWisley Chen <wisley.chen@quanta.corp-partner.google.com>2021-10-28 18:02:53 +0600
committerTim Wawrzynczak <twawrzynczak@chromium.org>2021-10-29 17:10:33 +0000
commit550bdc9050eb97d1c4ddc8d6890cd1713d65ca89 (patch)
treea991002ee55fe3b989c6a341951dfdf6ad0da06d /src/mainboard/google/brya/variants/anahera/overridetree.cb
parentb1700805ef121836a847668b68673f1560a90722 (diff)
downloadcoreboot-550bdc9050eb97d1c4ddc8d6890cd1713d65ca89.tar.gz
coreboot-550bdc9050eb97d1c4ddc8d6890cd1713d65ca89.tar.bz2
coreboot-550bdc9050eb97d1c4ddc8d6890cd1713d65ca89.zip
mb/google/brya/anahera: Disable autonomous GPIO power management
With cr50 fw 0.3.22 or older version, it needs to disable autonomous GPIO power management and then can update cr50 fw successfully. BUG=b:202246591 TEST=FW_NAME=anahera emerge-brya coreboot chromeos-bootimage. Signed-off-by: Wisley Chen <wisley.chen@quanta.corp-partner.google.com> Change-Id: I9137b6264ee80bc9e00dfdc3ab3926bccb4bf47c Reviewed-on: https://review.coreboot.org/c/coreboot/+/58695 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
Diffstat (limited to 'src/mainboard/google/brya/variants/anahera/overridetree.cb')
-rw-r--r--src/mainboard/google/brya/variants/anahera/overridetree.cb11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/mainboard/google/brya/variants/anahera/overridetree.cb b/src/mainboard/google/brya/variants/anahera/overridetree.cb
index 0225f6c13368..7d003b3f62af 100644
--- a/src/mainboard/google/brya/variants/anahera/overridetree.cb
+++ b/src/mainboard/google/brya/variants/anahera/overridetree.cb
@@ -22,6 +22,17 @@ fw_config
end
end
chip soc/intel/alderlake
+ # This disables autonomous GPIO power management, otherwise
+ # old cr50 FW only supports short pulses; need to clarify
+ # the minimum PCH IRQ pulse width with Intel, b/180111628
+ register "gpio_override_pm" = "1"
+ register "gpio_pm[COMM_0]" = "0"
+ register "gpio_pm[COMM_1]" = "0"
+ register "gpio_pm[COMM_2]" = "0"
+ register "gpio_pm[COMM_3]" = "0"
+ register "gpio_pm[COMM_4]" = "0"
+ register "gpio_pm[COMM_5]" = "0"
+
# Intel Common SoC Config
#+-------------------+---------------------------+
#| Field | Value |