[PATCH v2 05/19] dt-bindings: arm: microchip: move SparX-5 to generic Microchip binding
From: Robert Marko <robert.marko@sartura.hr>
Date: 2025-12-15 16:38:41
Also in:
dmaengine, linux-clk, linux-crypto, linux-devicetree, linux-gpio, linux-hwmon, linux-i2c, linux-serial, linux-spi, linux-usb, lkml
Subsystem:
open firmware and flattened device tree bindings, the rest · Maintainers:
Rob Herring, Krzysztof Kozlowski, Conor Dooley, Linus Torvalds
Now that we have a generic Microchip binding, lets move SparX-5 as well as there is no reason to have specific binding file for each SoC series. The check for AXI node was dropped. Signed-off-by: Robert Marko <robert.marko@sartura.hr> --- .../bindings/arm/microchip,sparx5.yaml | 67 ------------------- .../devicetree/bindings/arm/microchip.yaml | 22 ++++++ 2 files changed, 22 insertions(+), 67 deletions(-) delete mode 100644 Documentation/devicetree/bindings/arm/microchip,sparx5.yaml
diff --git a/Documentation/devicetree/bindings/arm/microchip,sparx5.yaml b/Documentation/devicetree/bindings/arm/microchip,sparx5.yaml
deleted file mode 100644
index 9a0d54e9799c..000000000000
--- a/Documentation/devicetree/bindings/arm/microchip,sparx5.yaml
+++ /dev/null@@ -1,67 +0,0 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/arm/microchip,sparx5.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Microchip Sparx5 Boards - -maintainers: - - Lars Povlsen <lars.povlsen@microchip.com> - -description: |+ - The Microchip Sparx5 SoC is a ARMv8-based used in a family of - gigabit TSN-capable gigabit switches. - - The SparX-5 Ethernet switch family provides a rich set of switching - features such as advanced TCAM-based VLAN and QoS processing - enabling delivery of differentiated services, and security through - TCAM-based frame processing using versatile content aware processor - (VCAP) - -properties: - $nodename: - const: '/' - compatible: - oneOf: - - description: The Sparx5 pcb125 board is a modular board, - which has both spi-nor and eMMC storage. The modular design - allows for connection of different network ports. - items: - - const: microchip,sparx5-pcb125 - - const: microchip,sparx5 - - - description: The Sparx5 pcb134 is a pizzabox form factor - gigabit switch with 20 SFP ports. It features spi-nor and - either spi-nand or eMMC storage (mount option). - items: - - const: microchip,sparx5-pcb134 - - const: microchip,sparx5 - - - description: The Sparx5 pcb135 is a pizzabox form factor - gigabit switch with 48+4 Cu ports. It features spi-nor and - either spi-nand or eMMC storage (mount option). - items: - - const: microchip,sparx5-pcb135 - - const: microchip,sparx5 - - axi@600000000: - type: object - description: the root node in the Sparx5 platforms must contain - an axi bus child node. They are always at physical address - 0x600000000 in all the Sparx5 variants. - properties: - compatible: - items: - - const: simple-bus - - required: - - compatible - -required: - - compatible - - axi@600000000 - -additionalProperties: true - -...
diff --git a/Documentation/devicetree/bindings/arm/microchip.yaml b/Documentation/devicetree/bindings/arm/microchip.yaml
index 3c76f5b585fc..910ecc11d5d7 100644
--- a/Documentation/devicetree/bindings/arm/microchip.yaml
+++ b/Documentation/devicetree/bindings/arm/microchip.yaml@@ -10,6 +10,7 @@ maintainers: - Alexandre Belloni <alexandre.belloni@bootlin.com> - Claudiu Beznea <claudiu.beznea@microchip.com> - Nicolas Ferre <nicolas.ferre@microchip.com> + - Lars Povlsen <lars.povlsen@microchip.com> properties: $nodename:
@@ -238,6 +239,27 @@ properties: - const: microchip,lan9668 - const: microchip,lan966 + - description: The Sparx5 pcb125 board is a modular board, + which has both spi-nor and eMMC storage. The modular design + allows for connection of different network ports. + items: + - const: microchip,sparx5-pcb125 + - const: microchip,sparx5 + + - description: The Sparx5 pcb134 is a pizzabox form factor + gigabit switch with 20 SFP ports. It features spi-nor and + either spi-nand or eMMC storage (mount option). + items: + - const: microchip,sparx5-pcb134 + - const: microchip,sparx5 + + - description: The Sparx5 pcb135 is a pizzabox form factor + gigabit switch with 48+4 Cu ports. It features spi-nor and + either spi-nand or eMMC storage (mount option). + items: + - const: microchip,sparx5-pcb135 + - const: microchip,sparx5 + - description: Kontron KSwitch D10 MMT series items: - enum:
--
2.52.0