Commit Graph

476 Commits

Author SHA1 Message Date
robelin
2b777f2643 t23x: p3737-3701 : Add PCIe pex-wake node for PCIe WAKE# on C1
Add PCIe pex-wake for C1 to enable wake on wifi

Bug 4878693

Change-Id: Idcee98f3c343b5097a098be45683f662b00bc629
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3246216
Tested-by: Robert Lin <robelin@nvidia.com>
Reviewed-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-by: Shobek Attupurath <sattupurath@nvidia.com>
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
Reviewed-by: Robert Lin <robelin@nvidia.com>
2024-11-22 05:24:35 -08:00
Brad Griffis
41f6d6639b t23x: dts: enable crypto for Orin NX/Nano
Enable crypto accelerators for Orin NX/Nano.

Additionally:

1. Remove the compatibles "nvidia,tegra234-se2-aes" and
   "nvidia,tegra234-se4-hash" since the OOT crypto modules
   are now aligned with upstream.

2. Remove reference to crypto@15810000 since it is not valid.

Bug 4883011

Change-Id: I075c54a194ec46dd2727067fc35b9891ef934770
Signed-off-by: Brad Griffis <bgriffis@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3241042
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
Reviewed-by: Jon Hunter <jonathanh@nvidia.com>
2024-11-06 10:54:04 -08:00
Akhil R
09148b037f nv-public: Fix DMA REQ_SEL ID for SPI2
REQ_SEL ID for spi@c260000 is '16' as per the flow control mapping
document. Update the incorrect value in the device tree.

Bug 4945416

Signed-off-by: Akhil R <akhilrajeev@nvidia.com>
Change-Id: I42e5f9f4bbc896976c4861934fb2f8170e8edf1b
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3243690
Reviewed-by: Bibek Basu <bbasu@nvidia.com>
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
2024-11-06 04:08:58 -08:00
Gautham Srinivasan
3a75233537 t23x: overlay: rename csi connector pins
Rename csi camera connector pins to 22 instead of 24.

Bug 4888305

Change-Id: I6e53e3184637ed4025398c65499caf3f6b623ca7
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3237691
Tested-by: Gautham Srinivasan <gauthams@nvidia.com>
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
Reviewed-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-by: Sheetal . <sheetal@nvidia.com>
Reviewed-by: Anubhav Rai <arai@nvidia.com>
2024-11-06 00:54:59 -08:00
Jeshua Smith
d544ee193d t234: soc: add missing cells parms to intc
DTB spec says:
"A DTSpec-compliant boot program shall supply #address-cells and
 #size-cells on all nodes that have children"

This adds the required cells to the interrupt-controller node.

It also fixes up pcie interrupt-map values to
use the correct number of #address-cells. They
appeared to be using 0 before.

JIRA TEGRAUEFI-3252

Signed-off-by: Jeshua Smith <jeshuas@nvidia.com>
ChangeId: Iaa30ab7a1612aa8927a6de239fb201c66049ab0f
Change-Id: Iaa30ab7a1612aa8927a6de239fb201c66049ab0f
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3231095
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3240809
Reviewed-by: Jake Garver <jake@nvidia.com>
2024-11-04 08:38:57 -08:00
Revanth Kumar Uppala
c80c978870 t23x: nv-platform: Make PCIe C1 interrupt flag to GPIO_ACTIVE_LOW
This change updates the interrupt flag for the PCIe C1 controller
from IRQ_TYPE_LEVEL_LOW to GPIO_ACTIVE_LOW, aligning the
configuration with the expected GPIO active state for proper wakeup
functionality.

Bug 4895658

Change-Id: I1f09eadd2961242032f7aedfa4f0c618c60625df
Signed-off-by: Revanth Kumar Uppala <ruppala@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3239870
Tested-by: Robert Lin <robelin@nvidia.com>
Reviewed-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-by: Robert Lin <robelin@nvidia.com>
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
2024-11-02 04:08:57 -07:00
Hiteshkumar Patel
924686a94f t23x: nv-public: Disable IMX219 auto-detection
Disable IMX219 auto-detection. It was introducing boot error as
"imx219_board_setup: error during i2c read probe (-121)" when
IMX219 sensor is not connected.

Bug 4911127

Change-Id: I43349fb3ca40067df3e4f8132c2058a794c8fbf9
Signed-off-by: Hiteshkumar Patel <hiteshkumarg@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3239680
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Brad Griffis <bgriffis@nvidia.com>
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
2024-11-01 12:39:25 -07:00
Yi-Wei Wang
b75727c664 t23x: dts: restructure soctherm sensors
Previously soctherm sensors were included in platform-level (cvm+cvb)
files. This change moves them to module-level files, since the settings
are module-specific.

Bug 4893772

Signed-off-by: Yi-Wei Wang <yiweiw@nvidia.com>
Change-Id: I3b52dbc6f3183ef18087921cc2782f46d3229fa0
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3226551
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
Reviewed-by: Jon Hunter <jonathanh@nvidia.com>
rel-36_eng_2024-10-24
2024-10-09 21:54:21 -07:00
Vishwaroop A
1dd7612d8a dts: qspi: update parent clock and bus width
Add assigned clock parent and rate properties
in device tree for qspi and update the p3701 bus width
for qspi to 4 instead of 1.

Bug 4739710
Bug 4535595

Change-Id: I32cdc917af9ed6c4bbeb94e27d8b007ba704ca8b
Signed-off-by: Vishwaroop A <va@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3174161
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
Reviewed-by: svcacv <svcacv@nvidia.com>
2024-10-03 03:08:56 -07:00
Gautham Srinivasan
332e56ee15 t23x: overlay: display pin state for i2c and uart
In Jetson-IO, I2C and UART pins are configured by default,
and there is no option to disable or display them as enabled.
By adding the appropriate "nvidia,function" value, Jetson-IO
updates the "Configure header pins manually" section to show
the pin state, allowing the user to enable or disable these pins.

Also, add the input and tristate values so that the pin can be
enabled back to the right configuration.

Bug 3866629

Change-Id: I2c01ac7355259e4a3e0a10905699b5dfbbbaf177
Signed-off-by: Gautham Srinivasan <gauthams@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3219025
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-by: Sheetal . <sheetal@nvidia.com>
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
2024-09-30 20:38:56 -07:00
Ninad Malwade
354519a4a5 t234: nv-platform: p3768: delete the suspend key
As per the Orin Nano Dev Kit schematic, GPIO_G.02 is not available
on this device family. It should not be used at all on Orin NX/Nano.

Orin NX/Nano uses GPIO_EE.04 as both a "power" button and a "suspend"
button.  However, we cannot have two gpio-keys mapped to the same
GPIO. Therefore delete the "suspend" key.

Bug 4868022

Change-Id: Ib027748800e271ecf95bf644a803289d69abda2c
Signed-off-by: Ninad Malwade <nmalwade@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3219226
Reviewed-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-by: svcacv <svcacv@nvidia.com>
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
2024-09-26 21:39:00 -07:00
Dara Stotland
968dd08eb9 arm64: tegra: Add thermal nodes to AGX Orin SKU8
One of the key differences between p3701-0000 and p3701-0008 is the
temperature range. Add this info for p3701-0008.

Signed-off-by: Dara Stotland <dstotland@nvidia.com>
Reviewed-by: Brad Griffis <bgriffis@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>

Bug 4707773

Change-Id: Iafe1202a8e9197dcb20c07971e8067c9168bfb6c
Signed-off-by: Brad Griffis <bgriffis@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3207087
(cherry picked from commit e8c48cf67c)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3216040
Reviewed-by: Jon Hunter <jonathanh@nvidia.com>
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
2024-09-24 19:27:16 -07:00
Brad Griffis
ae593efe21 t23x: nv-platform: remove redundant bpmp nodes
The tmp451 sensor definition has moved to the tegra234-p3701.dtsi file
and so it is common to all platforms using AGX Orin. Remove the
older definitions from nv-platform that are no longer needed.

Bug 4707773

Change-Id: I0053e3a08f4e6e6cf4f9ebe957925b283f18fdd5
Signed-off-by: Brad Griffis <bgriffis@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3207122
(cherry picked from commit 01cbc20086)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3216039
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
Reviewed-by: Jon Hunter <jonathanh@nvidia.com>
2024-09-24 19:27:12 -07:00
Dara Stotland
f195b43a73 arm64: tegra: Move BPMP nodes to AGX Orin module
All SKUs of the p3701 module contain a temp sensor connected to the
BPMP I2C. Move the associated nodes from tegra234-p3701-0008.dtsi
to tegra234-p3701.dtsi. Add missing compatible.

Signed-off-by: Dara Stotland <dstotland@nvidia.com>
Reviewed-by: Brad Griffis <bgriffis@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>

Bug 4707773

Change-Id: I5ac5e654468dc2a6119127243aeacb217067c6b8
Signed-off-by: Brad Griffis <bgriffis@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3207086
(cherry picked from commit 1586ba0480)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3216038
Reviewed-by: Jon Hunter <jonathanh@nvidia.com>
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
2024-09-24 19:27:09 -07:00
Dara Stotland
1dbd59336c arm64: tegra: Move padctl supply nodes to AGX Orin module
Some padctl supply nodes currently reside in board file, when they
should reside on module level. The nodes are part of module,
not board. Move these nodes to the correct AGX Orin
module file.

Signed-off-by: Dara Stotland <dstotland@nvidia.com>
Reviewed-by: Brad Griffis <bgriffis@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>

Bug 4707773

Change-Id: I7af97cc993d9561d1b05b7326e374ae50a724d05
Signed-off-by: Brad Griffis <bgriffis@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3207085
(cherry picked from commit e0103b5f09)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3216037
Reviewed-by: Jon Hunter <jonathanh@nvidia.com>
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
2024-09-24 19:27:05 -07:00
Dara Stotland
db20300575 arm64: tegra: Move AGX Orin nodes to correct location
Some of the nodes inside the AGX Orin module file are in the
wrong location. In particular, the SD card interface and
two of the PCIe regulators in the module file should instead
reside in the board file. These components are not part of the
module. They are part of the carrier board. Move these
nodes to the correct location.

Fixes: cd42b26a527f ("arm64: tegra: Add regulators required for PCIe")
Fixes: d71b893a119d ("arm64: tegra: Add Tegra234 SDMMC1 device tree node")
Signed-off-by: Dara Stotland <dstotland@nvidia.com>
Reviewed-by: Brad Griffis <bgriffis@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>

Bug 4707773

Change-Id: I46aba99d96cc5d016b186c4df862db1f2b3d7a05
Signed-off-by: Brad Griffis <bgriffis@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3207084
(cherry picked from commit 6920c55072)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3216036
Reviewed-by: Jon Hunter <jonathanh@nvidia.com>
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
2024-09-24 19:27:01 -07:00
Dara Stotland
4d2beebacd arm64: tegra: Combine IGX Orin board files
Current IGX Orin structure has both a top-level module+board
file as well as a board file. Most of the data in the board-file
is closely related to the module itself. The benefit of this
extra file is outweighed by the additional complexity. Merge
the board file into the module+board file for simplicity.

Signed-off-by: Dara Stotland <dstotland@nvidia.com>
Reviewed-by: Brad Griffis <bgriffis@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>

Bug 4707773

Change-Id: I99b4c3d85e7ce4b16945c35341fd483bfb291228
Signed-off-by: Brad Griffis <bgriffis@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3207083
(cherry picked from commit b3e546aaf3)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3216035
Reviewed-by: Jon Hunter <jonathanh@nvidia.com>
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
2024-09-24 19:26:57 -07:00
Dara Stotland
9ea6381794 arm64: tegra: Combine AGX Orin board files
The current AGX Orin structure has both a top-level module+board
file as well as a board file. Most of the data in the board-file
is closely related to the module itself. The benefit of this
extra file is outweighed by the additional complexity. Merge
the board file into the module+board file for simplicity.

Signed-off-by: Dara Stotland <dstotland@nvidia.com>
Reviewed-by: Brad Griffis <bgriffis@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>

Bug 4707773

Change-Id: Ic37a105bcf9d0bd72f73cb16c0721189bf8c4921
Signed-off-by: Brad Griffis <bgriffis@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3207082
(cherry picked from commit 0666251418)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3216034
Reviewed-by: Jon Hunter <jonathanh@nvidia.com>
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
2024-09-24 19:26:53 -07:00
Dara Stotland
26e03e5de7 arm64: tegra: Add common nodes to AGX Orin module
The AGX Orin module boards contain common nodes that can
be moved to the included module dtsi. This eliminates
redundancy within the files and reduces lines of code.
Data from tegra234-p3701-0000 and tegra234-p3701-0008 that
is common is now in tegra234-p3701.dtsi.

Signed-off-by: Dara Stotland <dstotland@nvidia.com>
Reviewed-by: Brad Griffis <bgriffis@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>

Bug 4707773

Change-Id: I50984aab3390d65fa8fd3eb2766be2bb06d44bdf
Signed-off-by: Brad Griffis <bgriffis@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3207081
(cherry picked from commit f382829e61)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3216033
Reviewed-by: Jon Hunter <jonathanh@nvidia.com>
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
2024-09-24 19:26:49 -07:00
Brad Griffis
aaa0ed3116 t23x: nv-platform: remove redundant p3767-ep
Patches have gone upstream to add p3767-ep support into the base dtb
files. Remove the nv-platform definitions since these are no longer
needed.

Bug 4707773

Change-Id: Ibfb6df91cb74814a084b23d6087f33caa0bfe922
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3207121
(cherry picked from commit 9edb64d771)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3216032
Tested-by: Brad Griffis <bgriffis@nvidia.com>
Reviewed-by: Jon Hunter <jonathanh@nvidia.com>
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
Reviewed-by: Brad Griffis <bgriffis@nvidia.com>
2024-09-24 19:26:45 -07:00
Vedant Deshpande
f41d403b25 arm64: tegra: Add p3767 PCIe C4 EP details
Add implementation details for Orin NX/Nano PCIe EP on C4.

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

Bug 4707773

Change-Id: Ie64897c6772ab00efc5099fa69e4a75eb78463df
Signed-off-by: Brad Griffis <bgriffis@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3207080
(cherry picked from commit fae586695f)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3216031
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
Reviewed-by: Jon Hunter <jonathanh@nvidia.com>
2024-09-24 19:26:42 -07:00
Brad Griffis
2b1996eb05 t23x: nv-soc: remove pcie-ep nodes that are upstream
Most of the definition to pcie-ep@14160000 has been added to
tegra234.dtsi. Remove those pieces that are already part of
that file so we don't have redundant definitions.

Bug 4707773

Change-Id: I73d1c44f6e07bd16fda22256590218c4f1a6ed39
Signed-off-by: Brad Griffis <bgriffis@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3207120
(cherry picked from commit 9e50a2a3fd)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3216030
Reviewed-by: Jon Hunter <jonathanh@nvidia.com>
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
2024-09-24 19:26:38 -07:00
Vedant Deshpande
4470ed7355 arm64: tegra: Add Tegra234 PCIe C4 EP definition
Add PCIe C4 EP controller definition in device tree for Tegra234
devices.

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

Bug 4707773

Change-Id: Ib7d962389aafd2cc5eef4e5afaa2171c8009270c
Signed-off-by: Brad Griffis <bgriffis@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3207079
(cherry picked from commit 9551f57a77)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3216029
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
Reviewed-by: Jon Hunter <jonathanh@nvidia.com>
2024-09-24 19:26:34 -07:00
Jon Hunter
fe482fee38 arm64: tegra: Correct location of power-sensors for IGX Orin
The power-sensors are located on the carrier board and not the
module board and so update the IGX Orin device-tree files to fix this.

Fixes: 9152ed09309d ("arm64: tegra: Add power-sensors for Tegra234 boards")
Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>

Bug 4707773

Change-Id: Ib7884b864beacc9599050e67ef50f0f1d1d95aa9
Signed-off-by: Brad Griffis <bgriffis@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3207078
(cherry picked from commit bb72637742)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3216028
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
Reviewed-by: Jon Hunter <jonathanh@nvidia.com>
2024-09-24 19:26:31 -07:00
Brad Griffis
de8982e0de t23x: nv-platform: remove redundant hsuart nodes from p3768
The latest upstream files remove the need for some hsuart-related lines
in our nv-platform files for p3768. Remove these unneeded lines.

Bug 4707773

Change-Id: I48f96b0c68392986b59999ddc7f0eb0e79ca927f
Signed-off-by: Brad Griffis <bgriffis@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3207119
(cherry picked from commit 2088c3255b)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3216027
Reviewed-by: Jon Hunter <jonathanh@nvidia.com>
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
2024-09-24 19:26:27 -07:00
Vedant Deshpande
68cc6a0b28 arm64: tegra: enable same UARTs for Orin NX/Nano
This patch ensures that Orin NX and Orin Nano enable an identical
set of serial ports. UARTA/UARTE will be enabled by adding
respective nodes to the board dtsi file.

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

Bug 4707773

Change-Id: I782d858f89a6691c35235165bf233e936b38d632
Signed-off-by: Brad Griffis <bgriffis@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3207077
(cherry picked from commit 49e2df39c0)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3216026
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
Reviewed-by: Jon Hunter <jonathanh@nvidia.com>
2024-09-24 19:26:23 -07:00
Vedant Deshpande
be1ea5053f arm64: tegra: Add DMA properties for Tegra234 UARTA
Adding the missing dmas and dma-names properties which are required
for UARTA when using with the Tegra HSUART driver.

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

Bug 4707773

Change-Id: I3b952cf72b534e9478c2e679ab0f58b4d837bfaf
Signed-off-by: Brad Griffis <bgriffis@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3207076
(cherry picked from commit 8fdf97141d)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3216025
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
Reviewed-by: Jon Hunter <jonathanh@nvidia.com>
2024-09-24 19:26:19 -07:00
Vedant Deshpande
6fb6a1dc2f 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
(cherry picked from commit c1afccabc1)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3216024
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
Reviewed-by: Jon Hunter <jonathanh@nvidia.com>
2024-09-24 19:26:15 -07:00
Brad Griffis
fc394bbcfa t23x: nv-public: update spacing to match upstream
An earlier patch did not match the spacing used upstream. Fix
the spacing to maintain consistency such that patches can be
applied cleanly.

Bug 4152207

Change-Id: I12254a939f9b812b125e17c525a5b527e0067ef9
Signed-off-by: Brad Griffis <bgriffis@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3207072
(cherry picked from commit 6f5fd618d3)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3216023
Reviewed-by: Jon Hunter <jonathanh@nvidia.com>
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
2024-09-24 19:26:12 -07:00
Brad Griffis
435cef0dc5 t23x: nv-soc: Enable USB remote wakeup support
Add SC7 wake support:
- wake 76 for SS port 0
- wake 77 for SS port 1
- wake 78 for SS port 2 and SS port 3
- wake 79 for USB2 port 0
- wake 80 for USB2 port 1
- wake 81 for USB2 port 2
- wake 82 for USB2 port 3

Bug 4166189

Change-Id: I16bf1215178f0b7bc0486794a42f169fc6185315
Signed-off-by: Brad Griffis <bgriffis@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3217045
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
Reviewed-by: Jon Hunter <jonathanh@nvidia.com>
2024-09-24 19:26:08 -07:00
Brad Griffis
e0688a1de6 Revert "[UPSTREAM PENDING] soc: tegra234: Enable USB remote wakeup support"
This reverts commit ac9e946992.

Reason for revert: Patch is not upstream.

Bug 4166189

Change-Id: Id30bb9625ccfd822e9f49145225c7f1903d2de86
Signed-off-by: Brad Griffis <bgriffis@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3206861
(cherry picked from commit be133b5e99)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3216022
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
Reviewed-by: Jon Hunter <jonathanh@nvidia.com>
2024-09-24 19:26:04 -07:00
Brad Griffis
a10f6254a5 t23x: dts: fix up previous patch to align with upstream
Clean up errors in this patch:

7670c8e ("UPSTREAM: arm64: tegra: Add audio support for IGX Orin")

It added nodes that were not part of the upstream patch.  Remove
those nodes since they are not present upstream.

Bug 4115300

Change-Id: Ieab09a185b0ea64e6dc71b90cfca948fb29ca68f
Signed-off-by: Brad Griffis <bgriffis@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3207071
(cherry picked from commit 3bdc809ebc)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3216021
Reviewed-by: Jon Hunter <jonathanh@nvidia.com>
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
2024-09-24 19:26:00 -07:00
Laxman Dewangan
6bcdd520f2 t23x: nv-platforms: Remove INA device node
The INA device nodes are added in the base DTB
files which is integrated from mainline. Hence,
it is not required to add the same devices frm
override base DTB files.

Remove the duplicate entries.

Bug 4037899
Bug 4707773

Change-Id: I60e13b6daf0dec819c4ced4add019097f4735c66
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3036336
(cherry picked from commit 46c1a0c49d)
Signed-off-by: Vedant Deshpande <vedantd@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3172826
Tested-by: Brad Griffis <bgriffis@nvidia.com>
Reviewed-by: Jon Hunter <jonathanh@nvidia.com>
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
Reviewed-by: Brad Griffis <bgriffis@nvidia.com>
2024-09-24 19:25:56 -07:00
Jon Hunter
cb9f5b0c38 arm64: tegra: Add power-sensors for Tegra234 boards
Populate the ina219 and ina3221 power-sensors for the various Tegra234
boards. These sensors are located on the Tegra234 module boards and the
configuration of some sensors is common across the different Tegra234
modules. Therefore, add any common sensor configurations to appropriate
device tree source file so it can be re-used across modules.

Bug 4707773

Change-Id: I3a1244497a27f6ecb2364bcb9112522a22dbae60
Signed-off-by: Jon Hunter <jonathanh@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/+/3036335
(cherry picked from commit 9d60e5aaa8)
Signed-off-by: Vedant Deshpande <vedantd@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3172825
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
Tested-by: Brad Griffis <bgriffis@nvidia.com>
Reviewed-by: Brad Griffis <bgriffis@nvidia.com>
2024-09-24 19:25:52 -07:00
ruppala
8d0b857c8f nv-platform: Add PEX WAKE GPIO interrupt for C1 controller
Add PEX WAKE GPIO interrupt in PCIe controller-1 device tree node
to support PEX WAKE for WiFi.

Bug 4701216

Change-Id: I5132caaef02f031696e39294e20b5ea9a91e8449
Signed-off-by: ruppala <ruppala@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3210119
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
Reviewed-by: Manikanta Maddireddy <mmaddireddy@nvidia.com>
Reviewed-by: Brad Griffis <bgriffis@nvidia.com>
2024-09-09 15:23:56 -07:00
Jerry Chang
0dc0f4c2a3 overlay: camera: remove deprecated properties
it's now using upstream ICC API, devm_of_icc_get().
remove below properties since they are deprecated.
- num_csi_lanes
- max_lane_speed
- max_pixel_rate
- min_bits_per_pixel
- vi_peak_byte_per_pixel
- vi_bw_margin_pct
- isp_peak_byte_per_pixel
- isp_bw_margin_pct

Bug 4712696

Change-Id: I387290e02e91d9ad2cbb7b25903e1445b3d73c2b
Signed-off-by: Jerry Chang <jerchang@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3162430
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Praveen AC <pac@nvidia.com>
Reviewed-by: Bibek Basu <bbasu@nvidia.com>
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
2024-09-09 04:39:19 -07:00
Brad Griffis
bbe01efff9 t23x: overlay: add no-map to vpr carveout
The VPR carveout has special security constraints. It must not be
read by the CPU. Add "no-map" property to this region to avoid
issues.

Currently linux-next builds are failing to boot because we hit
an error related to this mapping.

[    0.000000] Call trace:
[    0.000000]  numa_memblks_init+0x28c/0x32c
[    0.000000]  numa_init+0x48/0x218
[    0.000000]  arch_numa_init+0x48/0x84
[    0.000000]  bootmem_init+0x6c/0x174
[    0.000000]  setup_arch+0x23c/0x5fc
[    0.000000]  start_kernel+0x68/0x710
[    0.000000]  __primary_switched+0x80/0x88
[    0.000000] Code: a8c77bfd d50323bf d65f03c0 f9800051 (c85f7c46)

Addition of no-map resolves the issue.

Bug 4749580

Change-Id: I16cd52d5ce969d3af5e1814c51e061e2d584cc22
Signed-off-by: Brad Griffis <bgriffis@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3208483
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
Reviewed-by: Ketan Patil <ketanp@nvidia.com>
Reviewed-by: svcacv <svcacv@nvidia.com>
2024-09-05 13:24:12 -07:00
Mark Zhang
a082494d45 dts: optee: Update fTPM v2.0 nodes
This patch updates the fTPM nodes in Tegra234 OP-TEE dts to conform to the fTPM v2.0 design.

Bug 200771475
Bug 4610123

Change-Id: I6a620f7097b9b7a3b6698f50c3cc0e8b83c7c7f8
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3193965
Reviewed-by: Bibek Basu <bbasu@nvidia.com>
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
Tested-by: Joseph Lo <josephl@nvidia.com>
Reviewed-by: Jimmy Zhang <jimmzhang@nvidia.com>
Reviewed-by: Joseph Lo <josephl@nvidia.com>
2024-09-05 03:09:55 -07:00
Dipen Patel
ab9b7d747f nv-platform: Add edge safety services
The edge safety is profisafe demo app which is part of the SEP package
deliverables. Add necessary DT changes so that current
userspace components related to fsicomm software stack can parse
it. This includes updating total channels, adding two new nodes
belonging to edge safety server and its related frame size and count.

Bug 4766823

Change-Id: I2326a911ab384f26f8388d7136ee2a48b91ec0b7
Signed-off-by: Dipen Patel <dipenp@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3115003
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Brad Griffis <bgriffis@nvidia.com>
Reviewed-by: Bibek Basu <bbasu@nvidia.com>
rel-36_eng_2024-08-29
2024-08-21 22:54:26 -07:00
Wayne Wang
188ebb37f1 p3768: dts: disable PCIe C8 in p3767 0000 PX1
Since PX1 does not use PCIe C8, set it to disabled.

Bug 4601516

Signed-off-by: Wayne Wang(SW-TEGRA) <waywang@nvidia.com>
Change-Id: Ic757fdf87e4efcbca609b25d41cf8a523746c2c7
(cherry picked from commit 40a3011636474e2b361444422cf6ef8a40a5e2ca)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3131844
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Yi-Wei Wang <yiweiw@nvidia.com>
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
Reviewed-by: Rajkumar Kasirajan <rkasirajan@nvidia.com>
2024-08-13 10:24:11 -07:00
Vedant Deshpande
a987d2d0ea nv-platform: Rename se nodes to crypto
Rename the se nodes to crypto to maintain synchronization with
upstream changes.

Bug 4707773

Change-Id: I3018c945ab8f85ae372c2888f6f6d893ba8878a7
Signed-off-by: Vedant Deshpande <vedantd@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3191650
Reviewed-by: Brad Griffis <bgriffis@nvidia.com>
Reviewed-by: Gautham Srinivasan <gauthams@nvidia.com>
Reviewed-by: svcacv <svcacv@nvidia.com>
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
2024-08-10 05:39:13 -07:00
Vedant Deshpande
bf4f67f9d9 nv-platform: Remove duplicate PCIe nodes
Remove redundant nodes from common dtsi file which are already present
in upstream board level common include file.

Bug 4707773

Change-Id: I1f751005b3c5f19b8fea5a01c95ce912e31bc08d
Signed-off-by: Vedant Deshpande <vedantd@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3189292
Tested-by: Brad Griffis <bgriffis@nvidia.com>
Reviewed-by: Gautham Srinivasan <gauthams@nvidia.com>
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
Reviewed-by: Brad Griffis <bgriffis@nvidia.com>
Reviewed-by: svcacv <svcacv@nvidia.com>
2024-08-06 23:09:12 -07:00
Yi-Wei Wang
1f405def24 t23x: p3701-0000-as-p3767-000*: Update CPU Fmax
Update CPU Fmax for Orin NX / Nano emulation platforms.

Bug 4196830

Signed-off-by: Yi-Wei Wang <yiweiw@nvidia.com>
Change-Id: I6e0d1a08eeb9e6477f3e07d5e85b08867654e46a
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3189135
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Ivan Pravdin <ipravdin@nvidia.com>
Reviewed-by: Brad Griffis <bgriffis@nvidia.com>
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
2024-08-06 10:53:57 -07:00
Praveen AC
f84d681a56 t23x:P3783: Fix failed to read 2nd Hawk EEPROM serial number.
Changed EEPROM address to 0x15 for 2nd Hawks EEPROM
to avoid fail to read serial number.

Bug 4244937

Change-Id: I562a2c9c81b99baaf252e44f1e8530256a0b6643
Signed-off-by: Praveen AC <pac@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3184250
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
Reviewed-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-by: Shubham Chandra <shubhamc@nvidia.com>
Reviewed-by: Ankur Pawar <ankurp@nvidia.com>
rel-36_eng_2024-07-23
2024-08-01 23:39:20 -07:00
Sumit Gupta
dadc4a48b6 t23x: nv-public: tegra: fix typo in dce fabric compatible
Fix typo in the compatible string of DCE fabric.

Bug 4369009

Change-Id: Ic68a46a89f3859dd93034fd0e774e379699d7859
Signed-off-by: Sumit Gupta <sumitg@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3185578
Reviewed-by: Jon Hunter <jonathanh@nvidia.com>
Reviewed-by: Brad Griffis <bgriffis@nvidia.com>
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
2024-07-31 11:09:07 -07:00
Yi-Wei Wang
82746253aa t23x: nv-public: Disable hot surface alert for IGX
For IGX platform, the module and baseboard are inside the chassis, the
hot surface alert should not rely on on-chip or on-board thermal sensors
to judge whether the surface is hot or not. So, this change disables the
hot surface alert for IGX platform to avoid the false alarm.

Bug 4084478
Bug 4561083
Bug 4611631

Signed-off-by: Yi-Wei Wang <yiweiw@nvidia.com>
Change-Id: Ib4f9ca3e2822c593744668a82ebaabb3910ac594
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3181470
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Rajkumar Kasirajan <rkasirajan@nvidia.com>
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
2024-07-25 12:24:01 -07:00
Ankur Pawar
9c1a6b2d11 overlay: t23x: fix IMX390 SDR mode corruption
Bottom two lines in IMX390 SDR mode are completely
black. Issue is fixed in IMX390 driver. Change the
image resolution to 1936x1096.

Bug 4505240

Change-Id: Ie72ffc66e3ca67ce30e6ad5b56766486f78b1d0a
Signed-off-by: Ankur Pawar <ankurp@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3179853
Reviewed-by: svcacv <svcacv@nvidia.com>
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
Reviewed-by: Shubham Chandra <shubhamc@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
2024-07-25 09:54:18 -07:00
Sumit Gupta
43c90b2f83 t23x: nv-public: tegra: disable sce fabric node
Disable SCE fabric node to avoid overwrite of the actual CBB error and
to print info about the original error. Access to SCE fabric registers
was blocked by firewall after the introduction of FSI. After that any
illegal access by some SW to SCE registers is correctly resulting in
the CBB firewall error. But when CCPLEX tries accessing the SCE-fabric
registers to print error info, then another firewall error comes as
the fabric registers are also firewall protected. This causes second
error info to be printed which is misleading. Disable SCE fabric node
to avoid printing the misleading second error. The first error will
get printed on interrupt from the fabric causing the actual access.

Bug 4369009

Change-Id: I8f47516248bf239d9a5c7780d0f10456b1ebd9de
Signed-off-by: Sumit Gupta <sumitg@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3179289
Reviewed-by: svcacv <svcacv@nvidia.com>
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
Reviewed-by: Jon Hunter <jonathanh@nvidia.com>
Reviewed-by: Brad Griffis <bgriffis@nvidia.com>
2024-07-23 01:09:00 -07:00
Ashish Mhetre
977fb0aa31 tegra234: Add smmu_test node
Add smmu_test node in t23x dts and enable it. It's used by
smmu tests.

Bug 4739062

Change-Id: Ibcbb0fe1896b49987d4a77a99bd466da16c3634b
Signed-off-by: Ashish Mhetre <amhetre@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3179041
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
2024-07-22 02:26:58 -07:00
Brad Griffis
fb6feb2209 Revert "nv-public: arm64: tegra: disable sce fabric node"
This reverts commit 6acdd6c524.

Reason for revert: Cannot update upstream files.

Change-Id: I473b6d0a740eaa0ff235246a8f7fef88f6b2aba4
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3178463
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
2024-07-19 18:54:05 -07:00