1dac0bad9SAleksander Jan Bajkowski# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2dac0bad9SAleksander Jan Bajkowski%YAML 1.2 3dac0bad9SAleksander Jan Bajkowski--- 4dac0bad9SAleksander Jan Bajkowski$id: http://devicetree.org/schemas/net/lantiq,etop-xway.yaml# 5dac0bad9SAleksander Jan Bajkowski$schema: http://devicetree.org/meta-schemas/core.yaml# 6dac0bad9SAleksander Jan Bajkowski 7dac0bad9SAleksander Jan Bajkowskititle: Lantiq Xway ETOP Ethernet driver 8dac0bad9SAleksander Jan Bajkowski 9dac0bad9SAleksander Jan Bajkowskimaintainers: 10dac0bad9SAleksander Jan Bajkowski - John Crispin <john@phrozen.org> 11dac0bad9SAleksander Jan Bajkowski 12dac0bad9SAleksander Jan Bajkowskiproperties: 13dac0bad9SAleksander Jan Bajkowski $nodename: 14dac0bad9SAleksander Jan Bajkowski pattern: "^ethernet@[0-9a-f]+$" 15dac0bad9SAleksander Jan Bajkowski 16dac0bad9SAleksander Jan Bajkowski compatible: 17dac0bad9SAleksander Jan Bajkowski const: lantiq,etop-xway 18dac0bad9SAleksander Jan Bajkowski 19dac0bad9SAleksander Jan Bajkowski reg: 20dac0bad9SAleksander Jan Bajkowski maxItems: 1 21dac0bad9SAleksander Jan Bajkowski 22dac0bad9SAleksander Jan Bajkowski interrupts: 23dac0bad9SAleksander Jan Bajkowski items: 24dac0bad9SAleksander Jan Bajkowski - description: TX interrupt 25dac0bad9SAleksander Jan Bajkowski - description: RX interrupt 26dac0bad9SAleksander Jan Bajkowski 27dac0bad9SAleksander Jan Bajkowski interrupt-names: 28dac0bad9SAleksander Jan Bajkowski items: 29dac0bad9SAleksander Jan Bajkowski - const: tx 30dac0bad9SAleksander Jan Bajkowski - const: rx 31dac0bad9SAleksander Jan Bajkowski 32*c6887214SAleksander Jan Bajkowski lantiq,tx-burst-length: 33*c6887214SAleksander Jan Bajkowski $ref: /schemas/types.yaml#/definitions/uint32 34*c6887214SAleksander Jan Bajkowski description: | 35*c6887214SAleksander Jan Bajkowski TX programmable burst length. 36*c6887214SAleksander Jan Bajkowski enum: [2, 4, 8] 37*c6887214SAleksander Jan Bajkowski 38*c6887214SAleksander Jan Bajkowski lantiq,rx-burst-length: 39*c6887214SAleksander Jan Bajkowski $ref: /schemas/types.yaml#/definitions/uint32 40*c6887214SAleksander Jan Bajkowski description: | 41*c6887214SAleksander Jan Bajkowski RX programmable burst length. 42*c6887214SAleksander Jan Bajkowski enum: [2, 4, 8] 43*c6887214SAleksander Jan Bajkowski 44dac0bad9SAleksander Jan Bajkowski phy-mode: true 45dac0bad9SAleksander Jan Bajkowski 46dac0bad9SAleksander Jan Bajkowskirequired: 47dac0bad9SAleksander Jan Bajkowski - compatible 48dac0bad9SAleksander Jan Bajkowski - reg 49dac0bad9SAleksander Jan Bajkowski - interrupts 50dac0bad9SAleksander Jan Bajkowski - interrupt-names 51*c6887214SAleksander Jan Bajkowski - lantiq,tx-burst-length 52*c6887214SAleksander Jan Bajkowski - lantiq,rx-burst-length 53dac0bad9SAleksander Jan Bajkowski - phy-mode 54dac0bad9SAleksander Jan Bajkowski 55dac0bad9SAleksander Jan BajkowskiadditionalProperties: false 56dac0bad9SAleksander Jan Bajkowski 57dac0bad9SAleksander Jan Bajkowskiexamples: 58dac0bad9SAleksander Jan Bajkowski - | 59dac0bad9SAleksander Jan Bajkowski ethernet@e180000 { 60dac0bad9SAleksander Jan Bajkowski compatible = "lantiq,etop-xway"; 61dac0bad9SAleksander Jan Bajkowski reg = <0xe180000 0x40000>; 62dac0bad9SAleksander Jan Bajkowski interrupt-parent = <&icu0>; 63dac0bad9SAleksander Jan Bajkowski interrupts = <73>, <78>; 64dac0bad9SAleksander Jan Bajkowski interrupt-names = "tx", "rx"; 65*c6887214SAleksander Jan Bajkowski lantiq,tx-burst-length = <8>; 66*c6887214SAleksander Jan Bajkowski lantiq,rx-burst-length = <8>; 67dac0bad9SAleksander Jan Bajkowski phy-mode = "rmii"; 68dac0bad9SAleksander Jan Bajkowski }; 69