Commit | Line | Data |
---|---|---|
e3ec3a3d SB |
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: | |
308f3f8d ST |
11 | - compatible: Compatibility string. Must be 'arasan,sdhci-8.9a' or |
12 | 'arasan,sdhci-4.9a' | |
e3ec3a3d SB |
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 | } ; |