Merge branch 'for-4.5/for-jens' of git://git.kernel.org/pub/scm/linux/kernel/git...
[sfrench/cifs-2.6.git] / Documentation / devicetree / bindings / clock / exynos5410-clock.txt
1 * Samsung Exynos5410 Clock Controller
2
3 The Exynos5410 clock controller generates and supplies clock to various
4 controllers within the Exynos5410 SoC.
5
6 Required Properties:
7
8 - compatible: should be "samsung,exynos5410-clock"
9
10 - reg: physical base address of the controller and length of memory mapped
11   region.
12
13 - #clock-cells: should be 1.
14
15 All available clocks are defined as preprocessor macros in
16 dt-bindings/clock/exynos5410.h header and can be used in device
17 tree sources.
18
19 External clock:
20
21 There is clock that is generated outside the SoC. It
22 is expected that it is defined using standard clock bindings
23 with following clock-output-name:
24
25  - "fin_pll" - PLL input clock from XXTI
26
27 Example 1: An example of a clock controller node is listed below.
28
29         clock: clock-controller@0x10010000 {
30                 compatible = "samsung,exynos5410-clock";
31                 reg = <0x10010000 0x30000>;
32                 #clock-cells = <1>;
33         };
34
35 Example 2: UART controller node that consumes the clock generated by the clock
36            controller. Refer to the standard clock bindings for information
37            about 'clocks' and 'clock-names' property.
38
39         serial@12C20000 {
40                 compatible = "samsung,exynos4210-uart";
41                 reg = <0x12C00000 0x100>;
42                 interrupts = <0 51 0>;
43                 clocks = <&clock CLK_UART0>, <&clock CLK_SCLK_UART0>;
44                 clock-names = "uart", "clk_uart_baud0";
45         };