Commit Graph

11 Commits

Author SHA1 Message Date
Vedant Deshpande
c1afccabc1 arm64: tegra: Restructure Orin NX/Nano device tree
The Orin NX and Orin Nano boards share a common carrier board and the
module boards for both platforms are very similar. Therefore,
restructure the Orin NX/Nano device-tree source files to adhere to a
simple hierarchical format. This will help make clear where changes
should go, and eliminates redundancy within the files.

Previously the carrier board file was independent. However, given
that it is so tightly coupled with the module design, it will be
more practical to combine files together for a simpler layout.

Following changes are made to restructure the device tree source files:
1) Change include hierarchy. Top-level dts includes board dtsi.
   Board dtsi includes module dtsi. Module dtsi includes SoC dtsi.
2) Data from the top level dts file that is common to both Orin NX
   and Orin Nano is in tegra234-p3768-0000+p3767.dtsi.
3) Only data that is unique to NX/Nano is present in the top-level dts.

Signed-off-by: Vedant Deshpande <vedantd@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>

Bug 4707773

Change-Id: I45d73a33db0c654b7d98fdfa456c52f7b024a26a
Signed-off-by: Brad Griffis <bgriffis@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3207075
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
Reviewed-by: Jon Hunter <jonathanh@nvidia.com>
2024-09-07 11:25:04 -07:00
sheetal
11c5935bc2 [UPSTREAM] arm64: tegra: Remove Jetson Orin NX and Jetson Orin Nano DTSI
Jetson Orin NX and Jetson Orin Nano DTSI files just define the HDA label
and it is already added as part of base DTS files.
Hence, removing these files.

Upstream commit ID: cc36acb8a67ddfe4bc7bc722748f6c1b72eed5ed

Bug 4429992
TAS-2240

Change-Id: I07450f4165905393728224d412462a2835e30abc
Signed-off-by: sheetal <sheetal@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3086461
Reviewed-by: Sameer Pujar <spujar@nvidia.com>
Reviewed-by: Mohan kumar <mkumard@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2024-03-13 05:18:03 -07:00
sheetal
36c8e53545 [UPSTREAM] arm64: tegra: Add audio support for Jetson Orin NX and Jetson Orin Nano
Add audio support for the NVIDIA Jetson Orin NX (p3767, SKU0) module and
Jetson Orin Nano (p3767, SKU5) module Developer Kit with P3768 carrier
board.

APE and HDA sound cards are enabled.

Supported IO interfaces: I2S2 and I2S4.

Upstream commit ID: 5f360dbc22f17bb0f850039e955656528c6e8772

Bug 4429992
TAS-2240

Change-Id: I81f2086c7131a51ae8023ae82194e239008d55dc
Signed-off-by: sheetal <sheetal@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3086460
Reviewed-by: Sameer Pujar <spujar@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Mohan kumar <mkumard@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2024-03-13 05:17:59 -07:00
Thierry Reding
69ca9e6a61 arm64: tegra: Remove duplicate nodes on Jetson Orin NX
The SBSA UART and TCU as well as the TCU alias and the stdout-path are
configured via the P3768 carrier board DTS include, so the can be
removed from the system DTS file.

Bug 4037899

Change-Id: I518acd5930ea7a7428cf39136e3b2c5929eff280
Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3037844
Reviewed-by: Jonathan Hunter <jonathanh@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-12-19 13:41:15 -08:00
Gautham Srinivasan
dc46feb7e0 [UPSTREAM V6.6] arm64: tegra: Enable UARTA and UARTE for Orin Nano
Activate UARTA and UARTE functionalities for Orin Nano.

- UARTA is accessible via the 40-pin header with pin 8 and 10 (TX/RX)
- UARTE utilizes the M2.E connector

Bug 4148340

Signed-off-by: Gautham Srinivasan <gauthams@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
(cherry picked from mainline commit 96ff27cecbc9dec9858786228c351341372b482f)

Change-Id: Iffce03a6a159d7909fb711e56344c00cc63ac96a
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3019985
(cherry picked from commit 6084ef986a)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3020146
Tested-by: Gautham Srinivasan <gauthams@nvidia.com>
Reviewed-by: Gautham Srinivasan <gauthams@nvidia.com>
Reviewed-by: Jonathan Hunter <jonathanh@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-11-23 11:11:51 -08:00
Thierry Reding
d3aa3fafe2 arm64: tegra: Add 35°C trip point for Jetson Orin NX/Nano
It turns out that these devices can get quite hot to the touch with the
standard cooling configuration, so add another trip point at 35°C along
with a cooling map to help keep the system reasonably cool at very low
system load.

Cherry picked from commit 22237440d89c870ec3f905a59f469998233718ec
Bug 4204722

Change-Id: I7eb212241600f945173f4702fa2f9d09a6daf232
Reviewed-by: Yi-Wei Wang <yiweiw@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2946052
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
2023-08-02 14:26:50 -07:00
Laxman Dewangan
9912826b40 tegra234: Align serial, usb and regulator nodes with 6.5.rc2
Do the multiple minor alignment with mainline DTS/DTSI file
as follows:
- Rearranged the clock speed of serial port based on mainline.
- Corrected the pci3v3 regualotr GPIO on P3701-0000.
- Corrected usb phy-names on Pp3768-0000.

Bug 4037899

Change-Id: Ie39ede2eaed8f7eb0a2cbee6cdde47205a358c19
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2945863
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
2023-08-02 14:24:41 -07:00
Yi-Wei Wang
b83129f918 [UPSTREAM v6.5]: arm64: tegra: Enable thermal support on Jetson Orin NX
Enable the TJ thermal zone and hook up cooling maps for the PWM-
controlled fan and two trip points.

This also removes a duplicate definition of the PWM fan and changes its
cooling levels. This should have no effect, though, because the fan
wasn't previously connected to anything and by default would be turned
off at probe time.

Cherry picked from commit a6fb90f0eefb13e2cf18f39f1a84a9ef6054153b

Bug 3960800
Bug 4035713
Bug 4204722

Acked-by: Jon Hunter <jonathanh@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Yi-Wei Wang <yiweiw@nvidia.com>
Change-Id: I222e43a16f8853ccec70006b72a40973b5e2cc86
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2941396
(cherry picked from commit 50b6a5db24)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2944435
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
2023-08-01 02:56:01 -07:00
Laxman Dewangan
fb6e6b2f31 tegra234: Move un-upstreamed pci nodes to overlay
PCIE nodes get added in the base DTS file
"tegra234-p3768-0000+p3767-0000" which are not up-streamed
to mainline yet. Move such nodes to the overlay file.

Bug 4037899

Change-Id: I3b58e9d6a118ab399fd4dad512b51ea59e1aa443
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2945336
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-07-31 22:36:20 -07:00
Laxman Dewangan
42c49c99d4 tegra234: Rearrange pwm-fan node align to mainline
Rearrange the pwm-fan node to align to mainline.

Cherry picked from e63472eda5ea84424e4bff2b809389b0ba266613
Change: Selected alignment for pwm-fan node

Bug 4204736

Change-Id: I2ba2f3c57e59663559bc278972bbd339f2cefbc7
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2940481
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-07-21 20:23:48 -07:00
Gautham Srinivasan
2f38af083f UPSTREAM: arm64: tegra: Support Jetson Orin NX reference platform
Add support for the combination of the NVIDIA Jetson Orin NX (P3767, SKU
0) module and the P3768 carrier board.

Ref CL: https://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux.git/commit/?h=for-6.4/arm64/dt&id=e63472eda5ea84424e4bff2b809389b0ba266613

Bug 3998955

Change-Id: I8733a7020e333332acb15da0a518f5c0b14affd7
Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Gautham Srinivasan <gauthams@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2894103
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Jonathan Hunter <jonathanh@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-05-05 02:32:05 -07:00