]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blob - Documentation/devicetree/bindings/net/mdio.txt
mdio_bus: Issue GPIO RESET to PHYs.
[mirror_ubuntu-artful-kernel.git] / Documentation / devicetree / bindings / net / mdio.txt
1 Common MDIO bus properties.
2
3 These are generic properties that can apply to any MDIO bus.
4
5 Optional properties:
6 - reset-gpios: List of one or more GPIOs that control the RESET lines
7 of the PHYs on that MDIO bus.
8 - reset-delay-us: RESET pulse width in microseconds as per PHY datasheet.
9
10 A list of child nodes, one per device on the bus is expected. These
11 should follow the generic phy.txt, or a device specific binding document.
12
13 Example :
14 This example shows these optional properties, plus other properties
15 required for the TI Davinci MDIO driver.
16
17 davinci_mdio: ethernet@0x5c030000 {
18 compatible = "ti,davinci_mdio";
19 reg = <0x5c030000 0x1000>;
20 #address-cells = <1>;
21 #size-cells = <0>;
22
23 reset-gpios = <&gpio2 5 GPIO_ACTIVE_LOW>;
24 reset-delay-us = <2>; /* PHY datasheet states 1us min */
25
26 ethphy0: ethernet-phy@1 {
27 reg = <1>;
28 };
29
30 ethphy1: ethernet-phy@3 {
31 reg = <3>;
32 };
33 };