Skip to content

Commit e16ad6c

Browse files
aford173Shawn Guo
authored andcommitted
arm64: dts: imx8mn-beacon: Fix HS400 USDHC clock speed
The reference manual for the i.MX8MN states the clock rate in MMC mode is 1/2 of the input clock, therefore to properly run at HS400 rates, the input clock must be 400MHz to operate at 200MHz. Currently the clock is set to 200MHz which is half the rate it should be, so the throughput is half of what it should be for HS400 operation. Fixes: 36ca3c8 ("arm64: dts: imx: Add Beacon i.MX8M Nano development kit") Signed-off-by: Adam Ford <[email protected]> Reviewed-by: Fabio Estevam <[email protected]> Signed-off-by: Shawn Guo <[email protected]>
1 parent f83f690 commit e16ad6c

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

arch/arm64/boot/dts/freescale/imx8mn-beacon-som.dtsi

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -305,6 +305,8 @@
305305
pinctrl-0 = <&pinctrl_usdhc3>;
306306
pinctrl-1 = <&pinctrl_usdhc3_100mhz>;
307307
pinctrl-2 = <&pinctrl_usdhc3_200mhz>;
308+
assigned-clocks = <&clk IMX8MN_CLK_USDHC3>;
309+
assigned-clock-rates = <400000000>;
308310
bus-width = <8>;
309311
non-removable;
310312
status = "okay";

0 commit comments

Comments
 (0)