1 * Gated Clock bindings for Marvell EBU SoCs
3 Marvell Armada 370/XP, Dove and Kirkwood allow some peripheral clocks to be
4 gated to save some power. The clock consumer should specify the desired clock
5 by having the clock ID in its "clocks" phandle cell. The clock ID is directly
6 mapped to the corresponding clock gating control bit in HW to ease manual clock
9 The following is a list of provided IDs for Armada 370:
11 -----------------------------------
13 1 pex0_en PCIe 0 Clock out
14 2 pex1_en PCIe 1 Clock out
15 3 ge1 Gigabit Ethernet 1
16 4 ge0 Gigabit Ethernet 0
21 25 tdm Time Division Mplx
25 The following is a list of provided IDs for Armada XP:
27 -----------------------------------
29 1 ge3 Gigabit Ethernet 3
30 2 ge2 Gigabit Ethernet 2
31 3 ge1 Gigabit Ethernet 1
32 4 ge0 Gigabit Ethernet 0
47 25 tdm Time Division Mplx
52 The following is a list of provided IDs for Dove:
54 -----------------------------------
64 11 camera Camera Cntrl
69 22 pdma Peripheral DMA
72 30 gephy Gigabit Ethernel PHY
73 Note: gephy(30) is implemented as a parent clock of ge(2)
75 The following is a list of provided IDs for Kirkwood:
77 -----------------------------------
78 0 ge0 Gigabit Ethernet 0
82 5 tsu Transp. Stream Unit
92 19 ge1 Gigabit Ethernet 1
93 20 tdm Time Division Mplx
96 - compatible : shall be one of the following:
97 "marvell,armada-370-gating-clock" - for Armada 370 SoC clock gating
98 "marvell,armada-xp-gating-clock" - for Armada XP SoC clock gating
99 "marvell,dove-gating-clock" - for Dove SoC clock gating
100 "marvell,kirkwood-gating-clock" - for Kirkwood SoC clock gating
101 - reg : shall be the register address of the Clock Gating Control register
102 - #clock-cells : from common clock binding; shall be set to 1
105 - clocks : default parent clock phandle (e.g. tclk)
109 gate_clk: clock-gating-control@d0038 {
110 compatible = "marvell,dove-gating-clock";
112 /* default parent clock is tclk */
113 clocks = <&core_clk 0>;
118 compatible = "marvell,dove-sdhci";
119 /* get clk gate bit 8 (sdio0) */
120 clocks = <&gate_clk 8>;