Skip to content

Commit 4347947

Browse files
perillamintperillamint
authored andcommitted
Limit Nintendo Switch's external SD SDHCI bus clock speed.
This will fix Nintendo Switch does not load rootfs with some "incompatible" SD cards, which supports UHS SDR104 speed. So, this patch will solve this problem by limiting bus speed to Switch's hardware can handle. By experimentally obtained experience, 150MHz works fine with 64GB Samsung EVO+ microSD cards
1 parent 01b404c commit 4347947

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

arch/arm64/boot/dts/nvidia/tegra210-nintendo-switch.dts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -941,6 +941,7 @@
941941
sdhci@700b0000 {
942942
status = "okay";
943943
bus-width = <4>;
944+
max-frequency = <150000000>;
944945

945946
cd-gpios = <&gpio TEGRA_GPIO(Z, 1) GPIO_ACTIVE_LOW>;
946947
power-gpios = <&gpio TEGRA_GPIO(E, 4) GPIO_ACTIVE_HIGH>;

0 commit comments

Comments
 (0)