blob: c79bab025369af4bb6320ba0e90f7fb386942cc1 [file] [log] [blame]
Kumar Galab053dc52009-06-19 08:31:05 -05001MDIO on GPIOs
2
3Currently defined compatibles:
4- virtual,gpio-mdio
5
6MDC and MDIO lines connected to GPIO controllers are listed in the
7gpios property as described in section VIII.1 in the following order:
8
9MDC, MDIO.
10
Srinivas Kandagatla3272dd92012-11-16 00:33:59 +000011Note: Each gpio-mdio bus should have an alias correctly numbered in "aliases"
12node.
13
Kumar Galab053dc52009-06-19 08:31:05 -050014Example:
15
Srinivas Kandagatla3272dd92012-11-16 00:33:59 +000016aliases {
17 mdio-gpio0 = <&mdio0>;
18};
19
20mdio0: mdio {
Kumar Galab053dc52009-06-19 08:31:05 -050021 compatible = "virtual,mdio-gpio";
22 #address-cells = <1>;
23 #size-cells = <0>;
24 gpios = <&qe_pio_a 11
25 &qe_pio_c 6>;
26};