summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/net/mdio-gpio.txt
blob: 8dbcf8295c6c9ceaa4eb7518694acf3b09095dc1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
MDIO on GPIOs

Currently defined compatibles:
- virtual,gpio-mdio

MDC and MDIO lines connected to GPIO controllers are listed in the
gpios property as described in section VIII.1 in the following order:

MDC, MDIO.

Note: Each gpio-mdio bus should have an alias correctly numbered in "aliases"
node.

Example:

aliases {
	mdio-gpio0 = &mdio0;
};

mdio0: mdio {
	compatible = "virtual,mdio-gpio";
	#address-cells = <1>;
	#size-cells = <0>;
	gpios = <&qe_pio_a 11
		 &qe_pio_c 6>;
};
OpenPOWER on IntegriCloud