Marvell MDIO Ethernet Controller interface
Schema identifier ($id): "http://devicetree.org/schemas/net/marvell,orion-mdio.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Andrew Lunn <andrew@lunn.ch>"
The Ethernet controllers of the Marvel Kirkwood, Dove, Orion5x, MV78xx0, Armada 370, Armada XP, Armada 7k and Armada 8k have an identical unit that provides an interface with the MDIO bus. Additionally, Armada 7k and Armada 8k has a second unit which provides an interface with the xMDIO bus. This driver handles these interfaces.
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "marvell,orion-mdio", "marvell,xmdio"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — not listed as required here #
Maximum number of items (maxItems): 1
clocks — not listed as required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 4
Required in this object (required): "compatible", "reg"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):mdio.yaml#
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
mdio@d0072004 {
compatible = "marvell,orion-mdio";
reg = <0xd0072004 0x84>;
#address-cells = <1>;
#size-cells = <0>;
interrupts = <30>;
phy0: ethernet-phy@0 {
reg = <0>;
};
phy1: ethernet-phy@1 {
reg = <1>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)