Skip to content

Commit c04269c

Browse files
prabhakarladgeertu
authored andcommitted
dt-bindings: clock: renesas: Document RZ/V2N SoC CPG
Document the device tree bindings for the Renesas RZ/V2N (R9A09G056) SoC Clock Pulse Generator (CPG). Update `renesas,rzv2h-cpg.yaml` to include the compatible string for RZ/V2N SoC and adjust the title and description accordingly. Additionally, introduce `renesas,r9a09g056-cpg.h` to define core clock constants for the RZ/V2N SoC. Note the existing RZ/V2H(P) family-specific clock driver will be reused for this SoC. Signed-off-by: Lad Prabhakar <[email protected]> Acked-by: Rob Herring (Arm) <[email protected]> Reviewed-by: Geert Uytterhoeven <[email protected]> Link: https://lore.kernel.org/[email protected] Signed-off-by: Geert Uytterhoeven <[email protected]>
1 parent dc7af24 commit c04269c

File tree

2 files changed

+27
-2
lines changed

2 files changed

+27
-2
lines changed

Documentation/devicetree/bindings/clock/renesas,rzv2h-cpg.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
$id: http://devicetree.org/schemas/clock/renesas,rzv2h-cpg.yaml#
55
$schema: http://devicetree.org/meta-schemas/core.yaml#
66

7-
title: Renesas RZ/{G3E,V2H(P)} Clock Pulse Generator (CPG)
7+
title: Renesas RZ/{G3E,V2H(P),V2N} Clock Pulse Generator (CPG)
88

99
maintainers:
1010
- Lad Prabhakar <[email protected]>
1111

1212
description:
13-
On Renesas RZ/{G3E,V2H(P)} SoCs, the CPG (Clock Pulse Generator) handles
13+
On Renesas RZ/{G3E,V2H(P),V2N} SoCs, the CPG (Clock Pulse Generator) handles
1414
generation and control of clock signals for the IP modules, generation and
1515
control of resets, and control over booting, low power consumption and power
1616
supply domains.
@@ -19,6 +19,7 @@ properties:
1919
compatible:
2020
enum:
2121
- renesas,r9a09g047-cpg # RZ/G3E
22+
- renesas,r9a09g056-cpg # RZ/V2N
2223
- renesas,r9a09g057-cpg # RZ/V2H
2324

2425
reg:
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2+
*
3+
* Copyright (C) 2025 Renesas Electronics Corp.
4+
*/
5+
#ifndef __DT_BINDINGS_CLOCK_RENESAS_R9A09G056_CPG_H__
6+
#define __DT_BINDINGS_CLOCK_RENESAS_R9A09G056_CPG_H__
7+
8+
#include <dt-bindings/clock/renesas-cpg-mssr.h>
9+
10+
/* Core Clock list */
11+
#define R9A09G056_SYS_0_PCLK 0
12+
#define R9A09G056_CA55_0_CORE_CLK0 1
13+
#define R9A09G056_CA55_0_CORE_CLK1 2
14+
#define R9A09G056_CA55_0_CORE_CLK2 3
15+
#define R9A09G056_CA55_0_CORE_CLK3 4
16+
#define R9A09G056_CA55_0_PERIPHCLK 5
17+
#define R9A09G056_CM33_CLK0 6
18+
#define R9A09G056_CST_0_SWCLKTCK 7
19+
#define R9A09G056_IOTOP_0_SHCLK 8
20+
#define R9A09G056_USB2_0_CLK_CORE0 9
21+
#define R9A09G056_GBETH_0_CLK_PTP_REF_I 10
22+
#define R9A09G056_GBETH_1_CLK_PTP_REF_I 11
23+
24+
#endif /* __DT_BINDINGS_CLOCK_RENESAS_R9A09G056_CPG_H__ */

0 commit comments

Comments
 (0)