1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/net/lantiq,xrx200-net.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Lantiq xRX200 GSWIP PMAC Ethernet driver
8
9maintainers:
10  - Hauke Mehrtens <hauke@hauke-m.de>
11
12properties:
13  $nodename:
14    pattern: "^ethernet@[0-9a-f]+$"
15
16  compatible:
17    const: lantiq,xrx200-net
18
19  reg:
20    maxItems: 1
21
22  interrupts:
23    items:
24      - description: TX interrupt
25      - description: RX interrupt
26
27  interrupt-names:
28    items:
29      - const: tx
30      - const: rx
31
32  '#address-cells':
33    const: 1
34
35  '#size-cells':
36    const: 0
37
38required:
39  - compatible
40  - reg
41  - interrupts
42  - interrupt-names
43  - "#address-cells"
44  - "#size-cells"
45
46additionalProperties: false
47
48examples:
49  - |
50    ethernet@e10b308 {
51        #address-cells = <1>;
52        #size-cells = <0>;
53        compatible = "lantiq,xrx200-net";
54        reg = <0xe10b308 0xcf8>;
55        interrupt-parent = <&icu0>;
56        interrupts = <73>, <72>;
57        interrupt-names = "tx", "rx";
58    };
59