2009-06-19 13:31:05 +00:00
|
|
|
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.
|
|
|
|
|
2012-11-16 00:33:59 +00:00
|
|
|
Note: Each gpio-mdio bus should have an alias correctly numbered in "aliases"
|
|
|
|
node.
|
|
|
|
|
2009-06-19 13:31:05 +00:00
|
|
|
Example:
|
|
|
|
|
2012-11-16 00:33:59 +00:00
|
|
|
aliases {
|
|
|
|
mdio-gpio0 = <&mdio0>;
|
|
|
|
};
|
|
|
|
|
|
|
|
mdio0: mdio {
|
2009-06-19 13:31:05 +00:00
|
|
|
compatible = "virtual,mdio-gpio";
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
gpios = <&qe_pio_a 11
|
|
|
|
&qe_pio_c 6>;
|
|
|
|
};
|