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