summaryrefslogtreecommitdiff
path: root/src/mainboard/lenovo/x60/devicetree.cb
diff options
context:
space:
mode:
authorSven Schnelle <svens@stackframe.org>2011-07-11 18:36:16 +0200
committerSven Schnelle <svens@stackframe.org>2011-08-18 20:50:55 +0200
commit8d0b86c9abc61414b06a60b28868739e077ffa87 (patch)
treecad2193cfc2a4a81fbf39a20cb5a45557e6a81e0 /src/mainboard/lenovo/x60/devicetree.cb
parentd819853f857f68dfd3661607d77ae5ccc7461e3b (diff)
downloadcoreboot-8d0b86c9abc61414b06a60b28868739e077ffa87.tar.xz
X60: use EC events 0x50/0x58 instead of GPIO GPE for Docking/Undocking
Change-Id: I674e5166f5fb7ba299e6f1231f30434a5bf731c5 Signed-off-by: Sven Schnelle <svens@stackframe.org> Reviewed-on: http://review.coreboot.org/161 Tested-by: build bot (Jenkins)
Diffstat (limited to 'src/mainboard/lenovo/x60/devicetree.cb')
-rw-r--r--src/mainboard/lenovo/x60/devicetree.cb11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/mainboard/lenovo/x60/devicetree.cb b/src/mainboard/lenovo/x60/devicetree.cb
index 42a45d1a5c..55e0b2d499 100644
--- a/src/mainboard/lenovo/x60/devicetree.cb
+++ b/src/mainboard/lenovo/x60/devicetree.cb
@@ -86,6 +86,7 @@ chip northbridge/intel/i945
device pnp ff.1 on # dummy
end
register "backlight_enable" = "0x01"
+ register "dock_event_enable" = "0x01"
end
chip ec/lenovo/h8
device pnp ff.2 on # dummy
@@ -98,7 +99,7 @@ chip northbridge/intel/i945
register "config0" = "0xa6"
register "config1" = "0x05"
register "config2" = "0xa0"
- register "config3" = "0x05"
+ register "config3" = "0x01"
register "beepmask0" = "0xfe"
register "beepmask1" = "0x96"
@@ -107,7 +108,15 @@ chip northbridge/intel/i945
register "event3_enable" = "0xff"
register "event4_enable" = "0xf4"
register "event5_enable" = "0x3c"
+ register "event6_enable" = "0x80"
+ register "event7_enable" = "0x01"
register "eventc_enable" = "0x3c"
+ register "event8_enable" = "0x01"
+ register "event9_enable" = "0xff"
+ register "eventa_enable" = "0xff"
+ register "eventb_enable" = "0xff"
+ register "eventc_enable" = "0xff"
+ register "eventd_enable" = "0xff"
register "wlan_enable" = "0x01"
register "trackpoint_enable" = "0x03"