summaryrefslogtreecommitdiffstats
path: root/dts/Bindings/net/lantiq,xrx200-net.yaml
blob: 7bc074a4236963f9e23e7e07d2aebf6285edfa77 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/net/lantiq,xrx200-net.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Lantiq xRX200 GSWIP PMAC Ethernet driver

maintainers:
  - Hauke Mehrtens <hauke@hauke-m.de>

properties:
  $nodename:
    pattern: "^ethernet@[0-9a-f]+$"

  compatible:
    const: lantiq,xrx200-net

  reg:
    maxItems: 1

  interrupts:
    items:
      - description: TX interrupt
      - description: RX interrupt

  interrupt-names:
    items:
      - const: tx
      - const: rx

  '#address-cells':
    const: 1

  '#size-cells':
    const: 0

required:
  - compatible
  - reg
  - interrupt-parent
  - interrupts
  - interrupt-names
  - "#address-cells"
  - "#size-cells"

additionalProperties: false

examples:
  - |
    ethernet@e10b308 {
        #address-cells = <1>;
        #size-cells = <0>;
        compatible = "lantiq,xrx200-net";
        reg = <0xe10b308 0xcf8>;
        interrupt-parent = <&icu0>;
        interrupts = <73>, <72>;
        interrupt-names = "tx", "rx";
    };