Merge tag 'linux-kselftest-kunit-fixes-5.11-rc3' of git://git.kernel.org/pub/scm...
[linux/fpc-iii.git] / Documentation / devicetree / bindings / net / apm-xgene-mdio.txt
blob78722d74cea830df4122b589843e24596a293b6e
1 APM X-Gene SoC MDIO node
3 MDIO node is defined to describe on-chip MDIO controller.
5 Required properties:
6         - compatible: Must be "apm,xgene-mdio-rgmii" or "apm,xgene-mdio-xfi"
7         - #address-cells: Must be <1>.
8         - #size-cells: Must be <0>.
9         - reg: Address and length of the register set
10         - clocks: Reference to the clock entry
12 For the phys on the mdio bus, there must be a node with the following fields:
13         - compatible: PHY identifier.  Please refer ./phy.txt for the format.
14         - reg: The ID number for the phy.
16 Example:
18         mdio: mdio@17020000 {
19                 compatible = "apm,xgene-mdio-rgmii";
20                 #address-cells = <1>;
21                 #size-cells = <0>;
22                 reg = <0x0 0x17020000 0x0 0xd100>;
23                 clocks = <&menetclk 0>;
24         };
26         /* Board-specific peripheral configurations */
27         &mdio {
28                 menetphy: phy@3 {
29                         reg = <0x3>;
30                 };
31                 sgenet0phy: phy@4 {
32                         reg = <0x4>;
33                 };
34                 sgenet1phy: phy@5 {
35                         reg = <0x5>;
36                 };
37         };