[coreboot-gerrit] Change in coreboot[master]: mb/asrock/g41c-gs: Fix the SATA CLOCK output on ck505

Arthur Heymans (Code Review) gerrit at coreboot.org
Tue Aug 29 08:32:05 CEST 2017


Arthur Heymans has uploaded this change for review. ( https://review.coreboot.org/21257


Change subject: mb/asrock/g41c-gs: Fix the SATA CLOCK output on ck505
......................................................................

mb/asrock/g41c-gs: Fix the SATA CLOCK output on ck505

Untested.

Change-Id: Ic2b8ca91920f015ae3265871bc092023302fefdc
Signed-off-by: Arthur Heymans <arthur at aheymans.xyz>
---
M src/mainboard/asrock/g41c-gs/Kconfig
M src/mainboard/asrock/g41c-gs/devicetree.cb
2 files changed, 6 insertions(+), 0 deletions(-)



  git pull ssh://review.coreboot.org:29418/coreboot refs/changes/57/21257/1

diff --git a/src/mainboard/asrock/g41c-gs/Kconfig b/src/mainboard/asrock/g41c-gs/Kconfig
index 62cd7e9..e65f4ee 100644
--- a/src/mainboard/asrock/g41c-gs/Kconfig
+++ b/src/mainboard/asrock/g41c-gs/Kconfig
@@ -33,6 +33,7 @@
 	select HAVE_OPTION_TABLE
 	select HAVE_CMOS_DEFAULT
 	select HAVE_ACPI_RESUME
+	select DRIVERS_I2C_CK505
 
 config MAINBOARD_DIR
 	string
diff --git a/src/mainboard/asrock/g41c-gs/devicetree.cb b/src/mainboard/asrock/g41c-gs/devicetree.cb
index fd7f271..3714b08 100644
--- a/src/mainboard/asrock/g41c-gs/devicetree.cb
+++ b/src/mainboard/asrock/g41c-gs/devicetree.cb
@@ -140,6 +140,11 @@
 			end
 			device pci 1f.3 on		# SMbus
 				subsystemid 0x1849 0x27da
+				chip drivers/i2c/ck505	# W83115RG-965
+					register "mask" = "{ 0x02 }" # FIX_SATA
+					register "regs" = "{ 0x02 }"
+				device i2c 69 on end
+				end
 			end
 			device pci 1f.4 off end
 			device pci 1f.5 off end

-- 
To view, visit https://review.coreboot.org/21257
To unsubscribe, visit https://review.coreboot.org/settings

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ic2b8ca91920f015ae3265871bc092023302fefdc
Gerrit-Change-Number: 21257
Gerrit-PatchSet: 1
Gerrit-Owner: Arthur Heymans <arthur at aheymans.xyz>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20170829/eb14b26b/attachment-0001.html>


More information about the coreboot-gerrit mailing list