Commit Graph

573 Commits

Author SHA1 Message Date
Robert Huang
8878102228 nv-public: add OP-TEE DT node for android
Bug 4299081

Signed-off-by: Robert Huang <robhuang@nvidia.com>
Change-Id: Ibc7545613275b55bebedb2684b5f5c21cc2572d1
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3011758
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Yijun Zhou <yijunz@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-11-12 10:32:56 -08:00
Brad Griffis
21a76d3b1c nv-public: SD card fixes for Concord and Nano
The power supply info is missing for the SD card interface:

1. SD card for Concord is implemented at the board level, not in
   the module itself.  Accordingly the updates are in the board
   files (p3737) rather than the module (p3701).

2. SD card for Orin Nano is implemented at the module level.
   Accordingly the updates are in the modules files (p3767)
   rather than the board files (p3768).

Bug 4307643

Change-Id: Id2bc9071387b3a16141db68076d29f0158f82cce
Signed-off-by: Brad Griffis <bgriffis@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3013069
(cherry picked from commit 71752edda2)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3013410
Reviewed-by: Paritosh Dixit <paritoshd@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-11-10 08:32:57 -08:00
Gautham Srinivasan
62c681a1f6 overlay: p3767: add hdmi dcb overlay
Add DCB overlay to support HDMI

Bug 4260444

Change-Id: I11b955e11928794b7393eb9f52ba47cf81740601
Signed-off-by: Gautham Srinivasan <gauthams@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2999888
(cherry picked from commit ff77a8a1cd)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3000912
Reviewed-by: Brad Griffis <bgriffis@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-11-10 08:18:11 -08:00
Shubhi Garg
6dcf22acd6 t23x: overlay: add aliases for tegra and vrs rtc
This change adds alias to bring rtc0 as VRS RTC and rtc1 as
tegra rtc upon kernel boot. This way VRS RTC being rtc0 will
be used to sync system time since VRS RTC has battery backup.

Bug 3937658

Change-Id: I67319ed444cebe476ab1b76391fe6817df7b0b09
Signed-off-by: Shubhi Garg <shgarg@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2999459
(cherry picked from commit ae60381081fc01aa3724c34b173b56a74b64fcf8)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2999330
(cherry picked from commit 22beb61c76)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3010744
Reviewed-by: Bibek Basu <bbasu@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-11-08 09:33:16 -08:00
Gautham Srinivasan
9275899572 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
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Jonathan Hunter <jonathanh@nvidia.com>
Reviewed-by: Brad Griffis <bgriffis@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-11-07 22:41:32 -08:00
Bibek Basu
7c09f879b5 t234: igx: set default uart speed
Since controller 31d0000 speed is not passed from device tree,
probe failed.

Bug 4332566

Change-Id: I7087ba15001b22b259235e87e3591f0707b8a785
Signed-off-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3007386
(cherry picked from commit 723872c59c)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3010445
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-11-07 17:55:16 -08:00
Yi-Wei Wang
e28971971a nv-platform: Disable CV engines for Orin Nano
Disable DLA and PVA for Orin Nano as they are not present.

Bug 4338263

Change-Id: I47377db6daa5db9894fa5783bfdbad8ae3a7a9c1
Signed-off-by: Yi-Wei Wang <yiweiw@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3008711
(cherry picked from commit 58a9253a09)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3010731
Reviewed-by: Brad Griffis <bgriffis@nvidia.com>
Reviewed-by: Rajkumar Kasirajan <rkasirajan@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-11-07 09:46:15 -08:00
Bruce Xu
74ff1403b9 overlay: disable se@15820000 on t234
Still need disable this node. After enable it, the device
can't work correctly which cause user data partiton access failure
and then boot failure.

Bug 4332185

Change-Id: I369e03244e2a46fb741706256138976bd2d52593
Signed-off-by: Bruce Xu <brucex@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3002338
Reviewed-by: Jian-Min Liu <jianminl@nvidia.com>
Reviewed-by: Ankita Garg <ankitag@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-11-02 18:09:32 -07:00
Vishwaroop A
e5d25b29e5 qspi: prod: settings in new format for qspi
Add prod setting properties for all fields aligned to
new prod design.

Bug 4189444

Change-Id: I1c657f18d9b2a5d8d832c4a42406810886216242
Signed-off-by: Krishna Yarlagadda <kyarlagadda@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2997985
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
2023-11-02 18:08:02 -07:00
Brad Griffis
ceb29c845b 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
(cherry picked from commit abe7182afe)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3007681
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
2023-11-01 20:21:39 -07:00
Jon Hunter
4fdf4e123b t23x: nv-public: Update ina3221 properties
The ina3221 driver has been updated to pull in the latest upstream
changes. The property 'summation-bypass' has been replaced with
'ti,summation-disable' in upstream and so update the device-tree
accordingly.

Finally, remove the 'io-channel-cells' property because this is not used
at all and hence not needed.

Bug 3851858

Change-Id: Id1c1e7e994b185167f7b17ae682e26cb886f2704
Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3005677
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
2023-11-01 20:17:31 -07:00
shaochunk
29ef6e4829 t23x: nv-soc: 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>
(cherry picked from commit c0daab9962)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3002570
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
2023-11-01 20:13:43 -07:00
Yi-Wei Wang
ea531083ad t23x: overlay: support p3701-0000-as-p3767-0004
Add tegra234-p3737-0000+p3701-0000-as-p3767-0004.dtbo which can be
applied on p3701-0000 and p3701-0005 to emulate p3767-0004.

Bug 4196830

Signed-off-by: Yi-Wei Wang <yiweiw@nvidia.com>
Change-Id: I32ec52f637c474a0c3ed86ad54a191b07c67cfcd
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3000667
(cherry picked from commit ba1e77ae66)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3006032
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
Reviewed-by: Brad Griffis <bgriffis@nvidia.com>
2023-10-31 16:08:34 -07:00
Yi-Wei Wang
2ff8525d94 t23x: overlay: support p3701-0000-as-p3767-0003
Add tegra234-p3737-0000+p3701-0000-as-p3767-0003.dtbo which can be
applied on p3701-0000 and p3701-0005 to emulate p3767-0003.

Bug 4196830

Signed-off-by: Yi-Wei Wang <yiweiw@nvidia.com>
Change-Id: If2328ce300658b21adda268e052de83d5fa89800
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3000485
(cherry picked from commit 4348607bf9)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3006031
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
Reviewed-by: Brad Griffis <bgriffis@nvidia.com>
2023-10-31 16:08:29 -07:00
Yi-Wei Wang
a286e36190 t23x: overlay: support p3701-0000-as-p3767-0001
Add tegra234-p3737-0000+p3701-0000-as-p3767-0001.dtbo which can be
applied on p3701-0000 and p3701-0005 to emulate p3767-0001.

Bug 4196830

Signed-off-by: Yi-Wei Wang <yiweiw@nvidia.com>
Change-Id: If5bf7a21ba20f5af19f680b4a6d92f8999e5be41
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3000424
(cherry picked from commit b2de83215c)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3006030
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
Reviewed-by: Brad Griffis <bgriffis@nvidia.com>
2023-10-31 16:08:24 -07:00
Yi-Wei Wang
2c91e7e3d1 t23x: overlay: support p3701-0000-as-p3767-0000
Add tegra234-p3737-0000+p3701-0000-as-p3767-0000.dtbo which can be
applied on p3701-0000 and p3701-0005 to emulate p3767-0000.

Bug 4196830

Signed-off-by: Yi-Wei Wang <yiweiw@nvidia.com>
Change-Id: I6a96ec751996724a8bccad0fa1ede582b682a31e
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3000376
(cherry picked from commit efe6abb8fa)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3006029
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
Reviewed-by: Brad Griffis <bgriffis@nvidia.com>
2023-10-31 16:08:20 -07:00
Yi-Wei Wang
254899b8d4 t23x: overlay: support p3701-0000-as-p3701-0004
Add tegra234-p3737-0000+p3701-0000-as-p3701-0004.dtbo which can be
applied on p3701-0000 and p3701-0005 to emulate p3701-0004.

Bug 4196830

Signed-off-by: Yi-Wei Wang <yiweiw@nvidia.com>
Change-Id: I68201cacdec750ff3aed3ecb161ef8063b3749df
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2978923
(cherry picked from commit 85d6d86a2c)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3005856
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
Reviewed-by: Brad Griffis <bgriffis@nvidia.com>
2023-10-31 16:08:15 -07: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
Brad Griffis
b003089364 overlay: fixup remove fragment syntax with preprocessor
There was an error in the previous patch with subject:

overlay: remove fragment syntax with preprocessor

Two of the #ifdef lines missed encapsulating the top of a fragment.

Bug 4290389

Change-Id: I8af1abf82f0448c6f8ecb1718a9f3a2743d046ed
Signed-off-by: Brad Griffis <bgriffis@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3004549
Reviewed-by: Gautham Srinivasan <gauthams@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-10-27 22:43:14 -07:00
Kirill Artamonov
8044e67823 overlay: t234: soc: increase camera dbg frame size
Increase dbg frame size to match updated firmware-api specs.

Jira CT26X-461

Change-Id: Ifee25c658b4bd5c87f07e801d0269bf3632871b7
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3004145
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
2023-10-27 22:36:18 -07:00
Brad Griffis
782ead6230 overlay: remove fragment syntax with preprocessor
As part of the process to transitioning to a full featured
base dtb, we need the ability to include various files without
completely rewriting them.  This will be an incremental step.
Eventually these preprocessor commands will be removed and
the indentation fixed.

This change is not intended to change any behavior.  It is merely
adding the infrastructure for future patches.  It will be possible
for a base dts file to define REMOVE_FRAGMENT_SYNTAX and directly
include these files.

Bug 4290389

Change-Id: I778bc25dcd7e4fa96f003882e34e38fe5aaf40e7
Signed-off-by: Brad Griffis <bgriffis@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2992336
(cherry picked from commit a011a22ad5)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3002425
Reviewed-by: Gautham Srinivasan <gauthams@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-10-25 17:08:21 -07:00
Brad Griffis
5ca30a4eb6 overlay: move camera-related files to dynamic overlay
Cameras are optional and so they should be part of the dynamic overlay.
Keep the soc-related camera file in the static overlay.

Bug 4290389

Change-Id: I216f271d39fb9e1e1585ede14d3ca28e5d49fd6c
Signed-off-by: Brad Griffis <bgriffis@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2996299
(cherry picked from commit 323d1fd8b6)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3001727
Reviewed-by: Gautham Srinivasan <gauthams@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-10-25 17:08:16 -07:00
Brad Griffis
0204027039 overlay: refactor fragments for main overlays
Use 1 fragment with target '/'. This makes it easier to migrate code
from an overlay to a base dtb.

Bug 4290389

Change-Id: I8427d9bb1b42d9cd7923a72a3ab026b4db4b6924
Signed-off-by: Brad Griffis <bgriffis@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2992246
(cherry picked from commit 10775b443a)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3001726
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
Reviewed-by: Gautham Srinivasan <gauthams@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
2023-10-24 13:47:31 -07:00
Brad Griffis
6b91eeccaf overlay: add overlay-name to dynamic overlays
Fixes: "overlay: put runtime fragments in separate overlay"

Newly created overlays were created in the above patch, but the names
were omitted.  Add overlay-name to each new overlay.

Bug 4290389

Change-Id: I3f9b8f44d3dc127f840d7e823500c026318234be
Signed-off-by: Brad Griffis <bgriffis@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2997389
(cherry picked from commit 8659e49247)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3001718
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
Reviewed-by: Gautham Srinivasan <gauthams@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
2023-10-24 13:47:26 -07:00
Brad Griffis
57d03cac4b overlay: put runtime fragments in separate overlay
This is an incremental step toward having a "with-oot" base dtb
that contains both the upstream dtb as well as the nvidia-oot
data in a single statically built dtb.

Note that currently the base dtb is stored and managed in the
rootfs via extlinux.conf file.  The overlays however live inside
the UEFI partition.  The ultimate goal is to have consistency
in how the dtb files are managed.

After we combine the data from nvidia-oot overlay dtb into the
future "with-oot" base dtb then we can move the remaining overlays
to the rootfs and manage all dtbs/overlays there.

This patch takes the first critical step toward this goal by
separating the static overlay data from the dynamic overlay data
that gets applied conditionally at run-time.

Bug 4290389

Change-Id: I403ac84b0737368b8bc96952552729ab7e46802b
Signed-off-by: Brad Griffis <bgriffis@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2991524
(cherry picked from commit af4c57cd95)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3001549
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
Reviewed-by: Gautham Srinivasan <gauthams@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
2023-10-24 13:47:21 -07:00
Sheetal
53c13363cb p3768: Enable APE nodes
- Enabled APE nodes.
- For Jetson IO tool:
  - Added required labels.
  - Defined regulator node.

Bug 4287075

Change-Id: I94a92fb460e00da2c59b9e537514a5d0a5b8710e
Signed-off-by: Sheetal <sheetal@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2996845
(cherry picked from commit 58e42d9b14)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2996755
Reviewed-by: Mohan Kumar D <mkumard@nvidia.com>
Reviewed-by: Sharad Gupta <sharadg@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-10-19 12:11:45 -07:00
haotienh
deaf369054 dt: xusb: prod settings in new format
Add prod setting properties for all fields aligned to
new format.

Bug 4099482

Change-Id: Ic4f833e7dc51ec7ce8acf720b77af7da92b38e1b
Signed-off-by: haotienh <haotienh@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2997806
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-10-18 03:18:54 -07:00
Ankur Pawar
dede171218 camera: orin-nx: correct the lens path
IMX219 lens node is under bus@0, give same path in
sysfs-device-tree property.

Bug 4273295

Change-Id: Ic0a37e8f5be4af89052d0d6a7bf74c654330dd49
Signed-off-by: Ankur Pawar <ankurp@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2974784
(cherry picked from commit b6654615e2)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2995025
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-10-17 18:48:24 -07:00
Kartik
7da0e2ded9 Revert "overlay: p3701: Remove unused interrupts from timer node"
This reverts commit f29d381a73.

Bug 4173986

Change-Id: Ic0052acfb4af2641e76bd3b9bb9309f78e96cbc2
Signed-off-by: Kartik <kkartik@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2995357
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
2023-10-16 20:15:31 -07:00
Kartik
bc36839056 arm64: tegra: Use correct interrupts for Tegra234 TKE
The shared interrupts 0-9 of the TKE are mapped to interrupts 0-9, but
shared interrupts 10-15 are mapped to 256-261. Correct the mapping for
the final 6 interrupts. This prevents the TKE from requesting the RTC
interrupt (along with several GTE and watchdog interrupts).

Bug 4173986

Change-Id: I5357b9c57d0d01345da54e78a8d8d4506ac8971d
Reported-by: Shubhi Garg <shgarg@nvidia.com>
Fixes: 28d860ed02c2 ("arm64: tegra: Enable native timers on Tegra234")
Signed-off-by: Thierry Reding <treding@nvidia.com>
Tested-by: Kartik <kkartik@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2995358
Reviewed-by: Jonathan Hunter <jonathanh@nvidia.com>
Reviewed-by: Kartik Rajput <kkartik@nvidia.com>
Tested-by: Kartik Rajput <kkartik@nvidia.com>
2023-10-16 20:15:21 -07:00
Gautham Srinivasan
853dd1a3d1 overlay: add missing "SPDX-FileCopyrightText" tag
svcacv is giving -1 as SPDX-FileCopyrightText tag was missing in
the license header. Fix them.

Bug 4327489

Change-Id: Ie71faf9d60550318d4722bdc0559af4cd2d3b441
Signed-off-by: Gautham Srinivasan <gauthams@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2995601
(cherry picked from commit 27a9472777)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2997051
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
2023-10-14 05:56:53 -07:00
Brad Griffis
04742376eb overlay: p3768: enable i2c5
UEFI expects that i2c5 is enabled and will throw an assert otherwise.
In k5.10 dtb this was enabled there as well, so enabling here for
consistency and to avoid issues with UEFI.

The i2c5 controller is necessary for HDMI use case but it is ok to
have it enabled for DP use case.

Bug 4327032

Change-Id: Ib9af7c95198b7650df2537d0859ed8a5b8af1aa0
Signed-off-by: Brad Griffis <bgriffis@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2995550
(cherry picked from commit 2fa2e4b191)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2996027
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
2023-10-13 21:08:43 -07:00
Dipen Patel
7461b6f300 overlay: safety: Enable hsi error injection
The IPs with no local error collator use error injection driver to
report the errors to FSI. This change enables is by default for the
safety package (SEP).

Bug 4289946

Change-Id: Ib126905d2806fa5baebaaf8dee0614fef96103f4
Signed-off-by: Dipen Patel <dipenp@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2981057
(cherry picked from commit 01fcbefa8d)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2984063
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
2023-10-13 15:34:42 -07:00
Gautham Srinivasan
16f7d9d91e overlay: p3768: PCIE alternate UPHY config
Manage PCIe (C7 and C9) controllers using odm-data field.
PCIe alternate config "gbe-uphy-config-9" uses C7x1 and
C9x1 controllers.

Bug 4052872

Change-Id: I9608b17f0a99e0fd382e3f9c6da72753626e7f2c
Signed-off-by: Gautham Srinivasan <gauthams@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2993862
(cherry picked from commit a38de0f405)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2995585
Reviewed-by: Brad Griffis <bgriffis@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
Tested-by: Brad Griffis <bgriffis@nvidia.com>
2023-10-12 20:37:55 -07:00
Kamil Pilch
1fff8624c2 p3737: add overlay for 1:1 32-bit resource mapping
Intended for a use-case that needs to avoid using _TRA ACPI method.

This overlay changes the PCIe controller non-prefetchable regions to:
C5: 0x28000000 - 0x3b7fffff (size 312 MB)
C4: 0x3b800000 - 0x3dbfffff (size 36 MB)
C1: 0x3dc00000 - 0x3fffffff (size 36 MB)

The controller corresponding to the Concord PCIe slot is also moved to
domain 0.

Bug 4067222

Change-Id: I3f0c3c964c139030ca4ec68b57bb49599b82c77f
Signed-off-by: Kamil Pilch <kpilch@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2909354
Reviewed-by: Manikanta Maddireddy <mmaddireddy@nvidia.com>
Reviewed-by: Bibek Basu <bbasu@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-10-12 20:03:46 -07:00
Ankur Pawar
c0d10ded7b concord: use predefined macro JETSON_COMPATIBLE
SKU8 is not included in compatible string of
camera sensor overlay. This is causing issue of
sensor not detected on SKU8 board.

Use JETSON_COMPATIBLE macro which has all
SKUs.

Bug 4301117

Change-Id: Ie1bee08326f29ef00b40b709ea89f592d1fdb423
Signed-off-by: Ankur Pawar <ankurp@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2988039
(cherry picked from commit 6d346a9167)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2940389
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-10-12 17:07:53 -07:00
Dipen Patel
228b3a635c overlay: safety: Enable I2C SW fault reporting
In the safety environment, I2C should be able to report the pre-defined
faults through EPL to FSI. This CL enables the missing DT configuration
which enables reporting.

Bug 4289946

Change-Id: Ib3db16fb822aff61c89dd03fbbcd87fc48f8aab9
Signed-off-by: Dipen Patel <dipenp@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2985294
(cherry picked from commit 544a766157 in rel-36)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2993790
Reviewed-by: Bibek Basu <bbasu@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-10-11 15:19:31 -07:00
Gautham Srinivasan
44e6aeabb9 overlay: enable GTE node for Orin devices
Enable GTE node for Orin (AGX, NX and Nano) devices.
This is used by BMI and NVPPS driver.

Bug 4235325

Change-Id: I162311ef75e67ce65ac00679469de0882c6d8f99
Signed-off-by: Gautham Srinivasan <gauthams@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2990757
Reviewed-by: Dipen Patel <dipenp@nvidia.com>
Reviewed-by: Jonathan Hunter <jonathanh@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2987787
2023-10-10 19:44:33 -07:00
Ankur Pawar
fa51d49880 DT: add interconnect information for RCE
Bug 3997304

Change-Id: I5cd5e532a8a5303367068cf4276a424a5770a12e
Signed-off-by: Ankur Pawar <ankurp@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2912199
Reviewed-by: Johnny Liu <johnliu@nvidia.com>
Reviewed-by: Pekka Pessi <ppessi@nvidia.com>
Reviewed-by: Frank Chen <frankc@nvidia.com>
Reviewed-by: Anubhav Rai <arai@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-10-09 21:46:38 -07:00
Bruce Xu
be3b2e7391 crypto: remove crypto overlay
After crypto se driver is updated, we can enable the se module,
so remove the overlay for AAOS.

Bug 4221414
Bug 3579794

Change-Id: I5e9d7c0711d065b7e0b67df79160f985f1a17912
Signed-off-by: Bruce Xu <brucex@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2987761
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
2023-10-07 04:17:33 -07:00
Akhil R
550cab93e5 overlay: soc: Update Tegra SE compatible
Update Tegra SE compatible to support the new driver instead of
tegra-se-nvhost driver.

Bug 4221414
Bug 3579794

Signed-off-by: Akhil R <akhilrajeev@nvidia.com>
Change-Id: I8534daf772b1f0a514d691ad068ea9891fc1400b
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2984420
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-10-03 18:59:39 -07:00
Laxman Dewangan
96571f4ed1 i2c: prod: Move board specific prod to parent node
The prod setting for each field is separated by
different properties. Hence, it is not required
to have the sub node for package and board as
board and package specific value can be override
the soc specific field wise.

Put prod setting in the parent node and then
include the soc then package and then board specific
prod setting so that DT override can properly
override the value and DT have single final value.

Bug 4097475

Change-Id: I129c0fdbcc75f26e9d81d6c4c13a2aa0d7af01ca
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2988294
Reviewed-by: Krishna Yarlagadda <kyarlagadda@nvidia.com>
Tested-by: Krishna Yarlagadda <kyarlagadda@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-10-02 05:42:40 -07:00
Krishna Yarlagadda
1f9420d4d1 dt: i2c: prod settings in new format
Add prod setting properties for all fields aligned to
new format.

Bug 4097475

Signed-off-by: Krishna Yarlagadda <kyarlagadda@nvidia.com>
Change-Id: I882e089c675f792143b239a5ddee010b6cd9e286
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2987461
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-09-30 13:21:19 -07:00
Kartik
f29d381a73 overlay: p3701: Remove unused interrupts from timer node
RTC interrupts are not working as timer-tegra186 driver disables
the RTC interrupt.

Remove unused interrupts from timer node.

Bug 4173986

Change-Id: I106b09b7711b4a14bbaab5354fa75919f3bd851a
Signed-off-by: Kartik <kkartik@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2986600
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-09-29 10:15:17 -07:00
Brad Griffis
f6827ed44b overlay: p3768: enable ofa for all p3767 skus
All p3767 SKUs support OFA.  Enable it.

Bug 4283094

Change-Id: Ie0e90e8ba42c5786ace4c829ff534426851b2423
Signed-off-by: Brad Griffis <bgriffis@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2986226
(cherry picked from commit bd791e40d2)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2987537
Reviewed-by: Yi-Wei Wang <yiweiw@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-09-29 02:49:24 -07:00
Yi-Wei Wang
255fef2b16 t23x: overlay: Disable c7 cpuidle for safety IGX
Only c1 (WFI) is needed for safety IGX, so disable the c7 cpuidle
status. As per upstream cpuidle-psci.c driver, the default
archictectural back-end already executes WFI on idle entry, so the idle
driver won't be initialized if only WFI is supported.

Bug 4084478

Change-Id: Id870cf22a7e5806e7f96c566c9782d6c1620e09c
Signed-off-by: Yi-Wei Wang <yiweiw@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2986366
(cherry picked from commit b23f1c38c4)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2987043
Reviewed-by: Johnny Liu <johnliu@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-09-29 02:48:57 -07:00
Bruce Xu
355aec1e02 aaos: enable selinux
Bug 4185043

Change-Id: I02b83981d209716771b524d332c4b10efab44b03
Signed-off-by: Bruce Xu <brucex@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2983104
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-09-28 21:42:14 -07:00