1*c66ec88fSEmmanuel Vadot* Samsung Exynos5250 Clock Controller 2*c66ec88fSEmmanuel Vadot 3*c66ec88fSEmmanuel VadotThe Exynos5250 clock controller generates and supplies clock to various 4*c66ec88fSEmmanuel Vadotcontrollers within the Exynos5250 SoC. 5*c66ec88fSEmmanuel Vadot 6*c66ec88fSEmmanuel VadotRequired Properties: 7*c66ec88fSEmmanuel Vadot 8*c66ec88fSEmmanuel Vadot- compatible: should be one of the following. 9*c66ec88fSEmmanuel Vadot - "samsung,exynos5250-clock" - controller compatible with Exynos5250 SoC. 10*c66ec88fSEmmanuel Vadot 11*c66ec88fSEmmanuel Vadot- reg: physical base address of the controller and length of memory mapped 12*c66ec88fSEmmanuel Vadot region. 13*c66ec88fSEmmanuel Vadot 14*c66ec88fSEmmanuel Vadot- #clock-cells: should be 1. 15*c66ec88fSEmmanuel Vadot 16*c66ec88fSEmmanuel VadotEach clock is assigned an identifier and client nodes can use this identifier 17*c66ec88fSEmmanuel Vadotto specify the clock which they consume. 18*c66ec88fSEmmanuel Vadot 19*c66ec88fSEmmanuel VadotAll available clocks are defined as preprocessor macros in 20*c66ec88fSEmmanuel Vadotdt-bindings/clock/exynos5250.h header and can be used in device 21*c66ec88fSEmmanuel Vadottree sources. 22*c66ec88fSEmmanuel Vadot 23*c66ec88fSEmmanuel VadotExample 1: An example of a clock controller node is listed below. 24*c66ec88fSEmmanuel Vadot 25*c66ec88fSEmmanuel Vadot clock: clock-controller@10010000 { 26*c66ec88fSEmmanuel Vadot compatible = "samsung,exynos5250-clock"; 27*c66ec88fSEmmanuel Vadot reg = <0x10010000 0x30000>; 28*c66ec88fSEmmanuel Vadot #clock-cells = <1>; 29*c66ec88fSEmmanuel Vadot }; 30*c66ec88fSEmmanuel Vadot 31*c66ec88fSEmmanuel VadotExample 2: UART controller node that consumes the clock generated by the clock 32*c66ec88fSEmmanuel Vadot controller. Refer to the standard clock bindings for information 33*c66ec88fSEmmanuel Vadot about 'clocks' and 'clock-names' property. 34*c66ec88fSEmmanuel Vadot 35*c66ec88fSEmmanuel Vadot serial@13820000 { 36*c66ec88fSEmmanuel Vadot compatible = "samsung,exynos4210-uart"; 37*c66ec88fSEmmanuel Vadot reg = <0x13820000 0x100>; 38*c66ec88fSEmmanuel Vadot interrupts = <0 54 0>; 39*c66ec88fSEmmanuel Vadot clocks = <&clock CLK_UART2>, <&clock CLK_SCLK_UART2>; 40*c66ec88fSEmmanuel Vadot clock-names = "uart", "clk_uart_baud0"; 41*c66ec88fSEmmanuel Vadot }; 42