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:
parent
3c6c299493
commit
0fc64ac441
|
@ -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)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue