Skip to contentSkip to conversation

arm: dts: dra7-evm: add sd/eMMC node

PATCH In review Balaji T K 2 participants 2 messages Jul 23, 2013 – Jul 24, 2013 Device tree bindings

lore
Share & tools
lore

Balaji T K

author
#0 lore raw

PATCH 1/1 arm: dts: dra7-evm: add sd/eMMC node

Add micro SD card and eMMC support for dra7-evm

---
 arch/arm/boot/dts/dra7-evm.dts |   18 ++++++++++++++++++
 1 files changed, 18 insertions(+), 0 deletions(-)
arch/arm/boot/dts/dra7-evm.dts +18 -0
index cb0703c..4656ab4 100644
@@ -17,4 +17,22 @@
 		device_type = "memory";
 		reg = <0x80000000 0x60000000>; /* 1536 MB */
 	};
+
+	vmmc_fixed: fixedregulator-mmc {
+		compatible = "regulator-fixed";
+		regulator-name = "vmmc_fixed";
+		regulator-min-microvolt = <3300000>;
+		regulator-max-microvolt = <3300000>;
+	};
+};
+
+&mmc1 {
+	vmmc-supply = <&vmmc_fixed>;
+	bus-width = <4>;
+};
+
+&mmc2 {
+	vmmc-supply = <&vmmc_fixed>;
+	bus-width = <8>;
+	ti,non-removable;
 };
Signature · 1 line
1.7.5.4
#1 lore raw
Quoted 18 lines · Balaji T K

Add micro SD card and eMMC support for dra7-evm

---
  arch/arm/boot/dts/dra7-evm.dts |   18 ++++++++++++++++++
  1 files changed, 18 insertions(+), 0 deletions(-)
arch/arm/boot/dts/dra7-evm.dts +2 -0
index cb0703c..4656ab4 100644
@@ -17,4 +17,22 @@
  		device_type = "memory";
  		reg = <0x80000000 0x60000000>; /* 1536 MB */
  	};
+
+	vmmc_fixed: fixedregulator-mmc {

arch/arm/boot/dts/dra7-evm.dts line 31

Quoted 10 lines
arch/arm/boot/dts/dra7-evm.dts +10 -0
+		compatible = "regulator-fixed";
+		regulator-name = "vmmc_fixed";
+		regulator-min-microvolt = <3300000>;
+		regulator-max-microvolt = <3300000>;
+	};
+};
+
+&mmc1 {
+	vmmc-supply = <&vmmc_fixed>;
+	bus-width = <4>;

is'nt this going to LDO1 of TPS659039? which allows us to switch it off when MMC card is not needed?

arch/arm/boot/dts/dra7-evm.dts line 35

Quoted 4 lines
arch/arm/boot/dts/dra7-evm.dts +4 -0
+};
+
+&mmc2 {
+	vmmc-supply = <&vmmc_fixed>;

this is fixes MMC2_3V3 (emmc supply) -> EVM_3V3

Quoted 4 lines
arch/arm/boot/dts/dra7-evm.dts +2 -0
+	bus-width = <8>;
+	ti,non-removable;
  };
Signature · 2 lines
Regards,
Nishanth Menon