diff mbox series

arm64: dts: qcom: sm8250-edo: Set UART alias and stdout-path

Message ID 20230912-topic-edoconsole-v1-1-b392ea67e539@linaro.org
State Accepted
Commit 2e754956848889d5b04d8023753fa28de679373d
Headers show
Series arm64: dts: qcom: sm8250-edo: Set UART alias and stdout-path | expand

Commit Message

Konrad Dybcio Sept. 12, 2023, 1:48 p.m. UTC
The GENI UART driver requires one specifies a numeric alias. Do so and
set the stdout-path to route the console to the debug uart in the microSD
slot by default.

Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
---
 arch/arm64/boot/dts/qcom/sm8250-sony-xperia-edo.dtsi | 5 +++++
 1 file changed, 5 insertions(+)


---
base-commit: 3c13c772fc233a10342c8e1605ff0855dfdf0c89
change-id: 20230912-topic-edoconsole-f1395cae5f9a

Best regards,

Comments

Bjorn Andersson Sept. 14, 2023, 4:04 p.m. UTC | #1
On Tue, 12 Sep 2023 15:48:31 +0200, Konrad Dybcio wrote:
> The GENI UART driver requires one specifies a numeric alias. Do so and
> set the stdout-path to route the console to the debug uart in the microSD
> slot by default.
> 
> 

Applied, thanks!

[1/1] arm64: dts: qcom: sm8250-edo: Set UART alias and stdout-path
      commit: 2e754956848889d5b04d8023753fa28de679373d

Best regards,
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/qcom/sm8250-sony-xperia-edo.dtsi b/arch/arm64/boot/dts/qcom/sm8250-sony-xperia-edo.dtsi
index ecdc20bc10f5..e07d0311ecb5 100644
--- a/arch/arm64/boot/dts/qcom/sm8250-sony-xperia-edo.dtsi
+++ b/arch/arm64/boot/dts/qcom/sm8250-sony-xperia-edo.dtsi
@@ -18,7 +18,12 @@  / {
 	qcom,msm-id = <356 0x20001>; /* SM8250 v2.1 */
 	qcom,board-id = <0x10008 0>;
 
+	aliases {
+		serial0 = &uart12;
+	};
+
 	chosen {
+		stdout-path = "serial0:115200n8";
 		#address-cells = <2>;
 		#size-cells = <2>;
 		ranges;