Skip to content

Commit 30e7ff3

Browse files
committed
Merge tag 'renesas-r9a08g046-dt-binding-defs-tag1' into renesas-clk-for-v7.1
Renesas RZ/G3L DT Binding Definitions DT bindings and binding definitions for the Renesas RZ/G3L (R9A08G046) SoC, shared by driver and DT source files.
2 parents bf497e7 + b822fb8 commit 30e7ff3

2 files changed

Lines changed: 377 additions & 5 deletions

File tree

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

Lines changed: 35 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,19 +28,30 @@ properties:
2828
- renesas,r9a07g044-cpg # RZ/G2{L,LC}
2929
- renesas,r9a07g054-cpg # RZ/V2L
3030
- renesas,r9a08g045-cpg # RZ/G3S
31+
- renesas,r9a08g046-cpg # RZ/G3L
3132
- renesas,r9a09g011-cpg # RZ/V2M
3233

3334
reg:
3435
maxItems: 1
3536

3637
clocks:
37-
maxItems: 1
38+
minItems: 1
39+
items:
40+
- description: Clock source to CPG can be either from external clock
41+
input (EXCLK) or crystal oscillator (XIN/XOUT).
42+
- description: ETH0 TXC clock input
43+
- description: ETH0 RXC clock input
44+
- description: ETH1 TXC clock input
45+
- description: ETH1 RXC clock input
3846

3947
clock-names:
40-
description:
41-
Clock source to CPG can be either from external clock input (EXCLK) or
42-
crystal oscillator (XIN/XOUT).
43-
const: extal
48+
minItems: 1
49+
items:
50+
- const: extal
51+
- const: eth0_txc_tx_clk
52+
- const: eth0_rxc_rx_clk
53+
- const: eth1_txc_tx_clk
54+
- const: eth1_rxc_rx_clk
4455

4556
'#clock-cells':
4657
description: |
@@ -74,6 +85,25 @@ required:
7485
- '#power-domain-cells'
7586
- '#reset-cells'
7687

88+
allOf:
89+
- if:
90+
properties:
91+
compatible:
92+
contains:
93+
const: renesas,r9a08g046-cpg
94+
then:
95+
properties:
96+
clocks:
97+
minItems: 5
98+
clock-names:
99+
minItems: 5
100+
else:
101+
properties:
102+
clocks:
103+
maxItems: 1
104+
clock-names:
105+
maxItems: 1
106+
77107
additionalProperties: false
78108

79109
examples:

0 commit comments

Comments
 (0)