Commit Graph

12 Commits

Author SHA1 Message Date
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
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
d3df85c64a nv-soc: Rename security engine nodes
Renamed the se node to crypto to maintain synchronization with
upstream changes. Also, updated compatible property to maintain
synchronization.

Bug 4707773

Change-Id: Ia08f08a3bdffd22eafdc274f0443e29eb6ef401d
Signed-off-by: Vedant Deshpande <vedantd@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3172699
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
Reviewed-by: Jon Hunter <jonathanh@nvidia.com>
Reviewed-by: Brad Griffis <bgriffis@nvidia.com>
Reviewed-by: svcacv <svcacv@nvidia.com>
Tested-by: Brad Griffis <bgriffis@nvidia.com>
2024-07-16 06:54:21 -07:00
Jason Mei
a5388aba8b t23x: nv-public: add host1x handle in PCIe EP
Some EPF function, such as tvnet need host1x support.
This involves adding the handle of host1x in PCIe EP.

Bug 4456727
Bug 4451567

Change-Id: I398c8041f652fa84b555e228f06c0ca4a066ed31
Signed-off-by: Jason Mei <jianjunm@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3081924
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Manikanta Maddireddy <mmaddireddy@nvidia.com>
Reviewed-by: Bibek Basu <bbasu@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2024-02-25 21:40:09 -08:00
Wayne Wang
5767db6887 t23x: nv-public: add support for P3737 C5 PCIe EP
1. Add missing properties to enable C5 PCIe EP on P3737
2. Also add missing properties for some old p3737 boards

Bug 4428373

Change-Id: Ic7a6a36c6874a1d42fe903ce726b8aa075d108c4
Signed-off-by: Wayne Wang(SW-TEGRA) <waywang@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3040254
Reviewed-by: Manikanta Maddireddy <mmaddireddy@nvidia.com>
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Brad Griffis <bgriffis@nvidia.com>
Reviewed-by: Bibek Basu <bbasu@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2024-01-18 01:09:21 -08:00
Gautham Srinivasan
ef1ffd96ac nv-soc: remove uart and spi definition
UARTE, SPI1, SPI2 and SPI3 controller definition have moved to
upstream file. These definitions are no longer required.

Bug 4148340
Bug 4130525

Change-Id: Ibef26f9f83ca9509847e348287cfab92d75a1c44
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3019987
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
Tested-by: Gautham Srinivasan <gauthams@nvidia.com>
Reviewed-by: Gautham Srinivasan <gauthams@nvidia.com>
Reviewed-by: Jonathan Hunter <jonathanh@nvidia.com>
2023-11-21 14:10:23 -08:00
Gautham Srinivasan
fb7d1ce43e nv-soc: Add PCIe C4 EP DTS node
Add PCIe C4 EP controller definition in device tree for T234 devices

Bug 4076164
Bug 4052872

Change-Id: I5fc4755c2105bc7c7cae4c41b7404002b2a60458
Signed-off-by: Gautham Srinivasan <gauthams@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3012402
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Manikanta Maddireddy <mmaddireddy@nvidia.com>
Reviewed-by: Brad Griffis <bgriffis@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-11-09 22:40:54 -08:00
Gautham Srinivasan
4ce6d86157 nv-soc: add infrastructure for aon_echo
Add aon_echo node which is disabled by default. This
can be enabled with the feature in the SPE firmware.

Bug 4296173

Change-Id: If29fbcd01b978dec2dcaa3631ee0c14e0c4ab038
Signed-off-by: Gautham Srinivasan <gauthams@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2954310
(cherry picked from commit 9275899572)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2989797
Reviewed-by: Brad Griffis <bgriffis@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-11-08 09:24:34 -08:00
Brad Griffis
abe7182afe nv-soc: add /firmware/uefi node
UEFI requires a node to exist at /firmware/uefi.

Without this node Orin Nano overlays failed to apply properly.

Bug 4273952

Change-Id: I123e5182ba47b5ffe7c562db284a42809fcdbca6
Signed-off-by: Brad Griffis <bgriffis@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3007596
Reviewed-by: Ashish Singhal <ashishsingha@nvidia.com>
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Jonathan Hunter <jonathanh@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-10-31 14:39:19 -07:00
shaochunk
c0daab9962 t23x: overlay: remove dt devfreq config for gpu
Remove the dt configuration for gpu devfreq
because dt should contain only hw-related
configuration.

The gpu devfreq configuration would be supported
by nvgpu module parameters.

Bug 4084478

Change-Id: I9dfef11648203c6af281e980d3a5790b36742414
Signed-off-by: shaochunk <shaochunk@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2978819
Reviewed-by: Vijayakumar Subbu <vsubbu@nvidia.com>
Reviewed-by: Ninad Malwade <nmalwade@nvidia.com>
Reviewed-by: Rajkumar Kasirajan <rkasirajan@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-10-23 05:09:44 -07:00
Brad Griffis
8f0cbdad83 nv-public: remove REMOVE_FRAGMENT_SYNTAX
These preprocessor conditionals were a temporary step to facilitate
step by step reviews.  Remove them and fix indentation.

Bug 4290389

Change-Id: Iecdbdf1869bec00538530d59420622d8563a116a
Signed-off-by: Brad Griffis <bgriffis@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3000004
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Gautham Srinivasan <gauthams@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-10-19 18:24:24 -07:00
Brad Griffis
ee6247a701 nv-public: add new nv dtb files
In this commit:

1. The large platform overlays are being directly built into
   a new base "nv" dtb. The names of these new dtbs directly tracks the
   name of the upstream dtb that it extends. For an upstream dtb named
   <base>.dtb the new corresponding new file is named <base>-nv.dtb.

2. The source files for <base>-nv.dtb are located in the nv-soc/ and
   nv-platform/ files.  Those files originated in the overlay/
   directory but are moved to reflect that they are no longer part of
   an overlay.

This new layout seeks to simplify building and handling of dtb files
while retaining close compatibility with the upstream dts sources.

Bug 4290389

Change-Id: Ic812e8e16c5515bb3e17b99a23815a99f67c42a2
Signed-off-by: Brad Griffis <bgriffis@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2996468
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Gautham Srinivasan <gauthams@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-10-18 16:39:31 -07:00