]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm: dts: mt7622: force high-speed mode for uart
authorWeijie Gao <weijie.gao@mediatek.com>
Fri, 9 Sep 2022 11:59:33 +0000 (19:59 +0800)
committerTom Rini <trini@konsulko.com>
Fri, 23 Sep 2022 19:09:15 +0000 (15:09 -0400)
The input clock for uart is too slow (25MHz) which introduces frequent data
error on both receiving and transmitting even if the baudrate is 115200.

Using high-speed can significantly solve this issue.

Reviewed-by: Simon Glass <sjg@chromium.org>
Tested-by: Daniel Golle <daniel@makrotopia.org>
Signed-off-by: Weijie Gao <weijie.gao@mediatek.com>
arch/arm/dts/mt7622.dtsi

index 0127474c95d498566fb8511ae3369c99db5badb6..fb6c1b715493530f025c9241e42dffe248bb4422 100644 (file)
                status = "disabled";
                assigned-clocks = <&topckgen CLK_TOP_AXI_SEL>;
                assigned-clock-parents = <&topckgen CLK_TOP_SYSPLL1_D2>;
+               mediatek,force-highspeed;
        };
 
        mmc0: mmc@11230000 {