@@ -31,6 +31,7 @@ properties:
compatible:
enum:
- samsung,exynos990-cmu-hsi0
+ - samsung,exynos990-cmu-hsi1
- samsung,exynos990-cmu-peris
- samsung,exynos990-cmu-top
@@ -80,6 +81,32 @@ allOf:
- const: usbdp_debug
- const: dpgtc
+ - if:
+ properties:
+ compatible:
+ contains:
+ const: samsung,exynos990-cmu-hsi1
+
+ then:
+ properties:
+ clocks:
+ items:
+ - description: External reference clock (26 MHz)
+ - description: CMU_HSI1 BUS clock (from CMU_TOP)
+ - description: CMU_HSI1 MMC_CARD clock (from CMU_TOP)
+ - description: CMU_HSI1 PCIE clock (from CMU_TOP)
+ - description: CMU_HSI1 UFS_CARD clock (from CMU_TOP)
+ - description: CMU_HSI1 UFS_EMBD clock (from CMU_TOP)
+
+ clock-names:
+ items:
+ - const: oscclk
+ - const: bus
+ - const: mmc_card
+ - const: pcie
+ - const: ufs_card
+ - const: ufs_embd
+
- if:
properties:
compatible:
@@ -254,4 +254,11 @@
#define CLK_GOUT_PERIS_OTP_CON_BIRA_OSCCLK 18
#define CLK_GOUT_PERIS_OTP_CON_TOP_OSCCLK 19
+/* CMU_HSI1 */
+#define CLK_MOUT_HSI1_BUS_USER 1
+#define CLK_MOUT_HSI1_MMC_CARD_USER 2
+#define CLK_MOUT_HSI1_PCIE_USER 3
+#define CLK_MOUT_HSI1_UFS_CARD_USER 4
+#define CLK_MOUT_HSI1_UFS_EMBD_USER 5
+
#endif
Add dt-schema documentation for the Exynos990 CMU_HSI1 block. This clock management unit provides clocks for the DesignWare MMC controller, PCIE subsystem and UFS subsystem. Signed-off-by: Umer Uddin <umer.uddin@mentallysanemainliners.org> --- .../clock/samsung,exynos990-clock.yaml | 27 +++++++++++++++++++ include/dt-bindings/clock/samsung,exynos990.h | 7 +++++ 2 files changed, 34 insertions(+)