1 # SPDX-License-Identifier: GPL-2.0-or-later OR BSD-2-Clause
4 $id: http://devicetree.org/schemas/net/litex,liteeth.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: LiteX LiteETH ethernet device
10 - Joel Stanley <joel@jms.id.au>
13 LiteETH is a small footprint and configurable Ethernet core for FPGA based
16 The hardware source is Open Source and can be found on at
17 https://github.com/enjoy-digital/liteeth/.
20 - $ref: ethernet-controller.yaml#
28 - description: MAC registers
29 - description: MDIO registers
30 - description: Packet buffer
42 description: Number of slots in the receive buffer
43 $ref: /schemas/types.yaml#/definitions/uint32
48 description: Number of slots in the transmit buffer
49 $ref: /schemas/types.yaml#/definitions/uint32
54 description: Size in bytes of a slot in the tx/rx buffer
55 $ref: /schemas/types.yaml#/definitions/uint32
60 local-mac-address: true
65 unevaluatedProperties: false
72 additionalProperties: false
76 mac: ethernet@8020000 {
77 compatible = "litex,liteeth";
78 reg = <0x8021000 0x100>,
81 reg-names = "mac", "mdio", "buffer";
84 litex,slot-size = <0x800>;
85 interrupts = <0x11 0x1>;
86 phy-handle = <ð_phy>;
92 eth_phy: ethernet-phy@0 {
99 # vim: set ts=2 sw=2 sts=2 tw=80 et cc=80 ft=yaml :