[PATCH] arm64: dts: imx8mm-venice-gw790: Remove phy-mode from switch node

Tim Harvey tharvey at gateworks.com
Mon Oct 2 10:05:22 PDT 2023


On Fri, Sep 29, 2023 at 5:30 AM Fabio Estevam <festevam at gmail.com> wrote:
>
> From: Fabio Estevam <festevam at denx.de>
>
> Per microchip,ksz.yaml, phy-mode is not a valid property in the
> top-level switch node.
>
> phy-mode = "rgmii-id" is already passed in the CPU port switch (port at 5).
>
> Remove it from the top-level switch node to fix the following
> schema warning:
>
> switch at 5f: Unevaluated properties are not allowed ('phy-mode' was unexpected)
> from schema $id: http://devicetree.org/schemas/net/dsa/microchip,ksz.yaml
>
> Signed-off-by: Fabio Estevam <festevam at denx.de>
> ---
>  arch/arm64/boot/dts/freescale/imx8mm-venice-gw7901.dts | 1 -
>  1 file changed, 1 deletion(-)
>
> diff --git a/arch/arm64/boot/dts/freescale/imx8mm-venice-gw7901.dts b/arch/arm64/boot/dts/freescale/imx8mm-venice-gw7901.dts
> index f45c22d8fb50..6c1e863f4d5a 100644
> --- a/arch/arm64/boot/dts/freescale/imx8mm-venice-gw7901.dts
> +++ b/arch/arm64/boot/dts/freescale/imx8mm-venice-gw7901.dts
> @@ -642,7 +642,6 @@ switch: switch at 5f {
>                 pinctrl-0 = <&pinctrl_ksz>;
>                 interrupt-parent = <&gpio4>;
>                 interrupts = <18 IRQ_TYPE_EDGE_FALLING>;
> -               phy-mode = "rgmii-id";
>
>                 ports {
>                         #address-cells = <1>;
> --
> 2.34.1
>

Acked-by: Tim Harvey <tharvey at gateworks.com>

Best Regards,

Tim



More information about the linux-arm-kernel mailing list