1 # SPDX-License-Identifier: GPL-2.0
4 $id: http://devicetree.org/schemas/net/mdio.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: MDIO Bus Generic Binding
10 - Andrew Lunn <andrew@lunn.ch>
11 - Florian Fainelli <f.fainelli@gmail.com>
12 - Heiner Kallweit <hkallweit1@gmail.com>
15 These are generic properties that can apply to any MDIO bus. Any
16 MDIO bus must have a list of child nodes, one per device on the
17 bus. These should follow the generic ethernet-phy.yaml document, or
18 a device specific binding document.
22 pattern: "^mdio(@.*)?"
33 The phandle and specifier for the GPIO that controls the RESET
34 lines of all devices on that MDIO bus.
38 RESET pulse width in microseconds. It applies to all MDIO devices
39 and must therefore be appropriately determined based on all devices
40 requirements (maximum value of all per-device RESET pulse widths).
44 Delay after reset deassert in microseconds. It applies to all MDIO
45 devices and it's determined by how fast all devices are ready for
46 communication. This delay happens just before e.g. Ethernet PHY
47 type ID auto detection.
51 Desired MDIO bus clock frequency in Hz. Values greater than IEEE 802.3
52 defined 2.5MHz should only be used when all devices on the bus support
53 the given clock speed.
57 The 32 bit preamble should be suppressed. In order for this to
58 work, all devices on the bus must support suppressed preamble.
62 "^ethernet-phy@[0-9a-f]+$":
70 The ID number for the device.
73 $ref: /schemas/types.yaml#/definitions/flag
75 If set, indicates the MDIO device does not correctly release
76 the turn around line low at end of the control phase of the
88 The GPIO phandle and specifier for the MDIO reset signal.
92 Delay after the reset was asserted in microseconds. If this
93 property is missing the delay will be skipped.
97 Delay after the reset was deasserted in microseconds. If
98 this property is missing the delay will be skipped.
103 additionalProperties: true
107 davinci_mdio: mdio@5c030000 {
108 reg = <0x5c030000 0x1000>;
109 #address-cells = <1>;
112 reset-gpios = <&gpio2 5 1>;
113 reset-delay-us = <2>;
115 ethphy0: ethernet-phy@1 {
119 ethphy1: ethernet-phy@3 {