aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/clock
diff options
context:
space:
mode:
authorChanwoo Choi <cw00.choi@samsung.com>2015-02-02 18:47:11 -0500
committerSylwester Nawrocki <s.nawrocki@samsung.com>2015-02-04 07:05:24 -0500
commit1a21dfed63515faeb2cda334fbf00787b92d7771 (patch)
tree6165aded0883409da45bfa9535388d10b4c8ce7c /Documentation/devicetree/bindings/clock
parente64fb42da4c6c713cfc7cad607e97e0773fa41ff (diff)
clk: samsung: exynos5433: Add binding document for Exynos5433 clock domains
This patch adds devicetree binding document for Exynos5433 SoC system clock controller. Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com> Acked-by: Inki Dae <inki.dae@samsung.com> Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Diffstat (limited to 'Documentation/devicetree/bindings/clock')
-rw-r--r--Documentation/devicetree/bindings/clock/exynos5433-clock.txt305
1 files changed, 305 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/clock/exynos5433-clock.txt b/Documentation/devicetree/bindings/clock/exynos5433-clock.txt
new file mode 100644
index 000000000000..9e7ed2d43a15
--- /dev/null
+++ b/Documentation/devicetree/bindings/clock/exynos5433-clock.txt
@@ -0,0 +1,305 @@
1* Samsung Exynos5433 CMU (Clock Management Units)
2
3The Exynos5433 clock controller generates and supplies clock to various
4controllers within the Exynos5433 SoC.
5
6Required Properties:
7
8- compatible: should be one of the following.
9 - "samsung,exynos5433-cmu-top" - clock controller compatible for CMU_TOP
10 which generates clocks for IMEM/FSYS/G3D/GSCL/HEVC/MSCL/G2D/MFC/PERIC/PERIS
11 domains and bus clocks.
12 - "samsung,exynos5433-cmu-cpif" - clock controller compatible for CMU_CPIF
13 which generates clocks for LLI (Low Latency Interface) IP.
14 - "samsung,exynos5433-cmu-mif" - clock controller compatible for CMU_MIF
15 which generates clocks for DRAM Memory Controller domain.
16 - "samsung,exynos5433-cmu-peric" - clock controller compatible for CMU_PERIC
17 which generates clocks for UART/I2C/SPI/I2S/PCM/SPDIF/PWM/SLIMBUS IPs.
18 - "samsung,exynos5433-cmu-peris" - clock controller compatible for CMU_PERIS
19 which generates clocks for PMU/TMU/MCT/WDT/RTC/SECKEY/TZPC IPs.
20 - "samsung,exynos5433-cmu-fsys" - clock controller compatible for CMU_FSYS
21 which generates clocks for USB/UFS/SDMMC/TSI/PDMA IPs.
22 - "samsung,exynos5433-cmu-g2d" - clock controller compatible for CMU_G2D
23 which generates clocks for G2D/MDMA IPs.
24 - "samsung,exynos5433-cmu-disp" - clock controller compatible for CMU_DISP
25 which generates clocks for Display (DECON/HDMI/DSIM/MIXER) IPs.
26 - "samsung,exynos5433-cmu-aud" - clock controller compatible for CMU_AUD
27 which generates clocks for Cortex-A5/BUS/AUDIO clocks.
28 - "samsung,exynos5433-cmu-bus0", "samsung,exynos5433-cmu-bus1"
29 and "samsung,exynos5433-cmu-bus2" - clock controller compatible for CMU_BUS
30 which generates global data buses clock and global peripheral buses clock.
31 - "samsung,exynos5433-cmu-g3d" - clock controller compatible for CMU_G3D
32 which generates clocks for 3D Graphics Engine IP.
33 - "samsung,exynos5433-cmu-gscl" - clock controller compatible for CMU_GSCL
34 which generates clocks for GSCALER IPs.
35
36- reg: physical base address of the controller and length of memory mapped
37 region.
38
39- #clock-cells: should be 1.
40
41- clocks: list of the clock controller input clock identifiers,
42 from common clock bindings. Please refer the next section
43 to find the input clocks for a given controller.
44
45- clock-names: list of the clock controller input clock names,
46 as described in clock-bindings.txt.
47
48 Input clocks for top clock controller:
49 - oscclk
50 - sclk_mphy_pll
51 - sclk_mfc_pll
52 - sclk_bus_pll
53
54 Input clocks for cpif clock controller:
55 - oscclk
56
57 Input clocks for mif clock controller:
58 - oscclk
59 - sclk_mphy_pll
60
61 Input clocks for fsys clock controller:
62 - oscclk
63 - sclk_ufs_mphy
64 - div_aclk_fsys_200
65 - sclk_pcie_100_fsys
66 - sclk_ufsunipro_fsys
67 - sclk_mmc2_fsys
68 - sclk_mmc1_fsys
69 - sclk_mmc0_fsys
70 - sclk_usbhost30_fsys
71 - sclk_usbdrd30_fsys
72
73 Input clocks for g2d clock controller:
74 - oscclk
75 - aclk_g2d_266
76 - aclk_g2d_400
77
78 Input clocks for disp clock controller:
79 - oscclk
80 - sclk_dsim1_disp
81 - sclk_dsim0_disp
82 - sclk_dsd_disp
83 - sclk_decon_tv_eclk_disp
84 - sclk_decon_vclk_disp
85 - sclk_decon_eclk_disp
86 - sclk_decon_tv_vclk_disp
87 - aclk_disp_333
88
89 Input clocks for bus0 clock controller:
90 - aclk_bus0_400
91
92 Input clocks for bus1 clock controller:
93 - aclk_bus1_400
94
95 Input clocks for bus2 clock controller:
96 - oscclk
97 - aclk_bus2_400
98
99 Input clocks for g3d clock controller:
100 - oscclk
101 - aclk_g3d_400
102
103 Input clocks for gscl clock controller:
104 - oscclk
105 - aclk_gscl_111
106 - aclk_gscl_333
107
108Each clock is assigned an identifier and client nodes can use this identifier
109to specify the clock which they consume.
110
111All available clocks are defined as preprocessor macros in
112dt-bindings/clock/exynos5433.h header and can be used in device
113tree sources.
114
115Example 1: Examples of 'oscclk' source clock node are listed below.
116
117 xxti: xxti {
118 compatible = "fixed-clock";
119 clock-output-names = "oscclk";
120 #clock-cells = <0>;
121 };
122
123Example 2: Examples of clock controller nodes are listed below.
124
125 cmu_top: clock-controller@10030000 {
126 compatible = "samsung,exynos5433-cmu-top";
127 reg = <0x10030000 0x0c04>;
128 #clock-cells = <1>;
129
130 clock-names = "oscclk",
131 "sclk_mphy_pll",
132 "sclk_mfc_pll",
133 "sclk_bus_pll";
134 clocks = <&xxti>,
135 <&cmu_cpif CLK_SCLK_MPHY_PLL>,
136 <&cmu_mif CLK_SCLK_MFC_PLL>,
137 <&cmu_mif CLK_SCLK_BUS_PLL>;
138 };
139
140 cmu_cpif: clock-controller@10fc0000 {
141 compatible = "samsung,exynos5433-cmu-cpif";
142 reg = <0x10fc0000 0x0c04>;
143 #clock-cells = <1>;
144
145 clock-names = "oscclk";
146 clocks = <&xxti>;
147 };
148
149 cmu_mif: clock-controller@105b0000 {
150 compatible = "samsung,exynos5433-cmu-mif";
151 reg = <0x105b0000 0x100c>;
152 #clock-cells = <1>;
153
154 clock-names = "oscclk",
155 "sclk_mphy_pll";
156 clocks = <&xxti>,
157 <&cmu_cpif CLK_SCLK_MPHY_PLL>;
158 };
159
160 cmu_peric: clock-controller@14c80000 {
161 compatible = "samsung,exynos5433-cmu-peric";
162 reg = <0x14c80000 0x0b08>;
163 #clock-cells = <1>;
164 };
165
166 cmu_peris: clock-controller@10040000 {
167 compatible = "samsung,exynos5433-cmu-peris";
168 reg = <0x10040000 0x0b20>;