From 0b0beaf4cceb0a77d22b2ebdaed5a5f2e66a1a98 Mon Sep 17 00:00:00 2001 From: Joshua-Riek Date: Sun, 12 Nov 2023 13:18:21 -0500 Subject: [PATCH 1/2] Revert "arm64: dts: turing-rk1: use HS200 mode for eMMC" This reverts commit dc9ef48eeb4854d1d1456e355aff28264b156095. --- arch/arm64/boot/dts/rockchip/rk3588-turing-rk1.dtsi | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/rockchip/rk3588-turing-rk1.dtsi b/arch/arm64/boot/dts/rockchip/rk3588-turing-rk1.dtsi index 6e0376cc4f659..8c74641ccd2c5 100644 --- a/arch/arm64/boot/dts/rockchip/rk3588-turing-rk1.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3588-turing-rk1.dtsi @@ -544,13 +544,15 @@ status = "okay"; }; -/* HS400 mode cause io errors on production units */ &sdhci { bus-width = <8>; - no-mmc-hs400; no-sdio; no-sd; non-removable; + max-frequency = <200000000>; + mmc-hs400-1_8v; + mmc-hs400-enhanced-strobe; + full-pwr-cycle-in-suspend; status = "okay"; }; From c1ec65847aeddbc955e3881be0ee913dc093c105 Mon Sep 17 00:00:00 2001 From: Joshua-Riek Date: Sun, 12 Nov 2023 13:53:06 -0500 Subject: [PATCH 2/2] arm64: dts: turing-rk1: pull down emmc_data_strobe to fix HS400 --- arch/arm64/boot/dts/rockchip/rk3588-turing-rk1.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3588-turing-rk1.dtsi b/arch/arm64/boot/dts/rockchip/rk3588-turing-rk1.dtsi index 8c74641ccd2c5..65763f38eb617 100644 --- a/arch/arm64/boot/dts/rockchip/rk3588-turing-rk1.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3588-turing-rk1.dtsi @@ -538,6 +538,12 @@ rockchip,pins = <2 RK_PC5 RK_FUNC_GPIO &pcfg_pull_none>; }; }; + + emmc { + emmc_data_strobe: emmc-data-strobe { + rockchip,pins = <2 RK_PA2 1 &pcfg_pull_down>; + }; + }; }; &pwm0 { @@ -553,6 +559,8 @@ mmc-hs400-1_8v; mmc-hs400-enhanced-strobe; full-pwr-cycle-in-suspend; + pinctrl-names = "default"; + pinctrl-0 = <&emmc_data_strobe>; status = "okay"; };