]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: dts: imx8mp-phyboard-pollux: Disable write-protect on SD card
authorAndrej Picej <andrej.picej@norik.com>
Tue, 16 Jul 2024 08:51:14 +0000 (10:51 +0200)
committerShawn Guo <shawnguo@kernel.org>
Mon, 12 Aug 2024 09:20:45 +0000 (17:20 +0800)
Micro SD cards can't be physically write-protected like full-sized
cards. Disable this feature in device-tree to get rid of the kernel
warning:

"host does not support reading read-only switch, assuming write-enable"

Signed-off-by: Andrej Picej <andrej.picej@norik.com>
Reviewed-by: Benjamin Hahn <B.Hahn@phytec.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm64/boot/dts/freescale/imx8mp-phyboard-pollux-rdk.dts

index 00a240484c254e02707463da6b89cb5aed60018f..791909dca6e15dcef24965adc90ad9d61219e50f 100644 (file)
        pinctrl-1 = <&pinctrl_usdhc2_100mhz>, <&pinctrl_usdhc2_pins>;
        pinctrl-2 = <&pinctrl_usdhc2_200mhz>, <&pinctrl_usdhc2_pins>;
        cd-gpios = <&gpio2 12 GPIO_ACTIVE_LOW>;
+       disable-wp;
        vmmc-supply = <&reg_usdhc2_vmmc>;
        bus-width = <4>;
        status = "okay";