[PATCH v2 7/7] arm64: dts: imx8mp-phycore-som: Set usdhc root clock for eMMC

Teresa Remmet t.remmet at phytec.de
Fri Feb 18 04:04:58 PST 2022


From: Jonas Kuenstler <j.kuenstler at phytec.de>

Set the usdhc root clock to 400MHz to be able to support
HS400/HS400ES modes for eMMC on phyCORE-i.MX8MP SoM.

Signed-off-by: Jonas Kuenstler <j.kuenstler at phytec.de>
Signed-off-by: Teresa Remmet <t.remmet at phytec.de>
Reviewed-by: Haibo Chen <haibo.chen at nxp.com>
---
Changes in v2:
- Updated commit message
- Added Reviewed-by tag

 arch/arm64/boot/dts/freescale/imx8mp-phycore-som.dtsi | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/arm64/boot/dts/freescale/imx8mp-phycore-som.dtsi b/arch/arm64/boot/dts/freescale/imx8mp-phycore-som.dtsi
index c471ab252a69..79b290a002c1 100644
--- a/arch/arm64/boot/dts/freescale/imx8mp-phycore-som.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx8mp-phycore-som.dtsi
@@ -197,6 +197,8 @@ rv3028: rtc at 52 {
 
 /* eMMC */
 &usdhc3 {
+	assigned-clocks = <&clk IMX8MP_CLK_USDHC3_ROOT>;
+	assigned-clock-rates = <400000000>;
 	pinctrl-names = "default", "state_100mhz", "state_200mhz";
 	pinctrl-0 = <&pinctrl_usdhc3>;
 	pinctrl-1 = <&pinctrl_usdhc3_100mhz>;
-- 
2.25.1




More information about the linux-arm-kernel mailing list