blob: a7d8ac5b15aae447a7e0c1dbf72223762de22d39 [file] [log] [blame]
Alex Marginean6c8bafd2019-07-25 12:33:18 +03001Common MDIO bus properties.
2
3These are generic properties that can apply to any MDIO bus.
4
5Optional properties:
6 - device-name - If present it is used to name the device and MDIO bus.
7 The name must be unique and must not contain spaces.
8
9A list of child nodes, one per device on the bus is expected. These could be
10PHYs, switches or similar devices and child nodes should follow the specific
11binding for the device type.
12
13Example :
14This example shows the structure used for the external MDIO bus on NXP LS1028A
15RDB board. Note that this MDIO device is an integrated PCI function and
16requires no compatible property for probing.
17
18/* definition in SoC dtsi file */
19 pcie@1f0000000 {
20
21 mdio0: pci@0,3 {
22 #address-cells=<0>;
23 #size-cells=<1>;
24 reg = <0x000300 0 0 0 0>;
25 status = "disabled";
26 device-name = "emdio";
27 };
28 };
29/* definition of PHYs in RDB dts file */
30&mdio0 {
31 status = "okay";
32 rdb_phy0: phy@2 {
33 reg = <2>;
34 };
35};