aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrej Picej <[email protected]>2024-07-16 10:51:14 +0200
committerShawn Guo <[email protected]>2024-08-12 17:20:45 +0800
commit128cc36bdad84579353abb6e434da3f7ceb6d47b (patch)
tree7c88b85c6c9fe7013fa899f179bf1dc2ffac8671
parent64c9c977c802ceee6adf2e9cc5283c5d4d021e83 (diff)
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 <[email protected]> Reviewed-by: Benjamin Hahn <[email protected]> Signed-off-by: Shawn Guo <[email protected]>
-rw-r--r--arch/arm64/boot/dts/freescale/imx8mp-phyboard-pollux-rdk.dts1
1 files changed, 1 insertions, 0 deletions
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 00a240484c25..791909dca6e1 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 = <&reg_usdhc2_vmmc>;
bus-width = <4>;
status = "okay";