From nobody Thu Sep 24 20:37:28 2026 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E11A1244667; Mon, 21 Sep 2026 00:26:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789950403; cv=none; b=VDiNnyHHwdmBDGYi+sesCZAamvemNh0i/pMPXCftuFKHV9zURygmnncf12viL/CrC0O7jgtccrlrmcJGidiNlTjV6cDk/WoBMX/NBatzrw85kbld7OP7nb7y6T9swkym6fG07rUS5CYjEWcksDJB7vu9dC8W/HghsQfPgFfVwtg= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789950403; c=relaxed/simple; bh=AbdL3O6G/yNWEj72i8vXqvCJ2p6+AboINKG2AHfj4ro=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=eU4TFa5u/JkvB6teAUsc8DzjHaKSMuuzlKlgtOQLUG0v+9WGT0UiBayFuEGaUPxF1PGcBbXu47l+0fkwOLMNEkHtzFRrhp66xGCiWYBf637Oqg5OPaNBE+tM+W6JG5DzMHpGdXqdLYyIZ+qFq+ir963i3M8OGDujgDH+9exDkJ8= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=PIv5Zb17; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="PIv5Zb17" Received: by smtp.kernel.org (Postfix) with ESMTPS id 770A6C2BCF5; Mon, 21 Sep 2026 00:26:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1789950402; bh=AbdL3O6G/yNWEj72i8vXqvCJ2p6+AboINKG2AHfj4ro=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=PIv5Zb17YJBrCk4t8niVa3gseMI3M/zlzBw5WIRdLEbjclIh4v1toO9YYCYI6bPd4 dyJR07tQkFoeTY0BCw46ZGn8Z1sNIxLERvsYkmuio9J6kgXOWVmbjPVP2PxmaDmaDJ 6wZq6XmGeZo0DhDqkCrGhxHaUrKvGKdTIqt5kYvlDDrTvFzWexAg0h/9MV31lAp6Jq H3EjnvtSUwT0M4oojiqK2322PqccnHp267m3rBlwMXCnCOgj5NgXNtX5j1414/Fzjo YWrURS2EqsEhEuAFTd6suf1TiLZRXqtijRX7dFW98MTHUG1M3D5vg/rlrr5EUhpilt KWctWPe2wAxiA== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 63646C982DA; Mon, 21 Sep 2026 00:26:42 +0000 (UTC) From: Nicolo Giuliani via B4 Relay Date: Mon, 21 Sep 2026 02:26:41 +0200 Subject: [PATCH v2 1/3] dt-bindings: vendor-prefixes: Add Sophos Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20260921-send-dt-v2-1-fb6b81002ad7@studio.unibo.it> References: <20260921-send-dt-v2-0-fb6b81002ad7@studio.unibo.it> In-Reply-To: <20260921-send-dt-v2-0-fb6b81002ad7@studio.unibo.it> To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Andrew Lunn , Gregory Clement , Sebastian Hesselbarth Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Nicolo Giuliani , Krzysztof Kozlowski X-Mailer: b4 0.16.0 X-Developer-Signature: v=1; a=ed25519-sha256; t=1789950401; l=922; i=nicolo.giuliani6@studio.unibo.it; s=20260919; h=from:subject:message-id; bh=+G/P8vdSy/WAoSbx8vK45ADrYNnfP7i4AKHiwIu/gD8=; b=rGjJwB+7xpm/+G3PMkWkV50tW3ylod6WFvQFXLjtQUPIreX+BojjBPp4YK+hFDlB8yhYK/0H1 jGrvtJp38dGDez/yYxisIlotNl06XiJD8zJ4Yqi1b54gZONhlZN+qtT X-Developer-Key: i=nicolo.giuliani6@studio.unibo.it; a=ed25519; pk=D652ecdT01GkA1eoFWNFNX85xIg5ZnFwUWyjfestgQw= X-Endpoint-Received: by B4 Relay for nicolo.giuliani6@studio.unibo.it/20260919 with auth_id=1040 X-Original-From: Nicolo Giuliani Reply-To: nicolo.giuliani6@studio.unibo.it From: Nicolo Giuliani Add the "sophos" vendor prefix for Sophos Ltd., a vendor of network security appliances. Acked-by: Krzysztof Kozlowski Assisted-by: LLM Signed-off-by: Nicolo Giuliani --- Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.yaml b/Docum= entation/devicetree/bindings/vendor-prefixes.yaml index ba20029693..3dd9d9b8ab 100644 --- a/Documentation/devicetree/bindings/vendor-prefixes.yaml +++ b/Documentation/devicetree/bindings/vendor-prefixes.yaml @@ -1595,6 +1595,8 @@ patternProperties: description: Sony Corporation "^sophgo,.*": description: Sophgo Technology Inc. + "^sophos,.*": + description: Sophos Ltd. "^sourceparts,.*": description: Source Parts Inc. "^spacemit,.*": --=20 2.48.1 From nobody Thu Sep 24 20:37:28 2026 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E12EA247280; Mon, 21 Sep 2026 00:26:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789950403; cv=none; b=aESP0uSQ6xGzZMLg4NE8koaB9Gnaz5VBqv59dYB9uCSOWeZ79s3v1XC1lAizOPGq05b4pTE18QhEQp9OsBv2y+AQg/DJ+LpjuGSyfr/391NylV0R2QdeioJbLa2XOk0maflMBwFTcppLwLjjCc7iyJYWUceyO/iOEjWCFrXaTbQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789950403; c=relaxed/simple; bh=xE4iQ0PrzGa2C9UPEClrIlu7Uo4/8EFZTS/HoDiSOJU=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=rgH0+liEMVpREqxMrDmS4kSj0SLynNlD5q2lvMVLqxeJwhdFxhOlSyeZvFu0sOAqg79p7ONkQ+EaCS6dDSN420e2i0OPGNZlUCYoCo9a2qcVkj0INRBoQ47MQIegiAJ781qxteqAk9c8EgcNRs5xi87yQ5zVvAP9lla120jXhRM= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=pcL0WDjj; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="pcL0WDjj" Received: by smtp.kernel.org (Postfix) with ESMTPS id 8405BC2BCC7; Mon, 21 Sep 2026 00:26:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1789950402; bh=xE4iQ0PrzGa2C9UPEClrIlu7Uo4/8EFZTS/HoDiSOJU=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=pcL0WDjjlOTmxNTeTMmYeqior8sRZ8hh/cp7PPmru5W4RgaygzG/Lo3YngNmzWe+B /4kCoTRskG2Wdc1TALZ7tTKhKwJidCnyx+4jyOW3cDg/6Wh2v2pCNntaHAlF4RAKRU 5OCfkMu0EWRGEl13OG7FZpBAV8P9DOqW+OeNyDiL9Ic6eH8yiZTvLfiRuXvFI4V1dQ or/szAhbfpxqBBHRmUEO3jSbEpILrqENxjiwzNxsv3cEuLyMBa46LF1frFWRP8mLfH iyMvwbdC7m6IQ+Iazf7dPRrUQdYl/ADHVKRkzCz4NvXLqiLWlX7SYaBnQSnk5N1NjI I0IVCIm3iiNYw== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 72D0FC982D8; Mon, 21 Sep 2026 00:26:42 +0000 (UTC) From: Nicolo Giuliani via B4 Relay Date: Mon, 21 Sep 2026 02:26:42 +0200 Subject: [PATCH v2 2/3] dt-bindings: arm: marvell: Add Sophos XGS 107w NPU Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20260921-send-dt-v2-2-fb6b81002ad7@studio.unibo.it> References: <20260921-send-dt-v2-0-fb6b81002ad7@studio.unibo.it> In-Reply-To: <20260921-send-dt-v2-0-fb6b81002ad7@studio.unibo.it> To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Andrew Lunn , Gregory Clement , Sebastian Hesselbarth Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Nicolo Giuliani X-Mailer: b4 0.16.0 X-Developer-Signature: v=1; a=ed25519-sha256; t=1789950401; l=1394; i=nicolo.giuliani6@studio.unibo.it; s=20260919; h=from:subject:message-id; bh=lyDMMre6EWQH7CiEprIS9UxuPjln7GFy4OUwneOalSI=; b=XH+pUXfYOL6RW3KhZLUS9vw02g1QOZ+Wz32F90LYLT2qMP4KyByADqVmYEIGFa+Qe97WHG1ga XawU60uusXPAG7FuzKQHL2L5NiNGzRHI9893tueFqx6qbKkK7RiRPSd X-Developer-Key: i=nicolo.giuliani6@studio.unibo.it; a=ed25519; pk=D652ecdT01GkA1eoFWNFNX85xIg5ZnFwUWyjfestgQw= X-Endpoint-Received: by B4 Relay for nicolo.giuliani6@studio.unibo.it/20260919 with auth_id=1040 X-Original-From: Nicolo Giuliani Reply-To: nicolo.giuliani6@studio.unibo.it From: 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 Signed-off-by: Nicolo Giuliani Acked-by: Krzysztof Kozlowski --- Documentation/devicetree/bindings/arm/marvell/armada-7k-8k.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/marvell/armada-7k-8k.yam= l b/Documentation/devicetree/bindings/arm/marvell/armada-7k-8k.yaml index 7e77310da6..130128c462 100644 --- a/Documentation/devicetree/bindings/arm/marvell/armada-7k-8k.yaml +++ b/Documentation/devicetree/bindings/arm/marvell/armada-7k-8k.yaml @@ -118,6 +118,13 @@ properties: - const: marvell,armada-ap807-quad - const: marvell,armada-ap807 =20 + - 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: --=20 2.48.1 From nobody Thu Sep 24 20:37:28 2026 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E1236246783; Mon, 21 Sep 2026 00:26:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789950403; cv=none; b=ptXLls9JYph500a80ihuemFcLCDDcyy1xkzmYCks1UaDxLXRd5qf6Nmnr13nG0w0ILwRjyH2b6zJP+YnRqwIMCUn3scrlHttb6Gkq2R/CboY82aaLLd7D4TDNKebUY03BRzrVje3avvUFePMcfiBT8dmDckyo+LiOFmB6UPf+xM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789950403; c=relaxed/simple; bh=XcuXphc1NoAzr+3izm2WNxf/h73O4syl9fen+5x9GFE=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=Ly7ZQXcriGxW/vZ2jmcHFIkWWuKg4r2ZDc6h0Nnuvg4AlxA8G/hBEZEFIzQ9smfnZvQvlwGruH+8oo9+/GG0kfmCCqQJoGRliQ+RRHzrInimMjXBgk6Hqw5tkXGgJWzXP64GdYthKkpEpcJlog+b0J8cNEFVghhaweSOUpFsVYI= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=KOVbqPvq; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="KOVbqPvq" Received: by smtp.kernel.org (Postfix) with ESMTPS id 940D9C2BCFB; Mon, 21 Sep 2026 00:26:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1789950402; bh=XcuXphc1NoAzr+3izm2WNxf/h73O4syl9fen+5x9GFE=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=KOVbqPvq1vBXyqbdqs7PpMq3ThwcQmdWEHSE9qT9JCf56vNzh5yEdjEc7LfkRAgWF 42wc63sz0Z+ST45zGZFrC8F5cmrLG43LQDzn4oOJycnHz69ocswtX7eAQrL2zOhcCy qQIDeDbnQX6JVSho6Qlrlitqtvhdbcwy9c/ig4slRzWlfK/F3QVSnOQiZ5lsi2XWVJ Wny75Z8fE6VAAtw28nuXBSGPUtWH/i+8DqT1Xfj40dxYozXx8hopZbiZG3f3EPiN5p X6v1DD7BfCVxGSS1jP9YssKxe43O33ZNO2CmoonxgVd1U3y3mDhSfgi/MoYq6gc37u j2EMGdy32Pqlg== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 81FC6C982EE; Mon, 21 Sep 2026 00:26:42 +0000 (UTC) From: Nicolo Giuliani via B4 Relay Date: Mon, 21 Sep 2026 02:26:43 +0200 Subject: [PATCH v2 3/3] arm64: dts: marvell: Add Sophos XGS 107w NPU board Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20260921-send-dt-v2-3-fb6b81002ad7@studio.unibo.it> References: <20260921-send-dt-v2-0-fb6b81002ad7@studio.unibo.it> In-Reply-To: <20260921-send-dt-v2-0-fb6b81002ad7@studio.unibo.it> To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Andrew Lunn , Gregory Clement , Sebastian Hesselbarth Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Nicolo Giuliani X-Mailer: b4 0.16.0 X-Developer-Signature: v=1; a=ed25519-sha256; t=1789950401; l=5800; i=nicolo.giuliani6@studio.unibo.it; s=20260919; h=from:subject:message-id; bh=8wZTzfWWfxJCcfQhfgPWj+G5wLPzig9U9sVX6n8unng=; b=jikZ4TlVOrU/oqutu3YHm0CZ1r9460ZPVE66bWr3bSskobA8LRZJN4NPV3CRfRtuucJkd4C9n DnWWhORYFGnD4dYHCg+OdFNdfU9wu74yPg24S2fYvRkVgu7ruj/HC/b X-Developer-Key: i=nicolo.giuliani6@studio.unibo.it; a=ed25519; pk=D652ecdT01GkA1eoFWNFNX85xIg5ZnFwUWyjfestgQw= X-Endpoint-Received: by B4 Relay for nicolo.giuliani6@studio.unibo.it/20260919 with auth_id=1040 X-Original-From: Nicolo Giuliani Reply-To: nicolo.giuliani6@studio.unibo.it From: 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 Signed-off-by: Nicolo Giuliani Reviewed-by: Andrew Lunn --- arch/arm64/boot/dts/marvell/Makefile | 1 + .../boot/dts/marvell/cn9130-sophos-xgs107w.dts | 188 +++++++++++++++++= ++++ 2 files changed, 189 insertions(+) diff --git a/arch/arm64/boot/dts/marvell/Makefile b/arch/arm64/boot/dts/mar= vell/Makefile index 09d1544041..3e301c8265 100644 --- a/arch/arm64/boot/dts/marvell/Makefile +++ b/arch/arm64/boot/dts/marvell/Makefile @@ -32,6 +32,7 @@ dtb-$(CONFIG_ARCH_MVEBU) +=3D ac5x-rd-carrier-cn9131.dtb dtb-$(CONFIG_ARCH_MVEBU) +=3D ac5-98dx35xx-rd.dtb dtb-$(CONFIG_ARCH_MVEBU) +=3D cn9130-cf-base.dtb dtb-$(CONFIG_ARCH_MVEBU) +=3D cn9130-cf-pro.dtb +dtb-$(CONFIG_ARCH_MVEBU) +=3D cn9130-sophos-xgs107w.dtb dtb-$(CONFIG_ARCH_MVEBU) +=3D cn9131-cf-solidwan.dtb dtb-$(CONFIG_ARCH_MVEBU) +=3D cn9132-clearfog.dtb =20 diff --git a/arch/arm64/boot/dts/marvell/cn9130-sophos-xgs107w.dts b/arch/a= rm64/boot/dts/marvell/cn9130-sophos-xgs107w.dts new file mode 100644 index 0000000000..da6a1da1cc --- /dev/null +++ b/arch/arm64/boot/dts/marvell/cn9130-sophos-xgs107w.dts @@ -0,0 +1,188 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Device tree for the network processing unit (NPU) of the Sophos XGS 87/= 107 + * firewalls: a Marvell CN9130 SoC with a Marvell 88E6193X switch. + * + * The x86 host on the same board is not described here. + */ + +/dts-v1/; + +#include "cn9130.dtsi" +#include + +/ { + model =3D "Sophos XGS 107w (CN9130 NPU)"; + compatible =3D "sophos,xgs107w-npu", "marvell,cn9130"; + + chosen { + stdout-path =3D "serial0:115200n8"; + }; + + aliases { + ethernet0 =3D &cp0_eth0; + i2c1 =3D &cp0_i2c1; + }; + + memory@0 { + device_type =3D "memory"; + reg =3D <0x0 0x0 0x0 0x80000000>; + }; + + reserved-memory { + /* OP-TEE, reserved by the firmware */ + tee@4400000 { + reg =3D <0x0 0x4400000 0x0 0x1000000>; + no-map; + }; + }; + + /* Front-panel SFP cage "F1", wired to switch port 9 */ + sfp: sfp { + compatible =3D "sff,sfp"; + i2c-bus =3D <&cp0_i2c1>; + los-gpios =3D <&cp0_gpio1 1 GPIO_ACTIVE_HIGH>; + tx-fault-gpios =3D <&cp0_gpio1 2 GPIO_ACTIVE_HIGH>; + mod-def0-gpios =3D <&cp0_gpio1 3 GPIO_ACTIVE_LOW>; + tx-disable-gpios =3D <&cp0_gpio1 7 GPIO_ACTIVE_HIGH>; + }; +}; + +&uart0 { + status =3D "okay"; +}; + +/* eMMC on the AP */ +&ap_sdhci0 { + bus-width =3D <8>; + non-removable; + mmc-ddr-1_8v; + status =3D "okay"; +}; + +/* + * The MPP pin muxing is left as configured by the boot loader; the pin + * controller node only exists to back the GPIO banks. + */ +&cp0_syscon0 { + cp0_pinctrl: pinctrl { + compatible =3D "marvell,cp115-standalone-pinctrl"; + }; +}; + +&cp0_i2c1 { + /* I2C bus of the SFP cage */ + clock-frequency =3D <100000>; + status =3D "okay"; +}; + +/* 4 MB SPI NOR with U-Boot and its environment, read-only on purpose */ +&cp0_spi0 { + status =3D "okay"; + + flash@0 { + compatible =3D "jedec,spi-nor"; + reg =3D <0>; + spi-max-frequency =3D <40000000>; + + partitions { + compatible =3D "fixed-partitions"; + #address-cells =3D <1>; + #size-cells =3D <1>; + + partition@0 { + label =3D "u-boot"; + reg =3D <0x0 0x3f0000>; + read-only; + }; + + partition@3f0000 { + label =3D "u-boot-env"; + reg =3D <0x3f0000 0x10000>; + read-only; + }; + }; + }; +}; + +&cp0_ethernet { + status =3D "okay"; +}; + +/* 10G link to switch port 0 */ +&cp0_eth0 { + phy-mode =3D "10gbase-r"; + phys =3D <&cp0_comphy4 0>; + managed =3D "in-band-status"; + status =3D "okay"; +}; + +&cp0_mdio { + status =3D "okay"; + + switch@2 { + compatible =3D "marvell,mv88e6190"; + reg =3D <2>; + reset-gpios =3D <&cp0_gpio2 17 GPIO_ACTIVE_LOW>; + + ports { + #address-cells =3D <1>; + #size-cells =3D <0>; + + port@0 { + reg =3D <0>; + ethernet =3D <&cp0_eth0>; + phy-mode =3D "10gbase-r"; + managed =3D "in-band-status"; + }; + + port@1 { + reg =3D <1>; + label =3D "p1"; + }; + + port@2 { + reg =3D <2>; + label =3D "p2"; + }; + + port@3 { + reg =3D <3>; + label =3D "p3"; + }; + + port@4 { + reg =3D <4>; + label =3D "p4"; + }; + + port@5 { + reg =3D <5>; + label =3D "p5"; + }; + + port@6 { + reg =3D <6>; + label =3D "p6"; + }; + + port@7 { + reg =3D <7>; + label =3D "p7"; + }; + + port@8 { + reg =3D <8>; + label =3D "p8"; + }; + + port@9 { + reg =3D <9>; + label =3D "sfp"; + phy-mode =3D "1000base-x"; + managed =3D "in-band-status"; + sfp =3D <&sfp>; + }; + }; + }; +}; --=20 2.48.1