Merge tag 'asoc-fix-v5.14-rc2' of https://git.kernel.org/pub/scm/linux/kernel/git...
[linux-2.6-microblaze.git] / Documentation / devicetree / bindings / mmc / sdhci-atmel.txt
1 * Atmel SDHCI controller
2
3 This file documents the differences between the core properties in
4 Documentation/devicetree/bindings/mmc/mmc.txt and the properties used by the
5 sdhci-of-at91 driver.
6
7 Required properties:
8 - compatible:           Must be "atmel,sama5d2-sdhci" or "microchip,sam9x60-sdhci".
9 - clocks:               Phandlers to the clocks.
10 - clock-names:          Must be "hclock", "multclk", "baseclk" for
11                         "atmel,sama5d2-sdhci".
12                         Must be "hclock", "multclk" for "microchip,sam9x60-sdhci".
13
14 Optional properties:
15 - assigned-clocks:      The same with "multclk".
16 - assigned-clock-rates  The rate of "multclk" in order to not rely on the
17                         gck configuration set by previous components.
18 - microchip,sdcal-inverted: when present, polarity on the SDCAL SoC pin is
19   inverted. The default polarity for this signal is described in the datasheet.
20   For instance on SAMA5D2, the pin is usually tied to the GND with a resistor
21   and a capacitor (see "SDMMC I/O Calibration" chapter).
22
23 Example:
24
25 mmc0: sdio-host@a0000000 {
26         compatible = "atmel,sama5d2-sdhci";
27         reg = <0xa0000000 0x300>;
28         interrupts = <31 IRQ_TYPE_LEVEL_HIGH 0>;
29         clocks = <&sdmmc0_hclk>, <&sdmmc0_gclk>, <&main>;
30         clock-names = "hclock", "multclk", "baseclk";
31         assigned-clocks = <&sdmmc0_gclk>;
32         assigned-clock-rates = <480000000>;
33 };