]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
ARM: tegra210: set default-tap and default-trim values in sdhci nodes
authorSvyatoslav Ryhel <clamor95@gmail.com>
Tue, 3 Oct 2023 06:33:51 +0000 (09:33 +0300)
committerTom Rini <trini@konsulko.com>
Fri, 3 Nov 2023 16:37:15 +0000 (12:37 -0400)
Tegra MMC driver has hardcoded tap and trim values as for now.
Set default-tap and default-trim values in sdhci nodes to avoid
regressions in case Tegra MMC driver is upated to use dts values.

Signed-off-by: Svyatoslav Ryhel <clamor95@gmail.com>
arch/arm/dts/tegra210.dtsi

index a521a43d6cfde7d633ba44824ab08b8942444da5..28ecd2b467a7f505c000e35701295a3775c4c788 100644 (file)
                clock-names = "sdhci";
                resets = <&tegra_car 14>;
                reset-names = "sdhci";
+               nvidia,default-tap = <0x2>;
+               nvidia,default-trim = <0x4>;
                status = "disabled";
        };
 
                clock-names = "sdhci";
                resets = <&tegra_car 9>;
                reset-names = "sdhci";
+               nvidia,default-tap = <0x8>;
+               nvidia,default-trim = <0x0>;
                status = "disabled";
        };
 
                clock-names = "sdhci";
                resets = <&tegra_car 69>;
                reset-names = "sdhci";
+               nvidia,default-tap = <0x3>;
+               nvidia,default-trim = <0x3>;
                status = "disabled";
        };
 
                clock-names = "sdhci";
                resets = <&tegra_car 15>;
                reset-names = "sdhci";
+               nvidia,default-tap = <0x8>;
+               nvidia,default-trim = <0x0>;
                status = "disabled";
        };