2015-09-17 14:51:46 +08:00
|
|
|
Hisilicon MDIO bus controller
|
|
|
|
|
|
|
|
Properties:
|
2015-11-18 10:08:00 +08:00
|
|
|
- compatible: can be one of:
|
|
|
|
"hisilicon,hns-mdio"
|
|
|
|
"hisilicon,mdio"
|
|
|
|
"hisilicon,hns-mdio" is recommended to be used for hip05 and later SOCs,
|
|
|
|
while "hisilicon,mdio" is optional for backwards compatibility only on
|
|
|
|
hip04 Soc.
|
2015-09-17 14:51:46 +08:00
|
|
|
- reg: The base address of the MDIO bus controller register bank.
|
|
|
|
- #address-cells: Must be <1>.
|
|
|
|
- #size-cells: Must be <0>. MDIO addresses have no size component.
|
|
|
|
|
|
|
|
Typically an MDIO bus might have several children.
|
|
|
|
|
|
|
|
Example:
|
|
|
|
mdio@803c0000 {
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
2015-10-27 19:16:34 +08:00
|
|
|
compatible = "hisilicon,hns-mdio","hisilicon,mdio";
|
2015-09-17 14:51:46 +08:00
|
|
|
reg = <0x0 0x803c0000 0x0 0x10000>;
|
|
|
|
|
|
|
|
ethernet-phy@0 {
|
|
|
|
...
|
|
|
|
reg = <0>;
|
|
|
|
};
|
|
|
|
};
|