xref: /freebsd/sys/contrib/device-tree/Bindings/net/mdio-gpio.txt (revision fe75646a0234a261c0013bf1840fdac4acaf0cec)
1MDIO on GPIOs
2
3Currently defined compatibles:
4- virtual,gpio-mdio
5- microchip,mdio-smi0
6
7MDC and MDIO lines connected to GPIO controllers are listed in the
8gpios property as described in section VIII.1 in the following order:
9
10MDC, MDIO.
11
12Note: Each gpio-mdio bus should have an alias correctly numbered in "aliases"
13node.
14
15Example:
16
17aliases {
18	mdio-gpio0 = &mdio0;
19};
20
21mdio0: mdio {
22	compatible = "virtual,mdio-gpio";
23	#address-cells = <1>;
24	#size-cells = <0>;
25	gpios = <&qe_pio_a 11
26		 &qe_pio_c 6>;
27};
28