xref: /freebsd/sys/contrib/device-tree/Bindings/net/hisilicon-hns-mdio.txt (revision 2e3f49888ec8851bafb22011533217487764fdb0)
1Hisilicon MDIO bus controller
2
3Properties:
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
14Typically an MDIO bus might have several children.
15
16Example:
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         };
28