| 1 |
# SPDX-License-Identifier: GPL-2.0-or-later |
| 2 |
%YAML 1.2 |
| 3 |
--- |
| 4 |
$id: http://devicetree.org/schemas/net/aspeed,ast2600-mdio.yaml# |
| 5 |
$schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 |
|
| 7 |
title: ASPEED AST2600 MDIO Controller |
| 8 |
|
| 9 |
maintainers: |
| 10 |
- Andrew Jeffery <[email protected]> |
| 11 |
|
| 12 |
description: |+ |
| 13 |
The ASPEED AST2600 MDIO controller is the third iteration of ASPEED's MDIO |
| 14 |
bus register interface, this time also separating out the controller from the |
| 15 |
MAC. |
| 16 |
|
| 17 |
allOf: |
| 18 |
- $ref: mdio.yaml# |
| 19 |
|
| 20 |
properties: |
| 21 |
compatible: |
| 22 |
oneOf: |
| 23 |
- const: aspeed,ast2600-mdio |
| 24 |
- items: |
| 25 |
- enum: |
| 26 |
- aspeed,ast2700-mdio |
| 27 |
- const: aspeed,ast2600-mdio |
| 28 |
|
| 29 |
reg: |
| 30 |
maxItems: 1 |
| 31 |
description: The register range of the MDIO controller instance |
| 32 |
|
| 33 |
resets: |
| 34 |
maxItems: 1 |
| 35 |
|
| 36 |
required: |
| 37 |
- compatible |
| 38 |
- reg |
| 39 |
- "#address-cells" |
| 40 |
- "#size-cells" |
| 41 |
|
| 42 |
unevaluatedProperties: false |
| 43 |
|
| 44 |
examples: |
| 45 |
- | |
| 46 |
#include <dt-bindings/clock/ast2600-clock.h> |
| 47 |
mdio0: mdio@1e650000 { |
| 48 |
compatible = "aspeed,ast2600-mdio"; |
| 49 |
reg = <0x1e650000 0x8>; |
| 50 |
#address-cells = <1>; |
| 51 |
#size-cells = <0>; |
| 52 |
resets = <&syscon ASPEED_RESET_MII>; |
| 53 |
|
| 54 |
ethphy0: ethernet-phy@0 { |
| 55 |
compatible = "ethernet-phy-ieee802.3-c22"; |
| 56 |
reg = <0>; |
| 57 |
}; |
| 58 |
}; |