blob: 0c9e3ada5a3dd6cc5d95bec464226b5201826b94 [file] [log] [blame]
Eugeniy Paltsev15736e22019-02-25 18:35:28 +03001Synopsys Designware Mobile Storage Host Controller extensions
2used in Synopsys ARC devboards
3
4Required Properties:
5
6* compatible: should be - "snps,dw-mshc".
7* bus-width: number of data lines connected to the controller.
8* clocks: from common clock binding: handle to biu and ciu clocks for the
9 bus interface unit clock and the card interface unit clock.
10* clock-names: from common clock binding: Shall be "biu" and "ciu".
11
12Optional properties:
13
14* fifo-depth: The maximum size of the tx/rx fifo's. If this property is not
15 specified, the default value of the fifo size is determined from the
16 controller registers.
17* fifo-mode: Don't use DMA.
18* max-frequency: Maximum operating clock frequency, driver uses 'ciu' clock
19 frequency if it is not set.
20
21Example:
22
23mmc0@f000a000 {
24 compatible = "snps,dw-mshc";
25 reg = <0xf000a000 0x400>;
26
27 bus-width = <4>;
28 fifo-depth = <256>;
29 clocks = <&mmcclk_biu>, <&mmcclk_ciu>;
30 clock-names = "biu", "ciu";
31 max-frequency = <25000000>;
32};