mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-21 06:33:41 +00:00
d3a337a592
* updated SNAND/SNFI driver brings support for MT7981 * add support for MediaTek NAND Memory bad Block Management (NMBM) (not used for any boards atm, but could be useful in future) * wire up NMBM support for MT7622, MT7629, MT7981 and MT7986 * replace some local patches with updated version from SDK * bring some legacy precompiler symbols which haven't been converted into Kconfig symbols in U-Boot 2022.07, remove when bumbping to U-Boot 2022.10: 100-28-include-configs-mt7986-h-from-SDK.patch Source: https://github.com/mtk-openwrt/u-boot Signed-off-by: Daniel Golle <daniel@makrotopia.org>
46 lines
1.3 KiB
Diff
46 lines
1.3 KiB
Diff
From a3ba6adb70c91ec3b9312c3a025faa44acd39cfa Mon Sep 17 00:00:00 2001
|
|
From: Weijie Gao <weijie.gao@mediatek.com>
|
|
Date: Wed, 13 Jul 2022 11:16:39 +0800
|
|
Subject: [PATCH] arm: dts: mt7622: remove default pinctrl of uart0
|
|
|
|
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 | 2 --
|
|
arch/arm/dts/mt7622-rfb.dts | 2 --
|
|
2 files changed, 4 deletions(-)
|
|
|
|
--- a/arch/arm/dts/mt7622-bananapi-bpi-r64.dts
|
|
+++ b/arch/arm/dts/mt7622-bananapi-bpi-r64.dts
|
|
@@ -182,8 +182,6 @@
|
|
};
|
|
|
|
&uart0 {
|
|
- pinctrl-names = "default";
|
|
- pinctrl-0 = <&uart0_pins>;
|
|
status = "okay";
|
|
};
|
|
|
|
--- a/arch/arm/dts/mt7622-rfb.dts
|
|
+++ b/arch/arm/dts/mt7622-rfb.dts
|
|
@@ -189,8 +189,6 @@
|
|
};
|
|
|
|
&uart0 {
|
|
- pinctrl-names = "default";
|
|
- pinctrl-0 = <&uart0_pins>;
|
|
status = "okay";
|
|
};
|
|
|