mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-02-24 00:43:23 -05:00
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:
@@ -160,7 +160,7 @@ eeprom@0 {
|
||||
};
|
||||
};
|
||||
|
||||
mdio_gpio: mdio-gpio {
|
||||
mdio_gpio: mdio {
|
||||
compatible = "virtual,mdio-gpio";
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pinctrl_swmdio>;
|
||||
|
||||
@@ -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>;
|
||||
|
||||
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user