From nobody Sat Feb 7 09:30:11 2026 Received: from pidgin.makrotopia.org (pidgin.makrotopia.org [185.142.180.65]) (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 A1D9021A457; Sun, 18 Jan 2026 03:45:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.142.180.65 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768707923; cv=none; b=D4B7U4EzHmk4ClLOuQCxh0xFlqE3bq1HWQXyZw2bUjzs7jNZWSIuqqwpN4h2T1MKoP5fw8rZ2dZL+Tc3huQjtyw+KApLKRVwbvhBdskhML5qDzOAI4Wg0UzKWCliIQDgLY4kezRM1Ma1sEyRBZ5wojfvntbAOa23SrP7p1HDs9s= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768707923; c=relaxed/simple; bh=j+pwYmv5j0KXyJzxpeB8zFffPjkUCDzdTEuPN9jg5IM=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=ui0Oyrrz4ckNIXG1pvdH4NAvszdZLdLbLuHnAplLR+bB3E8hvZbLt87CwhOcET4Zv8J0qfW2vogbqVn4/8JOeO4vySqwrsyoodrOmk2lGwsLxAeZ0gu6g2uNrW15hDX89R5EOcWfLZqWu7nBNG1ZssHf7zIXyHyHP4lZwpQGq3U= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=makrotopia.org; spf=pass smtp.mailfrom=makrotopia.org; arc=none smtp.client-ip=185.142.180.65 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=makrotopia.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=makrotopia.org Received: from local by pidgin.makrotopia.org with esmtpsa (TLS1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.99) (envelope-from ) id 1vhJj2-000000000j8-3uZ9; Sun, 18 Jan 2026 03:45:17 +0000 Date: Sun, 18 Jan 2026 03:45:08 +0000 From: Daniel Golle To: Daniel Golle , Andrew Lunn , Vladimir Oltean , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Heiner Kallweit , Russell King , Simon Horman , netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Frank Wunderlich , Chad Monroe , Cezary Wilmanski , Avinash Jayaraman , Bing tao Xu , Liang Xu , Juraj Povazanec , "Fanni (Fang-Yi) Chan" , "Benny (Ying-Tsan) Weng" , "Livia M. Rosu" , John Crispin Subject: [PATCH v7 net-next 1/4] dt-bindings: net: dsa: add MaxLinear MxL862xx Message-ID: References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Add documentation and an example for MaxLinear MxL86282 and MxL86252 switches. Signed-off-by: Daniel Golle Reviewed-by: Rob Herring (Arm) --- v7: no changes v6: no changes v5: no changes RFC v4: * remove labels from example * remove 'bindings for' from commit title RFC v3: no changes RFC v2: better description in dt-bindings doc --- .../bindings/net/dsa/maxlinear,mxl862xx.yaml | 154 ++++++++++++++++++ MAINTAINERS | 6 + 2 files changed, 160 insertions(+) create mode 100644 Documentation/devicetree/bindings/net/dsa/maxlinear,mxl= 862xx.yaml diff --git a/Documentation/devicetree/bindings/net/dsa/maxlinear,mxl862xx.y= aml b/Documentation/devicetree/bindings/net/dsa/maxlinear,mxl862xx.yaml new file mode 100644 index 0000000000000..77e48f0c7b1e3 --- /dev/null +++ b/Documentation/devicetree/bindings/net/dsa/maxlinear,mxl862xx.yaml @@ -0,0 +1,154 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/net/dsa/maxlinear,mxl862xx.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: MaxLinear MxL862xx Ethernet Switch Family + +maintainers: + - Daniel Golle + +description: + The MaxLinear MxL862xx switch family are multi-port Ethernet switches wi= th + integrated 2.5GE PHYs. The MxL86252 has five PHY ports and the MxL86282 + has eight PHY ports. Both models come with two 10 Gigabit/s SerDes + interfaces to be used to connect external PHYs or SFP cages, or as CPU + port. + +allOf: + - $ref: dsa.yaml#/$defs/ethernet-ports + +properties: + compatible: + enum: + - maxlinear,mxl86252 + - maxlinear,mxl86282 + + reg: + maxItems: 1 + description: MDIO address of the switch + + mdio: + $ref: /schemas/net/mdio.yaml# + unevaluatedProperties: false + +required: + - compatible + - reg + +unevaluatedProperties: false + +examples: + - | + mdio { + #address-cells =3D <1>; + #size-cells =3D <0>; + + switch@0 { + compatible =3D "maxlinear,mxl86282"; + reg =3D <0>; + + ethernet-ports { + #address-cells =3D <1>; + #size-cells =3D <0>; + + port@0 { + reg =3D <0>; + phy-handle =3D <&phy0>; + phy-mode =3D "internal"; + }; + + port@1 { + reg =3D <1>; + phy-handle =3D <&phy1>; + phy-mode =3D "internal"; + }; + + port@2 { + reg =3D <2>; + phy-handle =3D <&phy2>; + phy-mode =3D "internal"; + }; + + port@3 { + reg =3D <3>; + phy-handle =3D <&phy3>; + phy-mode =3D "internal"; + }; + + port@4 { + reg =3D <4>; + phy-handle =3D <&phy4>; + phy-mode =3D "internal"; + }; + + port@5 { + reg =3D <5>; + phy-handle =3D <&phy5>; + phy-mode =3D "internal"; + }; + + port@6 { + reg =3D <6>; + phy-handle =3D <&phy6>; + phy-mode =3D "internal"; + }; + + port@7 { + reg =3D <7>; + phy-handle =3D <&phy7>; + phy-mode =3D "internal"; + }; + + port@8 { + reg =3D <8>; + label =3D "cpu"; + ethernet =3D <&gmac0>; + phy-mode =3D "usxgmii"; + + fixed-link { + speed =3D <10000>; + full-duplex; + }; + }; + }; + + mdio { + #address-cells =3D <1>; + #size-cells =3D <0>; + + phy0: ethernet-phy@0 { + reg =3D <0>; + }; + + phy1: ethernet-phy@1 { + reg =3D <1>; + }; + + phy2: ethernet-phy@2 { + reg =3D <2>; + }; + + phy3: ethernet-phy@3 { + reg =3D <3>; + }; + + phy4: ethernet-phy@4 { + reg =3D <4>; + }; + + phy5: ethernet-phy@5 { + reg =3D <5>; + }; + + phy6: ethernet-phy@6 { + reg =3D <6>; + }; + + phy7: ethernet-phy@7 { + reg =3D <7>; + }; + }; + }; + }; diff --git a/MAINTAINERS b/MAINTAINERS index afc71089ba09f..c5e07152ee30b 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -15622,6 +15622,12 @@ S: Supported F: drivers/net/phy/mxl-86110.c F: drivers/net/phy/mxl-gpy.c =20 +MAXLINEAR MXL862XX SWITCH DRIVER +M: Daniel Golle +L: netdev@vger.kernel.org +S: Maintained +F: Documentation/devicetree/bindings/net/dsa/maxlinear,mxl862xx.yaml + MCAN DEVICE DRIVER M: Markus Schneider-Pargmann L: linux-can@vger.kernel.org --=20 2.52.0