Skip to content

Commit

Permalink
riscv: dts: jh7100-starlight: Raise SDcard max frequency
Browse files Browse the repository at this point in the history
Michael Zhu found that raising the max frequency on the
SD Card controller to 50MHz seems to work and improve
performance:

starfive-tech/Fedora_on_StarFive#23

Signed-off-by: Emil Renner Berthing <kernel@esmil.dk>
  • Loading branch information
esmil authored and mcd500 committed May 25, 2021
1 parent d474da5 commit 26d76c6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 2 additions & 0 deletions arch/riscv/boot/dts/starfive/jh7100-starlight.dts
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@
broken-cd;
bus-width = <4>;
cap-sd-highspeed;
max-frequency = <50000000>;
status = "okay";
};

Expand All @@ -145,6 +146,7 @@
cap-sd-highspeed;
cap-sdio-irq;
cap-power-off-card;
max-frequency = <10000000>;
mmc-pwrseq = <&wifi_pwrseq>;
non-removable;
status = "okay";
Expand Down
2 changes: 0 additions & 2 deletions arch/riscv/boot/dts/starfive/jh7100.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -636,7 +636,6 @@
data-addr = <0>;
fifo-depth = <32>;
fifo-watermark-aligned;
max-frequency = <10000000>;
status = "disabled";
};

Expand All @@ -651,7 +650,6 @@
data-addr = <0>;
fifo-depth = <32>;
fifo-watermark-aligned;
max-frequency = <10000000>;
status = "disabled";
};

Expand Down

0 comments on commit 26d76c6

Please sign in to comment.