Alexandru Gagniuc | a9a3661 | 2014-04-18 19:53:51 -0500 | [diff] [blame] | 1 | /* |
| 2 | * "The way things are connected" and a few setup options |
| 3 | * |
| 4 | * Copyright (C) 2014 Alexandru Gagniuc <mr.nuke.me@gmail.com> |
| 5 | * Subject to the GNU GPL v2, or (at your option) any later version. |
| 6 | */ |
| 7 | |
| 8 | #ifndef _MAINBOARD_HP_PAVILION_M6_1035DX_MAINBOARD_H |
| 9 | #define _MAINBOARD_HP_PAVILION_M6_1035DX_MAINBOARD_H |
| 10 | |
| 11 | /* What is connected to GEVENT pins */ |
| 12 | #define EC_SCI_GEVENT 3 |
| 13 | #define EC_LID_GEVENT 22 |
| 14 | #define EC_SMI_GEVENT 23 |
Alexandru Gagniuc | cf38fac | 2014-04-19 16:22:53 -0500 | [diff] [blame] | 15 | #define PCIE_GEVENT 8 |
Alexandru Gagniuc | a9a3661 | 2014-04-18 19:53:51 -0500 | [diff] [blame] | 16 | |
| 17 | /* Any GEVENT pin can be mapped to any GPE. We try to keep the mapping 1:1, but |
| 18 | * we make the distinction between GEVENT pin and SCI. |
| 19 | */ |
| 20 | #define EC_SCI_GPE EC_SCI_GEVENT |
Alexandru Gagniuc | c4e7db5 | 2014-04-05 13:40:33 -0500 | [diff] [blame] | 21 | #define EC_LID_GPE EC_LID_GEVENT |
Alexandru Gagniuc | 7efd5fd | 2014-04-19 13:36:49 -0500 | [diff] [blame] | 22 | #define PME_GPE 0x0b |
Alexandru Gagniuc | cf38fac | 2014-04-19 16:22:53 -0500 | [diff] [blame] | 23 | #define PCIE_GPE 0x18 |
Alexandru Gagniuc | a9a3661 | 2014-04-18 19:53:51 -0500 | [diff] [blame] | 24 | |
| 25 | #endif /* _MAINBOARD_HP_PAVILION_M6_1035DX_MAINBOARD_H */ |