Re: [PATCH] dt-bindings: arm: at91: add Kontron's new KSwitches

From: Krzysztof Kozlowski
Date: Thu Feb 10 2022 - 08:03:57 EST


On 10/02/2022 13:57, Michael Walle wrote:
> The Kontron KSwitch D10 MMT series ethernet switches features a LAN9668
> SoC with either 8 copper ports or 6 copper port and two SFP cages.
>
> Signed-off-by: Michael Walle <michael@xxxxxxxx>
> ---
> .../devicetree/bindings/arm/atmel-at91.yaml | 14 ++++++++++++++
> 1 file changed, 14 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/arm/atmel-at91.yaml b/Documentation/devicetree/bindings/arm/atmel-at91.yaml
> index c612e1f48dba..e019e79f9551 100644
> --- a/Documentation/devicetree/bindings/arm/atmel-at91.yaml
> +++ b/Documentation/devicetree/bindings/arm/atmel-at91.yaml
> @@ -174,6 +174,20 @@ properties:
> - const: microchip,lan9668
> - const: microchip,lan966
>
> + - description: Kontron KSwitch D10 MMT 8G industrial ethernet switch
> + items:
> + - const: kontron,kswitch-d10-mmt-8g
> + - const: kontron,s1921
> + - const: microchip,lan9668
> + - const: microchip,lan966
> +
> + - description: Kontron KSwitch D10 MMT 6G-2GS industrial ethernet switch
> + items:
> + - const: kontron,kswitch-d10-mmt-6g-2gs
> + - const: kontron,s1921
> + - const: microchip,lan9668
> + - const: microchip,lan966
> +

This should be just one entry with an enum.

> - items:
> - enum:
> - atmel,sams70j19


Best regards,
Krzysztof