Renesas CPG DIV6 Clock
Schema identifier ($id): "http://devicetree.org/schemas/clock/renesas,cpg-div6-clock.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Geert Uytterhoeven <geert+renesas@glider.be>"
The CPG DIV6 clocks are variable factor clocks provided by the Clock Pulse Generator (CPG). Their clock input is divided by a configurable factor from 1 to 64.
Properties and child nodes (properties) #
compatible — required here #
Array item rules (items) #
Item 1
Allowed values (
enum):"renesas,r8a73a4-div6-clock","renesas,r8a7740-div6-clock","renesas,sh73a0-div6-clock"
Item 2
Exact value (
const):"renesas,cpg-div6-clock"
reg — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Maximum number of items (
maxItems):1
Rule 2
Maximum number of items (
maxItems):4
Rule 3
Maximum number of items (
maxItems):8
For clocks with multiple parents, invalid settings must be specified as "<0>".
#clock-cells — required here #
Exact value (const): 0
clock-output-names — not listed as required here #
true — No constraints added by this property rule.
Required in this object (required): "compatible", "reg", "clocks", "#clock-cells"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/r8a73a4-clock.h>
cpg_clocks: cpg_clocks@e6150000 {
compatible = "renesas,r8a73a4-cpg-clocks";
reg = <0xe6150000 0x10000>;
clocks = <&extal1_clk>, <&extal2_clk>;
#clock-cells = <1>;
clock-output-names = "main", "pll0", "pll1", "pll2",
"pll2s", "pll2h", "z", "z2",
"i", "m3", "b", "m1", "m2",
"zx", "zs", "hp";
};
sdhi2_clk: sdhi2_clk@e615007c {
compatible = "renesas,r8a73a4-div6-clock", "renesas,cpg-div6-clock";
reg = <0xe615007c 4>;
clocks = <&pll1_div2_clk>, <&cpg_clocks R8A73A4_CLK_PLL2S>, <0>,
<&extal2_clk>;
#clock-cells = <0>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Line 21: R-Mobile APE6
Line 22: R-Mobile A1
Line 23: SH-Mobile AG5