blob: 7bc074a4236963f9e23e7e07d2aebf6285edfa77 [file] [log] [blame]
Aleksander Jan Bajkowski5535bcf2021-09-14 23:21:03 +02001# 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 - interrupt-parent
42 - interrupts
43 - interrupt-names
44 - "#address-cells"
45 - "#size-cells"
46
47additionalProperties: false
48
49examples:
50 - |
51 ethernet@e10b308 {
52 #address-cells = <1>;
53 #size-cells = <0>;
54 compatible = "lantiq,xrx200-net";
55 reg = <0xe10b308 0xcf8>;
56 interrupt-parent = <&icu0>;
57 interrupts = <73>, <72>;
58 interrupt-names = "tx", "rx";
Aleksander Jan Bajkowski5535bcf2021-09-14 23:21:03 +020059 };