CMU_CMGP generates USI and ADC clocks for BLK_ALIVE. In particular USI clocks are needed for HSI2C_3 and HSI2C_4 instances. Add clock indices and bindings documentation for CMU_CMGP domain.
Unified · Split
| @@ -33,6 +33,7 @@ properties: · 32 unmodified lines | ||
| 33 | 33 | enum: |
| 34 | 34 | - samsung,exynos850-cmu-top |
| 35 | 35 | - samsung,exynos850-cmu-apm |
| 36 | + - samsung,exynos850-cmu-cmgp | |
| 36 | 37 | - samsung,exynos850-cmu-core |
| 37 | 38 | - samsung,exynos850-cmu-dpu |
| 38 | 39 | - samsung,exynos850-cmu-hsi |
| @@ -87,6 +88,24 @@ allOf: · 48 unmodified lines | ||
| 87 | 88 | - const: oscclk |
| 88 | 89 | - const: dout_clkcmu_apm_bus |
| 89 | 90 | |
| 91 | + - if: | |
| 92 | + properties: | |
| 93 | + compatible: | |
| 94 | + contains: | |
| 95 | + const: samsung,exynos850-cmu-cmgp | |
| 96 | + | |
| 97 | + then: | |
| 98 | + properties: | |
| 99 | + clocks: | |
| 100 | + items: | |
| 101 | + - description: External reference clock (26 MHz) | |
| 102 | + - description: CMU_CMGP bus clock (from CMU_APM) | |
| 103 | + | |
| 104 | + clock-names: | |
| 105 | + items: | |
| 106 | + - const: oscclk | |
| 107 | + - const: gout_clkcmu_cmgp_bus | |
| 108 | + | |
| 90 | 109 | - if: |
| 91 | 110 | properties: |
| 92 | 111 | compatible: |
| @@ -84,6 +84,23 @@ · 83 unmodified lines | ||
| 84 | 84 | #define CLK_GOUT_SPEEDY_PCLK 21 |
| 85 | 85 | #define APM_NR_CLK 22 |
| 86 | 86 | |
| 87 | +/* CMU_CMGP */ | |
| 88 | +#define CLK_RCO_CMGP 1 | |
| 89 | +#define CLK_MOUT_CMGP_ADC 2 | |
| 90 | +#define CLK_MOUT_CMGP_USI0 3 | |
| 91 | +#define CLK_MOUT_CMGP_USI1 4 | |
| 92 | +#define CLK_DOUT_CMGP_ADC 5 | |
| 93 | +#define CLK_DOUT_CMGP_USI0 6 | |
| 94 | +#define CLK_DOUT_CMGP_USI1 7 | |
| 95 | +#define CLK_GOUT_CMGP_ADC_S0_PCLK 8 | |
| 96 | +#define CLK_GOUT_CMGP_ADC_S1_PCLK 9 | |
| 97 | +#define CLK_GOUT_CMGP_GPIO_PCLK 10 | |
| 98 | +#define CLK_GOUT_CMGP_USI0_IPCLK 11 | |
| 99 | +#define CLK_GOUT_CMGP_USI0_PCLK 12 | |
| 100 | +#define CLK_GOUT_CMGP_USI1_IPCLK 13 | |
| 101 | +#define CLK_GOUT_CMGP_USI1_PCLK 14 | |
| 102 | +#define CMGP_NR_CLK 15 | |
| 103 | + | |
| 87 | 104 | /* CMU_HSI */ |
| 88 | 105 | #define CLK_MOUT_HSI_BUS_USER 1 |
| 89 | 106 | #define CLK_MOUT_HSI_MMC_CARD_USER 2 |