Eugeniy Paltsev | b050c2c | 2019-02-25 18:35:28 +0300 | [diff] [blame] | 1 | Synopsys Designware Mobile Storage Host Controller extensions |
| 2 | used in Synopsys ARC devboards |
| 3 | |
| 4 | Required 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 | |
| 12 | Optional 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 | |
| 21 | Example: |
| 22 | |
| 23 | mmc0@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 | }; |