1# Copyright (c) 2020 DENX Software Engineering GmbH
2# SPDX-License-Identifier: Apache-2.0
3
4description: |
5    KSZ8794 ethernet switch with SPI interface
6
7compatible: "microchip,ksz8794"
8
9include: [microchip_dsa.yaml]
10properties:
11  workaround:
12    type: int
13    description: |
14      Define the applied workaround for the switch used for
15      short connections. Use bitmask to select the workaround or more
16      0x01: Short Cable Problems with the KSZ8795 Family
17      0x02: 1) CAT-5E/6 Short Cable with a Link Issue for the KSZ8795 Family
18      0x04: 2) CAT-5E/6 Short Cable with a Link Issue for the KSZ8795 Family
19  mii-lowspeed-drivestrength:
20    type: int
21    description: |
22      Define the Low-Speed Interface Drive Strength for MII and RMMI
23      Supported values 2,4,8,12,16,20,24,28mA
24      see Register 163 (0xA3): Global Control 20 for more details
25    enum:
26      - 2
27      - 4
28      - 8
29      - 12
30      - 16
31      - 20
32      - 24
33      - 28
34