[PATCH net-next 1/3] dt-bindings: net: dsa: lan9303: add Microchip LAN9354 compatible

From: Paul Louvel

Date: Thu Nov 26 2026 - 09:14:37 EST


The driver has matched "microchip,lan9354-mdio" since commit 13248b975038
("net: dsa: LAN9303: Add basic support for LAN9354"), but the binding only
documents the two SMSC compatibles. A board using the LAN9354 therefore
fails dtbs_check even though the driver binds.

Add the compatible to the enum and mention the LAN9354 in the title and
description.

Signed-off-by: Paul Louvel (Schneider Electric) <paul.louvel@xxxxxxxxxxx>
---
Documentation/devicetree/bindings/net/dsa/smsc,lan9303.yaml | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/Documentation/devicetree/bindings/net/dsa/smsc,lan9303.yaml b/Documentation/devicetree/bindings/net/dsa/smsc,lan9303.yaml
index 42f8473538a0..95abf043a118 100644
--- a/Documentation/devicetree/bindings/net/dsa/smsc,lan9303.yaml
+++ b/Documentation/devicetree/bindings/net/dsa/smsc,lan9303.yaml
@@ -4,15 +4,16 @@
$id: http://devicetree.org/schemas/net/dsa/smsc,lan9303.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

-title: SMSC/MicroChip LAN9303 three port ethernet switch
+title: SMSC/MicroChip LAN9303/LAN9354 three port ethernet switch

maintainers:
- Frank Li <Frank.Li@xxxxxxx>

description:
- The LAN9303 is a three port ethernet switch with integrated PHYs for the
- two external ports. The third port is an RMII/MII interface to a host
- processor. The device can be managed via I2C or MDIO.
+ The LAN9303 and LAN9354 are three port ethernet switches with integrated
+ PHYs for the two external ports. The third port is an RMII/MII interface
+ to a host processor. The LAN9303 can be managed via I2C or MDIO. The
+ LAN9354 is supported in MDIO mode.

Note - always use 'reg = <0/1/2>;' for the three DSA ports, even if the
device is configured to use 1/2/3 instead. This hardware configuration
@@ -23,6 +24,7 @@ properties:
enum:
- smsc,lan9303-i2c
- smsc,lan9303-mdio
+ - microchip,lan9354-mdio

reg:
maxItems: 1

--
2.56.1