^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) MDIO on GPIOs
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) Currently defined compatibles:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) - virtual,gpio-mdio
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) MDC and MDIO lines connected to GPIO controllers are listed in the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) gpios property as described in section VIII.1 in the following order:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) MDC, MDIO.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) Note: Each gpio-mdio bus should have an alias correctly numbered in "aliases"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) node.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) Example:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) aliases {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) mdio-gpio0 = &mdio0;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) mdio0: mdio {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) compatible = "virtual,mdio-gpio";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) #address-cells = <1>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) #size-cells = <0>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) gpios = <&qe_pio_a 11
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) &qe_pio_c 6>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) };