]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: dts: imx8mq-librem5: Limit uSDHC2 frequency to 50MHz
authorSebastian Krzyszkowiak <sebastian.krzyszkowiak@puri.sm>
Mon, 5 Jan 2026 20:39:41 +0000 (21:39 +0100)
committerShawn Guo <shawnguo@kernel.org>
Sun, 18 Jan 2026 01:55:06 +0000 (09:55 +0800)
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>
arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi

index 5e0bf127e7e5be8846c277ea1b041398d9407e02..5bc9654cd436c6d4141501f3f246ca8202fc03b0 100644 (file)
 
 &usdhc2 {
        assigned-clocks = <&clk IMX8MQ_CLK_USDHC2>;
-       assigned-clock-rates = <200000000>;
+       assigned-clock-rates = <50000000>;
        pinctrl-names = "default", "state_100mhz", "state_200mhz";
        pinctrl-0 = <&pinctrl_usdhc2>;
        pinctrl-1 = <&pinctrl_usdhc2_100mhz>;
        mmc-pwrseq = <&usdhc2_pwrseq>;
        post-power-on-delay-ms = <20>;
        cd-gpios = <&gpio2 12 GPIO_ACTIVE_LOW>;
-       max-frequency = <100000000>;
+       max-frequency = <50000000>;
        disable-wp;
        cap-sdio-irq;
        keep-power-in-suspend;