blob: 7887d1dcc7066b72997676764309461ca195bb9a [file] [log] [blame]
description: stm32 sdmmc disk access
compatible: "st,stm32-sdmmc"
include: [mmc.yaml, pinctrl-device.yaml]
properties:
clocks:
required: true
reg:
required: true
pinctrl-0:
required: true
pinctrl-names:
required: true
cd-gpios:
type: phandle-array
required: false
description: Card Detect pin
pwr-gpios:
type: phandle-array
required: false
description: Power pin
bus-width:
type: int
required: false
default: 1
description: |
bus width for SDMMC access, defaults to the minimum necessary
number of bus lines
enum:
- 1
- 4
- 8
dmas:
description: |
Optional DMA channel specifier. If DMA should be used, specifier should
hold a phandle reference to the dma controller, the channel number,
the slot number, channel configuration and finally features.
Only priority bits are used in the configuration. There are no feature
flags.
For example dmas for TX/RX on SDMMC
dmas = <&dma2 4 6 0x30000 0x00>, <&dma2 4 3 0x30000 0x00>;
dma-names:
description: |
DMA channel name. If DMA should be used, expected value is "tx", "rx".
For example
dma-names = "tx", "rx";