[PATCH v4 02/14] dt-bindings: clock: exynos8855: add peris clock definitions

From: Raghav Sharma

Date: Thu Dec 03 2026 - 10:10:16 EST


Add device tree clock binding definitions for CMU_PERIS

Reviewed-by: Peter Griffin <peter.griffin@xxxxxxxxxx>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxxxxxxxx>
Signed-off-by: Alim Akhtar <alim.akhtar@xxxxxxxxxxx>
Signed-off-by: Raghav Sharma <raghav.s@xxxxxxxxxxx>
---
.../clock/samsung,exynos8855-clock.yaml | 21 +++++++++++++++++++
.../dt-bindings/clock/samsung,exynos8855.h | 18 ++++++++++++++++
2 files changed, 39 insertions(+)

diff --git a/Documentation/devicetree/bindings/clock/samsung,exynos8855-clock.yaml b/Documentation/devicetree/bindings/clock/samsung,exynos8855-clock.yaml
index 486b7347ad44..53fc8040e173 100644
--- a/Documentation/devicetree/bindings/clock/samsung,exynos8855-clock.yaml
+++ b/Documentation/devicetree/bindings/clock/samsung,exynos8855-clock.yaml
@@ -29,6 +29,7 @@ properties:
compatible:
enum:
- samsung,exynos8855-cmu-peric
+ - samsung,exynos8855-cmu-peris
- samsung,exynos8855-cmu-top

clocks:
@@ -73,6 +74,26 @@ allOf:
- const: mmc_card
- const: ip

+ - if:
+ properties:
+ compatible:
+ contains:
+ const: samsung,exynos8855-cmu-peris
+
+ then:
+ properties:
+ clocks:
+ items:
+ - description: External reference clock (76.8 MHz)
+ - description: CMU_PERIS GIC clock (from CMU_TOP)
+ - description: CMU_PERIS NOC clock (from CMU_TOP)
+
+ clock-names:
+ items:
+ - const: oscclk
+ - const: gic
+ - const: bus
+
- if:
properties:
compatible:
diff --git a/include/dt-bindings/clock/samsung,exynos8855.h b/include/dt-bindings/clock/samsung,exynos8855.h
index abd60dd7d077..2a86a2883445 100644
--- a/include/dt-bindings/clock/samsung,exynos8855.h
+++ b/include/dt-bindings/clock/samsung,exynos8855.h
@@ -335,4 +335,22 @@
#define CLK_GOUT_PERIC_USI04_I2C_IPCLKPORT_IPCLK 92
#define CLK_GOUT_PERIC_USI05_I2C_IPCLKPORT_IPCLK 93

+/* CMU_PERIS */
+#define CLK_MOUT_PERIS_NOC_USER 1
+#define CLK_MOUT_PERIS_GIC 2
+#define CLK_MOUT_PERIS_GIC_USER 3
+#define CLK_DOUT_PERIS_NOCP 4
+#define CLK_DOUT_PERIS_OTP 5
+#define CLK_GOUT_PERIS_CMU_PERIS_PCLK 6
+#define CLK_GOUT_PERIS_SYSREG_PERIS_PCLK 7
+#define CLK_GOUT_PERIS_WDT0_PERIS_PCLK 8
+#define CLK_GOUT_PERIS_WDT1_PERIS_PCLK 9
+#define CLK_GOUT_PERIS_GIC_IPCLKPORT_GICCLK 10
+#define CLK_GOUT_PERIS_D_TZPC_PERIS_IPCLKPORT_PCLK 11
+#define CLK_GOUT_PERIS_OTP_CON_SUB_IPCLKPORT_PCLK 12
+#define CLK_GOUT_PERIS_OTP_CON_TOP_IPCLKPORT_PCLK 13
+#define CLK_GOUT_PERIS_PWM_IPCLKPORT_I_PCLK_S0 14
+#define CLK_GOUT_PERIS_SPC_PERIS_IPCLKPORT_PCLK 15
+#define CLK_GOUT_PERIS_TMU_IPCLKPORT_PCLK 16
+
#endif /* _DT_BINDINGS_CLOCK_EXYNOS8855_H */
--
2.34.1