1 * Gated Clock bindings for Marvell EBU SoCs
3 Marvell Armada 370/375/380/385/39x/XP, Dove and Kirkwood allow some
4 peripheral clocks to be gated to save some power. The clock consumer
5 should specify the desired clock by having the clock ID in its
6 "clocks" phandle cell. The clock ID is directly mapped to the
7 corresponding clock gating control bit in HW to ease manual clock
10 The following is a list of provided IDs for Armada 370:
12 -----------------------------------
14 1 pex0_en PCIe 0 Clock out
15 2 pex1_en PCIe 1 Clock out
16 3 ge1 Gigabit Ethernet 1
17 4 ge0 Gigabit Ethernet 0
22 25 tdm Time Division Mplx
26 The following is a list of provided IDs for Armada 375:
28 -----------------------------------
32 5 pex0 PCIe 0 Clock out
33 6 pex1 PCIe 1 Clock out
35 11 nd_clk Nand Flash Cntrl
36 14 sata0_link SATA 0 Link
37 15 sata0_core SATA 0 Core
41 19 gop Gigabit Ethernet MAC
42 20 sata1_link SATA 1 Link
43 21 sata1_core SATA 1 Core
47 25 tdm Time Division Mplx
48 28 crypto0_enc Cryptographic Unit Port 0 Encryption
49 29 crypto0_core Cryptographic Unit Port 0 Core
50 30 crypto1_enc Cryptographic Unit Port 1 Encryption
51 31 crypto1_core Cryptographic Unit Port 1 Core
53 The following is a list of provided IDs for Armada 380/385:
55 -----------------------------------
57 2 ge2 Gigabit Ethernet 2
58 3 ge1 Gigabit Ethernet 1
59 4 ge0 Gigabit Ethernet 0
67 13 bm Buffer Management
68 14 crypto0z Cryptographic 0 Z
70 16 crypto1z Cryptographic 1 Z
73 21 crypto1 Cryptographic 1
75 23 crypto0 Cryptographic 0
76 25 tdm Time Division Multiplexing
80 The following is a list of provided IDs for Armada 39x:
82 -----------------------------------
92 The following is a list of provided IDs for Armada XP:
94 -----------------------------------
96 1 ge3 Gigabit Ethernet 3
97 2 ge2 Gigabit Ethernet 2
98 3 ge1 Gigabit Ethernet 1
99 4 ge0 Gigabit Ethernet 0
113 23 crypto CESA engine
114 25 tdm Time Division Mplx
119 The following is a list of provided IDs for Dove:
121 -----------------------------------
124 2 ge Gigabit Ethernet
131 11 camera Camera Cntrl
134 15 crypto CESA engine
136 22 pdma Peripheral DMA
139 30 gephy Gigabit Ethernel PHY
140 Note: gephy(30) is implemented as a parent clock of ge(2)
142 The following is a list of provided IDs for Kirkwood:
144 -----------------------------------
145 0 ge0 Gigabit Ethernet 0
149 5 tsu Transp. Stream Unit
157 17 crypto CESA engine
159 19 ge1 Gigabit Ethernet 1
160 20 tdm Time Division Mplx
163 - compatible : shall be one of the following:
164 "marvell,armada-370-gating-clock" - for Armada 370 SoC clock gating
165 "marvell,armada-375-gating-clock" - for Armada 375 SoC clock gating
166 "marvell,armada-380-gating-clock" - for Armada 380/385 SoC clock gating
167 "marvell,armada-390-gating-clock" - for Armada 39x SoC clock gating
168 "marvell,armada-xp-gating-clock" - for Armada XP SoC clock gating
169 "marvell,dove-gating-clock" - for Dove SoC clock gating
170 "marvell,kirkwood-gating-clock" - for Kirkwood SoC clock gating
171 - reg : shall be the register address of the Clock Gating Control register
172 - #clock-cells : from common clock binding; shall be set to 1
175 - clocks : default parent clock phandle (e.g. tclk)
179 gate_clk: clock-gating-control@d0038 {
180 compatible = "marvell,dove-gating-clock";
182 /* default parent clock is tclk */
183 clocks = <&core_clk 0>;
188 compatible = "marvell,dove-sdhci";
189 /* get clk gate bit 8 (sdio0) */
190 clocks = <&gate_clk 8>;