2013-09-06 08:22:46

by George Cherian

[permalink] [raw]
Subject: [PATCH] arm: dts: am33xx: Add mmc nodes for am33xx platform

Add mmc nodes for am33xx platforms

Signed-off-by: George Cherian <[email protected]>
---
Verified after applying [1] and [2]
[1] - [PATCH v4 0/6] dma: edma: Support scatter-lists of any length - https://lkml.org/lkml/2013/8/29/466
[2] - [PATCH v2] ARM: dts: add AM33XX EDMA support - https://lkml.org/lkml/2013/8/26/57
arch/arm/boot/dts/am33xx.dtsi | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)

diff --git a/arch/arm/boot/dts/am33xx.dtsi b/arch/arm/boot/dts/am33xx.dtsi
index b0badff..1df512d 100644
--- a/arch/arm/boot/dts/am33xx.dtsi
+++ b/arch/arm/boot/dts/am33xx.dtsi
@@ -236,6 +236,41 @@
status = "disabled";
};

+ mmc1: mmc@48061000 {
+ compatible = "ti,omap4-hsmmc";
+ reg = <0x48060000 0x1000>;
+ interrupts = <64>;
+ ti,hwmods = "mmc1";
+ ti,dual-volt;
+ ti,needs-special-reset;
+ ti,needs-special-hs-handling;
+ dmas = <&edma 24
+ &edma 25>;
+ dma-names = "tx", "rx";
+ status = "disabled";
+ };
+
+ mmc2: mmc@481d8000 {
+ compatible = "ti,omap4-hsmmc";
+ reg = <0x481d8000 0x1000>;
+ interrupts = <28>;
+ ti,hwmods = "mmc2";
+ ti,needs-special-reset;
+ dmas = <&edma 2
+ &edma 3>;
+ dma-names = "tx", "rx";
+ status = "disabled";
+ };
+
+ mmc3: mmc@47810000 {
+ compatible = "ti,omap4-hsmmc";
+ reg = <0x47810000 0x1000>;
+ interrupts = <29>;
+ ti,hwmods = "mmc3";
+ ti,needs-special-reset;
+ status = "disabled";
+ };
+
wdt2: wdt@44e35000 {
compatible = "ti,omap3-wdt";
ti,hwmods = "wd_timer2";
--
1.8.1.4


2013-09-06 18:22:46

by Joel Fernandes

[permalink] [raw]
Subject: Re: [PATCH] arm: dts: am33xx: Add mmc nodes for am33xx platform

Hi George,

On 09/06/2013 03:21 AM, George Cherian wrote:
> Add mmc nodes for am33xx platforms
>
> Signed-off-by: George Cherian <[email protected]>
> ---
> Verified after applying [1] and [2]
> [1] - [PATCH v4 0/6] dma: edma: Support scatter-lists of any length - https://lkml.org/lkml/2013/8/29/466
> [2] - [PATCH v2] ARM: dts: add AM33XX EDMA support - https://lkml.org/lkml/2013/8/26/57

Thanks for the verification.

But, this patch should not be applied on its own as it a part of a bigger patch
I had submitted earlier that includes DTS for other derivative boards and
bindings Documentation. [3] That's the one to be applied and should be applied
only after the above patches are merged. I will resubmit this later again once
pending EDMA changes are merged. Thanks.

[3] https://lkml.org/lkml/2013/6/25/781

Regards,

-Joel
> arch/arm/boot/dts/am33xx.dtsi | 35 +++++++++++++++++++++++++++++++++++
> 1 file changed, 35 insertions(+)
>
> diff --git a/arch/arm/boot/dts/am33xx.dtsi b/arch/arm/boot/dts/am33xx.dtsi
> index b0badff..1df512d 100644
> --- a/arch/arm/boot/dts/am33xx.dtsi
> +++ b/arch/arm/boot/dts/am33xx.dtsi
> @@ -236,6 +236,41 @@
> status = "disabled";
> };
>
> + mmc1: mmc@48061000 {
> + compatible = "ti,omap4-hsmmc";
> + reg = <0x48060000 0x1000>;
> + interrupts = <64>;
> + ti,hwmods = "mmc1";
> + ti,dual-volt;
> + ti,needs-special-reset;
> + ti,needs-special-hs-handling;
> + dmas = <&edma 24
> + &edma 25>;
> + dma-names = "tx", "rx";
> + status = "disabled";
> + };
> +
> + mmc2: mmc@481d8000 {
> + compatible = "ti,omap4-hsmmc";
> + reg = <0x481d8000 0x1000>;
> + interrupts = <28>;
> + ti,hwmods = "mmc2";
> + ti,needs-special-reset;
> + dmas = <&edma 2
> + &edma 3>;
> + dma-names = "tx", "rx";
> + status = "disabled";
> + };
> +
> + mmc3: mmc@47810000 {
> + compatible = "ti,omap4-hsmmc";
> + reg = <0x47810000 0x1000>;
> + interrupts = <29>;
> + ti,hwmods = "mmc3";
> + ti,needs-special-reset;
> + status = "disabled";
> + };
> +
> wdt2: wdt@44e35000 {
> compatible = "ti,omap3-wdt";
> ti,hwmods = "wd_timer2";
>