1c66ec88fSEmmanuel Vadot# SPDX-License-Identifier: GPL-2.0-or-later 2c66ec88fSEmmanuel Vadot%YAML 1.2 3c66ec88fSEmmanuel Vadot--- 4c66ec88fSEmmanuel Vadot$id: http://devicetree.org/schemas/net/aspeed,ast2600-mdio.yaml# 5c66ec88fSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6c66ec88fSEmmanuel Vadot 7c66ec88fSEmmanuel Vadottitle: ASPEED AST2600 MDIO Controller 8c66ec88fSEmmanuel Vadot 9c66ec88fSEmmanuel Vadotmaintainers: 10c66ec88fSEmmanuel Vadot - Andrew Jeffery <andrew@aj.id.au> 11c66ec88fSEmmanuel Vadot 12c66ec88fSEmmanuel Vadotdescription: |+ 13c66ec88fSEmmanuel Vadot The ASPEED AST2600 MDIO controller is the third iteration of ASPEED's MDIO 14c66ec88fSEmmanuel Vadot bus register interface, this time also separating out the controller from the 15c66ec88fSEmmanuel Vadot MAC. 16c66ec88fSEmmanuel Vadot 17c66ec88fSEmmanuel VadotallOf: 18*fac71e4eSEmmanuel Vadot - $ref: mdio.yaml# 19c66ec88fSEmmanuel Vadot 20c66ec88fSEmmanuel Vadotproperties: 21c66ec88fSEmmanuel Vadot compatible: 22c66ec88fSEmmanuel Vadot const: aspeed,ast2600-mdio 23d5b0e70fSEmmanuel Vadot 24c66ec88fSEmmanuel Vadot reg: 25c66ec88fSEmmanuel Vadot maxItems: 1 26c66ec88fSEmmanuel Vadot description: The register range of the MDIO controller instance 27c66ec88fSEmmanuel Vadot 28d5b0e70fSEmmanuel Vadot resets: 29d5b0e70fSEmmanuel Vadot maxItems: 1 30d5b0e70fSEmmanuel Vadot 31c66ec88fSEmmanuel Vadotrequired: 32c66ec88fSEmmanuel Vadot - compatible 33c66ec88fSEmmanuel Vadot - reg 34c66ec88fSEmmanuel Vadot - "#address-cells" 35c66ec88fSEmmanuel Vadot - "#size-cells" 36c66ec88fSEmmanuel Vadot 376be33864SEmmanuel VadotunevaluatedProperties: false 386be33864SEmmanuel Vadot 39c66ec88fSEmmanuel Vadotexamples: 40c66ec88fSEmmanuel Vadot - | 41d5b0e70fSEmmanuel Vadot #include <dt-bindings/clock/ast2600-clock.h> 42c66ec88fSEmmanuel Vadot mdio0: mdio@1e650000 { 43c66ec88fSEmmanuel Vadot compatible = "aspeed,ast2600-mdio"; 44c66ec88fSEmmanuel Vadot reg = <0x1e650000 0x8>; 45c66ec88fSEmmanuel Vadot #address-cells = <1>; 46c66ec88fSEmmanuel Vadot #size-cells = <0>; 47d5b0e70fSEmmanuel Vadot resets = <&syscon ASPEED_RESET_MII>; 48c66ec88fSEmmanuel Vadot 49c66ec88fSEmmanuel Vadot ethphy0: ethernet-phy@0 { 50c66ec88fSEmmanuel Vadot compatible = "ethernet-phy-ieee802.3-c22"; 51c66ec88fSEmmanuel Vadot reg = <0>; 52c66ec88fSEmmanuel Vadot }; 53c66ec88fSEmmanuel Vadot }; 54