Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1667674

[PATCH 07/12] ARM: dts: am57xx-idk: Move common MMC/SD properties to common file

From Kishon Vijay Abraham I <kishon@ti.com>
Newsgroups linux.kernel
Subject [PATCH 07/12] ARM: dts: am57xx-idk: Move common MMC/SD properties to common file
Date 2017-06-16 14:00 +0200
Message-ID <tSY4W-7Xg-31@gated-at.bofh.it> (permalink)
References <tSY4V-7Xg-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


AM572x IDK and AM571x IDK boards have equivalent
design of how SD card and eMMC are connected.

The two EVMs mainly differ in IOdelay configuration
needed (because of difference in SoC used).

Move the common properties to am57xx-idk-common.dtsi
file which is common for both EVMs.

Signed-off-by: Sekhar Nori <nsekhar@ti.com>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
---
 arch/arm/boot/dts/am571x-idk.dts         | 7 -------
 arch/arm/boot/dts/am572x-idk.dts         | 8 --------
 arch/arm/boot/dts/am57xx-idk-common.dtsi | 8 ++++++++
 3 files changed, 8 insertions(+), 15 deletions(-)

diff --git a/arch/arm/boot/dts/am571x-idk.dts b/arch/arm/boot/dts/am571x-idk.dts
index ad68d1eb3bc3..e685c8e811b0 100644
--- a/arch/arm/boot/dts/am571x-idk.dts
+++ b/arch/arm/boot/dts/am571x-idk.dts
@@ -64,13 +64,6 @@
 	};
 };
 
-&mmc1 {
-	status = "okay";
-	vmmc-supply = <&ldo1_reg>;
-	bus-width = <4>;
-	cd-gpios = <&gpio6 27 0>; /* gpio 219 */
-};
-
 &omap_dwc3_2 {
 	extcon = <&extcon_usb2>;
 };
diff --git a/arch/arm/boot/dts/am572x-idk.dts b/arch/arm/boot/dts/am572x-idk.dts
index 8d538f5d9a5f..1c112eb25db4 100644
--- a/arch/arm/boot/dts/am572x-idk.dts
+++ b/arch/arm/boot/dts/am572x-idk.dts
@@ -76,14 +76,6 @@
 	vbus-gpio = <&gpio3 26 GPIO_ACTIVE_HIGH>;
 };
 
-&mmc1 {
-	status = "okay";
-	vmmc-supply = <&v3_3d>;
-	vqmmc-supply = <&ldo1_reg>;
-	bus-width = <4>;
-	cd-gpios = <&gpio6 27 0>; /* gpio 219 */
-};
-
 &sn65hvs882 {
 	load-gpios = <&gpio3 19 GPIO_ACTIVE_LOW>;
 };
diff --git a/arch/arm/boot/dts/am57xx-idk-common.dtsi b/arch/arm/boot/dts/am57xx-idk-common.dtsi
index c536b2f5389f..47b5b384809f 100644
--- a/arch/arm/boot/dts/am57xx-idk-common.dtsi
+++ b/arch/arm/boot/dts/am57xx-idk-common.dtsi
@@ -399,6 +399,14 @@
 	dr_mode = "peripheral";
 };
 
+&mmc1 {
+	status = "okay";
+	vmmc-supply = <&v3_3d>;
+	vqmmc-supply = <&ldo1_reg>;
+	bus-width = <4>;
+	cd-gpios = <&gpio6 27 0>; /* gpio 219 */
+};
+
 &mmc2 {
 	status = "okay";
 	vmmc-supply = <&v3_3d>;
-- 
2.11.0

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 00/12] ARM: dts: Add iodelay data for MMC Kishon Vijay Abraham I <kishon@ti.com> - 2017-06-16 14:00 +0200
  [PATCH 07/12] ARM: dts: am57xx-idk: Move common MMC/SD properties to common file Kishon Vijay Abraham I <kishon@ti.com> - 2017-06-16 14:00 +0200
  [PATCH 01/12] ARM: OMAP2+: Select PINCTRL_TI_IODELAY for SOC_DRA7XX Kishon Vijay Abraham I <kishon@ti.com> - 2017-06-16 14:00 +0200
  [PATCH 08/12] ARM: dts: am571x-idk: Add pinmux configuration for MMC Kishon Vijay Abraham I <kishon@ti.com> - 2017-06-16 14:00 +0200
  [PATCH 04/12] ARM: dts: dra74x: Create a common file with MMC/SD IOdelay data Kishon Vijay Abraham I <kishon@ti.com> - 2017-06-16 14:00 +0200
  [PATCH 12/12] ARM: dts: dra71-evm: Add pinmux configuration for MMC Kishon Vijay Abraham I <kishon@ti.com> - 2017-06-16 14:00 +0200
  [PATCH 10/12] ARM: dts: dra72-evm: Add pinmux configuration for MMC Kishon Vijay Abraham I <kishon@ti.com> - 2017-06-16 14:00 +0200

csiph-web