xref: /linux/Documentation/devicetree/bindings/net/idt,3243x-emac.yaml (revision 8be98d2f2a0a262f8bf8a0bc1fdf522b3c7aab17)
1# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/net/idt,3243x-emac.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: IDT 79rc3243x Ethernet controller
8
9description: Ethernet controller integrated into IDT 79RC3243x family SoCs
10
11maintainers:
12  - Thomas Bogendoerfer <tsbogend@alpha.franken.de>
13
14allOf:
15  - $ref: ethernet-controller.yaml#
16
17properties:
18  compatible:
19    const: idt,3243x-emac
20
21  reg:
22    maxItems: 3
23
24  reg-names:
25    items:
26      - const: emac
27      - const: dma_rx
28      - const: dma_tx
29
30  interrupts:
31    items:
32      - description: RX interrupt
33      - description: TX interrupt
34
35  interrupt-names:
36    items:
37      - const: rx
38      - const: tx
39
40  clocks:
41    maxItems: 1
42
43  clock-names:
44    items:
45      - const: mdioclk
46
47required:
48  - compatible
49  - reg
50  - reg-names
51  - interrupts
52  - interrupt-names
53
54additionalProperties: false
55
56examples:
57  - |
58
59    ethernet@60000 {
60        compatible = "idt,3243x-emac";
61
62        reg = <0x60000 0x10000>,
63              <0x40000 0x14>,
64              <0x40014 0x14>;
65        reg-names = "emac", "dma_rx", "dma_tx";
66
67        interrupt-parent = <&rcpic3>;
68        interrupts = <0>, <1>;
69        interrupt-names = "rx", "tx";
70
71        clocks = <&iclk>;
72        clock-names = "mdioclk";
73    };
74