From: Andrej Picej Date: Tue, 16 Jul 2024 08:51:14 +0000 (+0200) Subject: arm64: dts: imx8mp-phyboard-pollux: Disable write-protect on SD card X-Git-Tag: v6.12-rc1~188^2~21^2~106 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=128cc36bdad84579353abb6e434da3f7ceb6d47b;p=thirdparty%2Fkernel%2Flinux.git arm64: dts: imx8mp-phyboard-pollux: Disable write-protect on SD card 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 Reviewed-by: Benjamin Hahn Signed-off-by: Shawn Guo --- diff --git a/arch/arm64/boot/dts/freescale/imx8mp-phyboard-pollux-rdk.dts b/arch/arm64/boot/dts/freescale/imx8mp-phyboard-pollux-rdk.dts index 00a240484c254..791909dca6e15 100644 --- a/arch/arm64/boot/dts/freescale/imx8mp-phyboard-pollux-rdk.dts +++ b/arch/arm64/boot/dts/freescale/imx8mp-phyboard-pollux-rdk.dts @@ -267,6 +267,7 @@ 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 = <®_usdhc2_vmmc>; bus-width = <4>; status = "okay";