Linux kernel mirror (for testing)
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel
os
linux
1* Samsung Exynos5410 Clock Controller
2
3The Exynos5410 clock controller generates and supplies clock to various
4controllers within the Exynos5410 SoC.
5
6Required 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
15All available clocks are defined as preprocessor macros in
16dt-bindings/clock/exynos5410.h header and can be used in device
17tree sources.
18
19External clock:
20
21There is clock that is generated outside the SoC. It
22is expected that it is defined using standard clock bindings
23with following clock-output-name:
24
25 - "fin_pll" - PLL input clock from XXTI
26
27Example 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
35Example 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 };