Document the General Timer Module(a.k.a OSTM) found on the RZ/G2L SoC. Signed-off-by: Biju Das <biju.das.jz@xxxxxxxxxxxxxx> Reviewed-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@xxxxxxxxxxxxxx> --- .../bindings/timer/renesas,ostm.yaml | 29 +++++++++++++++---- 1 file changed, 24 insertions(+), 5 deletions(-) diff --git a/Documentation/devicetree/bindings/timer/renesas,ostm.yaml b/Documentation/devicetree/bindings/timer/renesas,ostm.yaml index 600d47ab7d58..5a8ffdc8b1cb 100644 --- a/Documentation/devicetree/bindings/timer/renesas,ostm.yaml +++ b/Documentation/devicetree/bindings/timer/renesas,ostm.yaml @@ -19,11 +19,17 @@ description: properties: compatible: - items: - - enum: - - renesas,r7s72100-ostm # RZ/A1H - - renesas,r7s9210-ostm # RZ/A2M - - const: renesas,ostm # Generic + oneOf: + - items: + - enum: + - renesas,r7s72100-ostm # RZ/A1H + - renesas,r7s9210-ostm # RZ/A2M + - const: renesas,ostm # Generic + + - items: + - enum: + - renesas,r9a07g044-ostm # RZ/G2{L,LC} + - const: renesas,rzg2l-ostm # RZ/G2L reg: maxItems: 1 @@ -37,6 +43,9 @@ properties: power-domains: maxItems: 1 + resets: + maxItems: 1 + required: - compatible - reg @@ -44,6 +53,16 @@ required: - clocks - power-domains +if: + properties: + compatible: + contains: + enum: + - renesas,rzg2l-ostm +then: + required: + - resets + additionalProperties: false examples: -- 2.17.1