Commit 15aa5a95 authored by Fabrizio Castro's avatar Fabrizio Castro Committed by Simon Horman

ARM: dts: r8a77470: Add SDHI0 support

RZ/G1C comes with two different types of IP for the SDHI
interfaces, SDHI0 and SDHI2 share the same IP type, and
such an IP is also compatible with the one found in R-Car
Gen2. SDHI1 IP on the other hand is compatible with R-Car
Gen3 with internal DMA.
This patch completes the SDHI support of the R-Car Gen2
compatible IPs, including fixing the max-frequency
definition of SDHI2, as it turns out there is a bug in
Section 1.3.9 of the RZ/G1C Hardware User's Manual (Rev.
1.00 Oct. 2017).
Signed-off-by: default avatarFabrizio Castro <fabrizio.castro@bp.renesas.com>
Reviewed-by: default avatarBiju Das <biju.das@bp.renesas.com>
Signed-off-by: default avatarSimon Horman <horms+renesas@verge.net.au>
parent 4f94af57
...@@ -490,6 +490,21 @@ scif5: serial@e6ee8000 { ...@@ -490,6 +490,21 @@ scif5: serial@e6ee8000 {
status = "disabled"; status = "disabled";
}; };
sdhi0: sd@ee100000 {
compatible = "renesas,sdhi-r8a77470",
"renesas,rcar-gen2-sdhi";
reg = <0 0xee100000 0 0x328>;
interrupts = <GIC_SPI 165 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&cpg CPG_MOD 314>;
dmas = <&dmac0 0xcd>, <&dmac0 0xce>,
<&dmac1 0xcd>, <&dmac1 0xce>;
dma-names = "tx", "rx", "tx", "rx";
max-frequency = <156000000>;
power-domains = <&sysc R8A77470_PD_ALWAYS_ON>;
resets = <&cpg 314>;
status = "disabled";
};
sdhi2: sd@ee160000 { sdhi2: sd@ee160000 {
compatible = "renesas,sdhi-r8a77470", compatible = "renesas,sdhi-r8a77470",
"renesas,rcar-gen2-sdhi"; "renesas,rcar-gen2-sdhi";
...@@ -499,7 +514,7 @@ sdhi2: sd@ee160000 { ...@@ -499,7 +514,7 @@ sdhi2: sd@ee160000 {
dmas = <&dmac0 0xd3>, <&dmac0 0xd4>, dmas = <&dmac0 0xd3>, <&dmac0 0xd4>,
<&dmac1 0xd3>, <&dmac1 0xd4>; <&dmac1 0xd3>, <&dmac1 0xd4>;
dma-names = "tx", "rx", "tx", "rx"; dma-names = "tx", "rx", "tx", "rx";
max-frequency = <97500000>; max-frequency = <78000000>;
power-domains = <&sysc R8A77470_PD_ALWAYS_ON>; power-domains = <&sysc R8A77470_PD_ALWAYS_ON>;
resets = <&cpg 312>; resets = <&cpg 312>;
status = "disabled"; status = "disabled";
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment