194166fd2SAndrew Jeffery# SPDX-License-Identifier: GPL-2.0-or-later 294166fd2SAndrew Jeffery%YAML 1.2 394166fd2SAndrew Jeffery--- 494166fd2SAndrew Jeffery$id: http://devicetree.org/schemas/net/aspeed,ast2600-mdio.yaml# 594166fd2SAndrew Jeffery$schema: http://devicetree.org/meta-schemas/core.yaml# 694166fd2SAndrew Jeffery 794166fd2SAndrew Jefferytitle: ASPEED AST2600 MDIO Controller 894166fd2SAndrew Jeffery 994166fd2SAndrew Jefferymaintainers: 1094166fd2SAndrew Jeffery - Andrew Jeffery <andrew@aj.id.au> 1194166fd2SAndrew Jeffery 1294166fd2SAndrew Jefferydescription: |+ 1394166fd2SAndrew Jeffery The ASPEED AST2600 MDIO controller is the third iteration of ASPEED's MDIO 1494166fd2SAndrew Jeffery bus register interface, this time also separating out the controller from the 1594166fd2SAndrew Jeffery MAC. 1694166fd2SAndrew Jeffery 1794166fd2SAndrew JefferyallOf: 18*3079bfdbSRob Herring - $ref: mdio.yaml# 1994166fd2SAndrew Jeffery 2094166fd2SAndrew Jefferyproperties: 2194166fd2SAndrew Jeffery compatible: 2294166fd2SAndrew Jeffery const: aspeed,ast2600-mdio 2365e42ad9SDylan Hung 2494166fd2SAndrew Jeffery reg: 2594166fd2SAndrew Jeffery maxItems: 1 2694166fd2SAndrew Jeffery description: The register range of the MDIO controller instance 2794166fd2SAndrew Jeffery 2865e42ad9SDylan Hung resets: 2965e42ad9SDylan Hung maxItems: 1 3065e42ad9SDylan Hung 3194166fd2SAndrew Jefferyrequired: 3294166fd2SAndrew Jeffery - compatible 3394166fd2SAndrew Jeffery - reg 3494166fd2SAndrew Jeffery - "#address-cells" 3594166fd2SAndrew Jeffery - "#size-cells" 3694166fd2SAndrew Jeffery 376fdc6e23SRob HerringunevaluatedProperties: false 386fdc6e23SRob Herring 3994166fd2SAndrew Jefferyexamples: 4094166fd2SAndrew Jeffery - | 4165e42ad9SDylan Hung #include <dt-bindings/clock/ast2600-clock.h> 4294166fd2SAndrew Jeffery mdio0: mdio@1e650000 { 4394166fd2SAndrew Jeffery compatible = "aspeed,ast2600-mdio"; 4494166fd2SAndrew Jeffery reg = <0x1e650000 0x8>; 4594166fd2SAndrew Jeffery #address-cells = <1>; 4694166fd2SAndrew Jeffery #size-cells = <0>; 4765e42ad9SDylan Hung resets = <&syscon ASPEED_RESET_MII>; 4894166fd2SAndrew Jeffery 4994166fd2SAndrew Jeffery ethphy0: ethernet-phy@0 { 5094166fd2SAndrew Jeffery compatible = "ethernet-phy-ieee802.3-c22"; 5194166fd2SAndrew Jeffery reg = <0>; 5294166fd2SAndrew Jeffery }; 5394166fd2SAndrew Jeffery }; 54