Linux kernel mirror (for testing)
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel
os
linux
1Properties for an MDIO bus multiplexer found in Broadcom iProc based SoCs.
2
3This MDIO bus multiplexer defines buses that could be internal as well as
4external to SoCs and could accept MDIO transaction compatible to C-22 or
5C-45 Clause. When child bus is selected, one needs to select these two
6properties as well to generate desired MDIO transaction on appropriate bus.
7
8Required properties in addition to the generic multiplexer properties:
9
10MDIO multiplexer node:
11- compatible: brcm,mdio-mux-iproc.
12
13Every non-ethernet PHY requires a compatible so that it could be probed based
14on this compatible string.
15
16Additional information regarding generic multiplexer properties can be found
17at- Documentation/devicetree/bindings/net/mdio-mux.txt
18
19
20for example:
21 mdio_mux_iproc: mdio-mux@6602023c {
22 compatible = "brcm,mdio-mux-iproc";
23 reg = <0x6602023c 0x14>;
24 #address-cells = <1>;
25 #size-cells = <0>;
26
27 mdio@0 {
28 reg = <0x0>;
29 #address-cells = <1>;
30 #size-cells = <0>;
31
32 pci_phy0: pci-phy@0 {
33 compatible = "brcm,ns2-pcie-phy";
34 reg = <0x0>;
35 #phy-cells = <0>;
36 };
37 };
38
39 mdio@7 {
40 reg = <0x7>;
41 #address-cells = <1>;
42 #size-cells = <0>;
43
44 pci_phy1: pci-phy@0 {
45 compatible = "brcm,ns2-pcie-phy";
46 reg = <0x0>;
47 #phy-cells = <0>;
48 };
49 };
50 mdio@10 {
51 reg = <0x10>;
52 #address-cells = <1>;
53 #size-cells = <0>;
54
55 gphy0: eth-phy@10 {
56 reg = <0x10>;
57 };
58 };
59 };