blob: 4a7ede9657b08211675a7329ff5cc3b5bd6e90e7 [file] [log] [blame]
Tom Rini53633a82024-02-29 12:33:36 -05001Hisilicon 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 };