Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [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 | }; |