diff mbox series

[5/6] arm64: dts: renesas: r8a779a0: Add MMC node

Message ID 20201227174202.40834-6-wsa+renesas@sang-engineering.com
State New
Headers show
Series None | expand

Commit Message

Wolfram Sang Dec. 27, 2020, 5:41 p.m. UTC
From: Takeshi Saito <takeshi.saito.xv@renesas.com>

Add a device node for MMC.

Signed-off-by: Koji Matsuoka <koji.matsuoka.xm@renesas.com>
[wsa: double checked & rebased]
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
---
 arch/arm64/boot/dts/renesas/r8a779a0.dtsi | 12 ++++++++++++
 1 file changed, 12 insertions(+)

Comments

Geert Uytterhoeven Jan. 8, 2021, 12:47 p.m. UTC | #1
Hi Wolfram,

On Sun, Dec 27, 2020 at 6:42 PM Wolfram Sang
<wsa+renesas@sang-engineering.com> wrote:
> From: Takeshi Saito <takeshi.saito.xv@renesas.com>

>

> Add a device node for MMC.

>

> Signed-off-by: Koji Matsuoka <koji.matsuoka.xm@renesas.com>

> [wsa: double checked & rebased]

> Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>


Thanks for your patch!

> --- a/arch/arm64/boot/dts/renesas/r8a779a0.dtsi

> +++ b/arch/arm64/boot/dts/renesas/r8a779a0.dtsi

> @@ -667,6 +667,18 @@ dmac1: dma-controller@e7350000 {

>                         /* placeholder */

>                 };

>

> +               mmc0: mmc@ee140000 {


Hmm, seems we use the mmc0 label on all V3[HMU] SoCs, but sdhiX on all
other R-Car Gen3 SoCs...

> +                       compatible = "renesas,sdhi-r8a779a0",

> +                                    "renesas,rcar-gen3-sdhi";

> +                       reg = <0 0xee140000 0 0x2000>;

> +                       interrupts = <GIC_SPI 236 IRQ_TYPE_LEVEL_HIGH>;

> +                       clocks = <&cpg CPG_MOD 706>;

> +                       power-domains = <&sysc R8A779A0_PD_ALWAYS_ON>;

> +                       resets = <&cpg 706>;

> +                       max-frequency = <200000000>;

> +                       status = "disabled";

> +               };

> +


Anyway:
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>


Gr{oetje,eeting}s,

                        Geert

-- 
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/renesas/r8a779a0.dtsi b/arch/arm64/boot/dts/renesas/r8a779a0.dtsi
index 324deeed9078..68aaa49c3540 100644
--- a/arch/arm64/boot/dts/renesas/r8a779a0.dtsi
+++ b/arch/arm64/boot/dts/renesas/r8a779a0.dtsi
@@ -667,6 +667,18 @@  dmac1: dma-controller@e7350000 {
 			/* placeholder */
 		};
 
+		mmc0: mmc@ee140000 {
+			compatible = "renesas,sdhi-r8a779a0",
+				     "renesas,rcar-gen3-sdhi";
+			reg = <0 0xee140000 0 0x2000>;
+			interrupts = <GIC_SPI 236 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&cpg CPG_MOD 706>;
+			power-domains = <&sysc R8A779A0_PD_ALWAYS_ON>;
+			resets = <&cpg 706>;
+			max-frequency = <200000000>;
+			status = "disabled";
+		};
+
 		gic: interrupt-controller@f1000000 {
 			compatible = "arm,gic-v3";
 			#interrupt-cells = <3>;