1d5b0e70fSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2d5b0e70fSEmmanuel Vadot%YAML 1.2 3d5b0e70fSEmmanuel Vadot--- 4d5b0e70fSEmmanuel Vadot$id: http://devicetree.org/schemas/net/marvell,orion-mdio.yaml# 5d5b0e70fSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6d5b0e70fSEmmanuel Vadot 7d5b0e70fSEmmanuel Vadottitle: Marvell MDIO Ethernet Controller interface 8d5b0e70fSEmmanuel Vadot 9d5b0e70fSEmmanuel Vadotmaintainers: 10d5b0e70fSEmmanuel Vadot - Andrew Lunn <andrew@lunn.ch> 11d5b0e70fSEmmanuel Vadot 12d5b0e70fSEmmanuel Vadotdescription: | 13d5b0e70fSEmmanuel Vadot The Ethernet controllers of the Marvel Kirkwood, Dove, Orion5x, MV78xx0, 14d5b0e70fSEmmanuel Vadot Armada 370, Armada XP, Armada 7k and Armada 8k have an identical unit that 15d5b0e70fSEmmanuel Vadot provides an interface with the MDIO bus. Additionally, Armada 7k and Armada 16d5b0e70fSEmmanuel Vadot 8k has a second unit which provides an interface with the xMDIO bus. This 17d5b0e70fSEmmanuel Vadot driver handles these interfaces. 18d5b0e70fSEmmanuel Vadot 19d5b0e70fSEmmanuel Vadotproperties: 20d5b0e70fSEmmanuel Vadot compatible: 21d5b0e70fSEmmanuel Vadot enum: 22d5b0e70fSEmmanuel Vadot - marvell,orion-mdio 23d5b0e70fSEmmanuel Vadot - marvell,xmdio 24d5b0e70fSEmmanuel Vadot 25d5b0e70fSEmmanuel Vadot reg: 26d5b0e70fSEmmanuel Vadot maxItems: 1 27d5b0e70fSEmmanuel Vadot 28d5b0e70fSEmmanuel Vadot interrupts: 29d5b0e70fSEmmanuel Vadot maxItems: 1 30d5b0e70fSEmmanuel Vadot 31d5b0e70fSEmmanuel Vadot clocks: 32d5b0e70fSEmmanuel Vadot minItems: 1 33d5b0e70fSEmmanuel Vadot maxItems: 4 34d5b0e70fSEmmanuel Vadot 35d5b0e70fSEmmanuel Vadotrequired: 36d5b0e70fSEmmanuel Vadot - compatible 37d5b0e70fSEmmanuel Vadot - reg 38d5b0e70fSEmmanuel Vadot 39*8bab661aSEmmanuel VadotallOf: 40*8bab661aSEmmanuel Vadot - $ref: mdio.yaml# 41*8bab661aSEmmanuel Vadot 42d5b0e70fSEmmanuel VadotunevaluatedProperties: false 43d5b0e70fSEmmanuel Vadot 44d5b0e70fSEmmanuel Vadotexamples: 45d5b0e70fSEmmanuel Vadot - | 46d5b0e70fSEmmanuel Vadot mdio@d0072004 { 47d5b0e70fSEmmanuel Vadot compatible = "marvell,orion-mdio"; 48*8bab661aSEmmanuel Vadot reg = <0xd0072004 0x84>; 49d5b0e70fSEmmanuel Vadot #address-cells = <1>; 50d5b0e70fSEmmanuel Vadot #size-cells = <0>; 51d5b0e70fSEmmanuel Vadot interrupts = <30>; 52d5b0e70fSEmmanuel Vadot 53d5b0e70fSEmmanuel Vadot phy0: ethernet-phy@0 { 54d5b0e70fSEmmanuel Vadot reg = <0>; 55d5b0e70fSEmmanuel Vadot }; 56d5b0e70fSEmmanuel Vadot 57d5b0e70fSEmmanuel Vadot phy1: ethernet-phy@1 { 58d5b0e70fSEmmanuel Vadot reg = <1>; 59d5b0e70fSEmmanuel Vadot }; 60d5b0e70fSEmmanuel Vadot }; 61