[PATCH 10/10] arm64: dts: imx8qm-mek: add fec2 support
Francesco Dolcini
francesco at dolcini.it
Mon Apr 15 23:52:36 PDT 2024
On Mon, Apr 15, 2024 at 03:46:46PM -0400, Frank Li wrote:
> Add fec2 support.
>
> Signed-off-by: Frank Li <Frank.Li at nxp.com>
> ---
> arch/arm64/boot/dts/freescale/imx8qm-mek.dts | 40 ++++++++++++++++++++++++++++
> 1 file changed, 40 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/freescale/imx8qm-mek.dts b/arch/arm64/boot/dts/freescale/imx8qm-mek.dts
> index da17161055179..84372c060e200 100644
> --- a/arch/arm64/boot/dts/freescale/imx8qm-mek.dts
> +++ b/arch/arm64/boot/dts/freescale/imx8qm-mek.dts
> @@ -382,6 +391,19 @@ ethphy1: ethernet-phy at 1 {
> };
> };
>
> +&fec2 {
> + pinctrl-names = "default";
> + pinctrl-0 = <&pinctrl_fec2>;
> + phy-mode = "rgmii-txid";
> + phy-handle = <ðphy1>;
> + phy-supply = <®_fec2_supply>;
> + fsl,magic-packet;
this is supposed to be just before status, as per DT style guidelines.
> + nvmem-cells = <&fec_mac1>;
> + nvmem-cell-names = "mac-address";
> + rx-internal-delay-ps = <2000>;
> + status = "okay";
> +};
Francesco
More information about the linux-arm-kernel
mailing list