summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJae Hyun Yoo <jae.hyun.yoo@intel.com>2021-01-12 19:57:11 +0300
committerYoo, Jae Hyun <jae.hyun.yoo@intel.com>2021-01-13 23:21:36 +0300
commite6ca8e0a5ec955b7e36eda578e187e5cd5b096cc (patch)
treefd5321d9fc21b704fff094dabaccab16dbe22eb6
parent999a0607005bab5a4d31bf020f68f6a80cc43f50 (diff)
downloadlinux-e6ca8e0a5ec955b7e36eda578e187e5cd5b096cc.tar.xz
Fix reset index of LPC and eSPI
AST2600 A1 has separate reset control for LPC and eSPI so this commit fix the index definition to make it work on AST2600 A1. Change-Id: Ied8f96740b6df802a65313fde369e79386557903 Signed-off-by: Jae Hyun Yoo <jae.hyun.yoo@intel.com>
-rw-r--r--include/dt-bindings/clock/ast2600-clock.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/dt-bindings/clock/ast2600-clock.h b/include/dt-bindings/clock/ast2600-clock.h
index 6cc47373cc97..165bec96ebe7 100644
--- a/include/dt-bindings/clock/ast2600-clock.h
+++ b/include/dt-bindings/clock/ast2600-clock.h
@@ -92,6 +92,7 @@
#define ASPEED_CLK_MAX 73
/* Only list resets here that are not part of a gate */
+#define ASPEED_RESET_ESPI 57
#define ASPEED_RESET_ADC 55
#define ASPEED_RESET_JTAG_MASTER2 54
#define ASPEED_RESET_I3C7 47
@@ -107,7 +108,7 @@
#define ASPEED_RESET_PECI 36
#define ASPEED_RESET_MII 35
#define ASPEED_RESET_I2C 34
-#define ASPEED_RESET_ESPI 32
+#define ASPEED_RESET_LPC 32
#define ASPEED_RESET_H2X 31
#define ASPEED_RESET_GP_MCU 30
#define ASPEED_RESET_DP_MCU 29