Commit c271aa1f authored by Lad Prabhakar's avatar Lad Prabhakar Committed by Krzysztof Kozlowski
Browse files

dt-bindings: memory: renesas,rpc-if: Add support for the R9A07G044



SPI Multi I/O Bus Controller on RZ/G2L SoC is almost identical to
the RPC-IF interface found on R-Car Gen3 SoC's.

This patch adds a new compatible string to identify the RZ/G2L family
so that the timing values on RZ/G2L can be adjusted.

Signed-off-by: default avatarLad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Reviewed-by: default avatarBiju Das <biju.das.jz@bp.renesas.com>
Reviewed-by: default avatarRob Herring <robh@kernel.org>
Reviewed-by: default avatarGeert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/20211025205631.21151-2-prabhakar.mahadev-lad.rj@bp.renesas.com


Signed-off-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
parent fa55b7dc
Loading
Loading
Loading
Loading
+38 −15
Original line number Diff line number Diff line
@@ -24,7 +24,8 @@ allOf:

properties:
  compatible:
    items:
    oneOf:
      - items:
          - enum:
              - renesas,r8a774a1-rpc-if       # RZ/G2M
              - renesas,r8a774b1-rpc-if       # RZ/G2N
@@ -34,7 +35,12 @@ properties:
              - renesas,r8a77980-rpc-if       # R-Car V3H
              - renesas,r8a77995-rpc-if       # R-Car D3
              - renesas,r8a779a0-rpc-if       # R-Car V3U
      - const: renesas,rcar-gen3-rpc-if   # a generic R-Car gen3 or RZ/G2 device
          - const: renesas,rcar-gen3-rpc-if   # a generic R-Car gen3 or RZ/G2{E,H,M,N} device

      - items:
          - enum:
              - renesas,r9a07g044-rpc-if      # RZ/G2{L,LC}
          - const: renesas,rzg2l-rpc-if       # RZ/G2L family

  reg:
    items:
@@ -48,8 +54,7 @@ properties:
      - const: dirmap
      - const: wbuf

  clocks:
    maxItems: 1
  clocks: true

  power-domains:
    maxItems: 1
@@ -67,8 +72,6 @@ patternProperties:
            - cfi-flash
            - jedec,spi-nor

unevaluatedProperties: false

required:
  - compatible
  - reg
@@ -79,6 +82,26 @@ required:
  - '#address-cells'
  - '#size-cells'

if:
  properties:
    compatible:
      contains:
        enum:
          - renesas,rzg2l-rpc-if
then:
  properties:
    clocks:
      items:
        - description: SPI Multi IO Register access clock (SPI_CLK2)
        - description: SPI Multi IO Main clock (SPI_CLK).

else:
  properties:
    clocks:
      maxItems: 1

unevaluatedProperties: false

examples:
  - |
    #include <dt-bindings/clock/renesas-cpg-mssr.h>