hp/pavilion_m6_1035dx: Declare GPIO control block in ACPI
Only the WLAN control pin and the lid switch input are declared, as those are the only pins whose function is known and tested. Change-Id: Ia5871882884ba9bb6d63418b34e33f92ead669eb Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com> Reviewed-on: http://review.coreboot.org/5463 Tested-by: build bot (Jenkins) Reviewed-by: Edward O'Callaghan <eocallaghan@alterapraxis.com> Reviewed-by: Aaron Durbin <adurbin@google.com> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
This commit is contained in:
parent
f0504352b1
commit
27bb6ad046
|
@ -47,6 +47,17 @@
|
||||||
USBS, 1,
|
USBS, 1,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* GPIO control block -- hardcoded to 0xfed80100 by AGESA */
|
||||||
|
OperationRegion (GPIO, SystemMemory, 0xfed80100, 0x100)
|
||||||
|
Field (GPIO, ByteAcc, NoLock, Preserve) {
|
||||||
|
Offset (0x39),
|
||||||
|
, 6,
|
||||||
|
GP57, 1, /* out: WLAN control (rf-kill) */
|
||||||
|
Offset (0x76),
|
||||||
|
, 7,
|
||||||
|
GE22, 1, /* General event 22 - connected to lid switch */
|
||||||
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Used by EC code on certain events
|
* Used by EC code on certain events
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in New Issue