aboutsummaryrefslogtreecommitdiff
path: root/include/drivers
diff options
context:
space:
mode:
authorMark Dykes <mardyk01@review.trustedfirmware.org>2020-05-27 19:35:59 +0000
committerTrustedFirmware Code Review <review@review.trustedfirmware.org>2020-05-27 19:35:59 +0000
commit343580e59acacaa3ff1c5bdd1d933f9e0c051492 (patch)
treebafa848aa83ef521236c9e89a3d90356a8abaf14 /include/drivers
parentdff9fe92a4ff7b009cd9221375faeee424027921 (diff)
parent8fbcd9e421e2b7854928e92ccf11a0542cf186bb (diff)
downloadtrusted-firmware-a-343580e59acacaa3ff1c5bdd1d933f9e0c051492.tar.gz
Merge "drivers: stm32mp1 clocks: allow tree lookup for several system clocks" into integration
Diffstat (limited to 'include/drivers')
-rw-r--r--include/drivers/st/stm32mp1_rcc.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/drivers/st/stm32mp1_rcc.h b/include/drivers/st/stm32mp1_rcc.h
index 4b4aac87d6..2ffc3b2bc2 100644
--- a/include/drivers/st/stm32mp1_rcc.h
+++ b/include/drivers/st/stm32mp1_rcc.h
@@ -250,6 +250,8 @@
#define RCC_MPCKSELR_HSE 0x00000001
#define RCC_MPCKSELR_PLL 0x00000002
#define RCC_MPCKSELR_PLL_MPUDIV 0x00000003
+#define RCC_MPCKSELR_MPUSRC_MASK GENMASK(1, 0)
+#define RCC_MPCKSELR_MPUSRC_SHIFT 0
/* Values of RCC_ASSCKSELR register */
#define RCC_ASSCKSELR_HSI 0x00000000
@@ -266,6 +268,8 @@
#define RCC_CPERCKSELR_HSI 0x00000000
#define RCC_CPERCKSELR_CSI 0x00000001
#define RCC_CPERCKSELR_HSE 0x00000002
+#define RCC_CPERCKSELR_PERSRC_MASK GENMASK(1, 0)
+#define RCC_CPERCKSELR_PERSRC_SHIFT 0
/* Used for most of DIVR register: max div for RTC */
#define RCC_DIVR_DIV_MASK GENMASK(5, 0)