ARM: dts: dra76-evm: Add pinctrl data for higher speed MMC/SD modes
authorSekhar Nori <nsekhar@ti.com>
Tue, 6 Feb 2018 12:57:56 +0000 (18:27 +0530)
committerTony Lindgren <tony@atomide.com>
Wed, 28 Feb 2018 22:27:10 +0000 (14:27 -0800)
The SD card interface on DRA76x EVM can support
high speed SD cards. The eMMC onboard can support
upto HS200 mode.

Enable support for these higher speed modes in the
device-tree file.

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/dra76-evm.dts

index 70854be..0888530 100644 (file)
         * is always hardwired.
         */
        cd-gpios = <&gpio6 27 GPIO_ACTIVE_LOW>;
-       pinctrl-names = "default";
+       pinctrl-names = "default", "hs";
        pinctrl-0 = <&mmc1_pins_default>;
+       pinctrl-1 = <&mmc1_pins_hs>;
 };
 
 &mmc2 {
        status = "okay";
        vmmc-supply = <&vio_1v8>;
        bus-width = <8>;
-       pinctrl-names = "default";
+       pinctrl-names = "default", "hs", "ddr_1_8v", "hs200_1_8v";
        pinctrl-0 = <&mmc2_pins_default>;
+       pinctrl-1 = <&mmc2_pins_default>;
+       pinctrl-2 = <&mmc2_pins_default>;
+       pinctrl-3 = <&mmc2_pins_hs200 &mmc2_iodelay_hs200_conf>;
 };
 
 /* No RTC on this device */