Dongpo Li | 4960e4b | 2016-07-15 16:26:33 +0800 | [diff] [blame] | 1 | Hisilicon Fast Ethernet MDIO Controller interface |
| 2 | |
| 3 | Required properties: |
| 4 | - compatible: should be "hisilicon,hisi-femac-mdio". |
| 5 | - reg: address and length of the register set for the device. |
| 6 | - clocks: A phandle to the reference clock for this device. |
| 7 | |
| 8 | - PHY subnode: inherits from phy binding [1] |
| 9 | [1] Documentation/devicetree/bindings/net/phy.txt |
| 10 | |
| 11 | Example: |
| 12 | mdio: mdio@10091100 { |
| 13 | compatible = "hisilicon,hisi-femac-mdio"; |
| 14 | reg = <0x10091100 0x10>; |
| 15 | clocks = <&crg HI3516CV300_MDIO_CLK>; |
| 16 | #address-cells = <1>; |
| 17 | #size-cells = <0>; |
| 18 | |
| 19 | phy0: phy@1 { |
| 20 | reg = <1>; |
| 21 | }; |
| 22 | }; |