Message ID | 20210617051814.12018-8-gabriel.fernandez@foss.st.com |
---|---|
State | Accepted |
Commit | bd08b193cf13e26d77dd68dbda1c60c7a2e86b6c |
Headers | show |
Series | Introduce STM32MP1 RCC in secured mode | expand |
Quoting gabriel.fernandez@foss.st.com (2021-06-16 22:18:10) > From: Gabriel Fernandez <gabriel.fernandez@foss.st.com> > > stm32mp15 TZ secure firmware provides SCMI clocks for oscillators, some > PLL output and few secure aware interfaces. > This change defines the SCMI clock identifiers used by SCMI agents > and servers. > Server SCMI0 exposes clocks and reset controllers for resources under > RCC[TZEN] configuration control. > Server SCMI1 exposes clocks for resources under RCC[MCKPROT] control. > > Signed-off-by: Etienne Carriere <etienne.carriere@foss.st.com> > Signed-off-by: Gabriel Fernandez <gabriel.fernandez@foss.st.com> > Acked-by: Rob Herring <robh@kernel.org> > --- Applied to clk-next
diff --git a/include/dt-bindings/clock/stm32mp1-clks.h b/include/dt-bindings/clock/stm32mp1-clks.h index 4cdaf135829c..e02770b98e6c 100644 --- a/include/dt-bindings/clock/stm32mp1-clks.h +++ b/include/dt-bindings/clock/stm32mp1-clks.h @@ -248,4 +248,31 @@ #define STM32MP1_LAST_CLK 232 +/* SCMI clock identifiers */ +#define CK_SCMI0_HSE 0 +#define CK_SCMI0_HSI 1 +#define CK_SCMI0_CSI 2 +#define CK_SCMI0_LSE 3 +#define CK_SCMI0_LSI 4 +#define CK_SCMI0_PLL2_Q 5 +#define CK_SCMI0_PLL2_R 6 +#define CK_SCMI0_MPU 7 +#define CK_SCMI0_AXI 8 +#define CK_SCMI0_BSEC 9 +#define CK_SCMI0_CRYP1 10 +#define CK_SCMI0_GPIOZ 11 +#define CK_SCMI0_HASH1 12 +#define CK_SCMI0_I2C4 13 +#define CK_SCMI0_I2C6 14 +#define CK_SCMI0_IWDG1 15 +#define CK_SCMI0_RNG1 16 +#define CK_SCMI0_RTC 17 +#define CK_SCMI0_RTCAPB 18 +#define CK_SCMI0_SPI6 19 +#define CK_SCMI0_USART1 20 + +#define CK_SCMI1_PLL3_Q 0 +#define CK_SCMI1_PLL3_R 1 +#define CK_SCMI1_MCU 2 + #endif /* _DT_BINDINGS_STM32MP1_CLKS_H_ */