diff mbox

[2/2] ARM: dts: dra7-evm: Add mmc2 node for eMMC support

Message ID 1381163104-6318-2-git-send-email-balajitk@ti.com (mailing list archive)
State New, archived
Headers show

Commit Message

Balaji T K Oct. 7, 2013, 4:25 p.m. UTC
Add mmc2 dt node to dra7-evm board
and model eMMC vcc as fixed regulator.

Signed-off-by: Balaji T K <balajitk@ti.com>
---
Rebase to for_3.13/dts
and removed ti,non-removable

 arch/arm/boot/dts/dra7-evm.dts |   13 +++++++++++++
 1 files changed, 13 insertions(+), 0 deletions(-)

Comments

Nishanth Menon Oct. 9, 2013, 1:12 p.m. UTC | #1
On 10/07/2013 11:25 AM, Balaji T K wrote:
> Add mmc2 dt node to dra7-evm board
> and model eMMC vcc as fixed regulator.
> 
> Signed-off-by: Balaji T K <balajitk@ti.com>
> ---
> Rebase to for_3.13/dts
> and removed ti,non-removable
> 
>  arch/arm/boot/dts/dra7-evm.dts |   13 +++++++++++++
>  1 files changed, 13 insertions(+), 0 deletions(-)
> 
> diff --git a/arch/arm/boot/dts/dra7-evm.dts b/arch/arm/boot/dts/dra7-evm.dts
> index 65cd15a..3abf5f4 100644
> --- a/arch/arm/boot/dts/dra7-evm.dts
> +++ b/arch/arm/boot/dts/dra7-evm.dts
> @@ -17,6 +17,13 @@
>  		device_type = "memory";
>  		reg = <0x80000000 0x60000000>; /* 1536 MB */
>  	};
> +
> +	mmc2_3v3: fixedregulator-mmc2 {
> +		compatible = "regulator-fixed";
> +		regulator-name = "mmc2_3v3";
> +		regulator-min-microvolt = <3300000>;
> +		regulator-max-microvolt = <3300000>;
> +	};
>  };
>  
>  &dra7_pmx_core {
> @@ -256,3 +263,9 @@
>  	vmmc-supply = <&ldo1_reg>;
>  	bus-width = <4>;
>  };
> +
> +&mmc2 {
> +	status = "okay";
> +	vmmc-supply = <&mmc2_3v3>;
> +	bus-width = <8>;
> +};
> 
boot tested on DRA7-EVM
voltage rail is correct based on schematics(rev d1) too.
Reviewed-by: Nishanth Menon <nm@ti.com>
Tested-by: Nishanth Menon <nm@ti.com>
Sekhar Nori Oct. 9, 2013, 6:53 p.m. UTC | #2
On Monday 07 October 2013 09:55 PM, Balaji T K wrote:
> Add mmc2 dt node to dra7-evm board
> and model eMMC vcc as fixed regulator.
> 
> Signed-off-by: Balaji T K <balajitk@ti.com>

Acked-by: Sekhar Nori <nsekhar@ti.com>

Thanks,
Sekhar
diff mbox

Patch

diff --git a/arch/arm/boot/dts/dra7-evm.dts b/arch/arm/boot/dts/dra7-evm.dts
index 65cd15a..3abf5f4 100644
--- a/arch/arm/boot/dts/dra7-evm.dts
+++ b/arch/arm/boot/dts/dra7-evm.dts
@@ -17,6 +17,13 @@ 
 		device_type = "memory";
 		reg = <0x80000000 0x60000000>; /* 1536 MB */
 	};
+
+	mmc2_3v3: fixedregulator-mmc2 {
+		compatible = "regulator-fixed";
+		regulator-name = "mmc2_3v3";
+		regulator-min-microvolt = <3300000>;
+		regulator-max-microvolt = <3300000>;
+	};
 };
 
 &dra7_pmx_core {
@@ -256,3 +263,9 @@ 
 	vmmc-supply = <&ldo1_reg>;
 	bus-width = <4>;
 };
+
+&mmc2 {
+	status = "okay";
+	vmmc-supply = <&mmc2_3v3>;
+	bus-width = <8>;
+};