~funderscore blog cgit wiki get in touch
aboutsummaryrefslogtreecommitdiff
blob: 0c9e3ada5a3dd6cc5d95bec464226b5201826b94 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
Synopsys Designware Mobile Storage Host Controller extensions
used in Synopsys ARC devboards

Required Properties:

* compatible: should be - "snps,dw-mshc".
* bus-width: number of data lines connected to the controller.
* clocks: from common clock binding: handle to biu and ciu clocks for the
  bus interface unit clock and the card interface unit clock.
* clock-names: from common clock binding: Shall be "biu" and "ciu".

Optional properties:

* fifo-depth: The maximum size of the tx/rx fifo's. If this property is not
  specified, the default value of the fifo size is determined from the
  controller registers.
* fifo-mode: Don't use DMA.
* max-frequency: Maximum operating clock frequency, driver uses 'ciu' clock
  frequency if it is not set.

Example:

mmc0@f000a000 {
	compatible = "snps,dw-mshc";
	reg = <0xf000a000 0x400>;

	bus-width = <4>;
	fifo-depth = <256>;
	clocks = <&mmcclk_biu>, <&mmcclk_ciu>;
	clock-names = "biu", "ciu";
	max-frequency = <25000000>;
};