[PATCH 4/4] arm64: dts: imx8ulp-evk: enable fec

Andrew Lunn andrew at lunn.ch
Sat Nov 20 07:26:09 PST 2021


> +&fec {
> +	pinctrl-names = "default";
> +	pinctrl-0 = <&pinctrl_enet>;
> +	phy-mode = "rmii";

Is this really a Fast Ethernet? Not 1G?

> +	phy-handle = <&ethphy>;
> +	status = "okay";
> +
> +	mdio {
> +		#address-cells = <1>;
> +		#size-cells = <0>;
> +
> +		ethphy: ethernet-phy {
> +			reg = <1>;

I'm surprised this does not give warnings from the DTS tools. There is
a reg value, so it should be ethernet-phy at 1

  Andrew



More information about the linux-arm-kernel mailing list