2013-12-03 02:02:36 +08:00
|
|
|
Device Tree Bindings for the Arasan SDHCI Controller
|
|
|
|
|
2016-03-07 23:38:42 +08:00
|
|
|
The bindings follow the mmc[1], clock[2], interrupt[3] and phy[4] bindings.
|
|
|
|
Only deviations are documented here.
|
2013-12-03 02:02:36 +08:00
|
|
|
|
|
|
|
[1] Documentation/devicetree/bindings/mmc/mmc.txt
|
|
|
|
[2] Documentation/devicetree/bindings/clock/clock-bindings.txt
|
|
|
|
[3] Documentation/devicetree/bindings/interrupt-controller/interrupts.txt
|
2016-03-07 23:38:42 +08:00
|
|
|
[4] Documentation/devicetree/bindings/phy/phy-bindings.txt
|
2013-12-03 02:02:36 +08:00
|
|
|
|
|
|
|
Required Properties:
|
2015-05-04 21:39:51 +08:00
|
|
|
- compatible: Compatibility string. Must be 'arasan,sdhci-8.9a' or
|
2015-08-11 15:57:05 +08:00
|
|
|
'arasan,sdhci-4.9a' or 'arasan,sdhci-5.1'
|
2013-12-03 02:02:36 +08:00
|
|
|
- reg: From mmc bindings: Register location and length.
|
|
|
|
- clocks: From clock bindings: Handles to clock inputs.
|
|
|
|
- clock-names: From clock bindings: Tuple including "clk_xin" and "clk_ahb"
|
|
|
|
- interrupts: Interrupt specifier
|
|
|
|
- interrupt-parent: Phandle for the interrupt controller that services
|
|
|
|
interrupts for this device.
|
|
|
|
|
2016-03-07 23:38:42 +08:00
|
|
|
Required Properties for "arasan,sdhci-5.1":
|
|
|
|
- phys: From PHY bindings: Phandle for the Generic PHY for arasan.
|
|
|
|
- phy-names: MUST be "phy_arasan".
|
|
|
|
|
2013-12-03 02:02:36 +08:00
|
|
|
Example:
|
|
|
|
sdhci@e0100000 {
|
|
|
|
compatible = "arasan,sdhci-8.9a";
|
|
|
|
reg = <0xe0100000 0x1000>;
|
|
|
|
clock-names = "clk_xin", "clk_ahb";
|
|
|
|
clocks = <&clkc 21>, <&clkc 32>;
|
|
|
|
interrupt-parent = <&gic>;
|
|
|
|
interrupts = <0 24 4>;
|
|
|
|
} ;
|
2016-03-07 23:38:42 +08:00
|
|
|
|
|
|
|
sdhci@e2800000 {
|
|
|
|
compatible = "arasan,sdhci-5.1";
|
|
|
|
reg = <0xe2800000 0x1000>;
|
|
|
|
clock-names = "clk_xin", "clk_ahb";
|
|
|
|
clocks = <&cru 8>, <&cru 18>;
|
|
|
|
interrupt-parent = <&gic>;
|
|
|
|
interrupts = <0 24 4>;
|
|
|
|
phys = <&emmc_phy>;
|
|
|
|
phy-names = "phy_arasan";
|
|
|
|
} ;
|