da541c3631f81880c6e87b62e8ca2cb133d1aec4
[firefly-linux-kernel-4.4.55.git] / Documentation / devicetree / bindings / mmc / arasan,sdhci.txt
1 Device Tree Bindings for the Arasan SDHCI Controller
2
3   The bindings follow the mmc[1], clock[2] and interrupt[3] bindings. Only
4   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: Compatibility string. Must be 'arasan,sdhci-8.9a' or
12                 'arasan,sdhci-4.9a' or 'arasan,sdhci-5.1'
13   - reg: From mmc bindings: Register location and length.
14   - clocks: From clock bindings: Handles to clock inputs.
15   - clock-names: From clock bindings: Tuple including "clk_xin" and "clk_ahb"
16   - interrupts: Interrupt specifier
17   - interrupt-parent: Phandle for the interrupt controller that services
18                       interrupts for this device.
19
20 Example:
21         sdhci@e0100000 {
22                 compatible = "arasan,sdhci-8.9a";
23                 reg = <0xe0100000 0x1000>;
24                 clock-names = "clk_xin", "clk_ahb";
25                 clocks = <&clkc 21>, <&clkc 32>;
26                 interrupt-parent = <&gic>;
27                 interrupts = <0 24 4>;
28         } ;