From 9f0f43baf1ed556e6b16ddd5403dc44c5f21eb6a Mon Sep 17 00:00:00 2001 From: Ioana Ciornei Date: Fri, 17 Jul 2026 15:06:27 +0300 Subject: [PATCH] arm64: dts: lx2160a: extract the SerDes nodes into a separate dtsi In terms of its SerDes blocks, the LX2162A is not properly described since it just inherits the LX2160A SerDes nodes, which is not correct. In order to fix this but also avoid the usage of delete-node, extract the SerDes nodes currently found in fsl-lx2160a.dtsi into a separate dtsi. No any actual changes in the final dtb files, only a dt node move. Signed-off-by: Ioana Ciornei Signed-off-by: Frank Li --- .../dts/freescale/fsl-lx2160a-serdes.dtsi | 21 +++++++++++++++++++ .../arm64/boot/dts/freescale/fsl-lx2160a.dtsi | 14 +------------ 2 files changed, 22 insertions(+), 13 deletions(-) create mode 100644 arch/arm64/boot/dts/freescale/fsl-lx2160a-serdes.dtsi diff --git a/arch/arm64/boot/dts/freescale/fsl-lx2160a-serdes.dtsi b/arch/arm64/boot/dts/freescale/fsl-lx2160a-serdes.dtsi new file mode 100644 index 000000000000..307824eda6d6 --- /dev/null +++ b/arch/arm64/boot/dts/freescale/fsl-lx2160a-serdes.dtsi @@ -0,0 +1,21 @@ +// SPDX-License-Identifier: (GPL-2.0 OR MIT) +// +// Device Tree file describing the Lynx 28G SerDes blocks found on the LX2160A +// Rev1 and Rev2 +// +// Copyright 2026 NXP + +&soc { + serdes_1: phy@1ea0000 { + compatible = "fsl,lynx-28g"; + reg = <0x0 0x1ea0000 0x0 0x1e30>; + #phy-cells = <1>; + }; + + serdes_2: phy@1eb0000 { + compatible = "fsl,lynx-28g"; + reg = <0x0 0x1eb0000 0x0 0x1e30>; + #phy-cells = <1>; + status = "disabled"; + }; +}; diff --git a/arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi b/arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi index 387cd677cdc7..da139e7fa30c 100644 --- a/arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi +++ b/arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi @@ -621,19 +621,6 @@ soc: soc { ranges; dma-ranges = <0x0 0x0 0x0 0x0 0x10000 0x00000000>; - serdes_1: phy@1ea0000 { - compatible = "fsl,lynx-28g"; - reg = <0x0 0x1ea0000 0x0 0x1e30>; - #phy-cells = <1>; - }; - - serdes_2: phy@1eb0000 { - compatible = "fsl,lynx-28g"; - reg = <0x0 0x1eb0000 0x0 0x1e30>; - #phy-cells = <1>; - status = "disabled"; - }; - crypto: crypto@8000000 { compatible = "fsl,sec-v5.0", "fsl,sec-v4.0"; fsl,sec-era = <10>; @@ -1855,3 +1842,4 @@ optee: optee { }; #include "fsl-lx2160a-pcie-mbvl.dtsi" +#include "fsl-lx2160a-serdes.dtsi"