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