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

Jean-Jacques Hiblot jjhiblot at ti.com
Tue Feb 27 16:05:50 UTC 2018


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 at 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(+)

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;
+};
-- 
1.9.1



More information about the U-Boot mailing list