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