hp/pavilion_m6_1035dx: Map PCIE PME sources to GPE 0x18
The PCIE PME pin from the APU is connected to GEVENT8, but the northbridge's ASL hardcodes this to GPE 0x18. Adjust the SCI map accordingly. Change-Id: Ie395e62919f6e97ef9bcc45c736f9debf4e09ba0 Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com> Reviewed-on: http://review.coreboot.org/5556 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Aaron Durbin <adurbin@gmail.com>
This commit is contained in:
parent
7efd5fda49
commit
cf38facbd2
|
@ -65,12 +65,10 @@ Scope(\_GPE) { /* Start Scope GPE */
|
|||
|
||||
/* GPIO0 or GEvent8 event */
|
||||
Method(_L18) {
|
||||
/* DBGO("\\_GPE\\_L18\n") */
|
||||
Notify(\_SB.PCI0.PBR4, 0x02) /* NOTIFY_DEVICE_WAKE */
|
||||
Notify(\_SB.PCI0.PBR5, 0x02) /* NOTIFY_DEVICE_WAKE */
|
||||
Notify(\_SB.PCI0.PBR6, 0x02) /* NOTIFY_DEVICE_WAKE */
|
||||
Notify(\_SB.PCI0.PBR7, 0x02) /* NOTIFY_DEVICE_WAKE */
|
||||
Notify(\_SB.PWRB, 0x02) /* NOTIFY_DEVICE_WAKE */
|
||||
Store("PCI bridge wake event", Debug)
|
||||
/* Notify PCI bridges of wake event */
|
||||
Notify(\_SB.PCI0.PBR4, 0x02)
|
||||
Notify(\_SB.PCI0.PBR5, 0x02)
|
||||
}
|
||||
|
||||
/* Azalia SCI event */
|
||||
|
|
|
@ -386,6 +386,7 @@ GPIO_CONTROL pavilion_m6_1035dx_gpio[] = {
|
|||
SCI_MAP_CONTROL m6_1035dx_sci_map[] = {
|
||||
{GEVENT_PIN( EC_SCI_GEVENT ), EC_SCI_GPE},
|
||||
{GEVENT_PIN( EC_LID_GEVENT ), EC_LID_GPE},
|
||||
{GEVENT_PIN( PCIE_GEVENT ), PCIE_GPE},
|
||||
{SCI_MAP_OHCI_12_0, PME_GPE},
|
||||
{SCI_MAP_OHCI_13_0, PME_GPE},
|
||||
{SCI_MAP_XHCI_10_0, PME_GPE},
|
||||
|
|
|
@ -12,6 +12,7 @@
|
|||
#define EC_SCI_GEVENT 3
|
||||
#define EC_LID_GEVENT 22
|
||||
#define EC_SMI_GEVENT 23
|
||||
#define PCIE_GEVENT 8
|
||||
|
||||
/* Any GEVENT pin can be mapped to any GPE. We try to keep the mapping 1:1, but
|
||||
* we make the distinction between GEVENT pin and SCI.
|
||||
|
@ -19,5 +20,6 @@
|
|||
#define EC_SCI_GPE EC_SCI_GEVENT
|
||||
#define EC_LID_GPE EC_LID_GEVENT
|
||||
#define PME_GPE 0x0b
|
||||
#define PCIE_GPE 0x18
|
||||
|
||||
#endif /* _MAINBOARD_HP_PAVILION_M6_1035DX_MAINBOARD_H */
|
||||
|
|
Loading…
Reference in New Issue