diff mbox series

[U-Boot,v1,4/4] ARM: dts: dra7x: Make pinctrl and IOdelays for MMC2 available in SPL

Message ID 1519747552-12479-5-git-send-email-jjhiblot@ti.com
State Accepted
Commit 938c3cfb80d4e2ca911a9285d53b869683f63223
Delegated to: Tom Rini
Headers show
Series DRA7x: add support for HS200 in SPL | expand

Commit Message

Jean-Jacques Hiblot Feb. 27, 2018, 4:05 p.m. UTC
The SPL can't use high speed MMC modes if the associated pinctrl and
IOdelays are described in the DTS.
Make them available in SPL by tagging the nodes with 'u-boot,dm-spl;'

Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com>

---

 arch/arm/dts/dra7-evm-u-boot.dtsi       | 20 ++++++++++++++++++++
 arch/arm/dts/dra71-evm-u-boot.dtsi      | 24 ++++++++++++++++++++++++
 arch/arm/dts/dra72-evm-revc-u-boot.dtsi | 24 ++++++++++++++++++++++++
 arch/arm/dts/dra76-evm-u-boot.dtsi      | 12 ++++++++++++
 4 files changed, 80 insertions(+)

Comments

Tom Rini March 14, 2018, 2:10 p.m. UTC | #1
On Tue, Feb 27, 2018 at 05:05:50PM +0100, Jean-Jacques Hiblot wrote:

> The SPL can't use high speed MMC modes if the associated pinctrl and
> IOdelays are described in the DTS.
> Make them available in SPL by tagging the nodes with 'u-boot,dm-spl;'
> 
> Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com>

Applied to u-boot/master, thanks!
diff mbox series

Patch

diff --git a/arch/arm/dts/dra7-evm-u-boot.dtsi b/arch/arm/dts/dra7-evm-u-boot.dtsi
index 62ef830..3e7da7c 100644
--- a/arch/arm/dts/dra7-evm-u-boot.dtsi
+++ b/arch/arm/dts/dra7-evm-u-boot.dtsi
@@ -13,3 +13,23 @@ 
 &pcf_hdmi{
 	u-boot,i2c-offset-len = <0>;
 };
+
+&mmc2_pins_default {
+	u-boot,dm-spl;
+};
+
+&mmc2_pins_hs {
+	u-boot,dm-spl;
+};
+
+&mmc2_pins_ddr_rev20 {
+	u-boot,dm-spl;
+};
+
+&mmc2_pins_hs200 {
+	u-boot,dm-spl;
+};
+
+&mmc2_iodelay_hs200_rev20_conf {
+	u-boot,dm-spl;
+};
diff --git a/arch/arm/dts/dra71-evm-u-boot.dtsi b/arch/arm/dts/dra71-evm-u-boot.dtsi
index 8ae64c0..e2ab0bb 100644
--- a/arch/arm/dts/dra71-evm-u-boot.dtsi
+++ b/arch/arm/dts/dra71-evm-u-boot.dtsi
@@ -21,3 +21,27 @@ 
 &cpsw_emac1 {
 	phy-handle = <&dp83867_1>;
 };
+
+&mmc2_pins_default {
+	u-boot,dm-spl;
+};
+
+&mmc2_pins_hs {
+	u-boot,dm-spl;
+};
+
+&mmc2_pins_ddr_rev20 {
+	u-boot,dm-spl;
+};
+
+&mmc2_iodelay_ddr_conf {
+	u-boot,dm-spl;
+};
+
+&mmc2_pins_hs200 {
+	u-boot,dm-spl;
+};
+
+&mmc2_iodelay_hs200_rev20_conf {
+	u-boot,dm-spl;
+};
diff --git a/arch/arm/dts/dra72-evm-revc-u-boot.dtsi b/arch/arm/dts/dra72-evm-revc-u-boot.dtsi
index 8ae64c0..e2ab0bb 100644
--- a/arch/arm/dts/dra72-evm-revc-u-boot.dtsi
+++ b/arch/arm/dts/dra72-evm-revc-u-boot.dtsi
@@ -21,3 +21,27 @@ 
 &cpsw_emac1 {
 	phy-handle = <&dp83867_1>;
 };
+
+&mmc2_pins_default {
+	u-boot,dm-spl;
+};
+
+&mmc2_pins_hs {
+	u-boot,dm-spl;
+};
+
+&mmc2_pins_ddr_rev20 {
+	u-boot,dm-spl;
+};
+
+&mmc2_iodelay_ddr_conf {
+	u-boot,dm-spl;
+};
+
+&mmc2_pins_hs200 {
+	u-boot,dm-spl;
+};
+
+&mmc2_iodelay_hs200_rev20_conf {
+	u-boot,dm-spl;
+};
diff --git a/arch/arm/dts/dra76-evm-u-boot.dtsi b/arch/arm/dts/dra76-evm-u-boot.dtsi
index b007f78..a5a0694 100644
--- a/arch/arm/dts/dra76-evm-u-boot.dtsi
+++ b/arch/arm/dts/dra76-evm-u-boot.dtsi
@@ -13,3 +13,15 @@ 
 &cpsw_emac1 {
 	phy-handle = <&dp83867_1>;
 };
+
+&mmc2_pins_default {
+	u-boot,dm-spl;
+};
+
+&mmc2_pins_hs200 {
+	u-boot,dm-spl;
+};
+
+&mmc2_iodelay_hs200_conf {
+	u-boot,dm-spl;
+};