1# Copyright (c) 2021 IP-Logix Inc.
2# SPDX-License-Identifier: Apache-2.0
3
4# Common fields for MDIO controllers
5
6include: base.yaml
7
8bus: mdio
9
10properties:
11  "#address-cells":
12    required: true
13    const: 1
14
15  "#size-cells":
16    required: true
17    const: 0
18
19  suppress-preamble:
20    type: boolean
21    description: |
22      When present, the SMA suppresses the 32-bit preamble and transmits
23      MDIO frames with only 1 preamble bit. By default, the MDIO frame
24      always has 32 bits of preamble as defined in the IEEE 802.3 specs.
25
26  clock-frequency:
27    type: int
28    default: 2500000
29    description: |
30      Some MDIO controllers have the ability to configure the MDC frequency.
31      If present, this property may be used to specify the MDC frequency based
32      on what the PHYs connected to the mdio bus can support. Default of 2.5MHz
33      is the standard and should supported by all PHYs.
34