18c2ecf20Sopenharmony_ci* Samsung Exynos5420 Clock Controller 28c2ecf20Sopenharmony_ci 38c2ecf20Sopenharmony_ciThe Exynos5420 clock controller generates and supplies clock to various 48c2ecf20Sopenharmony_cicontrollers within the Exynos5420 SoC and for the Exynos5800 SoC. 58c2ecf20Sopenharmony_ci 68c2ecf20Sopenharmony_ciRequired Properties: 78c2ecf20Sopenharmony_ci 88c2ecf20Sopenharmony_ci- compatible: should be one of the following. 98c2ecf20Sopenharmony_ci - "samsung,exynos5420-clock" - controller compatible with Exynos5420 SoC. 108c2ecf20Sopenharmony_ci - "samsung,exynos5800-clock" - controller compatible with Exynos5800 SoC. 118c2ecf20Sopenharmony_ci 128c2ecf20Sopenharmony_ci- reg: physical base address of the controller and length of memory mapped 138c2ecf20Sopenharmony_ci region. 148c2ecf20Sopenharmony_ci 158c2ecf20Sopenharmony_ci- #clock-cells: should be 1. 168c2ecf20Sopenharmony_ci 178c2ecf20Sopenharmony_ciEach clock is assigned an identifier and client nodes can use this identifier 188c2ecf20Sopenharmony_cito specify the clock which they consume. 198c2ecf20Sopenharmony_ci 208c2ecf20Sopenharmony_ciAll available clocks are defined as preprocessor macros in 218c2ecf20Sopenharmony_cidt-bindings/clock/exynos5420.h header and can be used in device 228c2ecf20Sopenharmony_citree sources. 238c2ecf20Sopenharmony_ci 248c2ecf20Sopenharmony_ciExample 1: An example of a clock controller node is listed below. 258c2ecf20Sopenharmony_ci 268c2ecf20Sopenharmony_ci clock: clock-controller@10010000 { 278c2ecf20Sopenharmony_ci compatible = "samsung,exynos5420-clock"; 288c2ecf20Sopenharmony_ci reg = <0x10010000 0x30000>; 298c2ecf20Sopenharmony_ci #clock-cells = <1>; 308c2ecf20Sopenharmony_ci }; 318c2ecf20Sopenharmony_ci 328c2ecf20Sopenharmony_ciExample 2: UART controller node that consumes the clock generated by the clock 338c2ecf20Sopenharmony_ci controller. Refer to the standard clock bindings for information 348c2ecf20Sopenharmony_ci about 'clocks' and 'clock-names' property. 358c2ecf20Sopenharmony_ci 368c2ecf20Sopenharmony_ci serial@13820000 { 378c2ecf20Sopenharmony_ci compatible = "samsung,exynos4210-uart"; 388c2ecf20Sopenharmony_ci reg = <0x13820000 0x100>; 398c2ecf20Sopenharmony_ci interrupts = <0 54 0>; 408c2ecf20Sopenharmony_ci clocks = <&clock CLK_UART2>, <&clock CLK_SCLK_UART2>; 418c2ecf20Sopenharmony_ci clock-names = "uart", "clk_uart_baud0"; 428c2ecf20Sopenharmony_ci }; 43