From 938c3cfb80d4e2ca911a9285d53b869683f63223 Mon Sep 17 00:00:00 2001 From: Jean-Jacques Hiblot Date: Tue, 27 Feb 2018 17:05:50 +0100 Subject: [PATCH] ARM: dts: dra7x: Make pinctrl and IOdelays for MMC2 available in SPL 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 --- 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(+) diff --git a/arch/arm/dts/dra7-evm-u-boot.dtsi b/arch/arm/dts/dra7-evm-u-boot.dtsi index 62ef83047e..3e7da7c766 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 8ae64c0a3c..e2ab0bbfab 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 8ae64c0a3c..e2ab0bbfab 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 b007f78d46..a5a0694d50 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; +};