aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKishon Vijay Abraham I2017-05-15 01:54:45 -0500
committerKishon Vijay Abraham I2017-06-16 04:43:36 -0500
commit3d79d11f246c51363af8c23717ad2f193acdcede (patch)
tree12eef9862b19bcf7bbae352f7efbdab410e1cf2b
parent403018d657d555e4849c00e40a2f07f9ac3c0e88 (diff)
downloadlinux-phy-3d79d11f246c51363af8c23717ad2f193acdcede.tar.gz
linux-phy-3d79d11f246c51363af8c23717ad2f193acdcede.tar.xz
linux-phy-3d79d11f246c51363af8c23717ad2f193acdcede.zip
ARM: dts: am571x-idk: Add pinmux configuration for MMC
Include dra72x-mmc-iodelay.dtsi which has pinmux and IODelay configuration values for the various MMC modes for dra72 SoC and use it in the pinctrl properties of MMC devicetree nodes present in am571x-idk.dts. Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
-rw-r--r--arch/arm/boot/dts/am571x-idk.dts19
1 files changed, 19 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/am571x-idk.dts b/arch/arm/boot/dts/am571x-idk.dts
index e685c8e811b0..875291d1bdd7 100644
--- a/arch/arm/boot/dts/am571x-idk.dts
+++ b/arch/arm/boot/dts/am571x-idk.dts
@@ -11,6 +11,7 @@
11#include <dt-bindings/gpio/gpio.h> 11#include <dt-bindings/gpio/gpio.h>
12#include <dt-bindings/interrupt-controller/irq.h> 12#include <dt-bindings/interrupt-controller/irq.h>
13#include "am57xx-idk-common.dtsi" 13#include "am57xx-idk-common.dtsi"
14#include "dra72x-mmc-iodelay.dtsi"
14 15
15/ { 16/ {
16 model = "TI AM5718 IDK"; 17 model = "TI AM5718 IDK";
@@ -72,3 +73,21 @@
72 id-gpio = <&gpio5 7 GPIO_ACTIVE_HIGH>; 73 id-gpio = <&gpio5 7 GPIO_ACTIVE_HIGH>;
73 vbus-gpio = <&gpio7 22 GPIO_ACTIVE_HIGH>; 74 vbus-gpio = <&gpio7 22 GPIO_ACTIVE_HIGH>;
74}; 75};
76
77&mmc1 {
78 pinctrl-names = "default", "hs", "sdr12", "sdr25", "sdr50", "ddr50", "sdr104";
79 pinctrl-0 = <&mmc1_pins_default>;
80 pinctrl-1 = <&mmc1_pins_hs>;
81 pinctrl-2 = <&mmc1_pins_sdr12>;
82 pinctrl-3 = <&mmc1_pins_sdr25>;
83 pinctrl-4 = <&mmc1_pins_sdr50>;
84 pinctrl-5 = <&mmc1_pins_ddr50_rev20 &mmc1_iodelay_ddr50_conf>;
85 pinctrl-6 = <&mmc1_pins_sdr104 &mmc1_iodelay_sdr104_rev20_conf>;
86};
87
88&mmc2 {
89 pinctrl-names = "default", "hs", "ddr_1_8v";
90 pinctrl-0 = <&mmc2_pins_default>;
91 pinctrl-1 = <&mmc2_pins_hs>;
92 pinctrl-2 = <&mmc2_pins_ddr_rev20 &mmc2_iodelay_ddr_conf>;
93};