Renesas RZ/{G3E,V2H(P),V2N} Clock Pulse Generator (CPG)
Schema identifier ($id): "http://devicetree.org/schemas/clock/renesas,rzv2h-cpg.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>"
On Renesas RZ/{G3E,V2H(P),V2N} SoCs, the CPG (Clock Pulse Generator) handles generation and control of clock signals for the IP modules, generation and control of resets, and control over booting, low power consumption and power supply domains.
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "renesas,r9a09g047-cpg", "renesas,r9a09g056-cpg", "renesas,r9a09g057-cpg"
reg — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Array item rules (items) #
Item 1
AUDIO_EXTAL clock input
Item 2
RTXIN clock input
Item 3
QEXTAL clock input
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"audio_extal"
Item 2
Exact value (
const):"rtxin"
Item 3
Exact value (
const):"qextal"
#clock-cells — required here #
- For CPG core clocks, the two clock specifier cells must be "CPG_CORE"
and a core clock reference, as defined in
<dt-bindings/clock/renesas,r9a09g0*-cpg.h>,
- For module clocks, the two clock specifier cells must be "CPG_MOD" and
a module number. The module number is calculated as the CLKON register
offset index multiplied by 16, plus the actual bit in the register
used to turn the CLK ON. For example, for CGC_GIC_0_GICCLK, the
calculation is (1 * 16 + 3) = 0x13.
Exact value (const): 2
#power-domain-cells — required here #
Exact value (const): 0
#reset-cells — required here #
The single reset specifier cell must be the reset number. The reset number is calculated as the reset register offset index multiplied by 16, plus the actual bit in the register used to reset the specific IP block. For example, for SYS_0_PRESETN, the calculation is (3 * 16 + 0) = 0x30.
Exact value (const): 1
Required in this object (required): "compatible", "reg", "clocks", "clock-names", "#clock-cells", "#power-domain-cells", "#reset-cells"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
clock-controller@10420000 {
compatible = "renesas,r9a09g057-cpg";
reg = <0x10420000 0x10000>;
clocks = <&audio_extal_clk>, <&rtxin_clk>, <&qextal_clk>;
clock-names = "audio_extal", "rtxin", "qextal";
#clock-cells = <2>;
#power-domain-cells = <0>;
#reset-cells = <1>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Line 21: RZ/G3E
Line 22: RZ/V2N
Line 23: RZ/V2H