Add declaration of dock registers 1, 2 and 3.
Needed to make dock work on X201. Change-Id: Id0b32266cacf04bb48530bedf50818c268f947ec Signed-off-by: Vladimir Serbinenko <phcoder@gmail.com> Reviewed-on: http://review.coreboot.org/4081 Reviewed-by: Alexandru Gagniuc <mr.nuke.me@gmail.com> Tested-by: build bot (Jenkins)
This commit is contained in:
parent
655ac2420d
commit
969553e574
|
@ -38,10 +38,14 @@ Device(EC)
|
||||||
OperationRegion(ERAM, EmbeddedControl, 0x00, 0x100)
|
OperationRegion(ERAM, EmbeddedControl, 0x00, 0x100)
|
||||||
Field (ERAM, ByteAcc, NoLock, Preserve)
|
Field (ERAM, ByteAcc, NoLock, Preserve)
|
||||||
{
|
{
|
||||||
|
Offset (0x02),
|
||||||
|
DKR1, 1, /* Dock register 1 */
|
||||||
Offset (0x05),
|
Offset (0x05),
|
||||||
HSPA, 1,
|
HSPA, 1,
|
||||||
Offset (0x0C),
|
Offset (0x0C),
|
||||||
LEDS, 8, /* LED state */
|
LEDS, 8, /* LED state */
|
||||||
|
Offset (0x1a),
|
||||||
|
DKR2, 1, /* Dock register 2 */
|
||||||
Offset (0x2a),
|
Offset (0x2a),
|
||||||
EVNT, 8, /* write will trigger EC event */
|
EVNT, 8, /* write will trigger EC event */
|
||||||
Offset (0x3a),
|
Offset (0x3a),
|
||||||
|
@ -57,7 +61,10 @@ Device(EC)
|
||||||
TMP0, 8, /* Thermal Zone 0 temperature */
|
TMP0, 8, /* Thermal Zone 0 temperature */
|
||||||
TMP1, 8, /* Thermal Zone 1 temperature */
|
TMP1, 8, /* Thermal Zone 1 temperature */
|
||||||
Offset (0x81),
|
Offset (0x81),
|
||||||
PAGE, 8 /* Information Page Selector */
|
PAGE, 8, /* Information Page Selector */
|
||||||
|
Offset (0xfe),
|
||||||
|
, 4,
|
||||||
|
DKR3, 1 /* Dock register 3 */
|
||||||
}
|
}
|
||||||
|
|
||||||
Method (_CRS, 0)
|
Method (_CRS, 0)
|
||||||
|
|
Loading…
Reference in New Issue