* [PATCH 0/2] ARM: dtsi: r8a7745: iwg22m: Add eMMC support
@ 2017-08-17 17:31 Fabrizio Castro
2017-08-17 17:31 ` [PATCH 2/2] ARM: dtsi: " Fabrizio Castro
[not found] ` <1502991103-2325-1-git-send-email-fabrizio.castro-kTT6dE0pTRh9uiUsa/gSgQ@public.gmane.org>
0 siblings, 2 replies; 4+ messages in thread
From: Fabrizio Castro @ 2017-08-17 17:31 UTC (permalink / raw)
To: Ulf Hansson, Simon Horman, Rob Herring, Mark Rutland
Cc: devicetree, linux-renesas-soc, linux-arm-kernel, Chris Paterson,
Biju Das, Fabrizio Castro
This series adds eMMC support to r8a7745 SoC and iW-RainboW-G22M-SM SoM.
Testing has been made on top of Renesas's devel branch.
The patches contained in this series depend on the following patches:
[1/2] ARM: dts: iwg22m: Add iWave RZG1E SODIMM SOM - https://patchwork.kernel.org/patch/9901619/
[2/2] ARM: dts: iwg22d-sodimm: Add support for iWave G22D-SODIMM board - https://patchwork.kernel.org/patch/9901623/
dt-bindings: mmc: sh_mmcif: Document r8a7745 DT bindings - https://patchwork.kernel.org/patch/9902199/
Regards,
Fabrizio Castro (2):
ARM: dts: r8a7745: Add MMC interface support
ARM: dtsi: iwg22m: Add eMMC support
arch/arm/boot/dts/r8a7745-iwg22m.dtsi | 26 ++++++++++++++++++++++++++
arch/arm/boot/dts/r8a7745.dtsi | 16 ++++++++++++++++
2 files changed, 42 insertions(+)
--
2.7.4
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH 1/2] ARM: dts: r8a7745: Add MMC interface support
[not found] ` <1502991103-2325-1-git-send-email-fabrizio.castro-kTT6dE0pTRh9uiUsa/gSgQ@public.gmane.org>
@ 2017-08-17 17:31 ` Fabrizio Castro
2017-08-24 10:44 ` [PATCH 0/2] ARM: dtsi: r8a7745: iwg22m: Add eMMC support Simon Horman
1 sibling, 0 replies; 4+ messages in thread
From: Fabrizio Castro @ 2017-08-17 17:31 UTC (permalink / raw)
To: Ulf Hansson, Simon Horman, Rob Herring, Mark Rutland
Cc: devicetree-u79uwXL29TY76Z2rM5mHXA,
linux-renesas-soc-u79uwXL29TY76Z2rM5mHXA,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, Chris Paterson,
Biju Das, Fabrizio Castro
Add MMC interface support for r8a7745 SoC.
Signed-off-by: Fabrizio Castro <fabrizio.castro-kTT6dE0pTRh9uiUsa/gSgQ@public.gmane.org>
---
arch/arm/boot/dts/r8a7745.dtsi | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
diff --git a/arch/arm/boot/dts/r8a7745.dtsi b/arch/arm/boot/dts/r8a7745.dtsi
index aff90df..e17289f 100644
--- a/arch/arm/boot/dts/r8a7745.dtsi
+++ b/arch/arm/boot/dts/r8a7745.dtsi
@@ -508,6 +508,22 @@
#size-cells = <0>;
status = "disabled";
};
+
+ mmcif0: mmc@ee200000 {
+ compatible = "renesas,mmcif-r8a7745",
+ "renesas,sh-mmcif";
+ reg = <0 0xee200000 0 0x80>;
+ interrupts = <GIC_SPI 169 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&cpg CPG_MOD 315>;
+ dmas = <&dmac0 0xd1>, <&dmac0 0xd2>,
+ <&dmac1 0xd1>, <&dmac1 0xd2>;
+ dma-names = "tx", "rx", "tx", "rx";
+ power-domains = <&sysc R8A7745_PD_ALWAYS_ON>;
+ resets = <&cpg 315>;
+ reg-io-width = <4>;
+ max-frequency = <97500000>;
+ status = "disabled";
+ };
};
/* External root clock */
--
2.7.4
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH 2/2] ARM: dtsi: iwg22m: Add eMMC support
2017-08-17 17:31 [PATCH 0/2] ARM: dtsi: r8a7745: iwg22m: Add eMMC support Fabrizio Castro
@ 2017-08-17 17:31 ` Fabrizio Castro
[not found] ` <1502991103-2325-1-git-send-email-fabrizio.castro-kTT6dE0pTRh9uiUsa/gSgQ@public.gmane.org>
1 sibling, 0 replies; 4+ messages in thread
From: Fabrizio Castro @ 2017-08-17 17:31 UTC (permalink / raw)
To: Ulf Hansson, Simon Horman, Rob Herring, Mark Rutland
Cc: devicetree, linux-renesas-soc, linux-arm-kernel, Chris Paterson,
Biju Das, Fabrizio Castro
Add eMMC support for iW-RainboW-G22M-SM.
Signed-off-by: Fabrizio Castro <fabrizio.castro@bp.renesas.com>
---
arch/arm/boot/dts/r8a7745-iwg22m.dtsi | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
diff --git a/arch/arm/boot/dts/r8a7745-iwg22m.dtsi b/arch/arm/boot/dts/r8a7745-iwg22m.dtsi
index 9dbd854..afb1148 100644
--- a/arch/arm/boot/dts/r8a7745-iwg22m.dtsi
+++ b/arch/arm/boot/dts/r8a7745-iwg22m.dtsi
@@ -17,8 +17,34 @@
device_type = "memory";
reg = <0 0x40000000 0 0x20000000>;
};
+
+ reg_3p3v: 3p3v {
+ compatible = "regulator-fixed";
+ regulator-name = "3P3V";
+ regulator-min-microvolt = <3300000>;
+ regulator-max-microvolt = <3300000>;
+ regulator-always-on;
+ regulator-boot-on;
+ };
};
&extal_clk {
clock-frequency = <20000000>;
};
+
+&pfc {
+ mmcif0_pins: mmc {
+ groups = "mmc_data8", "mmc_ctrl";
+ function = "mmc";
+ };
+};
+
+&mmcif0 {
+ pinctrl-0 = <&mmcif0_pins>;
+ pinctrl-names = "default";
+
+ vmmc-supply = <®_3p3v>;
+ bus-width = <8>;
+ non-removable;
+ status = "okay";
+};
--
2.7.4
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH 0/2] ARM: dtsi: r8a7745: iwg22m: Add eMMC support
[not found] ` <1502991103-2325-1-git-send-email-fabrizio.castro-kTT6dE0pTRh9uiUsa/gSgQ@public.gmane.org>
2017-08-17 17:31 ` [PATCH 1/2] ARM: dts: r8a7745: Add MMC interface support Fabrizio Castro
@ 2017-08-24 10:44 ` Simon Horman
1 sibling, 0 replies; 4+ messages in thread
From: Simon Horman @ 2017-08-24 10:44 UTC (permalink / raw)
To: Fabrizio Castro
Cc: Ulf Hansson, Rob Herring, Mark Rutland,
devicetree-u79uwXL29TY76Z2rM5mHXA,
linux-renesas-soc-u79uwXL29TY76Z2rM5mHXA,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, Chris Paterson,
Biju Das
On Thu, Aug 17, 2017 at 06:31:41PM +0100, Fabrizio Castro wrote:
> This series adds eMMC support to r8a7745 SoC and iW-RainboW-G22M-SM SoM.
>
> Testing has been made on top of Renesas's devel branch.
>
> The patches contained in this series depend on the following patches:
> [1/2] ARM: dts: iwg22m: Add iWave RZG1E SODIMM SOM - https://patchwork.kernel.org/patch/9901619/
> [2/2] ARM: dts: iwg22d-sodimm: Add support for iWave G22D-SODIMM board - https://patchwork.kernel.org/patch/9901623/
> dt-bindings: mmc: sh_mmcif: Document r8a7745 DT bindings - https://patchwork.kernel.org/patch/9902199/
Thanks, applied for v4.15.
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2017-08-24 10:44 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-08-17 17:31 [PATCH 0/2] ARM: dtsi: r8a7745: iwg22m: Add eMMC support Fabrizio Castro
2017-08-17 17:31 ` [PATCH 2/2] ARM: dtsi: " Fabrizio Castro
[not found] ` <1502991103-2325-1-git-send-email-fabrizio.castro-kTT6dE0pTRh9uiUsa/gSgQ@public.gmane.org>
2017-08-17 17:31 ` [PATCH 1/2] ARM: dts: r8a7745: Add MMC interface support Fabrizio Castro
2017-08-24 10:44 ` [PATCH 0/2] ARM: dtsi: r8a7745: iwg22m: Add eMMC support Simon Horman
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).