Commit a7931ac1 authored by Phil Edworthy's avatar Phil Edworthy Committed by David S. Miller

dt-bindings: net: renesas,etheravb: Document RZ/V2M SoC

Document the Ethernet AVB IP found on RZ/V2M SoC.
It includes the Ethernet controller (E-MAC) and Dedicated Direct memory
access controller (DMAC) for transferring transmitted Ethernet frames
to and received Ethernet frames from respective storage areas in the
RAM at high speed.
The AVB-DMAC is compliant with IEEE 802.1BA, IEEE 802.1AS timing and
synchronization protocol, IEEE 802.1Qav real-time transfer, and the
IEEE 802.1Qat stream reservation protocol.

R-Car has a pair of combined interrupt lines:
 ch22 = Line0_DiA | Line1_A | Line2_A
 ch23 = Line0_DiB | Line1_B | Line2_B
Line0 for descriptor interrupts (which we call dia and dib).
Line1 for error related interrupts (which we call err_a and err_b).
Line2 for management and gPTP related interrupts (mgmt_a and mgmt_b).

RZ/V2M hardware has separate interrupt lines for each of these.

It has 3 clocks; the main AXI clock, the AMBA CHI (Coherent Hub
Interface) clock and a gPTP reference clock.
Signed-off-by: default avatarPhil Edworthy <phil.edworthy@renesas.com>
Reviewed-by: default avatarBiju Das <biju.das.jz@bp.renesas.com>
Reviewed-by: default avatarSergey Shtylyov <s.shtylyov@omp.ru>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 1a01a075
...@@ -43,6 +43,11 @@ properties: ...@@ -43,6 +43,11 @@ properties:
- renesas,etheravb-r8a779a0 # R-Car V3U - renesas,etheravb-r8a779a0 # R-Car V3U
- const: renesas,etheravb-rcar-gen3 # R-Car Gen3 and RZ/G2 - const: renesas,etheravb-rcar-gen3 # R-Car Gen3 and RZ/G2
- items:
- enum:
- renesas,etheravb-r9a09g011 # RZ/V2M
- const: renesas,etheravb-rzv2m # RZ/V2M compatible
- items: - items:
- enum: - enum:
- renesas,r9a07g043-gbeth # RZ/G2UL - renesas,r9a07g043-gbeth # RZ/G2UL
...@@ -160,16 +165,33 @@ allOf: ...@@ -160,16 +165,33 @@ allOf:
- const: arp_ns - const: arp_ns
rx-internal-delay-ps: false rx-internal-delay-ps: false
else: else:
properties: if:
interrupts: properties:
minItems: 25 compatible:
maxItems: 25 contains:
interrupt-names: const: renesas,etheravb-rzv2m
items: then:
pattern: '^ch[0-9]+$' properties:
required: interrupts:
- interrupt-names minItems: 29
- rx-internal-delay-ps maxItems: 29
interrupt-names:
items:
pattern: '^(ch(1?)[0-9])|ch20|ch21|dia|dib|err_a|err_b|mgmt_a|mgmt_b|line3$'
rx-internal-delay-ps: false
required:
- interrupt-names
else:
properties:
interrupts:
minItems: 25
maxItems: 25
interrupt-names:
items:
pattern: '^ch[0-9]+$'
required:
- interrupt-names
- rx-internal-delay-ps
- if: - if:
properties: properties:
...@@ -231,17 +253,35 @@ allOf: ...@@ -231,17 +253,35 @@ allOf:
- const: chi - const: chi
- const: refclk - const: refclk
else: else:
properties: if:
clocks: properties:
minItems: 1 compatible:
items: contains:
- description: AVB functional clock const: renesas,etheravb-rzv2m
- description: Optional TXC reference clock then:
clock-names: properties:
minItems: 1 clocks:
items: items:
- const: fck - description: Main clock
- const: refclk - description: Coherent Hub Interface clock
- description: gPTP reference clock
clock-names:
items:
- const: axi
- const: chi
- const: gptp
else:
properties:
clocks:
minItems: 1
items:
- description: AVB functional clock
- description: Optional TXC reference clock
clock-names:
minItems: 1
items:
- const: fck
- const: refclk
additionalProperties: false additionalProperties: false
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment