# Copyright (c) 2020 DENX Software Engineering GmbH
# SPDX-License-Identifier: Apache-2.0

description: |
    KSZ8794 ethernet switch with SPI interface

compatible: "microchip,ksz8794"

include: [microchip_dsa.yaml]
properties:
  workaround:
    type: int
    description: |
      Define the applied workaround for the switch used for
      short connections. Use bitmask to select the workaround or more
      0x01: Short Cable Problems with the KSZ8795 Family
      0x02: 1) CAT-5E/6 Short Cable with a Link Issue for the KSZ8795 Family
      0x04: 2) CAT-5E/6 Short Cable with a Link Issue for the KSZ8795 Family
  mii-lowspeed-drivestrength:
    type: int
    description: |
      Define the Low-Speed Interface Drive Strength for MII and RMMI
      Supported values 2,4,8,12,16,20,24,28mA
      see Register 163 (0xA3): Global Control 20 for more details
    enum:
      - 2
      - 4
      - 8
      - 12
      - 16
      - 20
      - 24
      - 28
