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>
This commit is contained in:
Marshall Dawson 2016-10-19 18:32:27 -04:00 committed by Marc Jones
parent 3c6c299493
commit 0fc64ac441
1 changed files with 26 additions and 0 deletions

View File

@ -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)
}
}