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