[PATCH 5/5] arm64: dts: ls208xa-qds: add overlay for on-board SFP+ cages

Ioana Ciornei ioana.ciornei at nxp.com
Fri Nov 27 02:48:20 PST 2026


When the RCW protocol for SerDes 1 is 0x2A, all eight lanes of the
SerDes block run XFI. With the board DIP switches configured to route
them to the on-board SFP+ cages, DPMAC1-8 are each connected to one of
the cages.

Add an overlay which updates the DPMAC1-8 nodes for this use case: link
each DPMAC to its SFP+ cage and SerDes 1 lane, use in-band status and
enable the internal MDIO buses holding their PCS.

The LS2088AQDS board can also have retimers between the SerDes lanes and
the SFP+ cages. The fsl-ls2088a-qds-sfp-retimer-bypass.dtb targets the
setup in which these retimers are bypassed, so they are not described.

Signed-off-by: Ioana Ciornei <ioana.ciornei at nxp.com>
---
 arch/arm64/boot/dts/freescale/Makefile        |  4 +
 .../fsl-ls208xa-qds-sd1-2a-sfp+.dtso          | 91 +++++++++++++++++++
 2 files changed, 95 insertions(+)
 create mode 100644 arch/arm64/boot/dts/freescale/fsl-ls208xa-qds-sd1-2a-sfp+.dtso

diff --git a/arch/arm64/boot/dts/freescale/Makefile b/arch/arm64/boot/dts/freescale/Makefile
index 5f6aa5e78548..087e163ce61e 100644
--- a/arch/arm64/boot/dts/freescale/Makefile
+++ b/arch/arm64/boot/dts/freescale/Makefile
@@ -43,6 +43,10 @@ DTC_FLAGS_fsl-ls2080a-simu := -Wno-interrupt_map
 dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls2080a-simu.dtb
 DTC_FLAGS_fsl-ls2088a-qds := -Wno-interrupt_map
 dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls2088a-qds.dtb
+fsl-ls2088a-qds-sfp-retimer-bypass-dtbs := \
+	fsl-ls2088a-qds.dtb \
+	fsl-ls208xa-qds-sd1-2a-sfp+.dtbo
+dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls2088a-qds-sfp-retimer-bypass.dtb
 DTC_FLAGS_fsl-ls2088a-rdb := -Wno-interrupt_map
 dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls2088a-rdb.dtb
 DTC_FLAGS_fsl-lx2160a-bluebox3 := -Wno-interrupt_map
diff --git a/arch/arm64/boot/dts/freescale/fsl-ls208xa-qds-sd1-2a-sfp+.dtso b/arch/arm64/boot/dts/freescale/fsl-ls208xa-qds-sd1-2a-sfp+.dtso
new file mode 100644
index 000000000000..af38190a0bc1
--- /dev/null
+++ b/arch/arm64/boot/dts/freescale/fsl-ls208xa-qds-sd1-2a-sfp+.dtso
@@ -0,0 +1,91 @@
+// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
+/*
+ * Copyright 2026 NXP
+ */
+
+/dts-v1/;
+/plugin/;
+
+&dpmac1 {
+	managed = "in-band-status";
+	phys = <&serdes1_lane_h>;
+	sfp = <&sfp1>;
+};
+
+&pcs_mdio1 {
+	status = "okay";
+};
+
+&dpmac2 {
+	managed = "in-band-status";
+	phys = <&serdes1_lane_g>;
+	sfp = <&sfp2>;
+};
+
+&pcs_mdio2 {
+	status = "okay";
+};
+
+&dpmac3 {
+	managed = "in-band-status";
+	phys = <&serdes1_lane_f>;
+	sfp = <&sfp3>;
+};
+
+&pcs_mdio3 {
+	status = "okay";
+};
+
+&dpmac4 {
+	managed = "in-band-status";
+	phys = <&serdes1_lane_e>;
+	sfp = <&sfp4>;
+};
+
+&pcs_mdio4 {
+	status = "okay";
+};
+
+&dpmac5 {
+	managed = "in-band-status";
+	phys = <&serdes1_lane_d>;
+	sfp = <&sfp5>;
+};
+
+&pcs_mdio5 {
+	status = "okay";
+};
+
+&dpmac6 {
+	managed = "in-band-status";
+	phys = <&serdes1_lane_c>;
+	sfp = <&sfp6>;
+};
+
+&pcs_mdio6 {
+	status = "okay";
+};
+
+&dpmac7 {
+	managed = "in-band-status";
+	phys = <&serdes1_lane_b>;
+	sfp = <&sfp7>;
+};
+
+&pcs_mdio7 {
+	status = "okay";
+};
+
+&dpmac8 {
+	managed = "in-band-status";
+	phys = <&serdes1_lane_a>;
+	sfp = <&sfp8>;
+};
+
+&pcs_mdio8 {
+	status = "okay";
+};
+
+&serdes1 {
+	status = "okay";
+};
-- 
2.25.1




More information about the linux-arm-kernel mailing list