1 * Samsung Exynos5433 CMU (Clock Management Units)
3 The Exynos5433 clock controller generates and supplies clock to various
4 controllers within the Exynos5433 SoC.
8 - compatible: should be one of the following.
9 - "samsung,exynos5433-cmu-top" - clock controller compatible for CMU_TOP
10 which generates clocks for IMEM/FSYS/G3D/GSCL/HEVC/MSCL/G2D/MFC/PERIC/PERIS
11 domains and bus clocks.
12 - "samsung,exynos5433-cmu-cpif" - clock controller compatible for CMU_CPIF
13 which generates clocks for LLI (Low Latency Interface) IP.
14 - "samsung,exynos5433-cmu-mif" - clock controller compatible for CMU_MIF
15 which generates clocks for DRAM Memory Controller domain.
16 - "samsung,exynos5433-cmu-peric" - clock controller compatible for CMU_PERIC
17 which generates clocks for UART/I2C/SPI/I2S/PCM/SPDIF/PWM/SLIMBUS IPs.
18 - "samsung,exynos5433-cmu-peris" - clock controller compatible for CMU_PERIS
19 which generates clocks for PMU/TMU/MCT/WDT/RTC/SECKEY/TZPC IPs.
20 - "samsung,exynos5433-cmu-fsys" - clock controller compatible for CMU_FSYS
21 which generates clocks for USB/UFS/SDMMC/TSI/PDMA IPs.
22 - "samsung,exynos5433-cmu-g2d" - clock controller compatible for CMU_G2D
23 which generates clocks for G2D/MDMA IPs.
24 - "samsung,exynos5433-cmu-disp" - clock controller compatible for CMU_DISP
25 which generates clocks for Display (DECON/HDMI/DSIM/MIXER) IPs.
26 - "samsung,exynos5433-cmu-aud" - clock controller compatible for CMU_AUD
27 which generates clocks for Cortex-A5/BUS/AUDIO clocks.
28 - "samsung,exynos5433-cmu-bus0", "samsung,exynos5433-cmu-bus1"
29 and "samsung,exynos5433-cmu-bus2" - clock controller compatible for CMU_BUS
30 which generates global data buses clock and global peripheral buses clock.
31 - "samsung,exynos5433-cmu-g3d" - clock controller compatible for CMU_G3D
32 which generates clocks for 3D Graphics Engine IP.
33 - "samsung,exynos5433-cmu-gscl" - clock controller compatible for CMU_GSCL
34 which generates clocks for GSCALER IPs.
35 - "samsung,exynos5433-cmu-apollo"- clock controller compatible for CMU_APOLLO
36 which generates clocks for Cortex-A53 Quad-core processor.
37 - "samsung,exynos5433-cmu-atlas" - clock controller compatible for CMU_ATLAS
38 which generates clocks for Cortex-A57 Quad-core processor, CoreSight and
40 - "samsung,exynos5433-cmu-mscl" - clock controller compatible for CMU_MSCL
41 which generates clocks for M2M (Memory to Memory) scaler and JPEG IPs.
42 - "samsung,exynos5433-cmu-mfc" - clock controller compatible for CMU_MFC
43 which generates clocks for MFC(Multi-Format Codec) IP.
44 - "samsung,exynos5433-cmu-hevc" - clock controller compatible for CMU_HEVC
45 which generates clocks for HEVC(High Efficiency Video Codec) decoder IP.
46 - "samsung,exynos5433-cmu-isp" - clock controller compatible for CMU_ISP
47 which generates clocks for FIMC-ISP/DRC/SCLC/DIS/3DNR IPs.
48 - "samsung,exynos5433-cmu-cam0" - clock controller compatible for CMU_CAM0
49 which generates clocks for MIPI_CSIS{0|1}/FIMC_LITE_{A|B|D}/FIMC_3AA{0|1}
51 - "samsung,exynos5433-cmu-cam1" - clock controller compatible for CMU_CAM1
52 which generates clocks for Cortex-A5/MIPI_CSIS2/FIMC-LITE_C/FIMC-FD IPs.
53 - "samsung,exynos5433-cmu-imem" - clock controller compatible for CMU_IMEM
54 which generates clocks for SSS (Security SubSystem) and SlimSSS IPs.
56 - reg: physical base address of the controller and length of memory mapped
59 - #clock-cells: should be 1.
61 - clocks: list of the clock controller input clock identifiers,
62 from common clock bindings. Please refer the next section
63 to find the input clocks for a given controller.
65 - clock-names: list of the clock controller input clock names,
66 as described in clock-bindings.txt.
68 Input clocks for top clock controller:
74 Input clocks for cpif clock controller:
77 Input clocks for mif clock controller:
81 Input clocks for fsys clock controller:
93 Input clocks for g2d clock controller:
98 Input clocks for disp clock controller:
103 - sclk_decon_tv_eclk_disp
104 - sclk_decon_vclk_disp
105 - sclk_decon_eclk_disp
106 - sclk_decon_tv_vclk_disp
109 Input clocks for audio clock controller:
113 Input clocks for bus0 clock controller:
116 Input clocks for bus1 clock controller:
119 Input clocks for bus2 clock controller:
123 Input clocks for g3d clock controller:
127 Input clocks for gscl clock controller:
132 Input clocks for apollo clock controller:
134 - sclk_bus_pll_apollo
136 Input clocks for atlas clock controller:
140 Input clocks for mscl clock controller:
145 Input clocks for mfc clock controller:
149 Input clocks for hevc clock controller:
153 Input clocks for isp clock controller:
158 Input clocks for cam0 clock controller:
164 Input clocks for cam1 clock controller:
173 Input clocks for imem clock controller:
180 - power-domains: a phandle to respective power domain node as described by
181 generic PM domain bindings (see power/power_domain.txt for more
184 Each clock is assigned an identifier and client nodes can use this identifier
185 to specify the clock which they consume.
187 All available clocks are defined as preprocessor macros in
188 dt-bindings/clock/exynos5433.h header and can be used in device
191 Example 1: Examples of 'oscclk' source clock node are listed below.
194 compatible = "fixed-clock";
195 clock-output-names = "oscclk";
199 Example 2: Examples of clock controller nodes are listed below.
201 cmu_top: clock-controller@10030000 {
202 compatible = "samsung,exynos5433-cmu-top";
203 reg = <0x10030000 0x0c04>;
206 clock-names = "oscclk",
211 <&cmu_cpif CLK_SCLK_MPHY_PLL>,
212 <&cmu_mif CLK_SCLK_MFC_PLL>,
213 <&cmu_mif CLK_SCLK_BUS_PLL>;
216 cmu_cpif: clock-controller@10fc0000 {
217 compatible = "samsung,exynos5433-cmu-cpif";
218 reg = <0x10fc0000 0x0c04>;
221 clock-names = "oscclk";
225 cmu_mif: clock-controller@105b0000 {
226 compatible = "samsung,exynos5433-cmu-mif";
227 reg = <0x105b0000 0x100c>;
230 clock-names = "oscclk",
233 <&cmu_cpif CLK_SCLK_MPHY_PLL>;
236 cmu_peric: clock-controller@14c80000 {
237 compatible = "samsung,exynos5433-cmu-peric";
238 reg = <0x14c80000 0x0b08>;
242 cmu_peris: clock-controller@10040000 {
243 compatible = "samsung,exynos5433-cmu-peris";
244 reg = <0x10040000 0x0b20>;
248 cmu_fsys: clock-controller@156e0000 {
249 compatible = "samsung,exynos5433-cmu-fsys";
250 reg = <0x156e0000 0x0b04>;
253 clock-names = "oscclk",
256 "sclk_pcie_100_fsys",
257 "sclk_ufsunipro_fsys",
261 "sclk_usbhost30_fsys",
262 "sclk_usbdrd30_fsys";
264 <&cmu_cpif CLK_SCLK_UFS_MPHY>,
265 <&cmu_top CLK_ACLK_FSYS_200>,
266 <&cmu_top CLK_SCLK_PCIE_100_FSYS>,
267 <&cmu_top CLK_SCLK_UFSUNIPRO_FSYS>,
268 <&cmu_top CLK_SCLK_MMC2_FSYS>,
269 <&cmu_top CLK_SCLK_MMC1_FSYS>,
270 <&cmu_top CLK_SCLK_MMC0_FSYS>,
271 <&cmu_top CLK_SCLK_USBHOST30_FSYS>,
272 <&cmu_top CLK_SCLK_USBDRD30_FSYS>;
275 cmu_g2d: clock-controller@12460000 {
276 compatible = "samsung,exynos5433-cmu-g2d";
277 reg = <0x12460000 0x0b08>;
280 clock-names = "oscclk",
284 <&cmu_top CLK_ACLK_G2D_266>,
285 <&cmu_top CLK_ACLK_G2D_400>;
286 power-domains = <&pd_g2d>;
289 cmu_disp: clock-controller@13b90000 {
290 compatible = "samsung,exynos5433-cmu-disp";
291 reg = <0x13b90000 0x0c04>;
294 clock-names = "oscclk",
298 "sclk_decon_tv_eclk_disp",
299 "sclk_decon_vclk_disp",
300 "sclk_decon_eclk_disp",
301 "sclk_decon_tv_vclk_disp",
304 <&cmu_mif CLK_SCLK_DSIM1_DISP>,
305 <&cmu_mif CLK_SCLK_DSIM0_DISP>,
306 <&cmu_mif CLK_SCLK_DSD_DISP>,
307 <&cmu_mif CLK_SCLK_DECON_TV_ECLK_DISP>,
308 <&cmu_mif CLK_SCLK_DECON_VCLK_DISP>,
309 <&cmu_mif CLK_SCLK_DECON_ECLK_DISP>,
310 <&cmu_mif CLK_SCLK_DECON_TV_VCLK_DISP>,
311 <&cmu_mif CLK_ACLK_DISP_333>;
312 power-domains = <&pd_disp>;
315 cmu_aud: clock-controller@114c0000 {
316 compatible = "samsung,exynos5433-cmu-aud";
317 reg = <0x114c0000 0x0b04>;
320 clock-names = "oscclk", "fout_aud_pll";
321 clocks = <&xxti>, <&cmu_top CLK_FOUT_AUD_PLL>;
322 power-domains = <&pd_aud>;
325 cmu_bus0: clock-controller@13600000 {
326 compatible = "samsung,exynos5433-cmu-bus0";
327 reg = <0x13600000 0x0b04>;
330 clock-names = "aclk_bus0_400";
331 clocks = <&cmu_top CLK_ACLK_BUS0_400>;
334 cmu_bus1: clock-controller@14800000 {
335 compatible = "samsung,exynos5433-cmu-bus1";
336 reg = <0x14800000 0x0b04>;
339 clock-names = "aclk_bus1_400";
340 clocks = <&cmu_top CLK_ACLK_BUS1_400>;
343 cmu_bus2: clock-controller@13400000 {
344 compatible = "samsung,exynos5433-cmu-bus2";
345 reg = <0x13400000 0x0b04>;
348 clock-names = "oscclk", "aclk_bus2_400";
349 clocks = <&xxti>, <&cmu_mif CLK_ACLK_BUS2_400>;
352 cmu_g3d: clock-controller@14aa0000 {
353 compatible = "samsung,exynos5433-cmu-g3d";
354 reg = <0x14aa0000 0x1000>;
357 clock-names = "oscclk", "aclk_g3d_400";
358 clocks = <&xxti>, <&cmu_top CLK_ACLK_G3D_400>;
359 power-domains = <&pd_g3d>;
362 cmu_gscl: clock-controller@13cf0000 {
363 compatible = "samsung,exynos5433-cmu-gscl";
364 reg = <0x13cf0000 0x0b10>;
367 clock-names = "oscclk",
371 <&cmu_top CLK_ACLK_GSCL_111>,
372 <&cmu_top CLK_ACLK_GSCL_333>;
373 power-domains = <&pd_gscl>;
376 cmu_apollo: clock-controller@11900000 {
377 compatible = "samsung,exynos5433-cmu-apollo";
378 reg = <0x11900000 0x1088>;
381 clock-names = "oscclk", "sclk_bus_pll_apollo";
382 clocks = <&xxti>, <&cmu_mif CLK_SCLK_BUS_PLL_APOLLO>;
385 cmu_atlas: clock-controller@11800000 {
386 compatible = "samsung,exynos5433-cmu-atlas";
387 reg = <0x11800000 0x1088>;
390 clock-names = "oscclk", "sclk_bus_pll_atlas";
391 clocks = <&xxti>, <&cmu_mif CLK_SCLK_BUS_PLL_ATLAS>;
394 cmu_mscl: clock-controller@105d0000 {
395 compatible = "samsung,exynos5433-cmu-mscl";
396 reg = <0x105d0000 0x0b10>;
399 clock-names = "oscclk",
403 <&cmu_top CLK_SCLK_JPEG_MSCL>,
404 <&cmu_top CLK_ACLK_MSCL_400>;
405 power-domains = <&pd_mscl>;
408 cmu_mfc: clock-controller@15280000 {
409 compatible = "samsung,exynos5433-cmu-mfc";
410 reg = <0x15280000 0x0b08>;
413 clock-names = "oscclk", "aclk_mfc_400";
414 clocks = <&xxti>, <&cmu_top CLK_ACLK_MFC_400>;
415 power-domains = <&pd_mfc>;
418 cmu_hevc: clock-controller@14f80000 {
419 compatible = "samsung,exynos5433-cmu-hevc";
420 reg = <0x14f80000 0x0b08>;
423 clock-names = "oscclk", "aclk_hevc_400";
424 clocks = <&xxti>, <&cmu_top CLK_ACLK_HEVC_400>;
425 power-domains = <&pd_hevc>;
428 cmu_isp: clock-controller@146d0000 {
429 compatible = "samsung,exynos5433-cmu-isp";
430 reg = <0x146d0000 0x0b0c>;
433 clock-names = "oscclk",
437 <&cmu_top CLK_ACLK_ISP_DIS_400>,
438 <&cmu_top CLK_ACLK_ISP_400>;
439 power-domains = <&pd_isp>;
442 cmu_cam0: clock-controller@120d0000 {
443 compatible = "samsung,exynos5433-cmu-cam0";
444 reg = <0x120d0000 0x0b0c>;
447 clock-names = "oscclk",
452 <&cmu_top CLK_ACLK_CAM0_333>,
453 <&cmu_top CLK_ACLK_CAM0_400>,
454 <&cmu_top CLK_ACLK_CAM0_552>;
455 power-domains = <&pd_cam0>;
458 cmu_cam1: clock-controller@145d0000 {
459 compatible = "samsung,exynos5433-cmu-cam1";
460 reg = <0x145d0000 0x0b08>;
463 clock-names = "oscclk",
464 "sclk_isp_uart_cam1",
465 "sclk_isp_spi1_cam1",
466 "sclk_isp_spi0_cam1",
471 <&cmu_top CLK_SCLK_ISP_UART_CAM1>,
472 <&cmu_top CLK_SCLK_ISP_SPI1_CAM1>,
473 <&cmu_top CLK_SCLK_ISP_SPI0_CAM1>,
474 <&cmu_top CLK_ACLK_CAM1_333>,
475 <&cmu_top CLK_ACLK_CAM1_400>,
476 <&cmu_top CLK_ACLK_CAM1_552>;
477 power-domains = <&pd_cam1>;
480 cmu_imem: clock-controller@11060000 {
481 compatible = "samsung,exynos5433-cmu-imem";
482 reg = <0x11060000 0x1000>;
485 clock-names = "oscclk",
486 "aclk_imem_sssx_266",
490 <&cmu_top CLK_DIV_ACLK_IMEM_SSSX_266>,
491 <&cmu_top CLK_DIV_ACLK_IMEM_266>,
492 <&cmu_top CLK_DIV_ACLK_IMEM_200>;
495 Example 3: UART controller node that consumes the clock generated by the clock
498 serial_0: serial@14c10000 {
499 compatible = "samsung,exynos5433-uart";
500 reg = <0x14C10000 0x100>;
501 interrupts = <0 421 0>;
502 clocks = <&cmu_peric CLK_PCLK_UART0>,
503 <&cmu_peric CLK_SCLK_UART0>;
504 clock-names = "uart", "clk_uart_baud0";
505 pinctrl-names = "default";
506 pinctrl-0 = <&uart0_bus>;