Commit bd08b193 authored by Gabriel Fernandez's avatar Gabriel Fernandez Committed by Stephen Boyd
Browse files

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: default avatarEtienne Carriere <etienne.carriere@foss.st.com>
Signed-off-by: default avatarGabriel Fernandez <gabriel.fernandez@foss.st.com>
Acked-by: default avatarRob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20210617051814.12018-8-gabriel.fernandez@foss.st.com


Signed-off-by: default avatarStephen Boyd <sboyd@kernel.org>
parent 590ff40e
Loading
Loading
Loading
Loading
+27 −0
Original line number Diff line number Diff line
@@ -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_ */