[PATCH 5/7] ARM: dts: helios4: use disable-wp for the microSD slot
Rosen Penev
rosenp at gmail.com
Wed Nov 25 18:38:54 PST 2026
The microSD socket (U3) has no write-protect switch, and no pin is
muxed to the SDHCI WP input: the sd0 group only carries CLK, CMD and
DAT0-3. wp-inverted merely flips the reading of that unconnected input
so the card ends up writable.
Say what the hardware is instead: there is no write-protect line.
disable-wp makes the MMC core skip the WP check altogether, with the
same result for the user.
Signed-off-by: Rosen Penev <rosenp at gmail.com>
---
arch/arm/boot/dts/marvell/armada-388-helios4.dts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/boot/dts/marvell/armada-388-helios4.dts b/arch/arm/boot/dts/marvell/armada-388-helios4.dts
index f8ac74d7935e..d4ed47ae73c5 100644
--- a/arch/arm/boot/dts/marvell/armada-388-helios4.dts
+++ b/arch/arm/boot/dts/marvell/armada-388-helios4.dts
@@ -256,7 +256,7 @@ sdhci at d8000 {
pinctrl-names = "default";
status = "okay";
vmmc-supply = <®_3p3v>;
- wp-inverted;
+ disable-wp;
};
usb3 at f0000 {
--
2.56.1
More information about the linux-arm-kernel
mailing list