diff options
author | Sven Schnelle <svens@stackframe.org> | 2012-07-03 22:15:42 +0200 |
---|---|---|
committer | Sven Schnelle <svens@stackframe.org> | 2012-07-04 07:23:03 +0200 |
commit | 89f04a6d68cbb8faf9d90089cc76ee38bdf932ad (patch) | |
tree | d620f9e462b5c8a352e47f49e961ba47d48aa569 | |
parent | ca68297cda83030f417175ef3f256babe9ccf398 (diff) | |
download | coreboot-89f04a6d68cbb8faf9d90089cc76ee38bdf932ad.tar.xz |
Supermicro X7DB8: add w83793 Hardware monitor
used for fan control and thermal management on that board.
Change-Id: I4e5c986ab6174b7a356d682e21732c46181af211
Signed-off-by: Sven Schnelle <svens@stackframe.org>
Reviewed-on: http://review.coreboot.org/1167
Tested-by: build bot (Jenkins)
-rw-r--r-- | src/mainboard/supermicro/x7db8/Kconfig | 1 | ||||
-rw-r--r-- | src/mainboard/supermicro/x7db8/devicetree.cb | 19 |
2 files changed, 19 insertions, 1 deletions
diff --git a/src/mainboard/supermicro/x7db8/Kconfig b/src/mainboard/supermicro/x7db8/Kconfig index 48859f1895..5365f85d7b 100644 --- a/src/mainboard/supermicro/x7db8/Kconfig +++ b/src/mainboard/supermicro/x7db8/Kconfig @@ -11,6 +11,7 @@ config BOARD_SPECIFIC_OPTIONS # dummy select BOARD_ROMSIZE_KB_512 select HAVE_MP_TABLE select HAVE_PIRQ_TABLE + select DRIVERS_I2C_W83793 config MAINBOARD_DIR string diff --git a/src/mainboard/supermicro/x7db8/devicetree.cb b/src/mainboard/supermicro/x7db8/devicetree.cb index 7c90ba25dd..66e5cfee20 100644 --- a/src/mainboard/supermicro/x7db8/devicetree.cb +++ b/src/mainboard/supermicro/x7db8/devicetree.cb @@ -114,8 +114,25 @@ chip northbridge/intel/i5000 end device pci 1f.1 off end # IDE device pci 1f.2 on end # SATA - device pci 1f.3 off end # SMBUS + device pci 1f.3 on + chip drivers/i2c/w83793 + register "mfc" = "0x28" + register "fanin" = "0x1f" + register "peci_agent_conf" = "0x33" + register "tcase0" = "0x5e" + register "tcase1" = "0x5e" + register "tcase2" = "0x5e" + register "tcase3" = "0x5e" + register "tr_enable" = "0x01" + register "critical_temperature" = "0x7f" + register "td1_fan_select" = "0x01" + register "td2_fan_select" = "0x01" + register "td3_fan_select" = "0x01" + register "td4_fan_select" = "0x01" + device i2c 0x2f on end + end + end # SMBUS end end end |