UPSTREAM: 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) BUG=None BRANCH=None TEST=None 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> Change-Id: I3ea74a6c0472711102b19a7ca0209aaeeeb2d601 Reviewed-on: https://chromium-review.googlesource.com/422244 Commit-Ready: Furquan Shaikh <furquan@chromium.org> Tested-by: Furquan Shaikh <furquan@chromium.org> Reviewed-by: Aaron Durbin <adurbin@chromium.org>
This commit is contained in:
parent
9b51ca6f68
commit
4f8b7da12d
1 changed files with 26 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue