* [PATCH] arm64: tegra: Add SBSA UART for Tegra234
@ 2022-10-19 14:47 Jon Hunter
2022-10-24 13:45 ` Thierry Reding
0 siblings, 1 reply; 2+ messages in thread
From: Jon Hunter @ 2022-10-19 14:47 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Thierry Reding
Cc: devicetree, linux-tegra, Jon Hunter
Populate the SBSA UART for Tegra234 and enable this UART for Jetson AGX
Orin.
Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
---
.../boot/dts/nvidia/tegra234-p3737-0000+p3701-0000.dts | 5 +++++
arch/arm64/boot/dts/nvidia/tegra234.dtsi | 7 +++++++
2 files changed, 12 insertions(+)
diff --git a/arch/arm64/boot/dts/nvidia/tegra234-p3737-0000+p3701-0000.dts b/arch/arm64/boot/dts/nvidia/tegra234-p3737-0000+p3701-0000.dts
index fc7dcd521340..f7a1265cee97 100644
--- a/arch/arm64/boot/dts/nvidia/tegra234-p3737-0000+p3701-0000.dts
+++ b/arch/arm64/boot/dts/nvidia/tegra234-p3737-0000+p3701-0000.dts
@@ -2007,6 +2007,11 @@ serial@3100000 {
status = "okay";
};
+ serial@31d0000 {
+ current-speed = <115200>;
+ status = "okay";
+ };
+
hda@3510000 {
nvidia,model = "NVIDIA Jetson AGX Orin HDA";
status = "okay";
diff --git a/arch/arm64/boot/dts/nvidia/tegra234.dtsi b/arch/arm64/boot/dts/nvidia/tegra234.dtsi
index a68be5a0771b..abe8ab35bbcc 100644
--- a/arch/arm64/boot/dts/nvidia/tegra234.dtsi
+++ b/arch/arm64/boot/dts/nvidia/tegra234.dtsi
@@ -1324,6 +1324,13 @@ rce-fabric@be00000 {
status = "okay";
};
+ uarti: serial@31d0000 {
+ compatible = "arm,sbsa-uart";
+ reg = <0x31d0000 0x10000>;
+ interrupts = <GIC_SPI 285 IRQ_TYPE_LEVEL_HIGH>;
+ status = "disabled";
+ };
+
p2u_hsio_0: phy@3e00000 {
compatible = "nvidia,tegra234-p2u";
reg = <0x03e00000 0x10000>;
--
2.25.1
^ permalink raw reply related [flat|nested] 2+ messages in thread* Re: [PATCH] arm64: tegra: Add SBSA UART for Tegra234
2022-10-19 14:47 [PATCH] arm64: tegra: Add SBSA UART for Tegra234 Jon Hunter
@ 2022-10-24 13:45 ` Thierry Reding
0 siblings, 0 replies; 2+ messages in thread
From: Thierry Reding @ 2022-10-24 13:45 UTC (permalink / raw)
To: Jon Hunter; +Cc: Rob Herring, Krzysztof Kozlowski, devicetree, linux-tegra
[-- Attachment #1: Type: text/plain, Size: 793 bytes --]
On Wed, Oct 19, 2022 at 03:47:00PM +0100, Jon Hunter wrote:
> Populate the SBSA UART for Tegra234 and enable this UART for Jetson AGX
> Orin.
>
> Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
> ---
> .../boot/dts/nvidia/tegra234-p3737-0000+p3701-0000.dts | 5 +++++
> arch/arm64/boot/dts/nvidia/tegra234.dtsi | 7 +++++++
> 2 files changed, 12 insertions(+)
Applied, thanks. I noticed that the nodes have become a litte disordered
after the P2U nodes were added in commit ec142c44b026 ("arm64: tegra:
Add P2U and PCIe controller nodes to Tegra234 DT"), so I sorted the SBSA
UART node correctly and then reordered the remaining nodes correctly.
We should probably have a check for that. I'll see if I can come up with
something quickly.
Thierry
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-10-24 19:50 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-10-19 14:47 [PATCH] arm64: tegra: Add SBSA UART for Tegra234 Jon Hunter
2022-10-24 13:45 ` Thierry Reding
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).