Skip to content

Commit bd08b19

Browse files
Gabriel-Fernandzbebarino
authored andcommitted
dt-bindings: clock: add IDs for SCMI clocks on stm32mp15
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 <[email protected]> Signed-off-by: Gabriel Fernandez <[email protected]> Acked-by: Rob Herring <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Stephen Boyd <[email protected]>
1 parent 590ff40 commit bd08b19

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

include/dt-bindings/clock/stm32mp1-clks.h

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -248,4 +248,31 @@
248248

249249
#define STM32MP1_LAST_CLK 232
250250

251+
/* SCMI clock identifiers */
252+
#define CK_SCMI0_HSE 0
253+
#define CK_SCMI0_HSI 1
254+
#define CK_SCMI0_CSI 2
255+
#define CK_SCMI0_LSE 3
256+
#define CK_SCMI0_LSI 4
257+
#define CK_SCMI0_PLL2_Q 5
258+
#define CK_SCMI0_PLL2_R 6
259+
#define CK_SCMI0_MPU 7
260+
#define CK_SCMI0_AXI 8
261+
#define CK_SCMI0_BSEC 9
262+
#define CK_SCMI0_CRYP1 10
263+
#define CK_SCMI0_GPIOZ 11
264+
#define CK_SCMI0_HASH1 12
265+
#define CK_SCMI0_I2C4 13
266+
#define CK_SCMI0_I2C6 14
267+
#define CK_SCMI0_IWDG1 15
268+
#define CK_SCMI0_RNG1 16
269+
#define CK_SCMI0_RTC 17
270+
#define CK_SCMI0_RTCAPB 18
271+
#define CK_SCMI0_SPI6 19
272+
#define CK_SCMI0_USART1 20
273+
274+
#define CK_SCMI1_PLL3_Q 0
275+
#define CK_SCMI1_PLL3_R 1
276+
#define CK_SCMI1_MCU 2
277+
251278
#endif /* _DT_BINDINGS_STM32MP1_CLKS_H_ */

0 commit comments

Comments
 (0)