69 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)2%YAML 1.23---4$id: http://devicetree.org/schemas/net/lantiq,etop-xway.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Lantiq Xway ETOP Ethernet driver8 9maintainers:10 - John Crispin <john@phrozen.org>11 12properties:13 $nodename:14 pattern: "^ethernet@[0-9a-f]+$"15 16 compatible:17 const: lantiq,etop-xway18 19 reg:20 maxItems: 121 22 interrupts:23 items:24 - description: TX interrupt25 - description: RX interrupt26 27 interrupt-names:28 items:29 - const: tx30 - const: rx31 32 lantiq,tx-burst-length:33 $ref: /schemas/types.yaml#/definitions/uint3234 description: |35 TX programmable burst length.36 enum: [2, 4, 8]37 38 lantiq,rx-burst-length:39 $ref: /schemas/types.yaml#/definitions/uint3240 description: |41 RX programmable burst length.42 enum: [2, 4, 8]43 44 phy-mode: true45 46required:47 - compatible48 - reg49 - interrupts50 - interrupt-names51 - lantiq,tx-burst-length52 - lantiq,rx-burst-length53 - phy-mode54 55additionalProperties: false56 57examples:58 - |59 ethernet@e180000 {60 compatible = "lantiq,etop-xway";61 reg = <0xe180000 0x40000>;62 interrupt-parent = <&icu0>;63 interrupts = <73>, <78>;64 interrupt-names = "tx", "rx";65 lantiq,tx-burst-length = <8>;66 lantiq,rx-burst-length = <8>;67 phy-mode = "rmii";68 };69