1# Copyright (c) 2022, NXP
2# SPDX-License-Identifier: Apache-2.0
3
4# Common fields for SD host controllers
5
6include: base.yaml
7
8bus: sd
9
10properties:
11  max-current-330:
12    type: int
13    default: 0
14    description: |
15      Max drive current in mA at 3.3V. A value of zero indicates no maximum
16      is specified by the driver.
17
18  max-current-300:
19    type: int
20    default: 0
21    description: |
22      Max drive current in mA at 3.0V. A value of zero indicates no maximum
23      is specified by the driver.
24
25  max-current-180:
26    type: int
27    default: 0
28    description: |
29      Max drive current in mA at 1.8V. A value of zero indicates no maximum
30      is specified by the driver.
31
32  max-bus-freq:
33    type: int
34    default: 400000
35    description: |
36      Maximum bus frequency for SD card. This should be the highest frequency
37      the SDHC is capable of negotiating with cards on the bus.
38
39  min-bus-freq:
40    type: int
41    default: 400000
42    description: |
43      Minimum bus frequency for SD card. This should be the frequency that
44      cards first will select when attached to the SDHC bus
45
46  power-delay-ms:
47    type: int
48    default: 500
49    description: |
50      time in ms for SDHC to delay when toggling power to the SD card. This
51      delay gives the card time to power up or down fully
52
53  mmc-hs200-1_8v:
54    type: boolean
55    description: |
56      The host controller supports HS200 at 1.8V
57
58  mmc-hs400-1_8v:
59    type: boolean
60    description: |
61      The host controller supports HS400 at 1.8V
62