Debian Codegraph @

Documentation/devicetree/bindings/net/brcm,mdio-mux-iproc.yaml

raw
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,mdio-mux-iproc.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: MDIO bus multiplexer found in Broadcom iProc based SoCs.
8
9 maintainers:
10 - Florian Fainelli <[email protected]>
11
12 description:
13 This MDIO bus multiplexer defines buses that could be internal as well as
14 external to SoCs and could accept MDIO transaction compatible to C-22 or
15 C-45 Clause. When child bus is selected, one needs to select these two
16 properties as well to generate desired MDIO transaction on appropriate bus.
17
18 allOf:
19 - $ref: /schemas/net/mdio-mux.yaml#
20
21 properties:
22 compatible:
23 const: brcm,mdio-mux-iproc
24
25 reg:
26 maxItems: 1
27
28 clocks:
29 maxItems: 1
30 description: core clock driving the MDIO block
31
32 required:
33 - compatible
34 - reg
35
36 unevaluatedProperties: false
37
38 examples:
39 - |
40 mdio-mux@66020000 {
41 compatible = "brcm,mdio-mux-iproc";
42 reg = <0x66020000 0x250>;
43 #address-cells = <1>;
44 #size-cells = <0>;
45
46 mdio@0 {
47 reg = <0x0>;
48 #address-cells = <1>;
49 #size-cells = <0>;
50
51 pci-phy@0 {
52 compatible = "brcm,ns2-pcie-phy";
53 reg = <0x0>;
54 #phy-cells = <0>;
55 };
56 };
57
58 mdio@7 {
59 reg = <0x7>;
60 #address-cells = <1>;
61 #size-cells = <0>;
62
63 pci-phy@0 {
64 compatible = "brcm,ns2-pcie-phy";
65 reg = <0x0>;
66 #phy-cells = <0>;
67 };
68 };
69
70 mdio@10 {
71 reg = <0x10>;
72 #address-cells = <1>;
73 #size-cells = <0>;
74
75 eth-phy@10 {
76 reg = <0x10>;
77 };
78 };
79 };