summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/am574x-idk.dts
diff options
context:
space:
mode:
authorSekhar Nori <nsekhar@ti.com>2018-04-27 17:38:57 +0530
committerTony Lindgren <tony@atomide.com>2018-05-03 10:32:14 -0700
commit94aeaa4300daf82158ba194674d223502cfd9300 (patch)
treeb1a01643423f24b13cdc81fa8c8b9a6986532a04 /arch/arm/boot/dts/am574x-idk.dts
parentf306c2510ab8cabb1b1f9f3dcd068c82e338a8d6 (diff)
downloadblackbird-op-linux-94aeaa4300daf82158ba194674d223502cfd9300.tar.gz
blackbird-op-linux-94aeaa4300daf82158ba194674d223502cfd9300.zip
ARM: dts: am574x-idk: Add pinmux configuration for MMC
Include dra76x-mmc-iodelay.dtsi which has pinmux and IODelay configuration values for the various MMC modes for am574x SoC and use it in the pinctrl properties of MMC devicetree nodes present in am574x-idk.dts. 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>
Diffstat (limited to 'arch/arm/boot/dts/am574x-idk.dts')
-rw-r--r--arch/arm/boot/dts/am574x-idk.dts20
1 files changed, 20 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/am574x-idk.dts b/arch/arm/boot/dts/am574x-idk.dts
index 41e12a382d2f..c7718b2d9fdf 100644
--- a/arch/arm/boot/dts/am574x-idk.dts
+++ b/arch/arm/boot/dts/am574x-idk.dts
@@ -7,6 +7,8 @@
/dts-v1/;
#include "dra76x.dtsi"
+#include "dra7-mmc-iodelay.dtsi"
+#include "dra76x-mmc-iodelay.dtsi"
#include "am572x-idk-common.dtsi"
/ {
@@ -20,3 +22,21 @@
spi-max-frequency = <96000000>;
};
};
+
+&mmc1 {
+ pinctrl-names = "default", "hs", "sdr12", "sdr25", "sdr50", "ddr50", "sdr104";
+ pinctrl-0 = <&mmc1_pins_default_no_clk_pu>;
+ pinctrl-1 = <&mmc1_pins_hs>;
+ pinctrl-2 = <&mmc1_pins_default>;
+ pinctrl-3 = <&mmc1_pins_hs>;
+ pinctrl-4 = <&mmc1_pins_sdr50>;
+ pinctrl-5 = <&mmc1_pins_ddr50 &mmc1_iodelay_ddr_conf>;
+ pinctrl-6 = <&mmc1_pins_ddr50 &mmc1_iodelay_sdr104_conf>;
+};
+
+&mmc2 {
+ pinctrl-names = "default", "hs", "ddr_1_8v";
+ pinctrl-0 = <&mmc2_pins_default>;
+ pinctrl-1 = <&mmc2_pins_default>;
+ pinctrl-2 = <&mmc2_pins_default>;
+};
OpenPOWER on IntegriCloud