Эх сурвалжийг харах

arm/dts: OMAP4: Add mmc controller nodes and board data

Add OMAP mmc related device tree data for OMAP4.
Currenly limited to only omap4-panda and omap4-sdp
boards.

Signed-off-by: Rajendra Nayak <rnayak@ti.com>
Signed-off-by: Benoit Cousson <b-cousson@ti.com>
Rajendra Nayak 14 жил өмнө
parent
commit
7498176803

+ 22 - 0
arch/arm/boot/dts/omap4-panda.dts

@@ -52,3 +52,25 @@
 &i2c4 {
 &i2c4 {
 	clock-frequency = <400000>;
 	clock-frequency = <400000>;
 };
 };
+
+&mmc1 {
+	vmmc-supply = <&vmmc>;
+	ti,bus-width = <8>;
+};
+
+&mmc2 {
+	status = "disable";
+};
+
+&mmc3 {
+	status = "disable";
+};
+
+&mmc4 {
+	status = "disable";
+};
+
+&mmc5 {
+	ti,non-removable;
+	ti,bus-width = <4>;
+};

+ 24 - 0
arch/arm/boot/dts/omap4-sdp.dts

@@ -91,3 +91,27 @@
 		vdd-supply = <&vdd_eth>;
 		vdd-supply = <&vdd_eth>;
 	};
 	};
 };
 };
+
+&mmc1 {
+	vmmc-supply = <&vmmc>;
+	ti,bus-width = <8>;
+};
+
+&mmc2 {
+	vmmc-supply = <&vaux1>;
+	ti,bus-width = <8>;
+	ti,non-removable;
+};
+
+&mmc3 {
+	status = "disable";
+};
+
+&mmc4 {
+	status = "disable";
+};
+
+&mmc5 {
+	ti,bus-width = <4>;
+	ti,non-removable;
+};

+ 31 - 0
arch/arm/boot/dts/omap4.dtsi

@@ -241,5 +241,36 @@
 			ti,hwmods = "mcspi4";
 			ti,hwmods = "mcspi4";
 			ti,spi-num-cs = <1>;
 			ti,spi-num-cs = <1>;
 		};
 		};
+
+		mmc1: mmc@4809c000 {
+			compatible = "ti,omap4-hsmmc";
+			ti,hwmods = "mmc1";
+			ti,dual-volt;
+			ti,needs-special-reset;
+		};
+
+		mmc2: mmc@480b4000 {
+			compatible = "ti,omap4-hsmmc";
+			ti,hwmods = "mmc2";
+			ti,needs-special-reset;
+		};
+
+		mmc3: mmc@480ad000 {
+			compatible = "ti,omap4-hsmmc";
+			ti,hwmods = "mmc3";
+			ti,needs-special-reset;
+		};
+
+		mmc4: mmc@480d1000 {
+			compatible = "ti,omap4-hsmmc";
+			ti,hwmods = "mmc4";
+			ti,needs-special-reset;
+		};
+
+		mmc5: mmc@480d5000 {
+			compatible = "ti,omap4-hsmmc";
+			ti,hwmods = "mmc5";
+			ti,needs-special-reset;
+		};
 	};
 	};
 };
 };