Skip to content

Commit f9774d6

Browse files
dos1Shawn Guo
authored andcommitted
arm64: dts: imx8mq-librem5: Limit uSDHC2 frequency to 50MHz
SparkLAN card has stability issues at 100MHz. It still appears to be able to max out its throughput this way, so limit the frequency to ensure stable operation. Signed-off-by: Sebastian Krzyszkowiak <sebastian.krzyszkowiak@puri.sm> Reviewed-by: Peng Fan <peng.fan@nxp.com> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
1 parent 1361bfe commit f9774d6

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1424,7 +1424,7 @@
14241424

14251425
&usdhc2 {
14261426
assigned-clocks = <&clk IMX8MQ_CLK_USDHC2>;
1427-
assigned-clock-rates = <200000000>;
1427+
assigned-clock-rates = <50000000>;
14281428
pinctrl-names = "default", "state_100mhz", "state_200mhz";
14291429
pinctrl-0 = <&pinctrl_usdhc2>;
14301430
pinctrl-1 = <&pinctrl_usdhc2_100mhz>;
@@ -1434,7 +1434,7 @@
14341434
mmc-pwrseq = <&usdhc2_pwrseq>;
14351435
post-power-on-delay-ms = <20>;
14361436
cd-gpios = <&gpio2 12 GPIO_ACTIVE_LOW>;
1437-
max-frequency = <100000000>;
1437+
max-frequency = <50000000>;
14381438
disable-wp;
14391439
cap-sdio-irq;
14401440
keep-power-in-suspend;

0 commit comments

Comments
 (0)