ARM: dts: am57xx-idk: Move common MMC/SD properties to common file
authorSekhar Nori <nsekhar@ti.com>
Wed, 16 Aug 2017 13:45:03 +0000 (19:15 +0530)
committerTony Lindgren <tony@atomide.com>
Wed, 16 Aug 2017 14:54:09 +0000 (07:54 -0700)
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>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/boot/dts/am571x-idk.dts
arch/arm/boot/dts/am572x-idk.dts
arch/arm/boot/dts/am57xx-idk-common.dtsi

index 0c0bb4e..78c5c74 100644 (file)
        };
 };
 
-&mmc1 {
-       status = "okay";
-       vmmc-supply = <&ldo1_reg>;
-       bus-width = <4>;
-       cd-gpios = <&gpio6 27 GPIO_ACTIVE_LOW>; /* gpio 219 */
-};
-
 &omap_dwc3_2 {
        extcon = <&extcon_usb2>;
 };
index 604d525..5b22944 100644 (file)
        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 GPIO_ACTIVE_LOW>; /* gpio 219 */
-};
-
 &sn65hvs882 {
        load-gpios = <&gpio3 19 GPIO_ACTIVE_LOW>;
 };
index c536b2f..97aa8e6 100644 (file)
        dr_mode = "peripheral";
 };
 
+&mmc1 {
+       status = "okay";
+       vmmc-supply = <&v3_3d>;
+       vqmmc-supply = <&ldo1_reg>;
+       bus-width = <4>;
+       cd-gpios = <&gpio6 27 GPIO_ACTIVE_LOW>; /* gpio 219 */
+};
+
 &mmc2 {
        status = "okay";
        vmmc-supply = <&v3_3d>;