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