Skip to content

Commit

Permalink
Limit Nintendo Switch's external SD SDHCI bus clock speed.
Browse files Browse the repository at this point in the history
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
  • Loading branch information
perillamint authored and perillamint committed May 30, 2018
1 parent 01b404c commit 4347947
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions arch/arm64/boot/dts/nvidia/tegra210-nintendo-switch.dts
Original file line number Diff line number Diff line change
Expand Up @@ -941,6 +941,7 @@
sdhci@700b0000 {
status = "okay";
bus-width = <4>;
max-frequency = <150000000>;

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

0 comments on commit 4347947

Please sign in to comment.