blob: 38dcf03701430e603e2b3b376e1239014501d62a [file] [log] [blame]
Laurent Pinchartabe844a2013-10-17 23:54:07 +02001* Renesas CPG DIV6 Clock
2
3The CPG DIV6 clocks are variable factor clocks provided by the Clock Pulse
Geert Uytterhoeven7a29f3f2015-09-09 14:57:11 +02004Generator (CPG). Their clock input is divided by a configurable factor from 1
Laurent Pinchartabe844a2013-10-17 23:54:07 +02005to 64.
6
7Required Properties:
8
9 - compatible: Must be one of the following
Ulrich Hechtbfadcad2014-11-07 16:51:08 +010010 - "renesas,r8a73a4-div6-clock" for R8A73A4 (R-Mobile APE6) DIV6 clocks
11 - "renesas,r8a7740-div6-clock" for R8A7740 (R-Mobile A1) DIV6 clocks
Laurent Pinchartabe844a2013-10-17 23:54:07 +020012 - "renesas,r8a7790-div6-clock" for R8A7790 (R-Car H2) DIV6 clocks
Ulrich Hecht0e0d8b72015-05-28 17:17:01 +020013 - "renesas,r8a7791-div6-clock" for R8A7791 (R-Car M2-W) DIV6 clocks
14 - "renesas,r8a7793-div6-clock" for R8A7793 (R-Car M2-N) DIV6 clocks
Geert Uytterhoeven0c933f32015-06-01 11:57:48 +020015 - "renesas,r8a7794-div6-clock" for R8A7794 (R-Car E2) DIV6 clocks
Ulrich Hechtbfadcad2014-11-07 16:51:08 +010016 - "renesas,sh73a0-div6-clock" for SH73A0 (SH-Mobile AG5) DIV6 clocks
Geert Uytterhoeven37062622015-06-01 12:00:08 +020017 and "renesas,cpg-div6-clock" as a fallback.
Laurent Pinchartabe844a2013-10-17 23:54:07 +020018 - reg: Base address and length of the memory resource used by the DIV6 clock
Ulrich Hechtbfadcad2014-11-07 16:51:08 +010019 - clocks: Reference to the parent clock(s); either one, four, or eight
20 clocks must be specified. For clocks with multiple parents, invalid
21 settings must be specified as "<0>".
Laurent Pinchartabe844a2013-10-17 23:54:07 +020022 - #clock-cells: Must be 0
23 - clock-output-names: The name of the clock as a free-form string
24
25
26Example
27-------
28
Ulrich Hechtbfadcad2014-11-07 16:51:08 +010029 sdhi2_clk: sdhi2_clk@e615007c {
30 compatible = "renesas,r8a73a4-div6-clock", "renesas,cpg-div6-clock";
31 reg = <0 0xe615007c 0 4>;
32 clocks = <&pll1_div2_clk>, <&cpg_clocks R8A73A4_CLK_PLL2S>,
33 <0>, <&extal2_clk>;
Laurent Pinchartabe844a2013-10-17 23:54:07 +020034 #clock-cells = <0>;
Ulrich Hechtbfadcad2014-11-07 16:51:08 +010035 clock-output-names = "sdhi2ck";
Laurent Pinchartabe844a2013-10-17 23:54:07 +020036 };