Skip to contentSkip to conversation

arm64: dts: marvell: Add Sophos XGS 107w NPU

PATCH In review Nicolo Giuliani 5 participants 10 messages Sep 21 – Sep 30

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

v2 cover arm64: dts: marvell: Add Sophos XGS 107w NPU

The Sophos XGS 87/107 desktop firewalls pair an AMD x86 host with a separate network processing unit (NPU): a Marvell Armada CN9130 SoC with its own eMMC and SPI NOR flash. The NPU serves the eight RJ45 ports and the SFP cage through a Marvell 88E6193X switch on its MDIO bus, which is connected to the SoC by a 10GBASE-R link, and reaches the x86 host over PCIe.

This series adds the Sophos vendor prefix, the compatible string of the NPU board and a device tree that describes the NPU as a standalone system:
UART console, eMMC, SPI NOR flash, the SFP cage and the switch with its ports. The port LEDs, the USB ports and the PCIe link to the x86 host (the CN9130 acts as a PCIe endpoint towards it, which needs endpoint support that is not part of this series) are not described.

Tested on an XGS 107w with Linux 6.18: boot from eMMC, eMMC and SPI NOR access, the mvpp2 link to the switch at 10 Gb/s, the 88E6193X probing with its eight user ports, and 936 Mbit/s through a front port. The SFP cage is untested.

dt_binding_check passes for vendor-prefixes.yaml and armada-7k-8k.yaml, and CHECK_DTBS=y on marvell/cn9130-sophos-xgs107w.dtb reports no warning specific to this board.

Based on the mvebu/dt branch of the mvebu tree (008e9faade).

---
Changes in v2:
- Patch 1: drop the second sentence of the commit message, add Acked-by
- Patch 2: move the entry before the SolidRun ones and list only marvell,cn9130 after the board compatible, as the other CN9130 boards do
- Patch 3: use the compatible list of patch 2; pass the switch reset as reset-gpios and drop the boot loader workaround; remove the LED
expander node and the SFP address comment
- Link to v1: https://patch.msgid.link/[email protected]

---
Nicolo Giuliani (3):
dt-bindings: vendor-prefixes: Add Sophos
dt-bindings: arm: marvell: Add Sophos XGS 107w NPU
arm64: dts: marvell: Add Sophos XGS 107w NPU board

 .../bindings/arm/marvell/armada-7k-8k.yaml         |   7 +
 .../devicetree/bindings/vendor-prefixes.yaml       |   2 +
 arch/arm64/boot/dts/marvell/Makefile               |   1 +
 .../boot/dts/marvell/cn9130-sophos-xgs107w.dts     | 188 +++++++++++++++++++++
 4 files changed, 198 insertions(+)

---
base-commit: 008e9faadef8c0aaa9b8a3ff05a2126e3c5b08b7
change-id: 20260919-send-dt-6bbd08a470d2

Best regards,

Signature · 1 line
Nicolo Giuliani <[email protected]>
#1 lore raw

PATCH v2 1/3 dt-bindings: vendor-prefixes: Add Sophos

Add the "sophos" vendor prefix for Sophos Ltd., a vendor of network security appliances.

---
 Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++
 1 file changed, 2 insertions(+)
Documentation/devicetree/bindings/vendor-prefixes.yaml +2 -0
index ba20029693..3dd9d9b8ab 100644
@@ -1595,6 +1595,8 @@ patternProperties:
     description: Sony Corporation
   "^sophgo,.*":
     description: Sophgo Technology Inc.
+  "^sophos,.*":
+    description: Sophos Ltd.
   "^sourceparts,.*":
     description: Source Parts Inc.
   "^spacemit,.*":
Signature · 1 line
2.48.1
#2 lore raw

PATCH v2 2/3 dt-bindings: arm: marvell: Add Sophos XGS 107w NPU

In reply to Nicolo Giuliani

The Sophos XGS 87/107 desktop firewalls combine an AMD x86 host with a separate network processing unit (NPU). The NPU is a Marvell Armada CN9130 SoC with its own eMMC and SPI NOR flash, connected to the x86 host over PCIe. It serves the front panel ports through a Marvell 88E6193X switch.

Document the compatible string of the NPU board, with the CN9130 SoC compatibles as fallbacks.

Assisted-by LLM
---
 Documentation/devicetree/bindings/arm/marvell/armada-7k-8k.yaml | 7 +++++++
 1 file changed, 7 insertions(+)
Documentation/devicetree/bindings/arm/marvell/armada-7k-8k.yaml +7 -0
index 7e77310da6..130128c462 100644
@@ -118,6 +118,13 @@ properties:
           - const: marvell,armada-ap807-quad
           - const: marvell,armada-ap807
 
+      - description:
+          Sophos XGS 87/107 network processing unit (Armada CN9130 SoC
+          with an 88E6193X switch)
+        items:
+          - const: sophos,xgs107w-npu
+          - const: marvell,cn9130
+
       - description:
           SolidRun CN9130 SoM based single-board computers
         items:
Signature · 1 line
2.48.1
#3 lore raw

Re: [PATCH v2 2/3] dt-bindings: arm: marvell: Add Sophos XGS 107w NPU

Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider: - [Low] dt-bindings: incomplete compatible fallback chain for sophos,xgs107w-npu --

Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Low] dt-bindings: incomplete compatible fallback chain for sophos,xgs107w-npu --

commit b3e0e1fbccb36ab57b4650e23b8463d430afac8e
Author: Nicolo Giuliani <[email protected]>

dt-bindings: arm: marvell: Add Sophos XGS 107w NPU

The Sophos XGS 87/107 desktop firewalls combine an AMD x86 host with a separate network processing unit (NPU) using a Marvell Armada CN9130 SoC. This commit documents the compatible string of the NPU board.

Quoted 5 lines
Documentation/devicetree/bindings/arm/marvell/armada-7k-8k.yaml +0 -0
index 7e77310da626f..130128c46219e 100644

Documentation/devicetree/bindings/arm/marvell/armada-7k-8k.yaml properties: · line 126

Quoted 9 lines
Documentation/devicetree/bindings/arm/marvell/armada-7k-8k.yaml +6 -0
@@ -118,6 +118,13 @@ properties:
           - const: marvell,armada-ap807-quad
           - const: marvell,armada-ap807
 
+      - description:
+          Sophos XGS 87/107 network processing unit (Armada CN9130 SoC
+          with an 88E6193X switch)
+        items:
+          - const: sophos,xgs107w-npu
+          - const: marvell,cn9130

[Severity: Low]
Does this compatible list force an incomplete fallback chain?

The items array strictly limits the compatible property to exactly two strings.

The canonical definition of the CN9130 SoC includes a three-string fallback chain (marvell,cn9130, marvell,armada-ap807-quad, marvell,armada-ap807).

Limiting the list to two items here forces device tree authors to artificially truncate the fallback chain to pass validation. Running dt_binding_check or dtbs_check on a device tree that correctly preserves the full sequence will fail with a "too many items" schema error.

Signature · 1 line
Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=2
Acked-by on v2 2/3
#4 lore raw

Re: [PATCH v2 2/3] dt-bindings: arm: marvell: Add Sophos XGS 107w NPU

In reply to Nicolo Giuliani
Quoted 5 lines · Nicolo Giuliani

The Sophos XGS 87/107 desktop firewalls combine an AMD x86 host with a separate network processing unit (NPU). The NPU is a Marvell Armada CN9130 SoC with its own eMMC and SPI NOR flash, connected to the x86 host over PCIe. It serves the front panel ports through a Marvell 88E6193X switch.

Quoted 9 lines

Document the compatible string of the NPU board, with the CN9130 SoC compatibles as fallbacks.

Assisted-by LLM
---
 Documentation/devicetree/bindings/arm/marvell/armada-7k-8k.yaml | 7 +++++++
1 file changed, 7 insertions(+)

I don't know which fallbacks are right, why cn9130 sometimes has, sometimes does not, I guess Marvell maintainers will sort it out:

Best regards,
Krzysztof

#5 lore raw

PATCH v2 3/3 arm64: dts: marvell: Add Sophos XGS 107w NPU board

In reply to Nicolo Giuliani

Add a device tree for the network processing unit (NPU) of the Sophos XGS 87/107 desktop firewalls. The appliance pairs an AMD x86 host with the NPU, a Marvell Armada CN9130 SoC with its own eMMC and SPI NOR flash that runs independently of the host and serves the front panel ports.

The eight RJ45 ports and the SFP cage are connected through a Marvell 88E6193X switch on the MDIO bus of the SoC, at address 2. Switch port 0 is the CPU port, a 10GBASE-R link to the first mvpp2 port. Ports 1 to 8 are the RJ45 ports, which use the internal PHYs of the switch, and port 9 is the SFP cage, connected over 1000BASE-X.

Describe the UART console, the eMMC, the SPI NOR flash that holds the boot loader and its environment (read-only), the SFP cage and the switch with its ports. The port LEDs, the PCIe link to the x86 host and the USB ports are not described.

The switch is reset through CP GPIO2 pin 17.

Tested on an XGS 107w with Linux 6.18: boot from eMMC, eMMC and SPI NOR access, the mvpp2 link to the switch at 10 Gb/s, the 88E6193X probing with its eight user ports, and 936 Mbit/s through a front port. The SFP cage is untested.

Assisted-by LLM
---
 arch/arm64/boot/dts/marvell/Makefile               |   1 +
 .../boot/dts/marvell/cn9130-sophos-xgs107w.dts     | 188 +++++++++++++++++++++
 2 files changed, 189 insertions(+)
arch/arm64/boot/dts/marvell/Makefile +1 -0
index 09d1544041..3e301c8265 100644
@@ -32,6 +32,7 @@ dtb-$(CONFIG_ARCH_MVEBU) += ac5x-rd-carrier-cn9131.dtb
 dtb-$(CONFIG_ARCH_MVEBU) += ac5-98dx35xx-rd.dtb
 dtb-$(CONFIG_ARCH_MVEBU) += cn9130-cf-base.dtb
 dtb-$(CONFIG_ARCH_MVEBU) += cn9130-cf-pro.dtb
+dtb-$(CONFIG_ARCH_MVEBU) += cn9130-sophos-xgs107w.dtb
 dtb-$(CONFIG_ARCH_MVEBU) += cn9131-cf-solidwan.dtb
 dtb-$(CONFIG_ARCH_MVEBU) += cn9132-clearfog.dtb
 
arch/arm64/boot/dts/marvell/cn9130-sophos-xgs107w.dts new file +188 -0

188 lines not on this page · raw message

Signature · 1 line
2.48.1
maintainer Reviewed-by on v2 3/3
#6 lore raw

Re: [PATCH v2 3/3] arm64: dts: marvell: Add Sophos XGS 107w NPU board

Quoted 20 lines · On Mon, Sep 21, 2026 at 02:26:43AM +0200, Nicolo Giuliani via B4 Relay wrote:

From: Nicolo Giuliani <[email protected]>

Add a device tree for the network processing unit (NPU) of the Sophos XGS 87/107 desktop firewalls. The appliance pairs an AMD x86 host with the NPU, a Marvell Armada CN9130 SoC with its own eMMC and SPI NOR flash that runs independently of the host and serves the front panel ports.

The eight RJ45 ports and the SFP cage are connected through a Marvell 88E6193X switch on the MDIO bus of the SoC, at address 2. Switch port 0 is the CPU port, a 10GBASE-R link to the first mvpp2 port. Ports 1 to 8 are the RJ45 ports, which use the internal PHYs of the switch, and port 9 is the SFP cage, connected over 1000BASE-X.

Describe the UART console, the eMMC, the SPI NOR flash that holds the boot loader and its environment (read-only), the SFP cage and the switch with its ports. The port LEDs, the PCIe link to the x86 host and the USB ports are not described.

The switch is reset through CP GPIO2 pin 17.

Quoted 7 lines

Tested on an XGS 107w with Linux 6.18: boot from eMMC, eMMC and SPI NOR access, the mvpp2 link to the switch at 10 Gb/s, the 88E6193X probing with its eight user ports, and 936 Mbit/s through a front port. The SFP cage is untested.

Assisted-by LLM

Andrew

#7 lore raw

R: [PATCH v2 0/3] arm64: dts: marvell: Add Sophos XGS 107w NPU

In reply to Nicolo Giuliani

Hi Gregory, Andrew, Sebastian,

This series has Acked-by from Krzysztof on 1/3 and 2/3, and Reviewed-by from Andrew on 3/3. Is there anything else needed before it can be applied, or should I wait for the next merge window?

Thanks,
Nicolo Giuliani

________________________________________
Da: Nicolo Giuliani via B4 Relay <[email protected]>
Inviato: lunedì 21 settembre 2026 02:26
A: Rob Herring; Krzysztof Kozlowski; Conor Dooley; Andrew Lunn; Gregory Clement; Sebastian Hesselbarth
Cc: [email protected]; [email protected]; [email protected]; Nicolò Giuliani - [email protected]; Krzysztof Kozlowski
Oggetto: [PATCH v2 0/3] arm64: dts: marvell: Add Sophos XGS 107w NPU

The Sophos XGS 87/107 desktop firewalls pair an AMD x86 host with a separate network processing unit (NPU): a Marvell Armada CN9130 SoC with its own eMMC and SPI NOR flash. The NPU serves the eight RJ45 ports and the SFP cage through a Marvell 88E6193X switch on its MDIO bus, which is connected to the SoC by a 10GBASE-R link, and reaches the x86 host over PCIe.

This series adds the Sophos vendor prefix, the compatible string of the NPU board and a device tree that describes the NPU as a standalone system:
UART console, eMMC, SPI NOR flash, the SFP cage and the switch with its ports. The port LEDs, the USB ports and the PCIe link to the x86 host (the CN9130 acts as a PCIe endpoint towards it, which needs endpoint support that is not part of this series) are not described.

Tested on an XGS 107w with Linux 6.18: boot from eMMC, eMMC and SPI NOR access, the mvpp2 link to the switch at 10 Gb/s, the 88E6193X probing with its eight user ports, and 936 Mbit/s through a front port. The SFP cage is untested.

dt_binding_check passes for vendor-prefixes.yaml and armada-7k-8k.yaml, and CHECK_DTBS=y on marvell/cn9130-sophos-xgs107w.dtb reports no warning specific to this board.

Based on the mvebu/dt branch of the mvebu tree (008e9faade).

---
Changes in v2:
- Patch 1: drop the second sentence of the commit message, add Acked-by
- Patch 2: move the entry before the SolidRun ones and list only marvell,cn9130 after the board compatible, as the other CN9130 boards do
- Patch 3: use the compatible list of patch 2; pass the switch reset as reset-gpios and drop the boot loader workaround; remove the LED
expander node and the SFP address comment
- Link to v1: https://patch.msgid.link/[email protected]

---
Nicolo Giuliani (3):
dt-bindings: vendor-prefixes: Add Sophos
dt-bindings: arm: marvell: Add Sophos XGS 107w NPU
arm64: dts: marvell: Add Sophos XGS 107w NPU board

 .../bindings/arm/marvell/armada-7k-8k.yaml         |   7 +
 .../devicetree/bindings/vendor-prefixes.yaml       |   2 +
 arch/arm64/boot/dts/marvell/Makefile               |   1 +
 .../boot/dts/marvell/cn9130-sophos-xgs107w.dts     | 188 +++++++++++++++++++++
 4 files changed, 198 insertions(+)

---
base-commit: 008e9faadef8c0aaa9b8a3ff05a2126e3c5b08b7
change-id: 20260919-send-dt-6bbd08a470d2

Best regards,
--
Nicolo Giuliani <[email protected]>

maintainer
#8 lore raw

Re: R: [PATCH v2 0/3] arm64: dts: marvell: Add Sophos XGS 107w NPU

Quoted 2 lines · On Wednesday, September 30, 2026 10:35 CEST, Nicolò Giuliani…

Hi Gregory, Andrew, Sebastian,

Hello Nicolo,

Quoted 1 line

This series has Acked-by from Krzysztof on 1/3 and 2/3, and Reviewed-by from Andrew on 3/3. Is there anything else needed before it can be applied, or should I wait for the next merge window?

I am working on the backlog today, either I will apply it or I will let know if something is missing.

Gregory

Quoted 67 lines

Thanks,
Nicolo Giuliani

________________________________________
Da: Nicolo Giuliani via B4 Relay <[email protected]>
Inviato: lunedì 21 settembre 2026 02:26
A: Rob Herring; Krzysztof Kozlowski; Conor Dooley; Andrew Lunn; Gregory Clement; Sebastian Hesselbarth
Cc: [email protected]; [email protected]; [email protected]; Nicolò Giuliani - [email protected]; Krzysztof Kozlowski
Oggetto: [PATCH v2 0/3] arm64: dts: marvell: Add Sophos XGS 107w NPU

The Sophos XGS 87/107 desktop firewalls pair an AMD x86 host with a separate network processing unit (NPU): a Marvell Armada CN9130 SoC with its own eMMC and SPI NOR flash. The NPU serves the eight RJ45 ports and the SFP cage through a Marvell 88E6193X switch on its MDIO bus, which is connected to the SoC by a 10GBASE-R link, and reaches the x86 host over PCIe.

This series adds the Sophos vendor prefix, the compatible string of the NPU board and a device tree that describes the NPU as a standalone system:
UART console, eMMC, SPI NOR flash, the SFP cage and the switch with its ports. The port LEDs, the USB ports and the PCIe link to the x86 host (the CN9130 acts as a PCIe endpoint towards it, which needs endpoint support that is not part of this series) are not described.

Tested on an XGS 107w with Linux 6.18: boot from eMMC, eMMC and SPI NOR access, the mvpp2 link to the switch at 10 Gb/s, the 88E6193X probing with its eight user ports, and 936 Mbit/s through a front port. The SFP cage is untested.

dt_binding_check passes for vendor-prefixes.yaml and armada-7k-8k.yaml, and CHECK_DTBS=y on marvell/cn9130-sophos-xgs107w.dtb reports no warning specific to this board.

Based on the mvebu/dt branch of the mvebu tree (008e9faade).

---
Changes in v2:
- Patch 1: drop the second sentence of the commit message, add Acked-by
- Patch 2: move the entry before the SolidRun ones and list only marvell,cn9130 after the board compatible, as the other CN9130 boards do
- Patch 3: use the compatible list of patch 2; pass the switch reset as reset-gpios and drop the boot loader workaround; remove the LED
expander node and the SFP address comment
- Link to v1: https://patch.msgid.link/[email protected]

---
Nicolo Giuliani (3):
dt-bindings: vendor-prefixes: Add Sophos
dt-bindings: arm: marvell: Add Sophos XGS 107w NPU
arm64: dts: marvell: Add Sophos XGS 107w NPU board

 .../bindings/arm/marvell/armada-7k-8k.yaml         |   7 +
 .../devicetree/bindings/vendor-prefixes.yaml       |   2 +
 arch/arm64/boot/dts/marvell/Makefile               |   1 +
 .../boot/dts/marvell/cn9130-sophos-xgs107w.dts     | 188 +++++++++++++++++++++
 4 files changed, 198 insertions(+)

---
base-commit: 008e9faadef8c0aaa9b8a3ff05a2126e3c5b08b7
change-id: 20260919-send-dt-6bbd08a470d2

Best regards,
--
Nicolo Giuliani <[email protected]>

maintainer
#9 lore raw
In reply to Nicolo Giuliani

Nicolo Giuliani via B4 Relay

Quoted 19 lines · <[email protected]> writes:

The Sophos XGS 87/107 desktop firewalls pair an AMD x86 host with a separate network processing unit (NPU): a Marvell Armada CN9130 SoC with its own eMMC and SPI NOR flash. The NPU serves the eight RJ45 ports and the SFP cage through a Marvell 88E6193X switch on its MDIO bus, which is connected to the SoC by a 10GBASE-R link, and reaches the x86 host over PCIe.

This series adds the Sophos vendor prefix, the compatible string of the NPU board and a device tree that describes the NPU as a standalone system:
UART console, eMMC, SPI NOR flash, the SFP cage and the switch with its ports. The port LEDs, the USB ports and the PCIe link to the x86 host (the CN9130 acts as a PCIe endpoint towards it, which needs endpoint support that is not part of this series) are not described.

Tested on an XGS 107w with Linux 6.18: boot from eMMC, eMMC and SPI NOR access, the mvpp2 link to the switch at 10 Gb/s, the 88E6193X probing with its eight user ports, and 936 Mbit/s through a front port. The SFP cage is untested.

Quoted 7 lines

dt_binding_check passes for vendor-prefixes.yaml and armada-7k-8k.yaml, and CHECK_DTBS=y on marvell/cn9130-sophos-xgs107w.dtb reports no warning specific to this board.

Based on the mvebu/dt branch of the mvebu tree (008e9faade).

Applied on mvebu/dt64

Thanks,

Gregory

Quoted 30 lines

---
Changes in v2:
- Patch 1: drop the second sentence of the commit message, add Acked-by
- Patch 2: move the entry before the SolidRun ones and list only marvell,cn9130 after the board compatible, as the other CN9130 boards do
- Patch 3: use the compatible list of patch 2; pass the switch reset as reset-gpios and drop the boot loader workaround; remove the LED
expander node and the SFP address comment
- Link to v1: https://patch.msgid.link/[email protected]

---
Nicolo Giuliani (3):
dt-bindings: vendor-prefixes: Add Sophos
dt-bindings: arm: marvell: Add Sophos XGS 107w NPU
arm64: dts: marvell: Add Sophos XGS 107w NPU board

 .../bindings/arm/marvell/armada-7k-8k.yaml         |   7 +
 .../devicetree/bindings/vendor-prefixes.yaml       |   2 +
 arch/arm64/boot/dts/marvell/Makefile               |   1 +
 .../boot/dts/marvell/cn9130-sophos-xgs107w.dts     | 188 +++++++++++++++++++++
 4 files changed, 198 insertions(+)

---
base-commit: 008e9faadef8c0aaa9b8a3ff05a2126e3c5b08b7
change-id: 20260919-send-dt-6bbd08a470d2

Best regards,

Signature · 1 line
Nicolo Giuliani <[email protected]>
Signature · 3 lines
Grégory CLEMENT, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com