2022-02-10 13:19:00

by Michael Walle

[permalink] [raw]
Subject: [PATCH] dt-bindings: arm: at91: add Kontron's new KSwitches

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 <[email protected]>
---
.../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
+
- items:
- enum:
- atmel,sams70j19
--
2.30.2



2022-02-10 14:53:11

by Krzysztof Kozlowski

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

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 <[email protected]>
> ---
> .../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