xref: /freebsd/sys/contrib/device-tree/Bindings/net/renesas,etheravb.yaml (revision b2d2a78ad80ec68d4a17f5aef97d21686cb1e29b)
16be33864SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
26be33864SEmmanuel Vadot%YAML 1.2
36be33864SEmmanuel Vadot---
46be33864SEmmanuel Vadot$id: http://devicetree.org/schemas/net/renesas,etheravb.yaml#
56be33864SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
66be33864SEmmanuel Vadot
76be33864SEmmanuel Vadottitle: Renesas Ethernet AVB
86be33864SEmmanuel Vadot
96be33864SEmmanuel Vadotmaintainers:
106be33864SEmmanuel Vadot  - Sergei Shtylyov <sergei.shtylyov@gmail.com>
116be33864SEmmanuel Vadot
126be33864SEmmanuel Vadotproperties:
136be33864SEmmanuel Vadot  compatible:
146be33864SEmmanuel Vadot    oneOf:
156be33864SEmmanuel Vadot      - items:
166be33864SEmmanuel Vadot          - enum:
176be33864SEmmanuel Vadot              - renesas,etheravb-r8a7742      # RZ/G1H
186be33864SEmmanuel Vadot              - renesas,etheravb-r8a7743      # RZ/G1M
196be33864SEmmanuel Vadot              - renesas,etheravb-r8a7744      # RZ/G1N
206be33864SEmmanuel Vadot              - renesas,etheravb-r8a7745      # RZ/G1E
216be33864SEmmanuel Vadot              - renesas,etheravb-r8a77470     # RZ/G1C
226be33864SEmmanuel Vadot              - renesas,etheravb-r8a7790      # R-Car H2
236be33864SEmmanuel Vadot              - renesas,etheravb-r8a7791      # R-Car M2-W
246be33864SEmmanuel Vadot              - renesas,etheravb-r8a7792      # R-Car V2H
256be33864SEmmanuel Vadot              - renesas,etheravb-r8a7793      # R-Car M2-N
266be33864SEmmanuel Vadot              - renesas,etheravb-r8a7794      # R-Car E2
276be33864SEmmanuel Vadot          - const: renesas,etheravb-rcar-gen2 # R-Car Gen2 and RZ/G1
286be33864SEmmanuel Vadot
296be33864SEmmanuel Vadot      - items:
306be33864SEmmanuel Vadot          - enum:
316be33864SEmmanuel Vadot              - renesas,etheravb-r8a774a1     # RZ/G2M
326be33864SEmmanuel Vadot              - renesas,etheravb-r8a774b1     # RZ/G2N
336be33864SEmmanuel Vadot              - renesas,etheravb-r8a774c0     # RZ/G2E
346be33864SEmmanuel Vadot              - renesas,etheravb-r8a774e1     # RZ/G2H
356be33864SEmmanuel Vadot              - renesas,etheravb-r8a7795      # R-Car H3
366be33864SEmmanuel Vadot              - renesas,etheravb-r8a7796      # R-Car M3-W
376be33864SEmmanuel Vadot              - renesas,etheravb-r8a77961     # R-Car M3-W+
386be33864SEmmanuel Vadot              - renesas,etheravb-r8a77965     # R-Car M3-N
396be33864SEmmanuel Vadot              - renesas,etheravb-r8a77970     # R-Car V3M
406be33864SEmmanuel Vadot              - renesas,etheravb-r8a77980     # R-Car V3H
416be33864SEmmanuel Vadot              - renesas,etheravb-r8a77990     # R-Car E3
426be33864SEmmanuel Vadot              - renesas,etheravb-r8a77995     # R-Car D3
436be33864SEmmanuel Vadot          - const: renesas,etheravb-rcar-gen3 # R-Car Gen3 and RZ/G2
446be33864SEmmanuel Vadot
45354d7675SEmmanuel Vadot      - items:
46354d7675SEmmanuel Vadot          - enum:
477ef62cebSEmmanuel Vadot              - renesas,etheravb-r8a779a0     # R-Car V3U
487ef62cebSEmmanuel Vadot              - renesas,etheravb-r8a779g0     # R-Car V4H
4901950c46SEmmanuel Vadot              - renesas,etheravb-r8a779h0     # R-Car V4M
507ef62cebSEmmanuel Vadot          - const: renesas,etheravb-rcar-gen4 # R-Car Gen4
517ef62cebSEmmanuel Vadot
527ef62cebSEmmanuel Vadot      - items:
537ef62cebSEmmanuel Vadot          - enum:
54d5b0e70fSEmmanuel Vadot              - renesas,etheravb-r9a09g011 # RZ/V2M
55d5b0e70fSEmmanuel Vadot          - const: renesas,etheravb-rzv2m  # RZ/V2M compatible
56d5b0e70fSEmmanuel Vadot
57d5b0e70fSEmmanuel Vadot      - items:
58d5b0e70fSEmmanuel Vadot          - enum:
598d13bc63SEmmanuel Vadot              - renesas,r9a07g043-gbeth # RZ/G2UL and RZ/Five
60354d7675SEmmanuel Vadot              - renesas,r9a07g044-gbeth # RZ/G2{L,LC}
61c9ccf3a3SEmmanuel Vadot              - renesas,r9a07g054-gbeth # RZ/V2L
628d13bc63SEmmanuel Vadot              - renesas,r9a08g045-gbeth # RZ/G3S
63c9ccf3a3SEmmanuel Vadot          - const: renesas,rzg2l-gbeth  # RZ/{G2L,G2UL,V2L} family
64354d7675SEmmanuel Vadot
65*b2d2a78aSEmmanuel Vadot  reg:
66*b2d2a78aSEmmanuel Vadot    minItems: 1
67*b2d2a78aSEmmanuel Vadot    items:
68*b2d2a78aSEmmanuel Vadot      - description: MAC register block
69*b2d2a78aSEmmanuel Vadot      - description: Stream buffer
706be33864SEmmanuel Vadot
71*b2d2a78aSEmmanuel Vadot  interrupts:
72*b2d2a78aSEmmanuel Vadot    minItems: 1
73*b2d2a78aSEmmanuel Vadot    maxItems: 29
746be33864SEmmanuel Vadot
75*b2d2a78aSEmmanuel Vadot  interrupt-names:
76*b2d2a78aSEmmanuel Vadot    minItems: 1
77*b2d2a78aSEmmanuel Vadot    maxItems: 29
786be33864SEmmanuel Vadot
79*b2d2a78aSEmmanuel Vadot  clocks:
80*b2d2a78aSEmmanuel Vadot    minItems: 1
81*b2d2a78aSEmmanuel Vadot    maxItems: 3
822eb4d8dcSEmmanuel Vadot
83*b2d2a78aSEmmanuel Vadot  clock-names:
84*b2d2a78aSEmmanuel Vadot    minItems: 1
85*b2d2a78aSEmmanuel Vadot    maxItems: 3
866be33864SEmmanuel Vadot
876be33864SEmmanuel Vadot  iommus:
886be33864SEmmanuel Vadot    maxItems: 1
896be33864SEmmanuel Vadot
906be33864SEmmanuel Vadot  power-domains:
916be33864SEmmanuel Vadot    maxItems: 1
926be33864SEmmanuel Vadot
936be33864SEmmanuel Vadot  resets:
946be33864SEmmanuel Vadot    maxItems: 1
956be33864SEmmanuel Vadot
966be33864SEmmanuel Vadot  phy-mode: true
976be33864SEmmanuel Vadot
986be33864SEmmanuel Vadot  phy-handle: true
996be33864SEmmanuel Vadot
1006be33864SEmmanuel Vadot  '#address-cells':
1016be33864SEmmanuel Vadot    description: Number of address cells for the MDIO bus.
1026be33864SEmmanuel Vadot    const: 1
1037d0873ebSEmmanuel Vadot    deprecated: true
1046be33864SEmmanuel Vadot
1056be33864SEmmanuel Vadot  '#size-cells':
1066be33864SEmmanuel Vadot    description: Number of size cells on the MDIO bus.
1076be33864SEmmanuel Vadot    const: 0
1087d0873ebSEmmanuel Vadot    deprecated: true
1097d0873ebSEmmanuel Vadot
1107d0873ebSEmmanuel Vadot  mdio:
1117d0873ebSEmmanuel Vadot    $ref: /schemas/net/mdio.yaml#
1127d0873ebSEmmanuel Vadot    unevaluatedProperties: false
1136be33864SEmmanuel Vadot
1146be33864SEmmanuel Vadot  renesas,no-ether-link:
1156be33864SEmmanuel Vadot    type: boolean
1166be33864SEmmanuel Vadot    description:
1176be33864SEmmanuel Vadot      Specify when a board does not provide a proper AVB_LINK signal.
1186be33864SEmmanuel Vadot
1196be33864SEmmanuel Vadot  renesas,ether-link-active-low:
1206be33864SEmmanuel Vadot    type: boolean
1216be33864SEmmanuel Vadot    description:
1226be33864SEmmanuel Vadot      Specify when the AVB_LINK signal is active-low instead of normal
1236be33864SEmmanuel Vadot      active-high.
1246be33864SEmmanuel Vadot
1256be33864SEmmanuel Vadot  rx-internal-delay-ps:
1266be33864SEmmanuel Vadot    enum: [0, 1800]
1276be33864SEmmanuel Vadot
1286be33864SEmmanuel Vadot  tx-internal-delay-ps:
1296be33864SEmmanuel Vadot    enum: [0, 2000]
1306be33864SEmmanuel Vadot
1317d0873ebSEmmanuel Vadot# In older bindings there where no mdio child-node to describe the MDIO bus
1327d0873ebSEmmanuel Vadot# and the PHY. To not fail older bindings accept any node with an address. New
1337d0873ebSEmmanuel Vadot# users should describe the PHY inside the mdio child-node.
1346be33864SEmmanuel VadotpatternProperties:
13584943d6fSEmmanuel Vadot  "@[0-9a-f]$":
1366be33864SEmmanuel Vadot    type: object
1377d0873ebSEmmanuel Vadot    deprecated: true
1386be33864SEmmanuel Vadot
1396be33864SEmmanuel Vadotrequired:
1406be33864SEmmanuel Vadot  - compatible
1416be33864SEmmanuel Vadot  - reg
1426be33864SEmmanuel Vadot  - interrupts
1436be33864SEmmanuel Vadot  - clocks
1446be33864SEmmanuel Vadot  - power-domains
1456be33864SEmmanuel Vadot  - resets
1466be33864SEmmanuel Vadot  - phy-mode
1476be33864SEmmanuel Vadot  - phy-handle
1486be33864SEmmanuel Vadot
1496be33864SEmmanuel VadotallOf:
1506be33864SEmmanuel Vadot  - $ref: ethernet-controller.yaml#
1516be33864SEmmanuel Vadot
1526be33864SEmmanuel Vadot  - if:
1536be33864SEmmanuel Vadot      properties:
1546be33864SEmmanuel Vadot        compatible:
1556be33864SEmmanuel Vadot          contains:
1566be33864SEmmanuel Vadot            enum:
1576be33864SEmmanuel Vadot              - renesas,etheravb-rcar-gen2
1586be33864SEmmanuel Vadot              - renesas,etheravb-r8a7795
1596be33864SEmmanuel Vadot              - renesas,etheravb-r8a7796
1606be33864SEmmanuel Vadot              - renesas,etheravb-r8a77961
1616be33864SEmmanuel Vadot              - renesas,etheravb-r8a77965
1626be33864SEmmanuel Vadot    then:
1636be33864SEmmanuel Vadot      properties:
1646be33864SEmmanuel Vadot        reg:
165*b2d2a78aSEmmanuel Vadot          minItems: 2
1666be33864SEmmanuel Vadot    else:
1676be33864SEmmanuel Vadot      properties:
1686be33864SEmmanuel Vadot        reg:
169*b2d2a78aSEmmanuel Vadot          maxItems: 1
1706be33864SEmmanuel Vadot
1716be33864SEmmanuel Vadot  - if:
1726be33864SEmmanuel Vadot      properties:
1736be33864SEmmanuel Vadot        compatible:
1746be33864SEmmanuel Vadot          contains:
175354d7675SEmmanuel Vadot            enum:
176354d7675SEmmanuel Vadot              - renesas,etheravb-rcar-gen2
177354d7675SEmmanuel Vadot              - renesas,rzg2l-gbeth
1786be33864SEmmanuel Vadot    then:
1796be33864SEmmanuel Vadot      properties:
1806be33864SEmmanuel Vadot        interrupts:
181354d7675SEmmanuel Vadot          minItems: 1
182354d7675SEmmanuel Vadot          maxItems: 3
1836be33864SEmmanuel Vadot        interrupt-names:
184354d7675SEmmanuel Vadot          minItems: 1
1856be33864SEmmanuel Vadot          items:
1866be33864SEmmanuel Vadot            - const: mux
187354d7675SEmmanuel Vadot            - const: fil
188354d7675SEmmanuel Vadot            - const: arp_ns
1896be33864SEmmanuel Vadot        rx-internal-delay-ps: false
1906be33864SEmmanuel Vadot    else:
191d5b0e70fSEmmanuel Vadot      if:
192d5b0e70fSEmmanuel Vadot        properties:
193d5b0e70fSEmmanuel Vadot          compatible:
194d5b0e70fSEmmanuel Vadot            contains:
195d5b0e70fSEmmanuel Vadot              const: renesas,etheravb-rzv2m
196d5b0e70fSEmmanuel Vadot      then:
197d5b0e70fSEmmanuel Vadot        properties:
198d5b0e70fSEmmanuel Vadot          interrupts:
199d5b0e70fSEmmanuel Vadot            minItems: 29
200d5b0e70fSEmmanuel Vadot            maxItems: 29
201d5b0e70fSEmmanuel Vadot          interrupt-names:
202d5b0e70fSEmmanuel Vadot            items:
203d5b0e70fSEmmanuel Vadot              pattern: '^(ch(1?)[0-9])|ch20|ch21|dia|dib|err_a|err_b|mgmt_a|mgmt_b|line3$'
204d5b0e70fSEmmanuel Vadot          rx-internal-delay-ps: false
205d5b0e70fSEmmanuel Vadot        required:
206d5b0e70fSEmmanuel Vadot          - interrupt-names
207d5b0e70fSEmmanuel Vadot      else:
2086be33864SEmmanuel Vadot        properties:
2096be33864SEmmanuel Vadot          interrupts:
2106be33864SEmmanuel Vadot            minItems: 25
2116be33864SEmmanuel Vadot            maxItems: 25
2126be33864SEmmanuel Vadot          interrupt-names:
2136be33864SEmmanuel Vadot            items:
2146be33864SEmmanuel Vadot              pattern: '^ch[0-9]+$'
2156be33864SEmmanuel Vadot        required:
2166be33864SEmmanuel Vadot          - interrupt-names
2176be33864SEmmanuel Vadot          - rx-internal-delay-ps
2186be33864SEmmanuel Vadot
2196be33864SEmmanuel Vadot  - if:
2206be33864SEmmanuel Vadot      properties:
2216be33864SEmmanuel Vadot        compatible:
2226be33864SEmmanuel Vadot          contains:
2236be33864SEmmanuel Vadot            enum:
2246be33864SEmmanuel Vadot              - renesas,etheravb-r8a774a1
2256be33864SEmmanuel Vadot              - renesas,etheravb-r8a774b1
2265def4c47SEmmanuel Vadot              - renesas,etheravb-r8a774e1
2276be33864SEmmanuel Vadot              - renesas,etheravb-r8a7795
2286be33864SEmmanuel Vadot              - renesas,etheravb-r8a7796
2296be33864SEmmanuel Vadot              - renesas,etheravb-r8a77961
2306be33864SEmmanuel Vadot              - renesas,etheravb-r8a77965
2316be33864SEmmanuel Vadot              - renesas,etheravb-r8a77970
2326be33864SEmmanuel Vadot              - renesas,etheravb-r8a77980
2337ef62cebSEmmanuel Vadot              - renesas,etheravb-rcar-gen4
2346be33864SEmmanuel Vadot    then:
2356be33864SEmmanuel Vadot      required:
2366be33864SEmmanuel Vadot        - tx-internal-delay-ps
2376be33864SEmmanuel Vadot    else:
2386be33864SEmmanuel Vadot      properties:
2396be33864SEmmanuel Vadot        tx-internal-delay-ps: false
2406be33864SEmmanuel Vadot
2416be33864SEmmanuel Vadot  - if:
2426be33864SEmmanuel Vadot      properties:
2436be33864SEmmanuel Vadot        compatible:
2446be33864SEmmanuel Vadot          contains:
2456be33864SEmmanuel Vadot            const: renesas,etheravb-r8a77995
2466be33864SEmmanuel Vadot    then:
2476be33864SEmmanuel Vadot      properties:
2486be33864SEmmanuel Vadot        rx-internal-delay-ps:
2496be33864SEmmanuel Vadot          const: 1800
2506be33864SEmmanuel Vadot
2516be33864SEmmanuel Vadot  - if:
2526be33864SEmmanuel Vadot      properties:
2536be33864SEmmanuel Vadot        compatible:
2546be33864SEmmanuel Vadot          contains:
2556be33864SEmmanuel Vadot            const: renesas,etheravb-r8a77980
2566be33864SEmmanuel Vadot    then:
2576be33864SEmmanuel Vadot      properties:
2586be33864SEmmanuel Vadot        tx-internal-delay-ps:
2596be33864SEmmanuel Vadot          const: 2000
2606be33864SEmmanuel Vadot
261354d7675SEmmanuel Vadot  - if:
262354d7675SEmmanuel Vadot      properties:
263354d7675SEmmanuel Vadot        compatible:
264354d7675SEmmanuel Vadot          contains:
265354d7675SEmmanuel Vadot            const: renesas,rzg2l-gbeth
266354d7675SEmmanuel Vadot    then:
267354d7675SEmmanuel Vadot      properties:
268354d7675SEmmanuel Vadot        clocks:
269354d7675SEmmanuel Vadot          items:
270354d7675SEmmanuel Vadot            - description: Main clock
271354d7675SEmmanuel Vadot            - description: Register access clock
272354d7675SEmmanuel Vadot            - description: Reference clock for RGMII
273354d7675SEmmanuel Vadot        clock-names:
274354d7675SEmmanuel Vadot          items:
275354d7675SEmmanuel Vadot            - const: axi
276354d7675SEmmanuel Vadot            - const: chi
277354d7675SEmmanuel Vadot            - const: refclk
278354d7675SEmmanuel Vadot    else:
279d5b0e70fSEmmanuel Vadot      if:
280d5b0e70fSEmmanuel Vadot        properties:
281d5b0e70fSEmmanuel Vadot          compatible:
282d5b0e70fSEmmanuel Vadot            contains:
283d5b0e70fSEmmanuel Vadot              const: renesas,etheravb-rzv2m
284d5b0e70fSEmmanuel Vadot      then:
285d5b0e70fSEmmanuel Vadot        properties:
286d5b0e70fSEmmanuel Vadot          clocks:
287d5b0e70fSEmmanuel Vadot            items:
288d5b0e70fSEmmanuel Vadot              - description: Main clock
289d5b0e70fSEmmanuel Vadot              - description: Coherent Hub Interface clock
290d5b0e70fSEmmanuel Vadot              - description: gPTP reference clock
291d5b0e70fSEmmanuel Vadot          clock-names:
292d5b0e70fSEmmanuel Vadot            items:
293d5b0e70fSEmmanuel Vadot              - const: axi
294d5b0e70fSEmmanuel Vadot              - const: chi
295d5b0e70fSEmmanuel Vadot              - const: gptp
296d5b0e70fSEmmanuel Vadot      else:
297354d7675SEmmanuel Vadot        properties:
298354d7675SEmmanuel Vadot          clocks:
299354d7675SEmmanuel Vadot            minItems: 1
300354d7675SEmmanuel Vadot            items:
301354d7675SEmmanuel Vadot              - description: AVB functional clock
302354d7675SEmmanuel Vadot              - description: Optional TXC reference clock
303354d7675SEmmanuel Vadot          clock-names:
304354d7675SEmmanuel Vadot            minItems: 1
305354d7675SEmmanuel Vadot            items:
306354d7675SEmmanuel Vadot              - const: fck
307354d7675SEmmanuel Vadot              - const: refclk
308354d7675SEmmanuel Vadot
3096be33864SEmmanuel VadotadditionalProperties: false
3106be33864SEmmanuel Vadot
3116be33864SEmmanuel Vadotexamples:
3126be33864SEmmanuel Vadot  - |
3136be33864SEmmanuel Vadot    #include <dt-bindings/clock/r8a7795-cpg-mssr.h>
3146be33864SEmmanuel Vadot    #include <dt-bindings/interrupt-controller/arm-gic.h>
3156be33864SEmmanuel Vadot    #include <dt-bindings/power/r8a7795-sysc.h>
3166be33864SEmmanuel Vadot    #include <dt-bindings/gpio/gpio.h>
3176be33864SEmmanuel Vadot    aliases {
3186be33864SEmmanuel Vadot            ethernet0 = &avb;
3196be33864SEmmanuel Vadot    };
3206be33864SEmmanuel Vadot
3216be33864SEmmanuel Vadot    avb: ethernet@e6800000 {
3226be33864SEmmanuel Vadot            compatible = "renesas,etheravb-r8a7795",
3236be33864SEmmanuel Vadot                         "renesas,etheravb-rcar-gen3";
3246be33864SEmmanuel Vadot            reg = <0xe6800000 0x800>, <0xe6a00000 0x10000>;
3256be33864SEmmanuel Vadot            interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>,
3266be33864SEmmanuel Vadot                         <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>,
3276be33864SEmmanuel Vadot                         <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>,
3286be33864SEmmanuel Vadot                         <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>,
3296be33864SEmmanuel Vadot                         <GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>,
3306be33864SEmmanuel Vadot                         <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>,
3316be33864SEmmanuel Vadot                         <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>,
3326be33864SEmmanuel Vadot                         <GIC_SPI 46 IRQ_TYPE_LEVEL_HIGH>,
3336be33864SEmmanuel Vadot                         <GIC_SPI 47 IRQ_TYPE_LEVEL_HIGH>,
3346be33864SEmmanuel Vadot                         <GIC_SPI 48 IRQ_TYPE_LEVEL_HIGH>,
3356be33864SEmmanuel Vadot                         <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>,
3366be33864SEmmanuel Vadot                         <GIC_SPI 50 IRQ_TYPE_LEVEL_HIGH>,
3376be33864SEmmanuel Vadot                         <GIC_SPI 51 IRQ_TYPE_LEVEL_HIGH>,
3386be33864SEmmanuel Vadot                         <GIC_SPI 52 IRQ_TYPE_LEVEL_HIGH>,
3396be33864SEmmanuel Vadot                         <GIC_SPI 53 IRQ_TYPE_LEVEL_HIGH>,
3406be33864SEmmanuel Vadot                         <GIC_SPI 54 IRQ_TYPE_LEVEL_HIGH>,
3416be33864SEmmanuel Vadot                         <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>,
3426be33864SEmmanuel Vadot                         <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>,
3436be33864SEmmanuel Vadot                         <GIC_SPI 57 IRQ_TYPE_LEVEL_HIGH>,
3446be33864SEmmanuel Vadot                         <GIC_SPI 58 IRQ_TYPE_LEVEL_HIGH>,
3456be33864SEmmanuel Vadot                         <GIC_SPI 59 IRQ_TYPE_LEVEL_HIGH>,
3466be33864SEmmanuel Vadot                         <GIC_SPI 60 IRQ_TYPE_LEVEL_HIGH>,
3476be33864SEmmanuel Vadot                         <GIC_SPI 61 IRQ_TYPE_LEVEL_HIGH>,
3486be33864SEmmanuel Vadot                         <GIC_SPI 62 IRQ_TYPE_LEVEL_HIGH>,
3496be33864SEmmanuel Vadot                         <GIC_SPI 63 IRQ_TYPE_LEVEL_HIGH>;
3506be33864SEmmanuel Vadot            interrupt-names = "ch0", "ch1", "ch2", "ch3", "ch4", "ch5", "ch6",
3516be33864SEmmanuel Vadot                              "ch7", "ch8", "ch9", "ch10", "ch11", "ch12",
3526be33864SEmmanuel Vadot                              "ch13", "ch14", "ch15", "ch16", "ch17", "ch18",
3536be33864SEmmanuel Vadot                              "ch19", "ch20", "ch21", "ch22", "ch23", "ch24";
3546be33864SEmmanuel Vadot            clocks = <&cpg CPG_MOD 812>;
3558cc087a1SEmmanuel Vadot            clock-names = "fck";
3566be33864SEmmanuel Vadot            iommus = <&ipmmu_ds0 16>;
3576be33864SEmmanuel Vadot            power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
3586be33864SEmmanuel Vadot            resets = <&cpg 812>;
3596be33864SEmmanuel Vadot            phy-mode = "rgmii";
3606be33864SEmmanuel Vadot            phy-handle = <&phy0>;
3616be33864SEmmanuel Vadot            rx-internal-delay-ps = <0>;
3626be33864SEmmanuel Vadot            tx-internal-delay-ps = <2000>;
3636be33864SEmmanuel Vadot            #address-cells = <1>;
3646be33864SEmmanuel Vadot            #size-cells = <0>;
3656be33864SEmmanuel Vadot
3666be33864SEmmanuel Vadot            phy0: ethernet-phy@0 {
3678cc087a1SEmmanuel Vadot                    compatible = "ethernet-phy-id0022.1622",
3688cc087a1SEmmanuel Vadot                                 "ethernet-phy-ieee802.3-c22";
3696be33864SEmmanuel Vadot                    rxc-skew-ps = <1500>;
3706be33864SEmmanuel Vadot                    reg = <0>;
3716be33864SEmmanuel Vadot                    interrupt-parent = <&gpio2>;
3726be33864SEmmanuel Vadot                    interrupts = <11 IRQ_TYPE_LEVEL_LOW>;
3736be33864SEmmanuel Vadot                    reset-gpios = <&gpio2 10 GPIO_ACTIVE_LOW>;
3746be33864SEmmanuel Vadot            };
3756be33864SEmmanuel Vadot    };
376