summaryrefslogtreecommitdiff
path: root/src/mainboard/intel/d510mo
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/intel/d510mo')
-rw-r--r--src/mainboard/intel/d510mo/Kconfig1
-rw-r--r--src/mainboard/intel/d510mo/devicetree.cb14
-rw-r--r--src/mainboard/intel/d510mo/romstage.c5
3 files changed, 14 insertions, 6 deletions
diff --git a/src/mainboard/intel/d510mo/Kconfig b/src/mainboard/intel/d510mo/Kconfig
index 0f747cc878..b2ce4b650c 100644
--- a/src/mainboard/intel/d510mo/Kconfig
+++ b/src/mainboard/intel/d510mo/Kconfig
@@ -28,6 +28,7 @@ config BOARD_SPECIFIC_OPTIONS
select INTEL_INT15
select HAVE_OPTION_TABLE
select HAVE_CMOS_DEFAULT
+ select DRIVERS_I2C_CK505
config MAX_CPUS
int
diff --git a/src/mainboard/intel/d510mo/devicetree.cb b/src/mainboard/intel/d510mo/devicetree.cb
index c5b885ff85..473303842e 100644
--- a/src/mainboard/intel/d510mo/devicetree.cb
+++ b/src/mainboard/intel/d510mo/devicetree.cb
@@ -92,7 +92,19 @@ chip northbridge/intel/pineview # Northbridge
end
device pci 1f.1 off end
device pci 1f.2 on end # SATA
- device pci 1f.3 on end # SMbus
+ device pci 1f.3 on # SMbus
+ chip drivers/i2c/ck505 # ICS9EPRS525
+ register "mask" = "{ 0xff, 0xff, 0xff, 0xff,
+ 0xff, 0xff, 0xff, 0xff,
+ 0xff, 0xff, 0xff, 0xff,
+ 0xff }"
+ register "regs" = "{ 0x61, 0xd9, 0xfe, 0xff,
+ 0xff, 0x00, 0x00, 0x01,
+ 0x03, 0x25, 0x83, 0x17,
+ 0x0d }"
+ device i2c 69 on end
+ end
+ end
device pci 1f.4 off end
device pci 1f.5 off end
device pci 1f.6 off end
diff --git a/src/mainboard/intel/d510mo/romstage.c b/src/mainboard/intel/d510mo/romstage.c
index 502d22078e..c6406e6f9f 100644
--- a/src/mainboard/intel/d510mo/romstage.c
+++ b/src/mainboard/intel/d510mo/romstage.c
@@ -102,9 +102,6 @@ static void rcba_config(void)
void mainboard_romstage_entry(unsigned long bist)
{
const u8 spd_addrmap[4] = { 0x50, 0x51, 0, 0 };
- const u8 clockgen_block[13] = { 0x61, 0xd9, 0xfe, 0xff, 0xff, 0x00,
- 0x00, 0x01, 0x03, 0x25, 0x83, 0x17,
- 0x0d };
int cbmem_was_initted;
int s3resume = 0;
int boot_path;
@@ -128,8 +125,6 @@ void mainboard_romstage_entry(unsigned long bist)
report_bist_failure(bist);
enable_smbus();
- smbus_block_write(0x69, 0, 13, clockgen_block);
-
pineview_early_initialization();
post_code(0x30);