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/mscc,miim.yaml# 5d5b0e70fSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6d5b0e70fSEmmanuel Vadot 7d5b0e70fSEmmanuel Vadottitle: Microsemi MII Management Controller (MIIM) 8d5b0e70fSEmmanuel Vadot 9d5b0e70fSEmmanuel Vadotmaintainers: 10d5b0e70fSEmmanuel Vadot - Alexandre Belloni <alexandre.belloni@bootlin.com> 11d5b0e70fSEmmanuel Vadot 12d5b0e70fSEmmanuel VadotallOf: 13fac71e4eSEmmanuel Vadot - $ref: mdio.yaml# 14d5b0e70fSEmmanuel Vadot 15d5b0e70fSEmmanuel Vadotproperties: 16d5b0e70fSEmmanuel Vadot compatible: 17d5b0e70fSEmmanuel Vadot enum: 18d5b0e70fSEmmanuel Vadot - mscc,ocelot-miim 19d5b0e70fSEmmanuel Vadot - microchip,lan966x-miim 20d5b0e70fSEmmanuel Vadot 21d5b0e70fSEmmanuel Vadot "#address-cells": 22d5b0e70fSEmmanuel Vadot const: 1 23d5b0e70fSEmmanuel Vadot 24d5b0e70fSEmmanuel Vadot "#size-cells": 25d5b0e70fSEmmanuel Vadot const: 0 26d5b0e70fSEmmanuel Vadot 27d5b0e70fSEmmanuel Vadot reg: 28d5b0e70fSEmmanuel Vadot items: 29d5b0e70fSEmmanuel Vadot - description: base address 30d5b0e70fSEmmanuel Vadot - description: associated reset register for internal PHYs 31d5b0e70fSEmmanuel Vadot minItems: 1 32d5b0e70fSEmmanuel Vadot 33d5b0e70fSEmmanuel Vadot interrupts: 34d5b0e70fSEmmanuel Vadot maxItems: 1 35d5b0e70fSEmmanuel Vadot 36d5b0e70fSEmmanuel Vadot clocks: 37d5b0e70fSEmmanuel Vadot maxItems: 1 38d5b0e70fSEmmanuel Vadot 39d5b0e70fSEmmanuel Vadot clock-frequency: true 40d5b0e70fSEmmanuel Vadot 41*0e8011faSEmmanuel Vadot resets: 42*0e8011faSEmmanuel Vadot items: 43*0e8011faSEmmanuel Vadot - description: 44*0e8011faSEmmanuel Vadot Reset shared with all blocks attached to the Switch Core Register 45*0e8011faSEmmanuel Vadot Bus (CSR) including VRAP slave. 46*0e8011faSEmmanuel Vadot 47*0e8011faSEmmanuel Vadot reset-names: 48*0e8011faSEmmanuel Vadot items: 49*0e8011faSEmmanuel Vadot - const: switch 50*0e8011faSEmmanuel Vadot 51d5b0e70fSEmmanuel Vadotrequired: 52d5b0e70fSEmmanuel Vadot - compatible 53d5b0e70fSEmmanuel Vadot - reg 54d5b0e70fSEmmanuel Vadot - "#address-cells" 55d5b0e70fSEmmanuel Vadot - "#size-cells" 56d5b0e70fSEmmanuel Vadot 57d5b0e70fSEmmanuel VadotunevaluatedProperties: false 58d5b0e70fSEmmanuel Vadot 59d5b0e70fSEmmanuel Vadotexamples: 60d5b0e70fSEmmanuel Vadot - | 61d5b0e70fSEmmanuel Vadot mdio@107009c { 62d5b0e70fSEmmanuel Vadot compatible = "mscc,ocelot-miim"; 63d5b0e70fSEmmanuel Vadot reg = <0x107009c 0x36>, <0x10700f0 0x8>; 64d5b0e70fSEmmanuel Vadot interrupts = <14>; 65d5b0e70fSEmmanuel Vadot #address-cells = <1>; 66d5b0e70fSEmmanuel Vadot #size-cells = <0>; 67d5b0e70fSEmmanuel Vadot 68d5b0e70fSEmmanuel Vadot phy0: ethernet-phy@0 { 69d5b0e70fSEmmanuel Vadot reg = <0>; 70d5b0e70fSEmmanuel Vadot }; 71d5b0e70fSEmmanuel Vadot }; 72