devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] arm64: dts: mt8173: elm: Set uart0 to mmio32 iotype
@ 2020-09-10  5:46 Hsin-Yi Wang
  2020-09-10  5:46 ` [PATCH 2/2] arm64: dts: mt8183: kukui: " Hsin-Yi Wang
  2020-09-10  7:20 ` [PATCH 1/2] arm64: dts: mt8173: elm: " Enric Balletbo i Serra
  0 siblings, 2 replies; 6+ messages in thread
From: Hsin-Yi Wang @ 2020-09-10  5:46 UTC (permalink / raw)
  To: linux-mediatek
  Cc: Rob Herring, Matthias Brugger, devicetree, linux-arm-kernel,
	linux-kernel, Enric Balletbo i Serra

Set uart0 iotype to mmio32 to make earlycon work with stdout-path.

Signed-off-by: Hsin-Yi Wang <hsinyi@chromium.org>
---
 arch/arm64/boot/dts/mediatek/mt8173-elm.dtsi | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/arm64/boot/dts/mediatek/mt8173-elm.dtsi b/arch/arm64/boot/dts/mediatek/mt8173-elm.dtsi
index a5a12b2599a4a..d54e62f72c65d 100644
--- a/arch/arm64/boot/dts/mediatek/mt8173-elm.dtsi
+++ b/arch/arm64/boot/dts/mediatek/mt8173-elm.dtsi
@@ -1160,6 +1160,8 @@ &thermal {
 };
 
 &uart0 {
+	reg-io-width = <4>;
+	reg-shift = <2>;
 	status = "okay";
 };
 
-- 
2.28.0.526.ge36021eeef-goog


^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2020-09-10  8:46 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-09-10  5:46 [PATCH 1/2] arm64: dts: mt8173: elm: Set uart0 to mmio32 iotype Hsin-Yi Wang
2020-09-10  5:46 ` [PATCH 2/2] arm64: dts: mt8183: kukui: " Hsin-Yi Wang
2020-09-10  7:20 ` [PATCH 1/2] arm64: dts: mt8173: elm: " Enric Balletbo i Serra
2020-09-10  7:57   ` Hsin-Yi Wang
2020-09-10  8:16     ` Enric Balletbo i Serra
2020-09-10  8:44       ` Hsin-Yi Wang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).