Merge branch 'for-linus-4.21-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git...
[sfrench/cifs-2.6.git] / Documentation / devicetree / bindings / mmc / sdhci-am654.txt
1 Device Tree Bindings for the SDHCI Controllers present on TI's AM654 SOCs
2
3 The bindings follow the mmc[1], clock[2] and interrupt[3] bindings.
4 Only deviations are documented here.
5
6   [1] Documentation/devicetree/bindings/mmc/mmc.txt
7   [2] Documentation/devicetree/bindings/clock/clock-bindings.txt
8   [3] Documentation/devicetree/bindings/interrupt-controller/interrupts.txt
9
10 Required Properties:
11         - compatible: should be "ti,am654-sdhci-5.1"
12         - reg: Must be two entries.
13                 - The first should be the sdhci register space
14                 - The second should the subsystem/phy register space
15         - clocks: Handles to the clock inputs.
16         - clock-names: Tuple including "clk_xin" and "clk_ahb"
17         - interrupts: Interrupt specifiers
18         - ti,otap-del-sel: Output Tap Delay select
19         - ti,trm-icp: DLL trim select
20         - ti,driver-strength-ohm: driver strength in ohms.
21                                   Valid values are 33, 40, 50, 66 and 100 ohms.
22
23 Example:
24
25         sdhci0: sdhci@4f80000 {
26                 compatible = "ti,am654-sdhci-5.1";
27                 reg = <0x0 0x4f80000 0x0 0x260>, <0x0 0x4f90000 0x0 0x134>;
28                 power-domains = <&k3_pds 47>;
29                 clocks = <&k3_clks 47 0>, <&k3_clks 47 1>;
30                 clock-names = "clk_ahb", "clk_xin";
31                 interrupts = <GIC_SPI 136 IRQ_TYPE_LEVEL_HIGH>;
32                 sdhci-caps-mask = <0x80000007 0x0>;
33                 mmc-ddr-1_8v;
34                 ti,otap-del-sel = <0x2>;
35                 ti,trm-icp = <0x8>;
36         };