Commit c04d7b26 authored by Henrik Grimler's avatar Henrik Grimler Committed by Krzysztof Kozlowski
Browse files

arm64: dts: exynos: drop mshc aliases



Previously, the mshc0 alias has been necessary so that
MMC_CAP_1_8V_DDR | MMC_CAP_8_BIT_DATA are set for mshc_0/mmc_0.
However, these capabilities should be described in the device tree so
that we do not have to rely on the alias.

The property mmc-ddr-1_8v replaces MMC_CAP_1_8V_DDR, while bus_width =
<8>, which is already set for all the mshc0/mmc0 nodes, replaces
MMC_CAP_8_BIT_DATA.

Also drop other mshc aliases as they are not needed.

Signed-off-by: default avatarHenrik Grimler <henrik@grimler.se>
Tested-by: default avatarMarek Szyprowski <m.szyprowski@samsung.com>
Link: https://lore.kernel.org/r/20230315212814.15908-2-henrik@grimler.se


Signed-off-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
parent 35ade1eb
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -40,8 +40,6 @@ aliases {
		spi2 = &spi_2;
		spi3 = &spi_3;
		spi4 = &spi_4;
		mshc0 = &mshc_0;
		mshc2 = &mshc_2;
	};

	chosen {
@@ -952,6 +950,7 @@ &i2s1 {

&mshc_0 {
	status = "okay";
	mmc-ddr-1_8v;
	mmc-hs200-1_8v;
	mmc-hs400-1_8v;
	cap-mmc-highspeed;
+1 −2
Original line number Diff line number Diff line
@@ -18,8 +18,6 @@ / {

	aliases {
		serial0 = &serial_2;
		mshc0 = &mmc_0;
		mshc2 = &mmc_2;
	};

	chosen {
@@ -362,6 +360,7 @@ pmic_irq: pmic-irq-pins {
&mmc_0 {
	status = "okay";
	cap-mmc-highspeed;
	mmc-ddr-1_8v;
	mmc-hs200-1_8v;
	non-removable;
	card-detect-delay = <200>;