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) --- 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 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