]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/blame - Documentation/devicetree/bindings/net/mdio.txt
Merge remote-tracking branches 'asoc/topic/cs35l32', 'asoc/topic/cs35l34', 'asoc...
[mirror_ubuntu-jammy-kernel.git] / Documentation / devicetree / bindings / net / mdio.txt
CommitLineData
69226896
RQ
1Common MDIO bus properties.
2
3These are generic properties that can apply to any MDIO bus.
4
5Optional properties:
4c5e7a2c
FF
6- reset-gpios: One GPIO that control the RESET lines of all PHYs on that MDIO
7 bus.
8- reset-delay-us: RESET pulse width in microseconds.
69226896
RQ
9
10A list of child nodes, one per device on the bus is expected. These
11should follow the generic phy.txt, or a device specific binding document.
12
4c5e7a2c
FF
13The 'reset-delay-us' indicates the RESET signal pulse width in microseconds and
14applies to all PHY devices. It must therefore be appropriately determined based
15on all PHY requirements (maximum value of all per-PHY RESET pulse widths).
16
69226896
RQ
17Example :
18This example shows these optional properties, plus other properties
19required for the TI Davinci MDIO driver.
20
4c9847b7 21 davinci_mdio: ethernet@5c030000 {
69226896
RQ
22 compatible = "ti,davinci_mdio";
23 reg = <0x5c030000 0x1000>;
24 #address-cells = <1>;
25 #size-cells = <0>;
26
27 reset-gpios = <&gpio2 5 GPIO_ACTIVE_LOW>;
4c5e7a2c 28 reset-delay-us = <2>;
69226896
RQ
29
30 ethphy0: ethernet-phy@1 {
31 reg = <1>;
32 };
33
34 ethphy1: ethernet-phy@3 {
35 reg = <3>;
36 };
37 };