summaryrefslogtreecommitdiff
path: root/src/soc/intel/icelake
diff options
context:
space:
mode:
authorSubrata Banik <subrata.banik@intel.com>2019-04-29 14:58:20 +0530
committerSubrata Banik <subrata.banik@intel.com>2019-05-02 06:03:21 +0000
commit42f9f14a61d7e71fabaf87125ecee992a5bd0dfa (patch)
treee2bce1cd9fea8c69cb3ec7b2d4df64ac46da17ad /src/soc/intel/icelake
parentffb83bee2627f1e33f8302a3e630e036e93891a9 (diff)
soc/intel/icelake: Correct the GPE DWx mapping for GPIO groups
This implementation corrects the GPE DWx mapping for GPIO groups. The assignments is done in GPIO MISCFG register for all GPIO communities. And configures the which GPIO communities get register as Tier1. Change-Id: I9c306d46e5194944def26c24cdb95f5ebada42b8 Signed-off-by: Subrata Banik <subrata.banik@intel.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/32508 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Furquan Shaikh <furquan@google.com> Reviewed-by: Rizwan Qureshi <rizwan.qureshi@intel.com>
Diffstat (limited to 'src/soc/intel/icelake')
-rw-r--r--src/soc/intel/icelake/include/soc/gpio_soc_defs.h23
1 files changed, 12 insertions, 11 deletions
diff --git a/src/soc/intel/icelake/include/soc/gpio_soc_defs.h b/src/soc/intel/icelake/include/soc/gpio_soc_defs.h
index e3eaf62d5c..5a27a15bd6 100644
--- a/src/soc/intel/icelake/include/soc/gpio_soc_defs.h
+++ b/src/soc/intel/icelake/include/soc/gpio_soc_defs.h
@@ -21,17 +21,18 @@
* The GPIO groups are accessed through register blocks called
* communities.
*/
-#define GPP_G 0
-#define GPP_B 1
-#define GPP_A 2
-#define GPP_H 3
-#define GPP_D 4
-#define GPP_F 5
-#define GPD 6
-#define GPP_C 7
-#define GPP_E 8
-#define GPP_R 9
-#define GPP_S 0xA
+#define GPP_G 0x0
+#define GPP_B 0x1
+#define GPP_A 0x2
+#define GPP_R 0x3
+#define GPP_S 0x4
+#define GPD 0x5
+#define GPP_H 0x6
+#define GPP_D 0x7
+#define GPP_F 0x8
+#define GPP_VGPIO 0x9
+#define GPP_C 0xA
+#define GPP_E 0xB
#define GPIO_NUM_GROUPS 11
#define GPIO_MAX_NUM_PER_GROUP 24