~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/net/brcm,unimac-mdio.yaml

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
  2 %YAML 1.2
  3 ---
  4 $id: http://devicetree.org/schemas/net/brcm,unimac-mdio.yaml#
  5 $schema: http://devicetree.org/meta-schemas/core.yaml#
  6 
  7 title: Broadcom UniMAC MDIO bus controller
  8 
  9 maintainers:
 10   - Doug Berger <opendmb@gmail.com>
 11   - Florian Fainelli <f.fainelli@gmail.com>
 12   - Rafał Miłecki <rafal@milecki.pl>
 13 
 14 allOf:
 15   - $ref: mdio.yaml#
 16 
 17 properties:
 18   compatible:
 19     enum:
 20       - brcm,genet-mdio-v1
 21       - brcm,genet-mdio-v2
 22       - brcm,genet-mdio-v3
 23       - brcm,genet-mdio-v4
 24       - brcm,genet-mdio-v5
 25       - brcm,asp-v2.0-mdio
 26       - brcm,asp-v2.1-mdio
 27       - brcm,asp-v2.2-mdio
 28       - brcm,unimac-mdio
 29       - brcm,bcm6846-mdio
 30 
 31   reg:
 32     minItems: 1
 33     items:
 34       - description: base register
 35       - description: indirect accesses to larger than 16-bits MDIO transactions
 36 
 37   reg-names:
 38     minItems: 1
 39     items:
 40       - const: mdio
 41       - const: mdio_indir_rw
 42 
 43   interrupts:
 44     oneOf:
 45       - description: >
 46           Interrupt shared with the Ethernet MAC or Ethernet switch this MDIO
 47           block is integrated from
 48       - items:
 49           - description: |
 50               "mdio done" interrupt
 51           - description: |
 52               "mdio error" interrupt
 53 
 54   interrupt-names:
 55     oneOf:
 56       - const: mdio_done_error
 57       - items:
 58           - const: mdio_done
 59           - const: mdio_error
 60 
 61   clocks:
 62     description: A reference to the clock supplying the MDIO bus controller
 63 
 64   clock-frequency:
 65     description: >
 66       The MDIO bus clock that must be output by the MDIO bus hardware, if
 67       absent, the default hardware values are used
 68 
 69 unevaluatedProperties: false
 70 
 71 required:
 72   - reg
 73   - '#address-cells'
 74   - '#size-cells'
 75 
 76 examples:
 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     };

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php