1 Hisilicon Fast Ethernet MDIO Controller interf 1 Hisilicon Fast Ethernet MDIO Controller interface 2 2 3 Required properties: 3 Required properties: 4 - compatible: should be "hisilicon,hisi-femac- 4 - compatible: should be "hisilicon,hisi-femac-mdio". 5 - reg: address and length of the register set 5 - reg: address and length of the register set for the device. 6 - clocks: A phandle to the reference clock for 6 - clocks: A phandle to the reference clock for this device. 7 7 8 - PHY subnode: inherits from phy binding [1] 8 - PHY subnode: inherits from phy binding [1] 9 [1] Documentation/devicetree/bindings/net/phy. 9 [1] Documentation/devicetree/bindings/net/phy.txt 10 10 11 Example: 11 Example: 12 mdio: mdio@10091100 { 12 mdio: mdio@10091100 { 13 compatible = "hisilicon,hisi-femac-mdi 13 compatible = "hisilicon,hisi-femac-mdio"; 14 reg = <0x10091100 0x10>; 14 reg = <0x10091100 0x10>; 15 clocks = <&crg HI3516CV300_MDIO_CLK>; 15 clocks = <&crg HI3516CV300_MDIO_CLK>; 16 #address-cells = <1>; 16 #address-cells = <1>; 17 #size-cells = <0>; 17 #size-cells = <0>; 18 18 19 phy0: phy@1 { 19 phy0: phy@1 { 20 reg = <1>; 20 reg = <1>; 21 }; 21 }; 22 }; 22 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.