]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm: dts: mt7622: remove default pinctrl of uart0
authorWeijie Gao <weijie.gao@mediatek.com>
Wed, 13 Jul 2022 03:16:39 +0000 (11:16 +0800)
committerTom Rini <trini@konsulko.com>
Mon, 25 Jul 2022 17:02:04 +0000 (13:02 -0400)
Currently u-boot running on mt7622 will print an warning log at beginning:
> serial_mtk serial@11002000: pinctrl_select_state_full: uclass_get_device_by_phandle_id: err=-19

It turns out that the pinctrl uclass can't work properly in board_f stage.

Since the uart0 is the default UART device used by bootrom, and will be
initialized in both bootrom and tf-a bl2. It's ok not to setup pinctrl for
uart0 in u-boot.

This patch removes the default pinctrl of uart0 to suppress the unwanted
warning.

Signed-off-by: Weijie Gao <weijie.gao@mediatek.com>
arch/arm/dts/mt7622-bananapi-bpi-r64.dts
arch/arm/dts/mt7622-rfb.dts

index 4f2f04851d10a5d448a0ec1280d48e38bb681f4d..2ac933a6ac995cdca26b800b60591aaca36dfaf6 100644 (file)
 };
 
 &uart0 {
-       pinctrl-names = "default";
-       pinctrl-0 = <&uart0_pins>;
        status = "okay";
 };
 
index c2f1ad2011ad51321f26cddabf5e8092b6a6af8d..30a913740708b4681be81b5787f80c97d5e4657d 100644 (file)
 };
 
 &uart0 {
-       pinctrl-names = "default";
-       pinctrl-0 = <&uart0_pins>;
        status = "okay";
 };