aboutsummaryrefslogtreecommitdiff
path: root/src/soc/amd/picasso/acpi/globalnvs.asl
diff options
context:
space:
mode:
authorMarshall Dawson <marshalldawson3rd@gmail.com>2019-06-20 08:47:58 -0600
committerMartin Roth <martinroth@google.com>2019-08-09 20:46:41 +0000
commite2c24f783d78c582fb56625768b9ac424b5943c9 (patch)
treec04ace65174be7ede94de015e7115aa7053fdb5d /src/soc/amd/picasso/acpi/globalnvs.asl
parent34c30565b0ef3b1ff79943768ecc2f4012bf6b86 (diff)
soc/amd/picasso: Update i2c support
Change the stoneyridge definitions into picasso. The named 0 and 1 buses are controlled by the PSP and not directly accessible by host firmware. I2C4 operates only in slave mode so is not added to to the bus clear-after-reset sequence. The I2C controller is fundamentally the same as on Stoney Ridge so the ability to clear a potentially jammed bus is still required. Program Picasso's new pad control registers in the MISC AcpiMmio space according to the recommended settings. Signed-off-by: Marshall Dawson <marshalldawson3rd@gmail.com> Change-Id: Ibbc5504ebc36654e28c79fe3ae17cc0d9255118f Reviewed-on: https://review.coreboot.org/c/coreboot/+/33763 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/soc/amd/picasso/acpi/globalnvs.asl')
-rw-r--r--src/soc/amd/picasso/acpi/globalnvs.asl7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/soc/amd/picasso/acpi/globalnvs.asl b/src/soc/amd/picasso/acpi/globalnvs.asl
index cc264e6f85..04e41a1b57 100644
--- a/src/soc/amd/picasso/acpi/globalnvs.asl
+++ b/src/soc/amd/picasso/acpi/globalnvs.asl
@@ -48,12 +48,11 @@ Field (GNVS, ByteAcc, NoLock, Preserve)
TPSV, 8, // 0x2F - Passive Threshold
TMAX, 8, // 0x30 - CPU Tj_max
Offset (0x34), // 0x34 - AOAC Device Enables
- , 5,
- IC0E, 1, // I2C0, 5
- IC1E, 1, // I2C1, 6
+ , 7,
IC2E, 1, // I2C2, 7
IC3E, 1, // I2C3, 8
- , 2,
+ IC4E, 1, // I2C4, 9
+ , 1,
UT0E, 1, // UART0, 11
UT1E, 1, // UART1, 12
, 2,