All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 1/2] arm64: dts: mt8173: Set uart to mmio32 iotype
@ 2020-09-10  8:43 ` Hsin-Yi Wang
  0 siblings, 0 replies; 15+ messages in thread
From: Hsin-Yi Wang @ 2020-09-10  8:43 UTC (permalink / raw)
  To: linux-mediatek
  Cc: Rob Herring, Matthias Brugger, devicetree, linux-arm-kernel,
	linux-kernel, Enric Balletbo i Serra

Set uart 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.dtsi | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/arch/arm64/boot/dts/mediatek/mt8173.dtsi b/arch/arm64/boot/dts/mediatek/mt8173.dtsi
index 5e046f9d48ce9..ca6ea71f5f435 100644
--- a/arch/arm64/boot/dts/mediatek/mt8173.dtsi
+++ b/arch/arm64/boot/dts/mediatek/mt8173.dtsi
@@ -613,6 +613,8 @@ uart0: serial@11002000 {
 			interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_LOW>;
 			clocks = <&pericfg CLK_PERI_UART0_SEL>, <&pericfg CLK_PERI_UART0>;
 			clock-names = "baud", "bus";
+			reg-io-width = <4>;
+			reg-shift = <2>;
 			status = "disabled";
 		};
 
@@ -623,6 +625,8 @@ uart1: serial@11003000 {
 			interrupts = <GIC_SPI 84 IRQ_TYPE_LEVEL_LOW>;
 			clocks = <&pericfg CLK_PERI_UART1_SEL>, <&pericfg CLK_PERI_UART1>;
 			clock-names = "baud", "bus";
+			reg-io-width = <4>;
+			reg-shift = <2>;
 			status = "disabled";
 		};
 
@@ -633,6 +637,8 @@ uart2: serial@11004000 {
 			interrupts = <GIC_SPI 85 IRQ_TYPE_LEVEL_LOW>;
 			clocks = <&pericfg CLK_PERI_UART2_SEL>, <&pericfg CLK_PERI_UART2>;
 			clock-names = "baud", "bus";
+			reg-io-width = <4>;
+			reg-shift = <2>;
 			status = "disabled";
 		};
 
@@ -643,6 +649,8 @@ uart3: serial@11005000 {
 			interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_LOW>;
 			clocks = <&pericfg CLK_PERI_UART3_SEL>, <&pericfg CLK_PERI_UART3>;
 			clock-names = "baud", "bus";
+			reg-io-width = <4>;
+			reg-shift = <2>;
 			status = "disabled";
 		};
 
-- 
2.28.0.526.ge36021eeef-goog


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

end of thread, other threads:[~2020-09-11  9:44 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-10  8:43 [PATCH v2 1/2] arm64: dts: mt8173: Set uart to mmio32 iotype Hsin-Yi Wang
2020-09-10  8:43 ` Hsin-Yi Wang
2020-09-10  8:43 ` Hsin-Yi Wang
2020-09-10  8:43 ` [PATCH v2 2/2] arm64: dts: mt8183: " Hsin-Yi Wang
2020-09-10  8:43   ` Hsin-Yi Wang
2020-09-10  8:43   ` Hsin-Yi Wang
2020-09-10 10:25 ` [PATCH v2 1/2] arm64: dts: mt8173: " Matthias Brugger
2020-09-10 10:25   ` Matthias Brugger
2020-09-10 10:25   ` Matthias Brugger
2020-09-10 13:40   ` Hsin-Yi Wang
2020-09-10 13:40     ` Hsin-Yi Wang
2020-09-10 13:40     ` Hsin-Yi Wang
2020-09-11  9:43     ` Hsin-Yi Wang
2020-09-11  9:43       ` Hsin-Yi Wang
2020-09-11  9:43       ` Hsin-Yi Wang

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.