summaryrefslogtreecommitdiff
path: root/src/mainboard/google/brya/variants/craaskov/overridetree.cb
diff options
context:
space:
mode:
authorRex Chou <rex_chou@compal.corp-partner.google.com>2023-10-06 13:25:02 +0800
committerMatt DeVillier <matt.devillier@amd.corp-partner.google.com>2023-10-20 14:21:46 +0000
commit24502f4cb0e44f53f6868f2e4e0c169ad0b60ab3 (patch)
treec8ba4fd6dc766f8d1dbcd3dd0f3f87b21a21aa32 /src/mainboard/google/brya/variants/craaskov/overridetree.cb
parent484b24234c4f517478cbadae110a1c0ecd0142c0 (diff)
mb/google/nissa/var/craaskov: Remove TOF function
Based on schematics and confirm with EE to remove TOF function. BUG=b:290891557 BRANCH=firmware-nissa-15217.B TEST=emerge-nissa coreboot Change-Id: I1ae6a6562d87f8da5f41691a7606a1aa10989443 Signed-off-by: Rex Chou <rex_chou@compal.corp-partner.google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/78147 Reviewed-by: Dtrain Hsu <dtrain_hsu@compal.corp-partner.google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/google/brya/variants/craaskov/overridetree.cb')
-rw-r--r--src/mainboard/google/brya/variants/craaskov/overridetree.cb19
1 files changed, 9 insertions, 10 deletions
diff --git a/src/mainboard/google/brya/variants/craaskov/overridetree.cb b/src/mainboard/google/brya/variants/craaskov/overridetree.cb
index 748abd6fe2..f3ac95f6af 100644
--- a/src/mainboard/google/brya/variants/craaskov/overridetree.cb
+++ b/src/mainboard/google/brya/variants/craaskov/overridetree.cb
@@ -23,6 +23,15 @@ chip soc/intel/alderlake
.vnn_icc_max_ma = 500,
}"
+ register "serial_io_i2c_mode" = "{
+ [PchSerialIoIndexI2C0] = PchSerialIoPci,
+ [PchSerialIoIndexI2C1] = PchSerialIoPci,
+ [PchSerialIoIndexI2C2] = PchSerialIoDisabled,
+ [PchSerialIoIndexI2C3] = PchSerialIoPci,
+ [PchSerialIoIndexI2C4] = PchSerialIoDisabled,
+ [PchSerialIoIndexI2C5] = PchSerialIoPci,
+ }"
+
# Intel Common SoC Config
#+-------------------+---------------------------+
#| Field | Value |
@@ -31,7 +40,6 @@ chip soc/intel/alderlake
#| | required to set up a BAR |
#| | for TPM communication |
#| I2C1 | Touchscreen |
- #| I2C2 | TOF/ALS |
#| I2C3 | Audio |
#| I2C5 | Trackpad |
#+-------------------+---------------------------+
@@ -55,15 +63,6 @@ chip soc/intel/alderlake
.sda_hold = 7,
}
},
- .i2c[2] = {
- .speed = I2C_SPEED_FAST,
- .speed_config[0] = {
- .speed = I2C_SPEED_FAST,
- .scl_lcnt = 158,
- .scl_hcnt = 79,
- .sda_hold = 7,
- }
- },
.i2c[3] = {
.speed = I2C_SPEED_FAST,
.speed_config[0] = {