Commit d6dbdb26 authored by Akshu Agrawal's avatar Akshu Agrawal Committed by Patrick Georgi

soc/amd/stonyridge: Add misc device

oscout system clock is present in FCH misc device.
The kernel acpi misc driver will use the resource to
register oscout system clock.

BUG=b:74570989
TEST=Tested clock enable/disable in kernel driver

Change-Id: Ia90d3abab447fb5d27f454d9d6c33d0b5c3a0f16
Signed-off-by: default avatarAkshu Agrawal <akshu.agrawal@amd.com>
Reviewed-on: https://review.coreboot.org/25918Tested-by: default avatarbuild bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: default avatarAaron Durbin <adurbin@chromium.org>
parent c0257dd7
......@@ -14,6 +14,7 @@
*/
#include <soc/gpio.h>
#include <soc/iomap.h>
Device (AAHB)
{
......@@ -137,3 +138,16 @@ Device (I2CD)
Return (0x0F)
}
}
Device (MISC)
{
Name (_HID, "AMD0040")
Name (_UID, 0x3)
Name (_CRS, ResourceTemplate() {
Memory32Fixed(ReadWrite, MISC_MMIO_BASE, 0x100)
})
Method (_STA, 0x0, NotSerialized)
{
Return (0x0F)
}
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment