Skip to content

Commit 979e32b

Browse files
Sergei Shtylyovhorms
authored andcommitted
arm64: dts: renesas: r8a77970: add MMC support
Define the generic R8A77970 part of the MMC0 (SDHI2) device node. Based on the original (and large) patches by Vladimir Barinov. Signed-off-by: Vladimir Barinov <vladimir.barinov@cogentembedded.com> Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
1 parent 6253110 commit 979e32b

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

arch/arm64/boot/dts/renesas/r8a77970.dtsi

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -754,6 +754,18 @@
754754
#iommu-cells = <1>;
755755
};
756756

757+
mmc0: mmc@ee140000 {
758+
compatible = "renesas,sdhi-r8a77970",
759+
"renesas,rcar-gen3-sdhi";
760+
reg = <0 0xee140000 0 0x2000>;
761+
interrupts = <GIC_SPI 165 IRQ_TYPE_LEVEL_HIGH>;
762+
clocks = <&cpg CPG_MOD 314>;
763+
power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
764+
resets = <&cpg 314>;
765+
max-frequency = <200000000>;
766+
status = "disabled";
767+
};
768+
757769
gic: interrupt-controller@f1010000 {
758770
compatible = "arm,gic-400";
759771
#interrupt-cells = <3>;

0 commit comments

Comments
 (0)