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