1 * Gated Clock bindings for Marvell Orion SoCs
3 Marvell Dove and Kirkwood allow some peripheral clocks to be gated to save
4 some power. The clock consumer should specify the desired clock by having
5 the clock ID in its "clocks" phandle cell. The clock ID is directly mapped to
6 the corresponding clock gating control bit in HW to ease manual clock lookup
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,dove-gating-clock" - for Dove SoC clock gating
98 "marvell,kirkwood-gating-clock" - for Kirkwood SoC clock gating
99 - reg : shall be the register address of the Clock Gating Control register
100 - #clock-cells : from common clock binding; shall be set to 1
103 - clocks : default parent clock phandle (e.g. tclk)
107 gate_clk: clock-gating-control@d0038 {
108 compatible = "marvell,dove-gating-clock";
110 /* default parent clock is tclk */
111 clocks = <&core_clk 0>;
116 compatible = "marvell,dove-sdhci";
117 /* get clk gate bit 8 (sdio0) */
118 clocks = <&gate_clk 8>;