Commit Graph

16 Commits

Author SHA1 Message Date
Ritu Chaudhary
c7747eb458 t23x: nv-public: Remove redundant nodes in DT
- Upstream DT only enables the IO ports which are exposed out of CVB.
- Remove unnecessary IO nodes from downstream DT.
- Removed nodes are :
  agx/concord(p3737) : I2S3, I2S5, DMIC1, DMIC2, DMIC4, DSPK1, DSPK2
  igx(p3740)         : I2S3, I2S5, DMIC1, DMIC2, DMIC4, DSPK1, DSPK2
  nano/nx (p3768)    : I2S1, I2S3, I2S5, DMIC1, DMIC2, DMIC3, DMIC4,
                       DSPK1, DSPK2

Bug 4961348

Change-Id: Id493ae743446d888fe322dd3887729376555541f
Signed-off-by: Ritu Chaudhary <rituc@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3263289
Reviewed-by: Mohan kumar <mkumard@nvidia.com>
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
Reviewed-by: Sheetal . <sheetal@nvidia.com>
Reviewed-by: svcacv <svcacv@nvidia.com>
2024-12-19 06:23:15 -08:00
Brad Griffis
465ae11d59 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
(cherry picked from commit 41f6d6639b)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3244111
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
Reviewed-by: Hiteshkumar Patel <hiteshkumarg@nvidia.com>
2024-11-07 16:32:10 -08:00
Yi-Wei Wang
203070088f 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
(cherry picked from commit b75727c664)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3227430
Reviewed-by: Brad Griffis <bgriffis@nvidia.com>
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
2024-10-18 03:23:13 -07:00
Brad Griffis
4f8ac54df9 nv-platform: add ethernet alias for p3737 platform
The AGX Orin Dev Kit uses the on-chip ethernet controller along with an
on-board PHY for networking. Add the necessary alias such that systemd
will automatically apply predictable names to it.

Bug 4494706

Change-Id: I10214456a59ac69d128948290aa4b83791a74940
Signed-off-by: Brad Griffis <bgriffis@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3223043
Reviewed-by: Paritosh Dixit <paritoshd@nvidia.com>
Reviewed-by: svcacv <svcacv@nvidia.com>
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
2024-10-06 04:06:01 -07:00
Vedant Deshpande
b48bb5d7ba 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
(cherry picked from commit a987d2d0ea)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3192210
Reviewed-by: Gautham Srinivasan <gauthams@nvidia.com>
Reviewed-by: Brad Griffis <bgriffis@nvidia.com>
Tested-by: Brad Griffis <bgriffis@nvidia.com>
2024-08-12 21:31:38 -07:00
Gautham Srinivasan
4d11ffa2b4 nv-platform: remove num-slices field for hardware-timestamp
HTE driver is used now instead of GTE. Remove num-slices field as
HTE driver does not have it.

Bug 3961133

Change-Id: I57945bb2d7fad6721c9bef929f244ead41f5c30e
Signed-off-by: Gautham Srinivasan <gauthams@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3091164
Reviewed-by: Jon Hunter <jonathanh@nvidia.com>
2024-03-11 08:08:21 -07:00
Jon Hunter
8e062e8340 t23x: nv-public: Fix serial aliases
When booting Linux with GRUB, the serial console does not show the
kernel boot messages as expected. By default GRUB does not add the
'console' kernel parameter and relies on device-tree to configure the
default serial port. Device-tree configures the default serial port by
setting the property 'stdout-path=serial0:115200n8' where 'serial0' is
an alises to one of the devices serial ports. The default serial port
for Tegra234 devices is the TCU0 and so 'serial0' should be mapped to
this interface. However, the 'serial0' is being updated to be mapped to
a different UART.

Fix this by removing the additional 'serialX' aliases in the base
overlay file and add any alises that are not already defined to the
appropriate board file. This does change the mapping of some aliases but
this aligns the boards with the aliases as they are defined upstream.

Bug 4264560

Change-Id: Icf6bdb1e7d5c9abf5bdbf5378b4ed8122910b507
Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3072368
(cherry picked from commit 6114a37466)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3075606
Reviewed-by: Brad Griffis <bgriffis@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2024-02-13 20:10:19 -08:00
Wayne Wang
78d8c8a76c 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
(cherry picked from commit 5767db6887)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3059989
Reviewed-by: Brad Griffis <bgriffis@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2024-01-25 17:14:31 -08:00
Jon Hunter
76258f3b1f nv-public: p3737: Disable UFSHCI
The UFSHCI controller is not supported for Tegra234 Jetson platforms and
so disable this controller. Note that this change makes no difference
because the Tegra UFS driver is never automatically loaded based
device-tree for Jetson platforms. The Tegra UFS driver does not populate
the MODULE_DEVICE_TABLE() macro and so the driver has to be manually
loaded.

Change-Id: Ifb3a588b9bbd08a71bad9a71aa59e8b0e0fc038a
Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3051223
(cherry picked from commit ab126bc380)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3052382
Reviewed-by: Bibek Basu <bbasu@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2024-01-15 09:04:04 -08:00
Laxman Dewangan
a7d01fe7f4 t23x: Remove override of clock speed for SBSA UART
The clock speed of the SBSA UART is configured in
common/base DTS file, hence remove the override of
this property from platform common override file.

Bug 4037899

Change-Id: Ib871ec7fe7561cfc42336d87125883a1fe224468
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3037843
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Jonathan Hunter <jonathanh@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-12-19 13:41:10 -08:00
Yi-Wei Wang
8596c2fbb8 nv-public: add support for thermal trip event
This change binds thermal trip event cooling devices to the following
events:
- sw throttling event
- hot surface event

When the bound trip point temperature gets crossed, the associated
cooling device will become active, and its state can be learnt from the
user space to take the action accordingly.

The thermal trip event cooling device is not needed for safety IGX so
disable it.

Bug 4261645
Bug 1688327

Signed-off-by: Yi-Wei Wang <yiweiw@nvidia.com>
Change-Id: Ifa7f2dfb5c95113e9902e3ea4dfc03197065c5e5
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3015753
(cherry picked from commit 9279090408)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3019440
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
2023-11-24 15:40:30 -08:00
Yi-Wei Wang
4f65b47be8 nv-platform: p3701: separate cvm from nv-common
Remove tegra234-p3701-0000.dtsi from
tegra234-p3737-0000+p3701-xxxx-nv-common.dtsi and have cvm-specific
file included in tegra234-p3737-0000+p3701-000*-nv.dts accordingly.

In addition, create tegra234-p3701-0005.dtsi which includes same
definitions as tegra234-p3701-0000.dtsi but with CMA size set to 512MB.
Hence,  no longer to handle the CMA size in the dynamic overlay.

Bug 4378720

Signed-off-by: Yi-Wei Wang <yiweiw@nvidia.com>
Change-Id: I4230f7d7a0a3cc5e189ee5a121981123bbb889c5
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3016296
(cherry picked from commit 62c5d9f2f6)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3017148
Reviewed-by: Brad Griffis <bgriffis@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-11-16 14:54:53 -08:00
Sheetal
09e2e467bb nv-public: t23x: Enable ADSP
ADSP is enabled for kernel 6.0 and later.

Bug 4334357

Change-Id: I2b162d913f39d6ce42f4ace11cedff39ef3104f3
Signed-off-by: Sheetal <sheetal@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2998749
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Brad Griffis <bgriffis@nvidia.com>
Reviewed-by: Mohan Kumar D <mkumard@nvidia.com>
Reviewed-by: Viswanath L <viswanathl@nvidia.com>
Reviewed-by: Dara Ramesh <dramesh@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-10-31 16:03:38 -07:00
Brad Griffis
955b31bed3 nv-public: fix indentation for nv-dtb includes
As a final step in changing overlay fragments to includes
for nv dtb files, fix the indentation.

Bug 4290389

Change-Id: Ib7be8c925a33b5d30b93a8a8491ea8fe6419f2a4
Signed-off-by: Brad Griffis <bgriffis@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3005704
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Jonathan Hunter <jonathanh@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-10-28 19:02:07 -07:00
Brad Griffis
ef304f6995 nv-public: remove REMOVE_FRAGMENT_SYNTAX
These preprocessor conditionals were a temporary step to facilitate
step by step reviews.  Remove them.

Delete display overlay includes from tegra234-jetson.dts since the
formatting no longer is correct for an overlay.  This file
tegra234-jetson.dts is planned for removal in the near future.

Indentation will be fixed in a follow-on patch to make reviews easier.

Bug 4290389

Change-Id: Ia6a0e240a96823e989e994d5564a7f0ad94061cc
Signed-off-by: Brad Griffis <bgriffis@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3005701
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Jonathan Hunter <jonathanh@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-10-28 19:02:02 -07:00
Brad Griffis
2f14d2d18f 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
(cherry picked from commit ee6247a701)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3002840
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
2023-10-27 22:43:37 -07:00