brintos

brintos / linux-shallow public Read only

0
0
Text · 2.0 KiB · 63bee5b Raw
90 lines · yaml
1# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause2%YAML 1.23---4$id: http://devicetree.org/schemas/net/brcm,unimac-mdio.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Broadcom UniMAC MDIO bus controller8 9maintainers:10  - Doug Berger <opendmb@gmail.com>11  - Florian Fainelli <f.fainelli@gmail.com>12  - Rafał Miłecki <rafal@milecki.pl>13 14allOf:15  - $ref: mdio.yaml#16 17properties:18  compatible:19    enum:20      - brcm,genet-mdio-v121      - brcm,genet-mdio-v222      - brcm,genet-mdio-v323      - brcm,genet-mdio-v424      - brcm,genet-mdio-v525      - brcm,asp-v2.0-mdio26      - brcm,asp-v2.1-mdio27      - brcm,asp-v2.2-mdio28      - brcm,unimac-mdio29      - brcm,bcm6846-mdio30 31  reg:32    minItems: 133    items:34      - description: base register35      - description: indirect accesses to larger than 16-bits MDIO transactions36 37  reg-names:38    minItems: 139    items:40      - const: mdio41      - const: mdio_indir_rw42 43  interrupts:44    oneOf:45      - description: >46          Interrupt shared with the Ethernet MAC or Ethernet switch this MDIO47          block is integrated from48      - items:49          - description: |50              "mdio done" interrupt51          - description: |52              "mdio error" interrupt53 54  interrupt-names:55    oneOf:56      - const: mdio_done_error57      - items:58          - const: mdio_done59          - const: mdio_error60 61  clocks:62    description: A reference to the clock supplying the MDIO bus controller63 64  clock-frequency:65    description: >66      The MDIO bus clock that must be output by the MDIO bus hardware, if67      absent, the default hardware values are used68 69unevaluatedProperties: false70 71required:72  - reg73  - '#address-cells'74  - '#size-cells'75 76examples:77  - |78    mdio@403c0 {79        compatible = "brcm,unimac-mdio";80        reg = <0x403c0 0x8>, <0x40300 0x18>;81        reg-names = "mdio", "mdio_indir_rw";82        #address-cells = <1>;83        #size-cells = <0>;84 85        ethernet-phy@0 {86            compatible = "ethernet-phy-ieee802.3-c22";87            reg = <0>;88        };89    };90