Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1667676
| From | Kishon Vijay Abraham I <kishon@ti.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH 08/12] ARM: dts: am571x-idk: Add pinmux configuration for MMC |
| Date | 2017-06-16 14:00 +0200 |
| Message-ID | <tSY4X-7Xg-35@gated-at.bofh.it> (permalink) |
| References | <tSY4V-7Xg-7@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
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>
---
arch/arm/boot/dts/am571x-idk.dts | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
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 @@
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/interrupt-controller/irq.h>
#include "am57xx-idk-common.dtsi"
+#include "dra72x-mmc-iodelay.dtsi"
/ {
model = "TI AM5718 IDK";
@@ -72,3 +73,21 @@
id-gpio = <&gpio5 7 GPIO_ACTIVE_HIGH>;
vbus-gpio = <&gpio7 22 GPIO_ACTIVE_HIGH>;
};
+
+&mmc1 {
+ pinctrl-names = "default", "hs", "sdr12", "sdr25", "sdr50", "ddr50", "sdr104";
+ pinctrl-0 = <&mmc1_pins_default>;
+ pinctrl-1 = <&mmc1_pins_hs>;
+ pinctrl-2 = <&mmc1_pins_sdr12>;
+ pinctrl-3 = <&mmc1_pins_sdr25>;
+ pinctrl-4 = <&mmc1_pins_sdr50>;
+ pinctrl-5 = <&mmc1_pins_ddr50_rev20 &mmc1_iodelay_ddr50_conf>;
+ pinctrl-6 = <&mmc1_pins_sdr104 &mmc1_iodelay_sdr104_rev20_conf>;
+};
+
+&mmc2 {
+ pinctrl-names = "default", "hs", "ddr_1_8v";
+ pinctrl-0 = <&mmc2_pins_default>;
+ pinctrl-1 = <&mmc2_pins_hs>;
+ pinctrl-2 = <&mmc2_pins_ddr_rev20 &mmc2_iodelay_ddr_conf>;
+};
--
2.11.0
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll 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