summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJae Hyun Yoo <jae.hyun.yoo@intel.com>2021-01-12 19:57:11 +0300
committerJae Hyun Yoo <jae.hyun.yoo@intel.com>2021-07-14 20:04:18 +0300
commit07111c876d460c468006b0bda1012f0ca151f6b2 (patch)
tree3b1306334458f34b5581fa07372c608cb3befc26
parentb60adaafa088c504a2bdb50356829017ad84a554 (diff)
downloadlinux-07111c876d460c468006b0bda1012f0ca151f6b2.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. 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