ARM: dts: imx: Use the correct mdio pattern

mdio-gpio is not a valid pattern according to mdio-gpio.yaml.

Use the generic 'mdio' name to fix the following dt-schema warnings:

'mdio-gpio' does not match '^mdio(-(bus|external))?(@.+|-([0-9]+))?$'

Signed-off-by: Fabio Estevam <festevam@denx.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
This commit is contained in:
Fabio Estevam
2024-12-17 21:02:32 -03:00
committed by Shawn Guo
parent c62f6e2755
commit c7418a6e7a
3 changed files with 3 additions and 3 deletions

View File

@@ -160,7 +160,7 @@ eeprom@0 {
};
};
mdio_gpio: mdio-gpio {
mdio_gpio: mdio {
compatible = "virtual,mdio-gpio";
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_swmdio>;

View File

@@ -37,7 +37,7 @@ usb_vbus: regulator-usb-vbus {
regulator-max-microvolt = <5000000>;
};
mdio_gpio: mdio-gpio {
mdio_gpio: mdio {
compatible = "virtual,mdio-gpio";
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_swmdio>;

View File

@@ -94,7 +94,7 @@ aliases {
mdio-gpio0 = &mdio0;
};
mdio0: mdio-gpio {
mdio0: mdio {
compatible = "virtual,mdio-gpio";
gpios = <&gpio2 5 GPIO_ACTIVE_HIGH>, /* mdc */
<&gpio2 7 GPIO_ACTIVE_HIGH>; /* mdio */