[coreboot-gerrit] Change in coreboot[master]: soc/amd/stonyridge: Add misc device

Akshu Agrawal (Code Review) gerrit at coreboot.org
Mon Apr 30 11:17:39 CEST 2018


Akshu Agrawal has uploaded this change for review. ( https://review.coreboot.org/25918


Change subject: soc/amd/stonyridge: Add misc device
......................................................................

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: Akshu Agrawal <akshu.agrawal at amd.com>
---
M src/soc/amd/stoneyridge/acpi/sb_fch.asl
1 file changed, 13 insertions(+), 0 deletions(-)



  git pull ssh://review.coreboot.org:29418/coreboot refs/changes/18/25918/1

diff --git a/src/soc/amd/stoneyridge/acpi/sb_fch.asl b/src/soc/amd/stoneyridge/acpi/sb_fch.asl
index 2ffd951..3a4839e 100644
--- a/src/soc/amd/stoneyridge/acpi/sb_fch.asl
+++ b/src/soc/amd/stoneyridge/acpi/sb_fch.asl
@@ -137,3 +137,16 @@
 		Return (0x0F)
 	}
 }
+
+Device (MISC)
+{
+	Name (_HID, "AMD0040")
+	Name (_UID, 0x3)
+	Name (_CRS, ResourceTemplate() {
+		Memory32Fixed(ReadWrite, MISC_MMIO_BASE, 0x1000)
+	})
+	Method (_STA, 0x0, NotSerialized)
+	{
+		Return (0x0F)
+	}
+}

-- 
To view, visit https://review.coreboot.org/25918
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ia90d3abab447fb5d27f454d9d6c33d0b5c3a0f16
Gerrit-Change-Number: 25918
Gerrit-PatchSet: 1
Gerrit-Owner: Akshu Agrawal <akshu.agrawal at amd.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20180430/6bf2eda4/attachment.html>


More information about the coreboot-gerrit mailing list