diff mbox series

dt-bindings: arm: at91: add Kontron's new KSwitches

Message ID 20220210125705.481612-1-michael@walle.cc (mailing list archive)
State New, archived
Headers show
Series dt-bindings: arm: at91: add Kontron's new KSwitches | expand

Commit Message

Michael Walle Feb. 10, 2022, 12:57 p.m. UTC
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@walle.cc>
---
 .../devicetree/bindings/arm/atmel-at91.yaml        | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

Comments

Krzysztof Kozlowski Feb. 10, 2022, 1:03 p.m. UTC | #1
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@walle.cc>
> ---
>  .../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
diff mbox series

Patch

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