Squashed backup commit (no shallow-clone history issues) of xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2 branch, upstream commit 9eece662e) plus all fixes applied to get everpal_defconfig building clean against a modern (GCC 15.2.0) toolchain -- see the previous commit message on the lineage-23.2 branch (also in this repo history is not available here since this is a squashed snapshot; full incremental history lives in the local DL380 checkout and the upstream GitHub remote). Upstream: https://github.com/xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2)
27 lines
483 B
Plaintext
27 lines
483 B
Plaintext
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>;
|
|
};
|