summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur Heymans <arthur@aheymans.xyz>2017-09-07 17:05:57 +0200
committerArthur Heymans <arthur@aheymans.xyz>2017-09-12 22:22:27 +0000
commite4188a23dde8db7f1386f3f782b8a43c40811119 (patch)
tree295ba6c0b04b19390380c09e31aaa27007110369
parent33863b6eff270a1eb57defb8081654b3df2b49df (diff)
mb/intel/dg43gt: Configure clockgen
This makes the VGA output on the DVI-I connector usable. This reuses vendor settings. Change-Id: Ib8b6bf33816f7e468a09ff5e2008c2cb9f7c0a8b Signed-off-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-on: https://review.coreboot.org/21440 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
-rw-r--r--src/mainboard/intel/dg43gt/Kconfig1
-rw-r--r--src/mainboard/intel/dg43gt/devicetree.cb14
2 files changed, 14 insertions, 1 deletions
diff --git a/src/mainboard/intel/dg43gt/Kconfig b/src/mainboard/intel/dg43gt/Kconfig
index d55f82dea5..b299f42e1f 100644
--- a/src/mainboard/intel/dg43gt/Kconfig
+++ b/src/mainboard/intel/dg43gt/Kconfig
@@ -32,6 +32,7 @@ config BOARD_SPECIFIC_OPTIONS
select HAVE_ACPI_RESUME
select INTEL_EDID
select MAINBOARD_HAS_NATIVE_VGA_INIT
+ select DRIVERS_I2C_CK505
config VGA_BIOS_ID
string
diff --git a/src/mainboard/intel/dg43gt/devicetree.cb b/src/mainboard/intel/dg43gt/devicetree.cb
index 6421673825..79a8eb7309 100644
--- a/src/mainboard/intel/dg43gt/devicetree.cb
+++ b/src/mainboard/intel/dg43gt/devicetree.cb
@@ -101,7 +101,19 @@ chip northbridge/intel/x4x # Northbridge
end
device pci 1f.1 on end # PATA/IDE
device pci 1f.2 on end # SATA
- device pci 1f.3 on end # SMbus
+ device pci 1f.3 on # SMbus
+ chip drivers/i2c/ck505 # SLG8XP549T
+ register "mask" = "{ 0xff, 0xff, 0xff,
+ 0xff, 0xff, 0xff, 0xff,
+ 0xff, 0xff, 0xff, 0xff,
+ 0xff, 0xff }"
+ register "regs" = "{ 0x11, 0xd9, 0xff,
+ 0xfd, 0xff, 0x00, 0x00,
+ 0x06, 0x10, 0x05, 0x01,
+ 0x80, 0x0d }"
+ device i2c 69 on end
+ end
+ end
device pci 1f.4 off end
device pci 1f.5 on end # IDE
device pci 1f.6 off end