Merge tag 'mac80211-next-for-john-2014-11-04' of git://git.kernel.org/pub/scm/linux...
[cascardo/linux.git] / Documentation / devicetree / bindings / clock / exynos3250-clock.txt
1 * Samsung Exynos3250 Clock Controller
2
3 The Exynos3250 clock controller generates and supplies clock to various
4 controllers within the Exynos3250 SoC.
5
6 Required Properties:
7
8 - compatible: should be one of the following.
9   - "samsung,exynos3250-cmu" - controller compatible with Exynos3250 SoC.
10   - "samsung,exynos3250-cmu-dmc" - controller compatible with
11     Exynos3250 SoC for Dynamic Memory Controller domain.
12
13 - reg: physical base address of the controller and length of memory mapped
14   region.
15
16 - #clock-cells: should be 1.
17
18 Each clock is assigned an identifier and client nodes can use this identifier
19 to specify the clock which they consume.
20
21 All available clocks are defined as preprocessor macros in
22 dt-bindings/clock/exynos3250.h header and can be used in device
23 tree sources.
24
25 Example 1: Examples of clock controller nodes are listed below.
26
27         cmu: clock-controller@10030000 {
28                 compatible = "samsung,exynos3250-cmu";
29                 reg = <0x10030000 0x20000>;
30                 #clock-cells = <1>;
31         };
32
33         cmu_dmc: clock-controller@105C0000 {
34                 compatible = "samsung,exynos3250-cmu-dmc";
35                 reg = <0x105C0000 0x2000>;
36                 #clock-cells = <1>;
37         };
38
39 Example 2: UART controller node that consumes the clock generated by the clock
40            controller. Refer to the standard clock bindings for information
41            about 'clocks' and 'clock-names' property.
42
43         serial@13800000 {
44                 compatible = "samsung,exynos4210-uart";
45                 reg = <0x13800000 0x100>;
46                 interrupts = <0 109 0>;
47                 clocks = <&cmu CLK_UART0>, <&cmu CLK_SCLK_UART0>;
48                 clock-names = "uart", "clk_uart_baud0";
49         };