14960e4b1SDongpo LiHisilicon Fast Ethernet MDIO Controller interface
24960e4b1SDongpo Li
34960e4b1SDongpo LiRequired properties:
44960e4b1SDongpo Li- compatible: should be "hisilicon,hisi-femac-mdio".
54960e4b1SDongpo Li- reg: address and length of the register set for the device.
64960e4b1SDongpo Li- clocks: A phandle to the reference clock for this device.
74960e4b1SDongpo Li
84960e4b1SDongpo Li- PHY subnode: inherits from phy binding [1]
94960e4b1SDongpo Li[1] Documentation/devicetree/bindings/net/phy.txt
104960e4b1SDongpo Li
114960e4b1SDongpo LiExample:
124960e4b1SDongpo Limdio: mdio@10091100 {
134960e4b1SDongpo Li	compatible = "hisilicon,hisi-femac-mdio";
144960e4b1SDongpo Li	reg = <0x10091100 0x10>;
154960e4b1SDongpo Li	clocks = <&crg HI3516CV300_MDIO_CLK>;
164960e4b1SDongpo Li	#address-cells = <1>;
174960e4b1SDongpo Li	#size-cells = <0>;
184960e4b1SDongpo Li
194960e4b1SDongpo Li	phy0: phy@1 {
204960e4b1SDongpo Li		reg = <1>;
214960e4b1SDongpo Li	};
224960e4b1SDongpo Li};
23