1 # SPDX-License-Identifier: GPL-2.0
4 $id: http://devicetree.org/schemas/net/ethernet-controller.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Ethernet Controller Generic Binding
10 - David S. Miller <davem@davemloft.net>
14 pattern: "^ethernet(@.*)?$"
18 - $ref: /schemas/types.yaml#definitions/uint8-array
23 Specifies the MAC address that was assigned to the network device.
27 - $ref: /schemas/types.yaml#definitions/uint8-array
32 Specifies the MAC address that was last used by the boot
33 program; should be used in cases where the MAC address assigned
34 to the device by the boot program is different from the
35 local-mac-address property.
38 $ref: /schemas/types.yaml#definitions/uint32
40 Maximum transfer unit (IEEE defined MTU), rather than the
41 maximum frame size (there\'s contradiction in the Devicetree
45 $ref: /schemas/types.yaml#definitions/uint32
47 Specifies maximum speed in Mbit/s supported by the device.
52 Reference to an nvmem node for the MAC address
59 Operation mode of the PHY interface
61 # There is not a standard bus between the MAC and the PHY,
62 # something proprietary is being used to embed the PHY in the
73 # RX and TX delays are added by the MAC when required
76 # RGMII with internal RX and TX delays provided by the PHY,
77 # the MAC should not add the RX or TX delays in this case
80 # RGMII with internal RX delay provided by the PHY, the MAC
81 # should not add an RX delay in this case
84 # RGMII with internal TX delay provided by the PHY, the MAC
85 # should not add an TX delay in this case
96 # 10GBASE-KR, XFI, SFI
101 $ref: "#/properties/phy-connection-type"
104 $ref: /schemas/types.yaml#definitions/phandle
106 Specifies a reference to a node representing a PHY device.
109 $ref: "#/properties/phy-handle"
113 $ref: "#/properties/phy-handle"
117 $ref: /schemas/types.yaml#definitions/uint32
119 The size of the controller\'s receive fifo in bytes. This is used
120 for components that can have configurable receive fifo sizes,
121 and is useful for determining certain configuration settings
122 such as flow control thresholds.
125 $ref: /schemas/types.yaml#definitions/phandle
127 Specifies a reference to a node representing a SFP cage.
130 $ref: /schemas/types.yaml#definitions/uint32
132 The size of the controller\'s transmit fifo in bytes. This
133 is used for components that can have configurable fifo sizes.
137 - $ref: /schemas/types.yaml#definitions/string
143 Specifies the PHY management type. If auto is set and fixed-link
144 is not specified, it uses MDIO for management.
159 Emulated PHY ID, choose any but unique to the all
160 specified fixed-links
164 Duplex configuration. 0 for half duplex or 1 for
167 - enum: [10, 100, 1000]
169 Link speed in Mbits/sec.
173 Pause configuration. 0 for no pause, 1 for pause
177 Asymmetric pause configuration. 0 for no asymmetric
178 pause, 1 for asymmetric pause
187 - $ref: /schemas/types.yaml#definitions/uint32
188 - enum: [10, 100, 1000]
193 $ref: /schemas/types.yaml#definitions/flag
195 Indicates that full-duplex is used. When absent, half
199 $ref: /schemas/types.yaml#definitions/flag
201 Indicates that asym_pause should be enabled.
206 GPIO to determine if the link is up