Skip to content

Commit 6d26987

Browse files
committed
arm64: dts: s32g2: Disable support for SD/eMMC UHS mode
JIRA: https://issues.redhat.com/browse/RHEL-116642 commit f58b884 Author: Ciprian Marian Costea <ciprianmarian.costea@oss.nxp.com> Date: Fri Aug 30 14:33:47 2024 +0300 arm64: dts: s32g2: Disable support for SD/eMMC UHS mode Disable SD/eMMC UHS modes for NXP boards which do not set VCCQ voltage supply to 1.8V by default, such as S32G274A-EVB and S32G274A-RDB2. Signed-off-by: Ciprian Marian Costea <ciprianmarian.costea@oss.nxp.com> Reviewed-by: Matthias Brugger <mbrugger@suse.com> Signed-off-by: Shawn Guo <shawnguo@kernel.org> Signed-off-by: Jared Kangas <jkangas@redhat.com>
1 parent dfca721 commit 6d26987

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

arch/arm64/boot/dts/freescale/s32g274a-evb.dts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,5 +39,6 @@
3939
pinctrl-1 = <&pinctrl_usdhc0_100mhz>;
4040
pinctrl-2 = <&pinctrl_usdhc0_200mhz>;
4141
disable-wp;
42+
no-1-8-v;
4243
status = "okay";
4344
};

arch/arm64/boot/dts/freescale/s32g274a-rdb2.dts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,5 +45,14 @@
4545
pinctrl-1 = <&pinctrl_usdhc0_100mhz>;
4646
pinctrl-2 = <&pinctrl_usdhc0_200mhz>;
4747
disable-wp;
48+
/* Remove no-1-8-v to enable higher speed modes for SD card.
49+
* However, this is not enough to enable HS400 or HS200 modes for eMMC.
50+
* In this case, the position of the resistor R797 must be changed
51+
* from A to B before removing the property.
52+
* If the property is removed without changing the resistor position,
53+
* HS*00 may be enabled, but the interface might be unstable because of
54+
* the wrong VCCQ voltage applied to the eMMC.
55+
*/
56+
no-1-8-v;
4857
status = "okay";
4958
};

0 commit comments

Comments
 (0)