[PATCH 1/2] arm64: dts: qcom: sdm845-sony-xperia-tama: Correct uart instances

Petr Hodina via B4 Relay posted 2 patches 2 weeks, 6 days ago
There is a newer version of this series
[PATCH 1/2] arm64: dts: qcom: sdm845-sony-xperia-tama: Correct uart instances
Posted by Petr Hodina via B4 Relay 2 weeks, 6 days ago
From: Petr Hodina <petr.hodina@protonmail.com>

Change the uart instances:
- uart6 is for bluetooth
- uart9 is for serial console (available on the uSD pinout)

Signed-off-by: Petr Hodina <petr.hodina@protonmail.com>
---
 arch/arm64/boot/dts/qcom/sdm845-sony-xperia-tama.dtsi | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm64/boot/dts/qcom/sdm845-sony-xperia-tama.dtsi b/arch/arm64/boot/dts/qcom/sdm845-sony-xperia-tama.dtsi
index 7dc9349eedfd..68841e036c20 100644
--- a/arch/arm64/boot/dts/qcom/sdm845-sony-xperia-tama.dtsi
+++ b/arch/arm64/boot/dts/qcom/sdm845-sony-xperia-tama.dtsi
@@ -17,8 +17,8 @@ / {
 	qcom,board-id = <8 0>;
 
 	aliases {
-		serial0 = &uart6;
-		serial1 = &uart9;
+		serial0 = &uart9;
+		serial1 = &uart6;
 	};
 
 	chosen {

-- 
2.52.0
Re: [PATCH 1/2] arm64: dts: qcom: sdm845-sony-xperia-tama: Correct uart instances
Posted by Konrad Dybcio 2 weeks, 5 days ago
On 1/19/26 12:58 PM, Petr Hodina via B4 Relay wrote:
> From: Petr Hodina <petr.hodina@protonmail.com>
> 
> Change the uart instances:
> - uart6 is for bluetooth
> - uart9 is for serial console (available on the uSD pinout)
> 
> Signed-off-by: Petr Hodina <petr.hodina@protonmail.com>
> ---

It would make sense to add a note why this is a useful change (i.e.
most OSes would probably assume serial0 is the console UART and
sending that to the bluetooth chip is no good)

With that

Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>

Konrad
Re: [PATCH 1/2] arm64: dts: qcom: sdm845-sony-xperia-tama: Correct uart instances
Posted by David Heidelberg 2 weeks, 6 days ago
On 19/01/2026 12:58, Petr Hodina via B4 Relay wrote:
> From: Petr Hodina <petr.hodina@protonmail.com>
> 
> Change the uart instances:
> - uart6 is for bluetooth
> - uart9 is for serial console (available on the uSD pinout)
> 
> Signed-off-by: Petr Hodina <petr.hodina@protonmail.com>
> ---
>   arch/arm64/boot/dts/qcom/sdm845-sony-xperia-tama.dtsi | 4 ++--
>   1 file changed, 2 insertions(+), 2 deletions(-)
> 

Thank you!

Reviewed-by: David Heidelberg <david@ixit.cz>