Skip to content

Commit dfc62b8

Browse files
committed
arm64: dts: rk3588: set sdhci to HS200
This fixes some compatibility issues when using Foresee eMMC. Related forum post: https://forum.radxa.com/t/5a-corrupts-emmc-was-5a-does-not-boot/16930/32 Signed-off-by: Yuntian Zhang <yt@radxa.com>
1 parent a25a68a commit dfc62b8

File tree

6 files changed

+14
-18
lines changed

6 files changed

+14
-18
lines changed

arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -487,12 +487,9 @@
487487

488488
&sdhci {
489489
bus-width = <8>;
490-
no-sdio;
491-
no-sd;
492490
non-removable;
493491
max-frequency = <200000000>;
494-
mmc-hs400-1_8v;
495-
//mmc-hs400-enhanced-strobe;
492+
mmc-hs200-1_8v;
496493
status = "okay";
497494
};
498495

arch/arm64/boot/dts/rockchip/rk3588s-radxa-cm5-io.dts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -300,12 +300,6 @@
300300
};
301301

302302
&sdhci {
303-
bus-width = <8>;
304-
no-sdio;
305-
no-sd;
306-
non-removable;
307-
max-frequency = <150000000>;
308-
mmc-hs400-1_8v;
309303
status = "okay";
310304
};
311305

arch/arm64/boot/dts/rockchip/rk3588s-radxa-cm5.dtsi

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -248,6 +248,13 @@
248248
status = "okay";
249249
};
250250

251+
&sdhci {
252+
bus-width = <8>;
253+
non-removable;
254+
max-frequency = <200000000>;
255+
mmc-hs200-1_8v;
256+
};
257+
251258
&mdio1 {
252259
rgmii_phy1: phy@1 {
253260
compatible = "ethernet-phy-ieee802.3-c22";

arch/arm64/boot/dts/rockchip/rk3588s-radxa-nx5-io.dts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,10 @@
148148
status = "okay";
149149
};
150150

151+
&sdhci {
152+
status = "okay";
153+
};
154+
151155
&hdmi0 {
152156
status = "okay";
153157
};

arch/arm64/boot/dts/rockchip/rk3588s-radxa-nx5-module.dtsi

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -281,12 +281,9 @@
281281

282282
&sdhci {
283283
bus-width = <8>;
284-
no-sdio;
285-
no-sd;
286284
non-removable;
287285
max-frequency = <200000000>;
288-
mmc-hs400-1_8v;
289-
status = "okay";
286+
mmc-hs200-1_8v;
290287
};
291288

292289
&mdio1 {

arch/arm64/boot/dts/rockchip/rk3588s-rock-5a.dts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -405,12 +405,9 @@
405405

406406
&sdhci {
407407
bus-width = <8>;
408-
no-sdio;
409-
no-sd;
410408
non-removable;
411409
max-frequency = <200000000>;
412-
mmc-hs400-1_8v;
413-
/delete-property/ mmc-hs400-enhanced-strobe;
410+
mmc-hs200-1_8v;
414411
pinctrl-names = "default";
415412
pinctrl-0 = <&emmc_rstnout &emmc_bus8 &emmc_clk &emmc_cmd &emmc_data_strobe>;
416413
status = "okay";

0 commit comments

Comments
 (0)