mirror of
https://github.com/torvalds/linux.git
synced 2024-12-26 21:02:19 +00:00
6fbaa57076
This patch explains the occasion of "hisilcon,mdio" and "hisilicon,hns-mdio" according to Arnd's comments. and reformat it according to comments from Rob<robh@kernel.org>. Signed-off-by: huangdaode <huangdaode@hisilicon.com> Reviewed-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: David S. Miller <davem@davemloft.net>
28 lines
872 B
Plaintext
28 lines
872 B
Plaintext
Hisilicon MDIO bus controller
|
|
|
|
Properties:
|
|
- 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.
|
|
- 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>;
|
|
compatible = "hisilicon,hns-mdio","hisilicon,mdio";
|
|
reg = <0x0 0x803c0000 0x0 0x10000>;
|
|
|
|
ethernet-phy@0 {
|
|
...
|
|
reg = <0>;
|
|
};
|
|
};
|