arm64: dts: s32g: Disable usdhc write-protect

NXP S32G2/S32G3 SoC based platforms do not
use a pin for SD-Card write protection used by
the uSDHC controller.

Hence, adding 'disable-wp' usdhc device-tree property in order to fix
observed warnings on SD boot as the following:
"host does not support reading read-only switch, assuming write-enable"

Signed-off-by: Ciprian Costea <ciprianmarian.costea@oss.nxp.com>
Reviewed-by: Matthias Brugger <mbrugger@suse.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
This commit is contained in:
Ciprian Costea
2024-07-04 16:56:53 +03:00
committed by Shawn Guo
parent f384d2828f
commit 3d2ce0fbcd
3 changed files with 4 additions and 1 deletions
@@ -34,5 +34,6 @@
};
&usdhc0 {
disable-wp;
status = "okay";
};
@@ -40,5 +40,6 @@
};
&usdhc0 {
disable-wp;
status = "okay";
};
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
/*
* Copyright 2021-2023 NXP
* Copyright 2021-2024 NXP
*
* NXP S32G3 Reference Design Board 3 (S32G-VNP-RDB3)
*/
@@ -41,5 +41,6 @@
&usdhc0 {
bus-width = <8>;
disable-wp;
status = "okay";
};