diff options
author | Marshall Dawson <marshalldawson3rd@gmail.com> | 2016-10-19 18:32:27 -0400 |
---|---|---|
committer | Marc Jones <marc@marcjonesconsulting.com> | 2016-12-19 07:23:03 +0100 |
commit | 0fc64ac441082c7ac3ee1916254a8637644f1ca5 (patch) | |
tree | b2cc4fb9d952c3409e206f141e413a06043e7e71 /src/mainboard | |
parent | 3c6c299493a8fc01aac83990afef9793f1d6bdf5 (diff) |
amd/gardenia: Add I2C devices to ACPI
Add the missing two I2C controllers.
Original-Signed-off-by: Marshall Dawson <marshalldawson3rd@gmail.com>
Original-Reviewed-by: Marc Jones <marcj303@gmail.com>
(cherry picked from 0be00a96b9eb40c959a422a5ca4773d2353d244d)
Change-Id: I3ea74a6c0472711102b19a7ca0209aaeeeb2d601
Signed-off-by: Marshall Dawson <marshalldawson3rd@gmail.com>
Reviewed-on: https://review.coreboot.org/17847
Tested-by: build bot (Jenkins)
Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/mainboard')
-rw-r--r-- | src/mainboard/amd/gardenia/acpi/carrizo_fch.asl | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/src/mainboard/amd/gardenia/acpi/carrizo_fch.asl b/src/mainboard/amd/gardenia/acpi/carrizo_fch.asl index a177306dca..2b9df3be0b 100644 --- a/src/mainboard/amd/gardenia/acpi/carrizo_fch.asl +++ b/src/mainboard/amd/gardenia/acpi/carrizo_fch.asl @@ -77,3 +77,29 @@ Device(I2CB) Return (0x0F) } } + +Device(I2CC) { + Name(_HID,"AMD0010") + Name(_UID,0x0) + Name(_CRS, ResourceTemplate() { + IRQ(Edge, ActiveHigh, Exclusive) {6} + Memory32Fixed(ReadWrite, 0xFEDC4000, 0x1000) + }) + + Method (_STA, 0x0, NotSerialized) { + Return (0x0F) + } +} + +Device(I2CD) +{ + Name(_HID,"AMD0010") + Name(_UID,0x1) + Name(_CRS, ResourceTemplate() { + IRQ(Edge, ActiveHigh, Exclusive) {14} + Memory32Fixed(ReadWrite, 0xFEDC5000, 0x1000) + }) + Method (_STA, 0x0, NotSerialized) { + Return (0x0F) + } +} |