Enable SDR104 modes on M3W and H3 boards. With the SDHI fixes
in place, it is now possible to use SDR104.

Signed-off-by: Marek Vasut <marek.vasut+rene...@gmail.com>
Cc: Nobuhiro Iwamatsu <iwama...@nigauri.org>
---
 arch/arm/dts/salvator-common.dtsi | 10 ++++++++++
 arch/arm/dts/ulcb.dtsi            |  5 +++++
 2 files changed, 15 insertions(+)

diff --git a/arch/arm/dts/salvator-common.dtsi 
b/arch/arm/dts/salvator-common.dtsi
index 826a02c333..d2d667bb01 100644
--- a/arch/arm/dts/salvator-common.dtsi
+++ b/arch/arm/dts/salvator-common.dtsi
@@ -623,8 +623,13 @@
        cd-gpios = <&gpio3 12 GPIO_ACTIVE_LOW>;
        wp-gpios = <&gpio3 13 GPIO_ACTIVE_HIGH>;
        bus-width = <4>;
+       sd-uhs-sdr12;
+       sd-uhs-sdr25;
        sd-uhs-sdr50;
+       sd-uhs-sdr104;
        status = "okay";
+
+       max-frequency = <208000000>;
 };
 
 &sdhi2 {
@@ -640,6 +645,7 @@
        non-removable;
        fixed-emmc-driver-type = <1>;
        status = "okay";
+       max-frequency = <200000000>;
 };
 
 &sdhi3 {
@@ -652,8 +658,12 @@
        cd-gpios = <&gpio4 15 GPIO_ACTIVE_LOW>;
        wp-gpios = <&gpio4 16 GPIO_ACTIVE_HIGH>;
        bus-width = <4>;
+       sd-uhs-sdr12;
+       sd-uhs-sdr25;
        sd-uhs-sdr50;
+       sd-uhs-sdr104;
        status = "okay";
+       max-frequency = <208000000>;
 };
 
 &ssi1 {
diff --git a/arch/arm/dts/ulcb.dtsi b/arch/arm/dts/ulcb.dtsi
index b61e2656d5..44dd84179f 100644
--- a/arch/arm/dts/ulcb.dtsi
+++ b/arch/arm/dts/ulcb.dtsi
@@ -401,8 +401,12 @@
        vqmmc-supply = <&vccq_sdhi0>;
        cd-gpios = <&gpio3 12 GPIO_ACTIVE_LOW>;
        bus-width = <4>;
+       sd-uhs-sdr12;
+       sd-uhs-sdr25;
        sd-uhs-sdr50;
+       sd-uhs-sdr104;
        status = "okay";
+       max-frequency = <208000000>;
 };
 
 &sdhi2 {
@@ -417,6 +421,7 @@
        mmc-hs200-1_8v;
        non-removable;
        status = "okay";
+       max-frequency = <200000000>;
 };
 
 &ssi1 {
-- 
2.18.0

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot

Reply via email to