GNU Linux-libre 4.14.266-gnu1
[releases.git] / Documentation / devicetree / bindings / net / hisilicon-hns-mdio.txt
1 Hisilicon MDIO bus controller
2
3 Properties:
4 - compatible: can be one of:
5         "hisilicon,hns-mdio"
6         "hisilicon,mdio"
7   "hisilicon,hns-mdio" is recommended to be used for hip05 and later SOCs,
8   while "hisilicon,mdio" is optional for backwards compatibility only on
9   hip04 Soc.
10 - reg: The base address of the MDIO bus controller register bank.
11 - #address-cells: Must be <1>.
12 - #size-cells: Must be <0>.  MDIO addresses have no size component.
13
14 Typically an MDIO bus might have several children.
15
16 Example:
17          mdio@803c0000 {
18                    #address-cells = <1>;
19                    #size-cells = <0>;
20                    compatible = "hisilicon,hns-mdio","hisilicon,mdio";
21                    reg = <0x0 0x803c0000 0x0 0x10000>;
22
23                    ethernet-phy@0 {
24                             ...
25                             reg = <0>;
26                    };
27          };